rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
Style.MAP_RULES_PROP );
IStyleModel.MAP_RULES_PROP );
private void writeStyleProps( DesignElement obj ) { // Background property( obj, Style.BACKGROUND_ATTACHMENT_PROP ); property( obj, Style.BACKGROUND_COLOR_PROP ); property( obj, Style.BACKGROUND_IMAGE_PROP ); property( obj, Style.BACKGROUND_POSITION_X_PROP ); property( obj, Style.BACKGROUND_POSITION_Y_PROP ); property( obj, Style.BACKGROUND_REPEAT_PROP ); // Font property( obj, Style.FONT_FAMILY_PROP ); property( obj, Style.FONT_SIZE_PROP ); property( obj, Style.FONT_WEIGHT_PROP ); property( obj, Style.FONT_STYLE_PROP ); property( obj, Style.FONT_VARIANT_PROP ); property( obj, Style.COLOR_PROP ); property( obj, Style.TEXT_LINE_THROUGH_PROP ); property( obj, Style.TEXT_OVERLINE_PROP ); property( obj, Style.TEXT_UNDERLINE_PROP ); // Border property( obj, Style.BORDER_BOTTOM_COLOR_PROP ); property( obj, Style.BORDER_BOTTOM_STYLE_PROP ); property( obj, Style.BORDER_BOTTOM_WIDTH_PROP ); property( obj, Style.BORDER_LEFT_COLOR_PROP ); property( obj, Style.BORDER_LEFT_STYLE_PROP ); property( obj, Style.BORDER_LEFT_WIDTH_PROP ); property( obj, Style.BORDER_RIGHT_COLOR_PROP ); property( obj, Style.BORDER_RIGHT_STYLE_PROP ); property( obj, Style.BORDER_RIGHT_WIDTH_PROP ); property( obj, Style.BORDER_TOP_COLOR_PROP ); property( obj, Style.BORDER_TOP_STYLE_PROP ); property( obj, Style.BORDER_TOP_WIDTH_PROP ); // Margin property( obj, Style.MARGIN_TOP_PROP ); property( obj, Style.MARGIN_LEFT_PROP ); property( obj, Style.MARGIN_BOTTOM_PROP ); property( obj, Style.MARGIN_RIGHT_PROP ); // Padding property( obj, Style.PADDING_TOP_PROP ); property( obj, Style.PADDING_LEFT_PROP ); property( obj, Style.PADDING_BOTTOM_PROP ); property( obj, Style.PADDING_RIGHT_PROP ); // Formats property( obj, Style.NUMBER_ALIGN_PROP ); writeStructure( obj, Style.DATE_TIME_FORMAT_PROP ); writeStructure( obj, Style.NUMBER_FORMAT_PROP ); writeStructure( obj, Style.STRING_FORMAT_PROP ); // Text format property( obj, Style.TEXT_ALIGN_PROP ); property( obj, Style.TEXT_INDENT_PROP ); property( obj, Style.LETTER_SPACING_PROP ); property( obj, Style.LINE_HEIGHT_PROP ); property( obj, Style.ORPHANS_PROP ); property( obj, Style.TEXT_TRANSFORM_PROP ); property( obj, Style.VERTICAL_ALIGN_PROP ); property( obj, Style.WHITE_SPACE_PROP ); property( obj, Style.WIDOWS_PROP ); property( obj, Style.WORD_SPACING_PROP ); // Section Options property( obj, Style.DISPLAY_PROP ); property( obj, Style.MASTER_PAGE_PROP ); property( obj, Style.PAGE_BREAK_AFTER_PROP ); property( obj, Style.PAGE_BREAK_BEFORE_PROP ); property( obj, Style.PAGE_BREAK_INSIDE_PROP ); property( obj, Style.SHOW_IF_BLANK_PROP ); property( obj, Style.CAN_SHRINK_PROP ); // Highlight List list = (ArrayList) obj.getLocalProperty( getModule( ), Style.HIGHLIGHT_RULES_PROP ); if ( list != null && list.size( ) > 0 ) { writer.startElement( DesignSchemaConstants.LIST_PROPERTY_TAG ); writer.attribute( DesignSchemaConstants.NAME_ATTRIB, Style.HIGHLIGHT_RULES_PROP ); for ( int i = 0; i < list.size( ); i++ ) { HighlightRule rule = (HighlightRule) list.get( i ); writer.startElement( DesignSchemaConstants.STRUCTURE_TAG ); property( rule, HighlightRule.OPERATOR_MEMBER ); property( rule, HighlightRule.BACKGROUND_COLOR_MEMBER ); // Border property( rule, HighlightRule.BORDER_TOP_STYLE_MEMBER ); property( rule, HighlightRule.BORDER_TOP_WIDTH_MEMBER ); property( rule, HighlightRule.BORDER_TOP_COLOR_MEMBER ); property( rule, HighlightRule.BORDER_LEFT_STYLE_MEMBER ); property( rule, HighlightRule.BORDER_LEFT_WIDTH_MEMBER ); property( rule, HighlightRule.BORDER_LEFT_COLOR_MEMBER ); property( rule, HighlightRule.BORDER_BOTTOM_STYLE_MEMBER ); property( rule, HighlightRule.BORDER_BOTTOM_WIDTH_MEMBER ); property( rule, HighlightRule.BORDER_BOTTOM_COLOR_MEMBER ); property( rule, HighlightRule.BORDER_RIGHT_STYLE_MEMBER ); property( rule, HighlightRule.BORDER_RIGHT_WIDTH_MEMBER ); property( rule, HighlightRule.BORDER_RIGHT_COLOR_MEMBER ); // Font property( rule, HighlightRule.FONT_FAMILY_MEMBER ); property( rule, HighlightRule.FONT_SIZE_MEMBER ); property( rule, HighlightRule.FONT_STYLE_MEMBER ); property( rule, HighlightRule.FONT_WEIGHT_MEMBER ); property( rule, HighlightRule.FONT_VARIANT_MEMBER ); property( rule, HighlightRule.COLOR_MEMBER ); property( rule, HighlightRule.TEXT_UNDERLINE_MEMBER ); property( rule, HighlightRule.TEXT_OVERLINE_MEMBER ); property( rule, HighlightRule.TEXT_LINE_THROUGH_MEMBER ); property( rule, HighlightRule.TEXT_ALIGN_MEMBER ); property( rule, HighlightRule.TEXT_TRANSFORM_MEMBER ); property( rule, HighlightRule.TEXT_INDENT_MEMBER ); // Format property( rule, HighlightRule.NUMBER_ALIGN_MEMBER ); writeStructure( rule, HighlightRule.DATE_TIME_FORMAT_MEMBER ); writeStructure( rule, HighlightRule.NUMBER_FORMAT_MEMBER ); writeStructure( rule, HighlightRule.STRING_FORMAT_MEMBER ); property( rule, HighlightRule.TEST_EXPR_MEMBER ); property( rule, HighlightRule.VALUE1_MEMBER ); property( rule, HighlightRule.VALUE2_MEMBER ); writer.endElement( ); } writer.endElement( ); } // Map list = (ArrayList) obj.getLocalProperty( getModule( ), Style.MAP_RULES_PROP ); if ( list != null && list.size( ) > 0 ) { writer.startElement( DesignSchemaConstants.LIST_PROPERTY_TAG ); writer.attribute( DesignSchemaConstants.NAME_ATTRIB, Style.MAP_RULES_PROP ); for ( int i = 0; i < list.size( ); i++ ) { MapRule rule = (MapRule) list.get( i ); writer.startElement( DesignSchemaConstants.STRUCTURE_TAG ); property( rule, MapRule.TEST_EXPR_MEMBER ); property( rule, MapRule.OPERATOR_MEMBER ); property( rule, MapRule.VALUE1_MEMBER ); property( rule, MapRule.VALUE2_MEMBER ); resourceKey( rule, MapRule.DISPLAY_ID_MEMBER, MapRule.DISPLAY_MEMBER ); writer.endElement( ); } writer.endElement( ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/ModuleWriter.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1045, 2885, 5047, 12, 29703, 1046, 1081, 262, 202, 95, 202, 202, 759, 8977, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 789, 9833, 1792, 3212, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 10989, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 13603, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 60, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 61, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 862, 31804, 67, 15811, 11272, 202, 202, 759, 10063, 202, 202, 4468, 12, 1081, 16, 9767, 18, 25221, 67, 25002, 25554, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 25221, 67, 4574, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 25221, 67, 29988, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 25221, 67, 15066, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 25221, 67, 29744, 6856, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 10989, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 5151, 67, 5997, 67, 2455, 1457, 57, 16715, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 5151, 67, 12959, 5997, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 5151, 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, 1045, 2885, 5047, 12, 29703, 1046, 1081, 262, 202, 95, 202, 202, 759, 8977, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 789, 9833, 1792, 3212, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 10989, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 13603, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 60, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 15258, 67, 61, 67, 15811, 11272, 202, 202, 4468, 12, 1081, 16, 9767, 18, 8720, 20166, 67, 862, 31804, 67, 15811, 11272, 202, 202, 759, 2 ]
if (this.currentTxID != null)
if (sessionState.getCurrentTxId() != null)
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); boolean convertTx = false; if (this.currentTxID != null) { if (flags == TMNOFLAGS && this.currentTxID instanceof LocalTxXid) { convertTx = true; } else { //This resource is already doing work as part of another global tx throw new XAException(XAException.XAER_OUTSIDE); } } synchronized (this) { switch (flags) { case TMNOFLAGS : if (convertTx) { // it was an anonymous TX, TM is now taking control over it. // convert it over to a normal XID tansaction. //Is it legal to "convert" a tx? //Surely only work done between start and end is considered part of the tx? //Is it legal to consider work done before "start" as part of the tx? setCurrentTransactionId(rm.convertTx((LocalTxXid)this.currentTxID, xid)); } else { setCurrentTransactionId(rm.startTx(xid)); } break; case TMJOIN : setCurrentTransactionId(rm.joinTx(xid)); break; case TMRESUME : setCurrentTransactionId(rm.resumeTx(xid)); break; } } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/90e4b161b21b8aef910dbc6f515ceceadf11bf49/JBossXAResource.java/clean/src/main/org/jboss/jms/client/JBossXAResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 787, 12, 60, 350, 19031, 16, 509, 2943, 13, 1216, 21514, 282, 288, 1377, 309, 261, 1330, 18, 291, 3448, 1526, 10756, 540, 613, 18, 5129, 2932, 1685, 19031, 1546, 397, 19031, 397, 3104, 2943, 1546, 397, 2943, 397, 315, 315, 397, 333, 1769, 1377, 1250, 1765, 4188, 273, 629, 31, 5411, 309, 261, 3184, 1119, 18, 588, 3935, 29388, 1435, 480, 446, 13, 1377, 288, 540, 309, 261, 7133, 422, 27435, 3417, 17836, 597, 333, 18, 2972, 4188, 734, 1276, 3566, 4188, 60, 350, 13, 540, 288, 5411, 1765, 4188, 273, 638, 31, 540, 289, 540, 469, 540, 288, 5411, 368, 2503, 1058, 353, 1818, 9957, 1440, 487, 1087, 434, 4042, 2552, 2229, 5411, 604, 394, 21514, 12, 17269, 503, 18, 17269, 654, 67, 5069, 26498, 1769, 540, 289, 1377, 289, 1377, 3852, 261, 2211, 13, 1377, 288, 540, 1620, 261, 7133, 13, 540, 288, 5411, 648, 27435, 3417, 17836, 294, 9079, 309, 261, 6283, 4188, 13, 9079, 288, 5375, 368, 518, 1703, 392, 13236, 23211, 16, 27435, 353, 2037, 13763, 3325, 1879, 518, 18, 5375, 368, 1765, 518, 1879, 358, 279, 2212, 1139, 734, 268, 634, 1128, 18, 4766, 565, 368, 2520, 518, 19286, 358, 315, 6283, 6, 279, 2229, 35, 5375, 368, 55, 594, 715, 1338, 1440, 2731, 3086, 787, 471, 679, 353, 7399, 1087, 434, 326, 2229, 35, 5375, 368, 2520, 518, 19286, 358, 5260, 1440, 2731, 1865, 315, 1937, 6, 487, 1087, 434, 326, 2229, 35, 4766, 8227, 12589, 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, 565, 1071, 918, 787, 12, 60, 350, 19031, 16, 509, 2943, 13, 1216, 21514, 282, 288, 1377, 309, 261, 1330, 18, 291, 3448, 1526, 10756, 540, 613, 18, 5129, 2932, 1685, 19031, 1546, 397, 19031, 397, 3104, 2943, 1546, 397, 2943, 397, 315, 315, 397, 333, 1769, 1377, 1250, 1765, 4188, 273, 629, 31, 5411, 309, 261, 3184, 1119, 18, 588, 3935, 29388, 1435, 480, 446, 13, 1377, 288, 540, 309, 261, 7133, 422, 27435, 3417, 17836, 597, 333, 18, 2972, 4188, 734, 1276, 3566, 4188, 60, 350, 13, 540, 288, 5411, 1765, 4188, 273, 638, 31, 540, 289, 540, 469, 540, 288, 5411, 368, 2503, 1058, 353, 1818, 9957, 1440, 487, 1087, 434, 4042, 2552, 2229, 5411, 604, 2 ]
ProteinFileParser protInfoParser = new ProteinFileParser( ProteinFileParser.PERSIST_CONCURRENTLY, cli.geneDao, cli.gpDao );
ProteinFileParser protInfoParser = new ProteinFileParser( cli.geneDao, cli.gpDao );
public static void main( String args[] ) throws IOException { ProteinLoaderCLI cli = null; try { /* OPTIONS STAGE */ /* help */ OptionBuilder.withDescription( "Print help for this application" ); Option helpOpt = OptionBuilder.create( 'h' ); /* username */ OptionBuilder.hasArgs(); OptionBuilder.withDescription( "Username" ); Option usernameOpt = OptionBuilder.create( 'u' ); /* password */ OptionBuilder.hasArgs(); OptionBuilder.withDescription( "Password" ); Option passwordOpt = OptionBuilder.create( 'p' ); /* environment (test or prod) */ OptionBuilder.hasArgs(); OptionBuilder.withDescription( "Set use of test or production environment" ); Option testOpt = OptionBuilder.create( 't' ); /* parse and load */ OptionBuilder.hasArgs(); OptionBuilder.withDescription( "Specify file (requires file arg) and load database with entries from file" ); Option loadOpt = OptionBuilder.create( 'l' ); /* remove */ OptionBuilder.withDescription( "Remove gene products (proteins, etc.) from database" ); Option removeOpt = OptionBuilder.create( 'r' ); Options opt = new Options(); opt.addOption( helpOpt ); opt.addOption( usernameOpt ); opt.addOption( passwordOpt ); opt.addOption( testOpt ); opt.addOption( loadOpt ); opt.addOption( removeOpt ); /* COMMAND LINE PARSER STAGE */ BasicParser parser = new BasicParser(); CommandLine cl = parser.parse( opt, args ); /* INTERROGATION STAGE */ if ( cl.hasOption( 'h' ) ) { printHelp( opt ); System.exit( 0 ); } /* check if using test or production context */ if ( cl.hasOption( 't' ) ) { boolean isTest = Boolean.parseBoolean( cl.getOptionValue( 't' ) ); if ( isTest ) ctx = SpringContextUtil.getApplicationContext( true ); else ctx = SpringContextUtil.getApplicationContext( false ); cli = new ProteinLoaderCLI(); } // if no ctx is set, default to test environment. else { ctx = SpringContextUtil.getApplicationContext( true ); cli = new ProteinLoaderCLI(); } /* check username and password. */ if ( cl.hasOption( 'u' ) ) { if ( cl.hasOption( 'p' ) ) { username = cl.getOptionValue( 'u' ); password = cl.getOptionValue( 'p' ); manAuthentication = ( ManualAuthenticationProcessing ) ctx .getBean( "manualAuthenticationProcessing" ); manAuthentication.validateRequest( username, password ); } } else { log.error( "Not authenticated. Make sure you entered a valid username and/or password" ); System.exit( 0 ); } ProteinFileParser protInfoParser = new ProteinFileParser( ProteinFileParser.PERSIST_CONCURRENTLY, cli.geneDao, cli.gpDao ); /* check load option. */ if ( cl.hasOption( 'l' ) ) { String filename = cl.getOptionValue( 'l' ); System.out.println( "option l: " + filename ); protInfoParser.parse( filename ); } /* check remove option. */ else if ( cl.hasOption( 'r' ) ) { protInfoParser.removeAll(); } /* defaults to print help. */ else { printHelp( opt ); } } catch ( ParseException e ) { e.printStackTrace(); } }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/29794625b905f79d0383dd51bb5cf76e80f8045b/ProteinLoaderCLI.java/buggy/src/impl/edu/columbia/gemma/loader/genome/gene/ProteinLoaderCLI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 514, 833, 8526, 262, 1216, 1860, 288, 3639, 1186, 10297, 2886, 7697, 4942, 273, 446, 31, 3639, 775, 288, 5411, 1748, 16726, 2347, 2833, 1195, 5411, 1748, 2809, 1195, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 5108, 2809, 364, 333, 2521, 6, 11272, 5411, 2698, 2809, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 76, 11, 11272, 5411, 1748, 2718, 1195, 5411, 2698, 1263, 18, 5332, 2615, 5621, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 8575, 6, 11272, 5411, 2698, 2718, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 89, 11, 11272, 5411, 1748, 2201, 1195, 5411, 2698, 1263, 18, 5332, 2615, 5621, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 3913, 6, 11272, 5411, 2698, 2201, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 84, 11, 11272, 5411, 1748, 3330, 261, 3813, 578, 10791, 13, 1195, 5411, 2698, 1263, 18, 5332, 2615, 5621, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 694, 999, 434, 1842, 578, 12449, 3330, 6, 11272, 5411, 2698, 1842, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 88, 11, 11272, 5411, 1748, 1109, 471, 1262, 1195, 5411, 2698, 1263, 18, 5332, 2615, 5621, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 19302, 585, 261, 18942, 585, 1501, 13, 471, 1262, 2063, 598, 3222, 628, 585, 6, 11272, 5411, 2698, 1262, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 80, 11, 11272, 5411, 1748, 1206, 1195, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 3288, 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, 514, 833, 8526, 262, 1216, 1860, 288, 3639, 1186, 10297, 2886, 7697, 4942, 273, 446, 31, 3639, 775, 288, 5411, 1748, 16726, 2347, 2833, 1195, 5411, 1748, 2809, 1195, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 5108, 2809, 364, 333, 2521, 6, 11272, 5411, 2698, 2809, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 76, 11, 11272, 5411, 1748, 2718, 1195, 5411, 2698, 1263, 18, 5332, 2615, 5621, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 8575, 6, 11272, 5411, 2698, 2718, 6179, 273, 2698, 1263, 18, 2640, 12, 296, 89, 11, 11272, 5411, 1748, 2201, 1195, 5411, 2698, 1263, 18, 5332, 2615, 5621, 5411, 2698, 1263, 18, 1918, 3291, 12, 315, 2 ]
String stringPattern = RubyString.stringValue(args[0]).getValue();
String stringPattern = RubyString.stringValue(args[0]).toString();
private RubyRegexp getPattern(IRubyObject[] args) { if (args.length == 0) { isWhitespace = true; return RubyRegexp.newRegexp(runtime, "\\s+", 0, null); } if (args[0] instanceof RubyRegexp) { // Even if we have whitespace-only explicit regexp we do not // mark it as whitespace. Apparently, this is so ruby can // still get the do not ignore the front match behavior. return RubyRegexp.regexpValue(args[0]); } String stringPattern = RubyString.stringValue(args[0]).getValue(); if (stringPattern.equals(" ")) { isWhitespace = true; return RubyRegexp.newRegexp(runtime, "\\s+", 0, null); } return RubyRegexp.newRegexp(runtime, unescapeString(stringPattern), 0, null); }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/9f2efc63a858fa0507245b207025eab027840a04/Split.java/clean/src/org/jruby/util/Split.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19817, 14621, 23420, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 23833, 273, 638, 31, 5411, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 8422, 87, 15, 3113, 374, 16, 446, 1769, 3639, 289, 3639, 309, 261, 1968, 63, 20, 65, 1276, 19817, 14621, 13, 288, 5411, 368, 25067, 309, 732, 1240, 7983, 17, 3700, 5515, 7195, 732, 741, 486, 5411, 368, 2267, 518, 487, 7983, 18, 225, 1716, 2938, 715, 16, 333, 353, 1427, 22155, 848, 5411, 368, 4859, 336, 326, 741, 486, 2305, 326, 6641, 845, 6885, 18, 5411, 327, 19817, 14621, 18, 17745, 620, 12, 1968, 63, 20, 19226, 3639, 289, 202, 202, 780, 533, 3234, 273, 19817, 780, 18, 1080, 620, 12, 1968, 63, 20, 65, 2934, 24805, 5621, 9506, 202, 430, 261, 1080, 3234, 18, 14963, 2932, 315, 3719, 288, 1082, 565, 23833, 273, 638, 31, 1082, 565, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 8422, 87, 15, 3113, 374, 16, 446, 1769, 202, 202, 97, 202, 202, 2463, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 15568, 780, 12, 1080, 3234, 3631, 374, 16, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19817, 14621, 23420, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 23833, 273, 638, 31, 5411, 327, 19817, 14621, 18, 2704, 14621, 12, 9448, 16, 8422, 87, 15, 3113, 374, 16, 446, 1769, 3639, 289, 3639, 309, 261, 1968, 63, 20, 65, 1276, 19817, 14621, 13, 288, 5411, 368, 25067, 309, 732, 1240, 7983, 17, 3700, 5515, 7195, 732, 741, 486, 5411, 368, 2267, 518, 487, 7983, 18, 225, 1716, 2938, 715, 16, 333, 353, 1427, 22155, 848, 5411, 368, 4859, 336, 326, 741, 486, 2305, 326, 6641, 845, 6885, 18, 5411, 327, 19817, 14621, 18, 17745, 620, 12, 1968, 63, 20, 19226, 3639, 289, 202, 2 ]
parsePluginList = PARSE_PLUGIN_LIST.getPluginList(DEFAULT_PLUGIN);
parsePluginList = this.parsePluginList.getPluginList(DEFAULT_PLUGIN);
private static List findExtensions(String contentType){ Extension[] extensions = X_POINT.getExtensions(); // Look for a preferred plugin. List parsePluginList = PARSE_PLUGIN_LIST.getPluginList(contentType); List extensionList = matchExtensions(parsePluginList, extensions, contentType); if (extensionList != null) { return extensionList; } // If none found, look for a default plugin. parsePluginList = PARSE_PLUGIN_LIST.getPluginList(DEFAULT_PLUGIN); return matchExtensions(parsePluginList, extensions, DEFAULT_PLUGIN); }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/329ff64e9d7295aff108f85e9a8103f5e5f8f398/ParserFactory.java/clean/src/java/org/apache/nutch/parse/ParserFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 987, 1104, 7513, 12, 780, 5064, 15329, 3639, 10021, 8526, 4418, 273, 1139, 67, 8941, 18, 588, 7513, 5621, 3639, 368, 10176, 364, 279, 9119, 1909, 18, 565, 987, 1109, 3773, 682, 273, 30161, 67, 19415, 67, 7085, 18, 588, 3773, 682, 12, 22194, 1769, 565, 987, 2710, 682, 273, 845, 7513, 12, 2670, 3773, 682, 16, 4418, 16, 5064, 1769, 565, 309, 261, 6447, 682, 480, 446, 13, 288, 1377, 327, 2710, 682, 31, 565, 289, 3639, 368, 971, 6555, 1392, 16, 2324, 364, 279, 805, 1909, 18, 565, 1109, 3773, 682, 273, 333, 18, 2670, 3773, 682, 18, 588, 3773, 682, 12, 5280, 67, 19415, 1769, 565, 327, 845, 7513, 12, 2670, 3773, 682, 16, 4418, 16, 3331, 67, 19415, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 987, 1104, 7513, 12, 780, 5064, 15329, 3639, 10021, 8526, 4418, 273, 1139, 67, 8941, 18, 588, 7513, 5621, 3639, 368, 10176, 364, 279, 9119, 1909, 18, 565, 987, 1109, 3773, 682, 273, 30161, 67, 19415, 67, 7085, 18, 588, 3773, 682, 12, 22194, 1769, 565, 987, 2710, 682, 273, 845, 7513, 12, 2670, 3773, 682, 16, 4418, 16, 5064, 1769, 565, 309, 261, 6447, 682, 480, 446, 13, 288, 1377, 327, 2710, 682, 31, 565, 289, 3639, 368, 971, 6555, 1392, 16, 2324, 364, 279, 805, 1909, 18, 565, 1109, 3773, 682, 273, 333, 18, 2670, 3773, 682, 18, 588, 3773, 682, 12, 5280, 67, 19415, 1769, 565, 327, 845, 7513, 12, 2670, 3773, 682, 2 ]
transports.put("aim", new TransportInstance(TransportType.aim, "AIM Transport", "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARGateway", componentManager));
transports.put("aim", new TransportInstance(TransportType.aim, "AIM Transport", "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARTransport", componentManager));
public void initializePlugin(PluginManager manager, File pluginDirectory) { picoContainer.start(); transports = new Hashtable<String,TransportInstance>(); componentManager = ComponentManagerFactory.getComponentManager(); /* Set up AIM transport. */ transports.put("aim", new TransportInstance(TransportType.aim, "AIM Transport", "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARGateway", componentManager)); maybeStartService("aim"); /* Set up ICQ transport. */ transports.put("icq", new TransportInstance(TransportType.icq, "ICQ Transport", "org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARGateway", componentManager)); maybeStartService("icq"); /* Set up Yahoo transport. */ transports.put("yahoo", new TransportInstance(TransportType.yahoo, "Yahoo! Transport", "org.jivesoftware.wildfire.gateway.protocols.yahoo.YahooGateway", componentManager)); maybeStartService("yahoo"); }
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/386a666102a779cc8417bb3558f6569cb225ee82/GatewayPlugin.java/clean/src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/GatewayPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4046, 3773, 12, 3773, 1318, 3301, 16, 1387, 1909, 2853, 13, 288, 3639, 293, 10764, 2170, 18, 1937, 5621, 3639, 28567, 273, 394, 18559, 32, 780, 16, 6568, 1442, 34, 5621, 3639, 1794, 1318, 273, 5435, 20012, 18, 588, 1841, 1318, 5621, 3639, 1748, 1000, 731, 432, 3445, 4736, 18, 1195, 3639, 28567, 18, 458, 2932, 4581, 3113, 394, 9514, 1442, 12, 6568, 559, 18, 4581, 16, 315, 37, 3445, 9514, 3113, 315, 3341, 18, 78, 3606, 4401, 2726, 18, 91, 545, 12179, 18, 11127, 18, 31018, 18, 538, 9815, 18, 51, 2312, 985, 6568, 3113, 1794, 1318, 10019, 3639, 6944, 1685, 1179, 2932, 4581, 8863, 3639, 1748, 1000, 731, 26899, 53, 4736, 18, 1195, 3639, 28567, 18, 458, 2932, 335, 85, 3113, 394, 9514, 1442, 12, 6568, 559, 18, 335, 85, 16, 315, 2871, 53, 9514, 3113, 315, 3341, 18, 78, 3606, 4401, 2726, 18, 91, 545, 12179, 18, 11127, 18, 31018, 18, 538, 9815, 18, 51, 2312, 985, 5197, 3113, 1794, 1318, 10019, 3639, 6944, 1685, 1179, 2932, 335, 85, 8863, 3639, 1748, 1000, 731, 1624, 9795, 5161, 4736, 18, 1195, 3639, 28567, 18, 458, 2932, 93, 9795, 5161, 3113, 394, 9514, 1442, 12, 6568, 559, 18, 93, 9795, 5161, 16, 315, 61, 9795, 5161, 5, 9514, 3113, 315, 3341, 18, 78, 3606, 4401, 2726, 18, 91, 545, 12179, 18, 11127, 18, 31018, 18, 93, 9795, 5161, 18, 61, 9795, 5161, 5197, 3113, 1794, 1318, 10019, 3639, 6944, 1685, 1179, 2932, 93, 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, 4046, 3773, 12, 3773, 1318, 3301, 16, 1387, 1909, 2853, 13, 288, 3639, 293, 10764, 2170, 18, 1937, 5621, 3639, 28567, 273, 394, 18559, 32, 780, 16, 6568, 1442, 34, 5621, 3639, 1794, 1318, 273, 5435, 20012, 18, 588, 1841, 1318, 5621, 3639, 1748, 1000, 731, 432, 3445, 4736, 18, 1195, 3639, 28567, 18, 458, 2932, 4581, 3113, 394, 9514, 1442, 12, 6568, 559, 18, 4581, 16, 315, 37, 3445, 9514, 3113, 315, 3341, 18, 78, 3606, 4401, 2726, 18, 91, 545, 12179, 18, 11127, 18, 31018, 18, 538, 9815, 18, 51, 2312, 985, 6568, 3113, 1794, 1318, 10019, 3639, 6944, 1685, 1179, 2932, 4581, 8863, 3639, 1748, 1000, 731, 26899, 53, 4736, 18, 1195, 3639, 2 ]
public Mapper createMapper()
public void createMapper( final FileNameMapper mapper )
public Mapper createMapper() throws TaskException { if( m_mapper != null ) { throw new TaskException( "Cannot define more than one mapper" ); } m_mapper = new Mapper(); return m_mapper; }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/2afc643a3ea676cc68f2f010ea3a7560b7a0a3af/Native2Ascii.java/buggy/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/text/Native2Ascii.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 4597, 12, 727, 25075, 4597, 5815, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 309, 12, 312, 67, 13919, 480, 446, 262, 3639, 288, 5411, 604, 394, 3837, 503, 12, 315, 4515, 4426, 1898, 2353, 1245, 5815, 6, 11272, 3639, 289, 3639, 312, 67, 13919, 273, 394, 19273, 5621, 3639, 327, 312, 67, 13919, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 4597, 12, 727, 25075, 4597, 5815, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 309, 12, 312, 67, 13919, 480, 446, 262, 3639, 288, 5411, 604, 394, 3837, 503, 12, 315, 4515, 4426, 1898, 2353, 1245, 5815, 6, 11272, 3639, 289, 3639, 312, 67, 13919, 273, 394, 19273, 5621, 3639, 327, 312, 67, 13919, 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 ]
protected void genArrayCreate(Context ctx, Primitive prim, Tree size) {
protected void genArrayCreate(Context ctx, Primitive prim, Tree size) throws JCode.OffsetTooBigException {
protected void genArrayCreate(Context ctx, Primitive prim, Tree size) { genLoad(ctx, size, JType.INT); JType type; switch (prim) { case NEW_ZARRAY : type = JType.BOOLEAN; break; case NEW_BARRAY : type = JType.BYTE; break; case NEW_SARRAY : type = JType.SHORT; break; case NEW_CARRAY : type = JType.CHAR; break; case NEW_IARRAY : type = JType.INT; break; case NEW_LARRAY : type = JType.LONG; break; case NEW_FARRAY : type = JType.FLOAT; break; case NEW_DARRAY : type = JType.DOUBLE; break; default: throw Debug.abort("unexpected primitive", prim); } ctx.code.emitNEWARRAY(type); }
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/17d738fccbb3f04a9f884ecae15b6300c41501cf/GenJVM.java/clean/sources/scalac/backend/jvm/GenJVM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3157, 1076, 1684, 12, 1042, 1103, 16, 14488, 15610, 16, 4902, 963, 13, 1216, 804, 1085, 18, 2335, 10703, 9901, 503, 288, 3639, 3157, 2563, 12, 5900, 16, 963, 16, 804, 559, 18, 3217, 1769, 3639, 804, 559, 618, 31, 3639, 1620, 261, 30438, 13, 288, 3639, 648, 12887, 67, 62, 8552, 294, 618, 273, 804, 559, 18, 17900, 31, 898, 31, 3639, 648, 12887, 67, 38, 8552, 294, 618, 273, 804, 559, 18, 15377, 31, 565, 898, 31, 3639, 648, 12887, 67, 55, 8552, 294, 618, 273, 804, 559, 18, 15993, 31, 282, 898, 31, 3639, 648, 12887, 67, 39, 8552, 294, 618, 273, 804, 559, 18, 7305, 31, 565, 898, 31, 3639, 648, 12887, 67, 45, 8552, 294, 618, 273, 804, 559, 18, 3217, 31, 377, 898, 31, 3639, 648, 12887, 67, 48, 8552, 294, 618, 273, 804, 559, 18, 14639, 31, 565, 898, 31, 3639, 648, 12887, 67, 42, 8552, 294, 618, 273, 804, 559, 18, 15640, 31, 282, 898, 31, 3639, 648, 12887, 67, 40, 8552, 294, 618, 273, 804, 559, 18, 17088, 31, 225, 898, 31, 3639, 805, 30, 604, 4015, 18, 18623, 2932, 21248, 8225, 3113, 15610, 1769, 3639, 289, 3639, 1103, 18, 710, 18, 18356, 12917, 8552, 12, 723, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 918, 3157, 1076, 1684, 12, 1042, 1103, 16, 14488, 15610, 16, 4902, 963, 13, 1216, 804, 1085, 18, 2335, 10703, 9901, 503, 288, 3639, 3157, 2563, 12, 5900, 16, 963, 16, 804, 559, 18, 3217, 1769, 3639, 804, 559, 618, 31, 3639, 1620, 261, 30438, 13, 288, 3639, 648, 12887, 67, 62, 8552, 294, 618, 273, 804, 559, 18, 17900, 31, 898, 31, 3639, 648, 12887, 67, 38, 8552, 294, 618, 273, 804, 559, 18, 15377, 31, 565, 898, 31, 3639, 648, 12887, 67, 55, 8552, 294, 618, 273, 804, 559, 18, 15993, 31, 282, 898, 31, 3639, 648, 12887, 67, 39, 8552, 294, 618, 273, 804, 559, 18, 7305, 31, 565, 898, 31, 3639, 648, 12887, 2 ]
flush();
_printer.flush();
public void endDocument() throws SAXException { // Print all the elements accumulated outside of // the root element. serializePreRoot(); // Flush the output, this is necessary for buffered output. flush(); // If an exception was thrown during serializing, this would // be the best time to report it. if ( _exception != null ) throw new SAXException( _exception ); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/6a9b22474c21af7de8c770f415756a79307aa72e/BaseMarkupSerializer.java/clean/src/org/apache/xml/serialize/BaseMarkupSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 2519, 1435, 3639, 1216, 14366, 565, 288, 3639, 368, 3038, 777, 326, 2186, 24893, 8220, 434, 3639, 368, 326, 1365, 930, 18, 3639, 4472, 1386, 2375, 5621, 3639, 368, 11624, 326, 876, 16, 333, 353, 4573, 364, 11445, 876, 18, 3639, 389, 30439, 18, 11330, 5621, 3639, 368, 971, 392, 1520, 1703, 6718, 4982, 2734, 6894, 16, 333, 4102, 3639, 368, 506, 326, 3796, 813, 358, 2605, 518, 18, 3639, 309, 261, 389, 4064, 480, 446, 262, 5411, 604, 394, 14366, 12, 389, 4064, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 2519, 1435, 3639, 1216, 14366, 565, 288, 3639, 368, 3038, 777, 326, 2186, 24893, 8220, 434, 3639, 368, 326, 1365, 930, 18, 3639, 4472, 1386, 2375, 5621, 3639, 368, 11624, 326, 876, 16, 333, 353, 4573, 364, 11445, 876, 18, 3639, 389, 30439, 18, 11330, 5621, 3639, 368, 971, 392, 1520, 1703, 6718, 4982, 2734, 6894, 16, 333, 4102, 3639, 368, 506, 326, 3796, 813, 358, 2605, 518, 18, 3639, 309, 261, 389, 4064, 480, 446, 262, 5411, 604, 394, 14366, 12, 389, 4064, 11272, 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 ]
throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, IStatus.OK, "could not update repository configuration", e));
throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, IStatus.OK, "could not update repository configuration", e));
public void updateAttributes(final TaskRepository repository, Proxy proxySettings, IProgressMonitor monitor) throws CoreException { try { BugzillaCorePlugin.getRepositoryConfiguration(true, repository.getUrl(), proxySettings, repository.getUserName(), repository.getPassword(), repository.getCharacterEncoding()); } catch (Exception e) { throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, IStatus.OK, "could not update repository configuration", e)); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/871dc4e66481486437f88d74914ef5aa35903f35/BugzillaRepositoryConnector.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 2498, 12, 6385, 3837, 3305, 3352, 16, 7659, 2889, 2628, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 698, 288, 1082, 202, 19865, 15990, 4670, 3773, 18, 588, 3305, 1750, 12, 3767, 16, 3352, 18, 588, 1489, 9334, 2889, 2628, 16, 3352, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 3352, 18, 588, 7069, 4705, 10663, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 12849, 394, 30015, 12, 2704, 2685, 12, 45, 1482, 18, 3589, 16, 16907, 15990, 4670, 3773, 18, 19415, 67, 734, 16, 467, 1482, 18, 3141, 16, 315, 15195, 486, 1089, 3352, 1664, 3113, 425, 10019, 202, 202, 97, 202, 97, 202, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 2498, 12, 6385, 3837, 3305, 3352, 16, 7659, 2889, 2628, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 698, 288, 1082, 202, 19865, 15990, 4670, 3773, 18, 588, 3305, 1750, 12, 3767, 16, 3352, 18, 588, 1489, 9334, 2889, 2628, 16, 3352, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 3352, 18, 588, 7069, 4705, 10663, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 12849, 394, 30015, 12, 2704, 2685, 12, 45, 1482, 18, 3589, 16, 16907, 15990, 4670, 3773, 18, 19415, 67, 734, 16, 467, 1482, 18, 3141, 16, 315, 15195, 486, 1089, 3352, 1664, 3113, 425, 10019, 202, 202, 97, 202, 97, 202, 2, -100, -100 ]
assertFalse(root.hasEntry(p("dir")));
assertFalse(root.hasEntry(p("/dir")));
public void testCeatingDirectory() { assertFalse(root.hasEntry(p("dir"))); root.doCreateDirectory(null, p("dir")); assertTrue(root.hasEntry(p("dir"))); assertEquals(DirectoryEntry.class, root.getEntry(p("dir")).getClass()); assertTrue(root.getEntry(p("dir")).getChildren().isEmpty()); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/RootEntryDirectoriesTest.java/clean/LocalVcs/test/com/intellij/localvcs/RootEntryDirectoriesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 39, 73, 1776, 2853, 1435, 288, 565, 1815, 8381, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 19, 1214, 6, 3719, 1769, 565, 1365, 18, 2896, 1684, 2853, 12, 2011, 16, 293, 2932, 1214, 7923, 1769, 565, 1815, 5510, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 1214, 6, 3719, 1769, 565, 1815, 8867, 12, 2853, 1622, 18, 1106, 16, 1365, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 797, 10663, 565, 1815, 5510, 12, 3085, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 4212, 7675, 291, 1921, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 39, 73, 1776, 2853, 1435, 288, 565, 1815, 8381, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 19, 1214, 6, 3719, 1769, 565, 1365, 18, 2896, 1684, 2853, 12, 2011, 16, 293, 2932, 1214, 7923, 1769, 565, 1815, 5510, 12, 3085, 18, 5332, 1622, 12, 84, 2932, 1214, 6, 3719, 1769, 565, 1815, 8867, 12, 2853, 1622, 18, 1106, 16, 1365, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 797, 10663, 565, 1815, 5510, 12, 3085, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 588, 4212, 7675, 291, 1921, 10663, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sb.append(x); sb.append("="); sb.append(i); sb.append('\n');
if(realLength > 100*1000) Logger.normal(this, "["+realLength+"] = "+i+" (prev="+i.getPrev()+")");
protected synchronized void checkList() { // FIXME once satisfied that this works, make it only happen occasionally int statedLength = list.size(); int realLength = 0; sb.setLength(0); int x = 0; for(Enumeration e = list.elements();e.hasMoreElements();) { UpdatableSortedLinkedListItem i = (UpdatableSortedLinkedListItem) e.nextElement(); sb.append(x); sb.append("="); sb.append(i); sb.append('\n'); realLength++; } if(statedLength != realLength) { String err = "statedLength = "+statedLength+" but realLength = "+realLength+" on "+this; Logger.error(this, "Illegal ERROR: "+err, new Exception("error")); Logger.error(this, "Details:\n"+sb.toString()); throw new IllegalStateException(err); } else { Logger.minor(this, "checkList() successful: realLength = statedLength = "+realLength+" on "+this); Logger.minor(this, "Details:\n"+sb.toString()); } }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/b4ecaa4055b5835413830d4125c72de27d68e306/UpdatableSortedLinkedList.java/clean/src/freenet/support/UpdatableSortedLinkedList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3852, 918, 866, 682, 1435, 288, 377, 202, 759, 9852, 3647, 18958, 716, 333, 6330, 16, 1221, 518, 1338, 5865, 9145, 345, 285, 1230, 377, 202, 474, 28936, 1782, 273, 666, 18, 1467, 5621, 377, 202, 474, 2863, 1782, 273, 374, 31, 377, 202, 18366, 18, 542, 1782, 12, 20, 1769, 377, 202, 474, 619, 273, 374, 31, 377, 202, 1884, 12, 21847, 425, 273, 666, 18, 6274, 5621, 73, 18, 5332, 7417, 3471, 5621, 13, 288, 377, 202, 202, 1211, 3404, 429, 11739, 13174, 13575, 277, 273, 261, 1211, 3404, 429, 11739, 13174, 13575, 13, 425, 18, 4285, 1046, 5621, 377, 202, 202, 18366, 18, 6923, 12, 92, 1769, 377, 202, 202, 18366, 18, 6923, 2932, 1546, 1769, 377, 202, 202, 18366, 18, 6923, 12, 77, 1769, 377, 202, 202, 18366, 18, 6923, 2668, 64, 82, 8284, 377, 202, 202, 7688, 1782, 9904, 31, 377, 202, 97, 377, 202, 430, 12, 334, 690, 1782, 480, 2863, 1782, 13, 288, 377, 202, 202, 780, 393, 273, 315, 334, 690, 1782, 273, 13773, 334, 690, 1782, 9078, 1496, 2863, 1782, 273, 13773, 7688, 1782, 9078, 603, 13773, 2211, 31, 377, 202, 202, 3328, 18, 1636, 12, 2211, 16, 315, 12195, 5475, 30, 13773, 370, 16, 394, 1185, 2932, 1636, 7923, 1769, 377, 202, 202, 3328, 18, 1636, 12, 2211, 16, 315, 3790, 5581, 82, 6, 15, 18366, 18, 10492, 10663, 377, 202, 202, 12849, 394, 5477, 12, 370, 1769, 377, 202, 97, 469, 288, 377, 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, 377, 4750, 3852, 918, 866, 682, 1435, 288, 377, 202, 759, 9852, 3647, 18958, 716, 333, 6330, 16, 1221, 518, 1338, 5865, 9145, 345, 285, 1230, 377, 202, 474, 28936, 1782, 273, 666, 18, 1467, 5621, 377, 202, 474, 2863, 1782, 273, 374, 31, 377, 202, 18366, 18, 542, 1782, 12, 20, 1769, 377, 202, 474, 619, 273, 374, 31, 377, 202, 1884, 12, 21847, 425, 273, 666, 18, 6274, 5621, 73, 18, 5332, 7417, 3471, 5621, 13, 288, 377, 202, 202, 1211, 3404, 429, 11739, 13174, 13575, 277, 273, 261, 1211, 3404, 429, 11739, 13174, 13575, 13, 425, 18, 4285, 1046, 5621, 377, 202, 202, 18366, 18, 6923, 12, 92, 1769, 377, 202, 202, 18366, 18, 6923, 2932, 2 ]
DebuggerThread() { makeDaemon(true); }
DebuggerThread() { makeDaemon(true); }
DebuggerThread() { makeDaemon(true); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/adc94596e6496781a4e0763b29a52be3daab1a7a/DebuggerThread.java/buggy/rvm/src/vm/scheduler/DebuggerThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 28645, 3830, 1435, 1377, 288, 1377, 1221, 12858, 12, 3767, 1769, 1377, 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 ]
[ 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, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 28645, 3830, 1435, 1377, 288, 1377, 1221, 12858, 12, 3767, 1769, 1377, 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 ]
new NoViableAltException("971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 33, 2, input);
new NoViableAltException("971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 32, 2, input);
public List constraints() throws RecognitionException { List constraints = null; constraints = new ArrayList(); try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:970:4: ( ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) ( ( ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )=> ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )* ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:970:4: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) ( ( ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )=> ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )* { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:970:4: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) int alt32=2; int LA32_0 = input.LA(1); if ( (LA32_0==ID) ) { int LA32_1 = input.LA(2); if ( (LA32_1==39) ) { int LA32_2 = input.LA(3); if ( (LA32_2==ID) ) { int LA32_4 = input.LA(4); if ( (LA32_4==67) ) { alt32=2; } else if ( (LA32_4==EOF||LA32_4==RIGHT_PAREN||LA32_4==33||(LA32_4>=57 && LA32_4<=65)) ) { alt32=1; } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("970:4: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 32, 4, input); throw nvae; } } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("970:4: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 32, 2, input); throw nvae; } } else if ( (LA32_1==EOF||LA32_1==RIGHT_PAREN||LA32_1==33||(LA32_1>=57 && LA32_1<=65)) ) { alt32=1; } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("970:4: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 32, 1, input); throw nvae; } } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("970:4: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:970:5: ( constraint[constraints] )=> constraint[constraints] { pushFollow(FOLLOW_constraint_in_constraints1982); constraint(constraints); _fsp--; if (failed) return constraints; } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:970:29: predicate[constraints] { pushFollow(FOLLOW_predicate_in_constraints1985); predicate(constraints); _fsp--; if (failed) return constraints; } break; } // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:971:3: ( ( ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )=> ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )* loop34: do { int alt34=2; int LA34_0 = input.LA(1); if ( (LA34_0==33) ) { alt34=1; } switch (alt34) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:971:5: ( ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) )=> ',' ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) { match(input,33,FOLLOW_33_in_constraints1993); if (failed) return constraints; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] ) int alt33=2; int LA33_0 = input.LA(1); if ( (LA33_0==ID) ) { int LA33_1 = input.LA(2); if ( (LA33_1==39) ) { int LA33_2 = input.LA(3); if ( (LA33_2==ID) ) { int LA33_4 = input.LA(4); if ( (LA33_4==67) ) { alt33=2; } else if ( (LA33_4==EOF||LA33_4==RIGHT_PAREN||LA33_4==33||(LA33_4>=57 && LA33_4<=65)) ) { alt33=1; } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 33, 4, input); throw nvae; } } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 33, 2, input); throw nvae; } } else if ( (LA33_1==EOF||LA33_1==RIGHT_PAREN||LA33_1==33||(LA33_1>=57 && LA33_1<=65)) ) { alt33=1; } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 33, 1, input); throw nvae; } } else { if (backtracking>0) {failed=true; return constraints;} NoViableAltException nvae = new NoViableAltException("971:9: ( ( constraint[constraints] )=> constraint[constraints] | predicate[constraints] )", 33, 0, input); throw nvae; } switch (alt33) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:971:10: ( constraint[constraints] )=> constraint[constraints] { pushFollow(FOLLOW_constraint_in_constraints1996); constraint(constraints); _fsp--; if (failed) return constraints; } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:971:34: predicate[constraints] { pushFollow(FOLLOW_predicate_in_constraints1999); predicate(constraints); _fsp--; if (failed) return constraints; } break; } } break; default : break loop34; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/0aa286f40333d2c596071d72d310904501c4f8b2/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 273, 446, 31, 1171, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 29, 7301, 30, 24, 30, 261, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 261, 3316, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 13216, 3316, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 262, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 29, 7301, 30, 24, 30, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 261, 3316, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 13216, 3316, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 5411, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 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, 987, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 273, 446, 31, 1171, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 29, 7301, 30, 24, 30, 261, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 261, 3316, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 13216, 3316, 261, 261, 4954, 63, 11967, 65, 13216, 4954, 63, 11967, 65, 571, 5641, 63, 2 ]
public String getBaseURL() {
public String getBaseURL () {
public String getBaseURL() { return baseUrl; }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/9a4ed9a276ff3906598aa1c6aa55aeb8a2745a6e/PanelManager.java/buggy/demos/browser/src/java/org/xhtmlrenderer/demo/browser/PanelManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8297, 1785, 1832, 288, 3639, 327, 9818, 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, 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, 514, 8297, 1785, 1832, 288, 3639, 327, 9818, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
statusLabel.setText("Starting to load " + currentURL); urlField.setText(currentURL);
if (null != statusLabel && null != urlField) { statusLabel.setText("Starting to load " + currentURL); urlField.setText(currentURL); }
public void eventDispatched(WebclientEvent event){ boolean enabledState; String status; if (event instanceof DocumentLoadEvent) { switch ((int) event.getType()) { case ((int) DocumentLoadEvent.START_DOCUMENT_LOAD_EVENT_MASK): stopButton.setEnabled(true); refreshButton.setEnabled(true); currentURL = (String) event.getEventData(); System.out.println("debug: edburns: Currently Viewing: " + currentURL); statusLabel.setText("Starting to load " + currentURL); urlField.setText(currentURL); currentDocument = null; break; case ((int) DocumentLoadEvent.END_DOCUMENT_LOAD_EVENT_MASK): stopButton.setEnabled(false); backButton.setEnabled(history.canBack()); backMenuItem.setEnabled(history.canBack()); forwardButton.setEnabled(history.canForward()); forwardMenuItem.setEnabled(history.canForward()); populateHistoryMenu(); statusLabel.setText("Done."); urlStatusLabel.setText(""); currentDocument = currentPage.getDOM(); // add the new document to the domViewer if (null != currentDocument && null != domViewer) { domViewer.setDocument(currentDocument); } break; case ((int) DocumentLoadEvent.PROGRESS_URL_LOAD_EVENT_MASK): status = "Status: " + (String) event.getEventData(); statusLabel.setText(status); break; case ((int) DocumentLoadEvent.STATUS_URL_LOAD_EVENT_MASK): status = "Status: " + (String) event.getEventData(); statusLabel.setText(status); break; case ((int) DocumentLoadEvent.START_URL_LOAD_EVENT_MASK): status = (String) event.getEventData(); urlStatusLabel.setText("startURL: " + status); break; case ((int) DocumentLoadEvent.END_URL_LOAD_EVENT_MASK): status = (String) event.getEventData(); urlStatusLabel.setText(" endURL: " + status); break; } } else if (event instanceof NewWindowEvent) { chromeFlag = (long) event.getType(); // send a "new window" event to the window Toolkit.getDefaultToolkit(). getSystemEventQueue(). postEvent(new ActionEvent(newItem, ActionEvent.ACTION_PERFORMED, "New Window2")); }}
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/636945d6cae7057bcd6b97b497339ba9a9435bd3/EMWindow.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 871, 5325, 329, 12, 4079, 2625, 1133, 871, 15329, 565, 1250, 3696, 1119, 31, 565, 514, 1267, 31, 565, 309, 261, 2575, 1276, 4319, 2563, 1133, 13, 288, 3639, 1620, 14015, 474, 13, 871, 18, 588, 559, 10756, 288, 3639, 648, 14015, 474, 13, 4319, 2563, 1133, 18, 7570, 67, 18450, 67, 7783, 67, 10454, 67, 11704, 4672, 5411, 2132, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 4460, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 783, 1785, 273, 261, 780, 13, 871, 18, 588, 21299, 5621, 5411, 2332, 18, 659, 18, 8222, 2932, 4148, 30, 1675, 70, 321, 87, 30, 15212, 4441, 310, 30, 315, 397, 1171, 9079, 783, 1785, 1769, 5411, 1267, 2224, 18, 542, 1528, 2932, 11715, 358, 1262, 315, 397, 783, 1785, 1769, 5411, 880, 974, 18, 542, 1528, 12, 2972, 1785, 1769, 5411, 783, 2519, 273, 446, 31, 5411, 898, 31, 3639, 648, 14015, 474, 13, 4319, 2563, 1133, 18, 4415, 67, 18450, 67, 7783, 67, 10454, 67, 11704, 4672, 5411, 2132, 3616, 18, 542, 1526, 12, 5743, 1769, 5411, 1473, 3616, 18, 542, 1526, 12, 8189, 18, 4169, 2711, 10663, 5411, 1473, 12958, 18, 542, 1526, 12, 8189, 18, 4169, 2711, 10663, 5411, 5104, 3616, 18, 542, 1526, 12, 8189, 18, 4169, 8514, 10663, 5411, 5104, 12958, 18, 542, 1526, 12, 8189, 18, 4169, 8514, 10663, 5411, 6490, 5623, 4599, 5621, 5411, 1267, 2224, 18, 542, 1528, 2932, 7387, 1199, 1769, 5411, 880, 1482, 2224, 18, 542, 1528, 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, 1071, 918, 871, 5325, 329, 12, 4079, 2625, 1133, 871, 15329, 565, 1250, 3696, 1119, 31, 565, 514, 1267, 31, 565, 309, 261, 2575, 1276, 4319, 2563, 1133, 13, 288, 3639, 1620, 14015, 474, 13, 871, 18, 588, 559, 10756, 288, 3639, 648, 14015, 474, 13, 4319, 2563, 1133, 18, 7570, 67, 18450, 67, 7783, 67, 10454, 67, 11704, 4672, 5411, 2132, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 4460, 3616, 18, 542, 1526, 12, 3767, 1769, 5411, 783, 1785, 273, 261, 780, 13, 871, 18, 588, 21299, 5621, 5411, 2332, 18, 659, 18, 8222, 2932, 4148, 30, 1675, 70, 321, 87, 30, 15212, 4441, 310, 30, 315, 397, 1171, 9079, 783, 1785, 1769, 5411, 1267, 2224, 18, 2 ]
logln("Warning: Not testing the zh_CN behavior because resource is absent");
logln("Warning: Not testing the mt_MT behavior because resource is absent");
public void TestDisplayName() { TimeZone zone = TimeZone.getTimeZone("PST"); String name = zone.getDisplayName(Locale.ENGLISH); logln("PST->" + name); if (!name.equals("Pacific Standard Time")) errln("Fail: Expected \"Pacific Standard Time\", got " + name + " for " + zone); //***************************************************************** // THE FOLLOWING LINES MUST BE UPDATED IF THE LOCALE DATA CHANGES // THE FOLLOWING LINES MUST BE UPDATED IF THE LOCALE DATA CHANGES // THE FOLLOWING LINES MUST BE UPDATED IF THE LOCALE DATA CHANGES //***************************************************************** Object[] DATA = { new Boolean(false), new Integer(TimeZone.SHORT), "PST", new Boolean(true), new Integer(TimeZone.SHORT), "PDT", new Boolean(false), new Integer(TimeZone.LONG), "Pacific Standard Time", new Boolean(true), new Integer(TimeZone.LONG), "Pacific Daylight Time", }; for (int i=0; i<DATA.length; i+=3) { name = zone.getDisplayName(((Boolean)DATA[i]).booleanValue(), ((Integer)DATA[i+1]).intValue(), Locale.ENGLISH); if (!name.equals(DATA[i+2])) errln("Fail: Expected " + DATA[i+2] + "; got " + name); } // Make sure that we don't display the DST name by constructing a fake // PST zone that has DST all year long. SimpleTimeZone zone2 = new SimpleTimeZone(0, "PST"); zone2.setStartRule(Calendar.JANUARY, 1, 0); zone2.setEndRule(Calendar.DECEMBER, 31, 0); logln("Modified PST inDaylightTime->" + zone2.inDaylightTime(new Date())); name = zone2.getDisplayName(Locale.ENGLISH); logln("Modified PST->" + name); if (!name.equals("Pacific Standard Time")) errln("Fail: Expected \"Pacific Standard Time\""); // Make sure we get the default display format for Locales // with no display name data. Locale zh_CN = Locale.SIMPLIFIED_CHINESE; name = zone.getDisplayName(zh_CN); //***************************************************************** // THE FOLLOWING LINE MUST BE UPDATED IF THE LOCALE DATA CHANGES // THE FOLLOWING LINE MUST BE UPDATED IF THE LOCALE DATA CHANGES // THE FOLLOWING LINE MUST BE UPDATED IF THE LOCALE DATA CHANGES //***************************************************************** logln("PST(zh_CN)->" + name); // Now be smart -- check to see if zh resource is even present. // If not, we expect the en fallback behavior. // in icu4j 2.1 we know we have the zh_CN locale data, though it's incomplete /* ResourceBundle enRB = ICULocaleData.getResourceBundle("DateFormatZoneData", Locale.ENGLISH); ResourceBundle zhRB = ICULocaleData.getResourceBundle("DateFormatZoneData", zh_CN); boolean noZH = enRB == zhRB; if (noZH) { logln("Warning: Not testing the zh_CN behavior because resource is absent"); if (!name.equals("Pacific Standard Time")) errln("Fail: Expected Pacific Standard Time"); } else */ if (!name.equals("Pacific Standard Time") && !name.equals("GMT-08:00") && !name.equals("GMT-8:00") && !name.equals("GMT-0800") && !name.equals("GMT-800")) { errln("Fail: Expected GMT-08:00 or something similar"); errln("************************************************************"); errln("THE ABOVE FAILURE MAY JUST MEAN THE LOCALE DATA HAS CHANGED"); errln("************************************************************"); } // Now try a non-existent zone zone2 = new SimpleTimeZone(90*60*1000, "xyzzy"); name = zone2.getDisplayName(Locale.ENGLISH); logln("GMT+90min->" + name); if (!name.equals("GMT+01:30") && !name.equals("GMT+1:30") && !name.equals("GMT+0130") && !name.equals("GMT+130")) errln("Fail: Expected GMT+01:30 or something similar"); }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/e63ba2cfd8e67a14569996e9b7cce89c4cd2b820/TimeZoneTest.java/buggy/icu4j/src/com/ibm/icu/dev/test/timezone/TimeZoneTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7766, 20524, 1435, 288, 3639, 16491, 4157, 273, 16491, 18, 588, 16760, 2932, 52, 882, 8863, 3639, 514, 508, 273, 4157, 18, 588, 20524, 12, 3916, 18, 16324, 13462, 1769, 3639, 613, 2370, 2932, 52, 882, 2122, 6, 397, 508, 1769, 3639, 309, 16051, 529, 18, 14963, 2932, 52, 1077, 1507, 8263, 2647, 6, 3719, 5411, 393, 2370, 2932, 3754, 30, 13219, 1239, 52, 1077, 1507, 8263, 2647, 22564, 2363, 315, 397, 508, 397, 5375, 315, 364, 315, 397, 4157, 1769, 3639, 368, 11125, 14, 3639, 368, 12786, 6531, 1360, 14340, 55, 10685, 9722, 11028, 40, 11083, 12786, 31005, 8730, 6469, 3388, 3991, 3639, 368, 12786, 6531, 1360, 14340, 55, 10685, 9722, 11028, 40, 11083, 12786, 31005, 8730, 6469, 3388, 3991, 3639, 368, 12786, 6531, 1360, 14340, 55, 10685, 9722, 11028, 40, 11083, 12786, 31005, 8730, 6469, 3388, 3991, 3639, 368, 11125, 14, 3639, 1033, 8526, 8730, 273, 288, 5411, 394, 3411, 12, 5743, 3631, 394, 2144, 12, 16760, 18, 15993, 3631, 315, 52, 882, 3113, 5411, 394, 3411, 12, 3767, 3631, 225, 394, 2144, 12, 16760, 18, 15993, 3631, 315, 52, 9081, 3113, 5411, 394, 3411, 12, 5743, 3631, 394, 2144, 12, 16760, 18, 14639, 3631, 225, 315, 52, 1077, 1507, 8263, 2647, 3113, 5411, 394, 3411, 12, 3767, 3631, 225, 394, 2144, 12, 16760, 18, 14639, 3631, 225, 315, 52, 1077, 1507, 13735, 5099, 2647, 3113, 3639, 289, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 4883, 18, 2469, 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, 7766, 20524, 1435, 288, 3639, 16491, 4157, 273, 16491, 18, 588, 16760, 2932, 52, 882, 8863, 3639, 514, 508, 273, 4157, 18, 588, 20524, 12, 3916, 18, 16324, 13462, 1769, 3639, 613, 2370, 2932, 52, 882, 2122, 6, 397, 508, 1769, 3639, 309, 16051, 529, 18, 14963, 2932, 52, 1077, 1507, 8263, 2647, 6, 3719, 5411, 393, 2370, 2932, 3754, 30, 13219, 1239, 52, 1077, 1507, 8263, 2647, 22564, 2363, 315, 397, 508, 397, 5375, 315, 364, 315, 397, 4157, 1769, 3639, 368, 11125, 14, 3639, 368, 12786, 6531, 1360, 14340, 55, 10685, 9722, 11028, 40, 11083, 12786, 31005, 8730, 6469, 3388, 3991, 3639, 368, 12786, 6531, 1360, 14340, 55, 10685, 9722, 11028, 40, 11083, 12786, 2 ]
}
}
public Hashtable getExportpoints() { if((m_exportpoints == null) || (m_exportpoints.size() == 0)){ m_exportpoints = new Hashtable(); try { NodeList exportpointsList = m_xmlReg.getElementsByTagName("exportpoint"); for (int x = 0; x < exportpointsList.getLength(); x++) { try { String curExportpoint = ((Element) exportpointsList.item(x)).getElementsByTagName("source").item(0).getFirstChild().getNodeValue(); String curPath = ((Element) exportpointsList.item(x)).getElementsByTagName("destination").item(0).getFirstChild().getNodeValue(); m_exportpoints.put(curExportpoint, com.opencms.boot.CmsBase.getAbsoluteWebPath(curPath)); } catch(Exception exc) { exc.printStackTrace(); // ignore the exception and try the next view-pair. } } } catch (Exception exc) { exc.printStackTrace(); // no return-values } } return m_exportpoints;}
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/5c27bc595df503fc5e3629ec92d99ba38b58a0e9/CmsRegistry.java/clean/src/com/opencms/file/CmsRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 18559, 29566, 4139, 1435, 288, 565, 309, 12443, 81, 67, 6530, 4139, 422, 446, 13, 747, 261, 81, 67, 6530, 4139, 18, 1467, 1435, 422, 374, 3719, 95, 3639, 312, 67, 6530, 4139, 273, 394, 18559, 5621, 3639, 775, 288, 5411, 16781, 3359, 4139, 682, 273, 312, 67, 2902, 1617, 18, 588, 3471, 10401, 2932, 6530, 1153, 8863, 5411, 364, 261, 474, 619, 273, 374, 31, 619, 411, 3359, 4139, 682, 18, 588, 1782, 5621, 619, 27245, 288, 7734, 775, 288, 10792, 514, 662, 6144, 1153, 273, 14015, 1046, 13, 3359, 4139, 682, 18, 1726, 12, 92, 13, 2934, 588, 3471, 10401, 2932, 3168, 20387, 1726, 12, 20, 2934, 588, 3759, 1763, 7675, 588, 907, 620, 5621, 10792, 514, 662, 743, 273, 14015, 1046, 13, 3359, 4139, 682, 18, 1726, 12, 92, 13, 2934, 588, 3471, 10401, 2932, 10590, 20387, 1726, 12, 20, 2934, 588, 3759, 1763, 7675, 588, 907, 620, 5621, 10792, 312, 67, 6530, 4139, 18, 458, 12, 1397, 6144, 1153, 16, 532, 18, 556, 14645, 18, 7137, 18, 4747, 2171, 18, 588, 10368, 4079, 743, 12, 1397, 743, 10019, 7734, 289, 1044, 12, 503, 3533, 13, 288, 10792, 3533, 18, 1188, 6332, 5621, 10792, 368, 2305, 326, 1520, 471, 775, 326, 1024, 1476, 17, 6017, 18, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 503, 3533, 13, 288, 5411, 3533, 18, 1188, 6332, 5621, 5411, 368, 1158, 327, 17, 2372, 3639, 289, 377, 289, 3639, 327, 312, 67, 6530, 4139, 31, 97, 2, 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, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 18559, 29566, 4139, 1435, 288, 565, 309, 12443, 81, 67, 6530, 4139, 422, 446, 13, 747, 261, 81, 67, 6530, 4139, 18, 1467, 1435, 422, 374, 3719, 95, 3639, 312, 67, 6530, 4139, 273, 394, 18559, 5621, 3639, 775, 288, 5411, 16781, 3359, 4139, 682, 273, 312, 67, 2902, 1617, 18, 588, 3471, 10401, 2932, 6530, 1153, 8863, 5411, 364, 261, 474, 619, 273, 374, 31, 619, 411, 3359, 4139, 682, 18, 588, 1782, 5621, 619, 27245, 288, 7734, 775, 288, 10792, 514, 662, 6144, 1153, 273, 14015, 1046, 13, 3359, 4139, 682, 18, 1726, 12, 92, 13, 2934, 588, 3471, 10401, 2932, 3168, 20387, 1726, 12, 20, 2934, 588, 3759, 1763, 7675, 588, 907, 620, 5621, 10792, 2 ]
bindingColumn.setAggregrateOn( ( (GroupHandle) DEUtil.getGroups( (DesignElementHandle) target )
bindingColumn.setAggregateOn( ( (GroupHandle) DEUtil.getGroups( (DesignElementHandle) target )
protected static DataItemHandle performInsertDataSetColumn( ResultSetColumnHandle model, Object target, Object targetParent ) throws SemanticException { /* * search the target container, if container has the same dataset, add * the column binding if it does not exist in the container. If the * container's dataset is not the dragged dataset column's dataset, * column binding will be added to the new dataitem, and set dataitem's * dataset with the dragged dataset column's dataset. */ DataItemHandle dataHandle = DesignElementFactory.getInstance( ) .newDataItem( null ); DataSetHandle dataSet = (DataSetHandle) model.getElementHandle( ); dataHandle.setResultSetColumn( model.getColumnName( ) ); if ( targetParent instanceof ReportItemHandle ) { ReportItemHandle container = (ReportItemHandle) targetParent; ComputedColumn bindingColumn = StructureFactory.newComputedColumn( dataHandle, model.getColumnName( ) ); bindingColumn.setDataType( model.getDataType( ) ); bindingColumn.setExpression( DEUtil.getExpression( model ) ); if ( target instanceof DesignElementHandle ) { if ( ExpressionUtil.hasAggregation( bindingColumn.getExpression( ) ) ) { String groupType = DEUtil.getGroupControlType( (DesignElementHandle) target ); if ( groupType.equals( DEUtil.TYPE_GROUP_GROUP ) ) bindingColumn.setAggregrateOn( ( (GroupHandle) DEUtil.getGroups( (DesignElementHandle) target ) .get( 0 ) ).getName( ) ); else if ( groupType.equals( DEUtil.TYPE_GROUP_LISTING ) ) bindingColumn.setAggregrateOn( null ); } } DataSetHandle containerDataSet = DEUtil.getFirstDataSet( container ); container = DEUtil.getListingContainer( container ); if ( containerDataSet == null && container != null ) { container.setDataSet( dataSet ); containerDataSet = dataSet; } if ( dataSet.equals( containerDataSet ) && container != null ) { container.addColumnBinding( bindingColumn, false ); } else { // should not happen dataHandle.setDataSet( dataSet ); dataHandle.addColumnBinding( bindingColumn, false ); } // GroupHandle groupHandle = getGroupHandle( target ); // if ( groupHandle != null ) // { // ComputedColumn bindingColumn = // StructureFactory.newComputedColumn( groupHandle, // model.getColumnName( ) ); // // bindingColumn.setColumnName( model.getColumnName( ) ); // bindingColumn.setDataType( model.getDataType( ) ); // bindingColumn.setExpression( DEUtil.getExpression( model ) ); // // groupHandle.addColumnBinding( bindingColumn, false ); // } // else // { // ComputedColumn bindingColumn = // StructureFactory.newComputedColumn( container, // model.getColumnName( ) ); // bindingColumn.setDataType( model.getDataType( ) ); // bindingColumn.setExpression( DEUtil.getExpression( model ) ); // container.addColumnBinding( bindingColumn, false ); // } // ComputedColumn bindingColumn = // StructureFactory.createComputedColumn( ); // bindingColumn.setName( model.getColumnName( ) ); // bindingColumn.setDataType( model.getDataType( ) ); // bindingColumn.setExpression( DEUtil.getExpression( model ) ); // GroupHandle groupHandle = getGroupHandle( target ); // // if ( groupHandle != null ) // { // for ( Iterator iter = groupHandle.getColumnBindings( ) // .iterator( ); iter.hasNext( ); ) // { // ComputedColumnHandle element = (ComputedColumnHandle) iter.next( // ); // if ( element.getStructure( ).equals( bindingColumn ) ) // { // bindingExist = true; // break; // } // } // } // else // { // for ( Iterator iter = container.getColumnBindings( ).iterator( ); // iter.hasNext( ); ) // { // ComputedColumnHandle element = (ComputedColumnHandle) iter.next( // ); // if ( element.getStructure( ).equals( bindingColumn ) ) // { // bindingExist = true; // break; // } // } // // } } else { ComputedColumn bindingColumn = StructureFactory.newComputedColumn( dataHandle, model.getColumnName( ) ); bindingColumn.setDataType( model.getDataType( ) ); bindingColumn.setExpression( DEUtil.getExpression( model ) ); if ( target instanceof DesignElementHandle ) { if ( ExpressionUtil.hasAggregation( bindingColumn.getExpression( ) ) ) { String groupType = DEUtil.getGroupControlType( (DesignElementHandle) target ); if ( groupType.equals( DEUtil.TYPE_GROUP_GROUP ) ) bindingColumn.setAggregrateOn( ( (GroupHandle) DEUtil.getGroups( (DesignElementHandle) target ) .get( 0 ) ).getName( ) ); else if ( groupType.equals( DEUtil.TYPE_GROUP_LISTING ) ) bindingColumn.setAggregrateOn( null ); } } dataHandle.addColumnBinding( bindingColumn, false ); dataHandle.setDataSet( dataSet ); } // if ( !bindingExist ) // { // ComputedColumn bindingColumn = StructureFactory.newComputedColumn( // dataHandle, // model.getColumnName( ) ); // bindingColumn.setDataType( model.getDataType( ) ); // bindingColumn.setExpression( DEUtil.getExpression( model ) ); // dataHandle.addColumnBinding( bindingColumn, false ); // dataHandle.setDataSet( dataSet ); // } InsertInLayoutRule rule = new LabelAddRule( target ); if ( rule.canInsert( ) ) { // LabelHandle label = SessionHandleAdapter.getInstance( ) // .getReportDesignHandle( ) // .getElementFactory( ) // .newLabel( null ); LabelHandle label = DesignElementFactory.getInstance( ) .newLabel( null ); label.setText( ResultSetColumnProvider.getDisplayName( model ) ); rule.insert( label ); } rule = new GroupKeySetRule( target, model ); if ( rule.canInsert( ) ) { rule.insert( model ); } return dataHandle; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/25925f18944f0667bd8c9a5e0179d4a86fc250ba/InsertInLayoutUtil.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 1910, 1180, 3259, 3073, 4600, 13676, 1494, 12, 1082, 202, 13198, 1494, 3259, 938, 16, 1033, 1018, 16, 1033, 1018, 3054, 262, 1082, 202, 15069, 24747, 503, 202, 95, 202, 202, 20308, 1082, 380, 1623, 326, 1018, 1478, 16, 309, 1478, 711, 326, 1967, 3709, 16, 527, 1082, 380, 326, 1057, 5085, 309, 518, 1552, 486, 1005, 316, 326, 1478, 18, 971, 326, 1082, 380, 1478, 1807, 3709, 353, 486, 326, 8823, 2423, 3709, 1057, 1807, 3709, 16, 1082, 380, 1057, 5085, 903, 506, 3096, 358, 326, 394, 501, 1726, 16, 471, 444, 501, 1726, 1807, 1082, 380, 3709, 598, 326, 8823, 2423, 3709, 1057, 1807, 3709, 18, 1082, 1195, 202, 202, 29903, 3259, 501, 3259, 273, 29703, 1046, 1733, 18, 588, 1442, 12, 262, 9506, 202, 18, 2704, 29903, 12, 446, 11272, 202, 202, 13676, 3259, 14837, 273, 261, 13676, 3259, 13, 938, 18, 21336, 3259, 12, 11272, 202, 202, 892, 3259, 18, 542, 13198, 1494, 12, 938, 18, 588, 8516, 12, 262, 11272, 202, 202, 430, 261, 1018, 3054, 1276, 8706, 1180, 3259, 262, 202, 202, 95, 1082, 202, 4820, 1180, 3259, 1478, 273, 261, 4820, 1180, 3259, 13, 1018, 3054, 31, 1082, 202, 17934, 1494, 5085, 1494, 273, 13348, 1733, 18, 2704, 17934, 1494, 12, 501, 3259, 16, 6862, 202, 2284, 18, 588, 8516, 12, 262, 11272, 1082, 202, 7374, 1494, 18, 542, 6273, 12, 938, 18, 588, 6273, 12, 262, 11272, 1082, 202, 7374, 1494, 18, 542, 2300, 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, 225, 202, 1117, 760, 1910, 1180, 3259, 3073, 4600, 13676, 1494, 12, 1082, 202, 13198, 1494, 3259, 938, 16, 1033, 1018, 16, 1033, 1018, 3054, 262, 1082, 202, 15069, 24747, 503, 202, 95, 202, 202, 20308, 1082, 380, 1623, 326, 1018, 1478, 16, 309, 1478, 711, 326, 1967, 3709, 16, 527, 1082, 380, 326, 1057, 5085, 309, 518, 1552, 486, 1005, 316, 326, 1478, 18, 971, 326, 1082, 380, 1478, 1807, 3709, 353, 486, 326, 8823, 2423, 3709, 1057, 1807, 3709, 16, 1082, 380, 1057, 5085, 903, 506, 3096, 358, 326, 394, 501, 1726, 16, 471, 444, 501, 1726, 1807, 1082, 380, 3709, 598, 326, 8823, 2423, 3709, 1057, 1807, 3709, 18, 1082, 1195, 202, 202, 29903, 3259, 501, 2 ]
}catch (org.omg.CORBA.SystemException _sysex)
} catch (org.omg.CORBA.SystemException _sysex)
protected void invoke(Interceptor interceptor) throws UserException { info.caller_op = op; try { Debug.output( Debug.DEBUG1 | Debug.INTERCEPTOR, "Invoking CI " + interceptor.name()); switch (op) { case SEND_REQUEST : ((ClientRequestInterceptor) interceptor).send_request(info); break; case SEND_POLL : ((ClientRequestInterceptor) interceptor).send_poll(info); break; case RECEIVE_REPLY : ((ClientRequestInterceptor) interceptor).receive_reply(info); break; case RECEIVE_EXCEPTION : ((ClientRequestInterceptor) interceptor).receive_exception(info); break; case RECEIVE_OTHER : ((ClientRequestInterceptor) interceptor).receive_other(info); } }catch (ForwardRequest _fwd) { Debug.output(Debug.INFORMATION | Debug.INTERCEPTOR, _fwd); reverseDirection(); op = RECEIVE_OTHER; info.reply_status = LOCATION_FORWARD.value; info.forward_reference = _fwd.forward; interceptor_ex = _fwd; }catch (org.omg.CORBA.SystemException _sysex) { Debug.output(Debug.INFORMATION | Debug.INTERCEPTOR, _sysex); reverseDirection(); op = RECEIVE_EXCEPTION; interceptor_ex = _sysex; SystemExceptionHelper.insert(info.received_exception, _sysex); try { info.received_exception_id = SystemExceptionHelper.type(_sysex).id(); }catch(org.omg.CORBA.TypeCodePackage.BadKind _bk) { Debug.output(Debug.INFORMATION | Debug.INTERCEPTOR, _bk); } }catch (Throwable th) { Debug.output(Debug.IMPORTANT | Debug.INTERCEPTOR, "ClientInterceptorIterator: Caught a " + th); } info.caller_op = op; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/1dfba0b8b47c2634b0b6ce9d9cf75ada49b78f37/ClientInterceptorIterator.java/buggy/src/org/jacorb/orb/portableInterceptor/ClientInterceptorIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4356, 12, 10281, 13810, 13, 202, 15069, 2177, 503, 565, 288, 202, 1376, 18, 16140, 67, 556, 273, 1061, 31, 202, 698, 3639, 288, 202, 565, 4015, 18, 2844, 12, 4015, 18, 9394, 21, 571, 4015, 18, 9125, 14514, 916, 16, 21821, 315, 11354, 310, 17166, 315, 397, 13810, 18, 529, 10663, 202, 7734, 1620, 261, 556, 13, 2398, 288, 202, 565, 648, 31434, 67, 5519, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 4661, 67, 2293, 12, 1376, 1769, 202, 202, 8820, 31, 202, 565, 648, 31434, 67, 14232, 48, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 4661, 67, 13835, 12, 1376, 1769, 202, 202, 8820, 31, 202, 565, 648, 2438, 1441, 5354, 67, 862, 23893, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 18149, 67, 10629, 12, 1376, 1769, 202, 202, 8820, 31, 202, 565, 648, 2438, 1441, 5354, 67, 12658, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 18149, 67, 4064, 12, 1376, 1769, 202, 202, 8820, 31, 202, 565, 648, 2438, 1441, 5354, 67, 23940, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 18149, 67, 3011, 12, 1376, 1769, 202, 565, 289, 202, 97, 14683, 261, 8514, 691, 389, 27131, 13, 3639, 288, 202, 565, 4015, 18, 2844, 12, 2829, 18, 706, 23805, 571, 4015, 18, 9125, 14514, 916, 16, 389, 27131, 1769, 202, 565, 4219, 8212, 5621, 202, 565, 1061, 273, 2438, 1441, 5354, 67, 23940, 31, 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, 377, 4750, 918, 4356, 12, 10281, 13810, 13, 202, 15069, 2177, 503, 565, 288, 202, 1376, 18, 16140, 67, 556, 273, 1061, 31, 202, 698, 3639, 288, 202, 565, 4015, 18, 2844, 12, 4015, 18, 9394, 21, 571, 4015, 18, 9125, 14514, 916, 16, 21821, 315, 11354, 310, 17166, 315, 397, 13810, 18, 529, 10663, 202, 7734, 1620, 261, 556, 13, 2398, 288, 202, 565, 648, 31434, 67, 5519, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 4661, 67, 2293, 12, 1376, 1769, 202, 202, 8820, 31, 202, 565, 648, 31434, 67, 14232, 48, 294, 202, 202, 12443, 1227, 691, 10281, 13, 13810, 2934, 4661, 67, 13835, 12, 1376, 1769, 202, 202, 8820, 31, 202, 565, 648, 2 ]
if (yy_r) {
if (yyFlexR) {
public Symbol next_token() throws java.io.IOException { int yy_input; int yy_action; int [] yytrans_l = yytrans; int [] yy_rowMap_l = yy_rowMap; byte [] yy_attr_l = YY_ATTRIBUTE; int yy_pushbackPos_l = yy_pushbackPos = -1; boolean yy_was_pushback; while (true) { // cached fields: int yy_currentPos_l; int yy_startRead_l; int yy_markedPos_l = yy_markedPos; int yy_endRead_l = yy_endRead; char [] yy_buffer_l = yy_buffer; char [] yycmap_l = yycmap; boolean yy_r = false; for (yy_currentPos_l = yy_startRead; yy_currentPos_l < yy_markedPos_l; yy_currentPos_l++) { switch (yy_buffer_l[yy_currentPos_l]) { case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyline++; yycolumn = 0; yy_r = false; break; case '\r': yyline++; yycolumn = 0; yy_r = true; break; case '\n': if (yy_r) yy_r = false; else { yyline++; yycolumn = 0; } break; default: yy_r = false; yycolumn++; } } if (yy_r) { // peek one character ahead if it is \n (if we have counted one line too much) boolean yy_peek; if (yy_markedPos_l < yy_endRead_l) yy_peek = yy_buffer_l[yy_markedPos_l] == '\n'; else if (yy_atEOF) yy_peek = false; else { boolean eof = yy_refill(); yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; if (eof) yy_peek = false; else yy_peek = yy_buffer_l[yy_markedPos_l] == '\n'; } if (yy_peek) yyline--; } if (yy_markedPos_l > yy_startRead) { switch (yy_buffer_l[yy_markedPos_l-1]) { case '\n': case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yy_atBOL = true; break; case '\r': if (yy_markedPos_l < yy_endRead_l) yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\n'; else if (yy_atEOF) yy_atBOL = false; else { boolean eof = yy_refill(); yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; if (eof) yy_atBOL = false; else yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\n'; } break; default: yy_atBOL = false; } } yy_action = -1; yy_startRead_l = yy_currentPos_l = yy_currentPos = yy_startRead = yy_markedPos_l; if (yy_atBOL) yy_state = YY_LEXSTATE[yy_lexical_state+1]; else yy_state = YY_LEXSTATE[yy_lexical_state]; yy_was_pushback = false; yy_forAction: { while (true) { if (yy_currentPos_l < yy_endRead_l) yy_input = yy_buffer_l[yy_currentPos_l++]; else if (yy_atEOF) { yy_input = YYEOF; break yy_forAction; } else { // store back cached positions yy_currentPos = yy_currentPos_l; yy_markedPos = yy_markedPos_l; yy_pushbackPos = yy_pushbackPos_l; boolean eof = yy_refill(); // get translated positions and possibly new buffer yy_currentPos_l = yy_currentPos; yy_markedPos_l = yy_markedPos; yy_buffer_l = yy_buffer; yy_endRead_l = yy_endRead; yy_pushbackPos_l = yy_pushbackPos; if (eof) { yy_input = YYEOF; break yy_forAction; } else { yy_input = yy_buffer_l[yy_currentPos_l++]; } } int yy_next = yytrans_l[ yy_rowMap_l[yy_state] + yycmap_l[yy_input] ]; if (yy_next == -1) break yy_forAction; yy_state = yy_next; int yy_attributes = yy_attr_l[yy_state]; if ( (yy_attributes & 2) == 2 ) yy_pushbackPos_l = yy_currentPos_l; if ( (yy_attributes & 1) == 1 ) { yy_was_pushback = (yy_attributes & 4) == 4; yy_action = yy_state; yy_markedPos_l = yy_currentPos_l; if ( (yy_attributes & 8) == 8 ) break yy_forAction; } } } // store back cached position yy_markedPos = yy_markedPos_l; if (yy_was_pushback) yy_markedPos = yy_pushbackPos_l; switch (yy_action) { case 708: case 727: case 728: case 738: { lexThrow = concExc(lexThrow,yytext().substring(12).trim()); } case 745: break; case 539: case 589: case 590: case 633: { lexThrow = concExc(lexThrow,yytext().substring(8).trim()); } case 746: break; case 559: case 560: case 602: case 603: { bufferSize = Integer.parseInt(yytext().substring(8).trim()); } case 747: break; case 637: case 673: case 674: case 705: { eofThrow = concExc(eofThrow,yytext().substring(10).trim()); } case 748: break; case 670: case 703: case 704: case 725: { initThrow = concExc(initThrow,yytext().substring(11).trim()); } case 749: break; case 679: case 710: case 711: case 729: { scanErrorException = yytext().substring(11).trim(); } case 750: break; case 723: case 724: { lexThrow = concExc(lexThrow,string); yybegin(MACROS); } case 751: break; case 700: case 701: { initThrow = concExc(initThrow,string); yybegin(MACROS); } case 752: break; case 666: case 667: { eofThrow = concExc(eofThrow,string); yybegin(MACROS); } case 753: break; case 68: { yybegin(REGEXP); return symbol(MORETHAN); } case 754: break; case 375: { packed = false; useRowMap = true; } case 755: break; case 137: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(REGEXPEND); } case 756: break; case 88: { yybegin(REGEXP); return symbol(RBRACE); } case 757: break; case 32: { yybegin(REGEXP); return symbol(EQUALS); } case 758: break; case 45: { yybegin(CHARCLASS); return symbol(OPENCLASS); } case 759: break; case 418: case 419: { eofCode = conc(eofCode,string); yybegin(MACROS); } case 760: break; case 548: { isAbstract = true; } case 761: break; case 99: case 100: case 102: case 103: case 104: case 105: case 106: case 107: case 108: case 109: case 110: case 111: case 112: case 113: case 114: case 119: case 121: case 180: case 183: case 184: case 185: case 186: case 187: case 188: case 189: case 190: case 191: case 192: case 193: case 194: case 195: case 196: case 197: case 198: case 199: case 200: case 201: case 202: case 203: case 204: case 205: case 206: case 207: case 208: case 209: case 210: case 216: case 219: case 246: case 247: case 249: case 250: case 251: case 252: case 253: case 254: case 255: case 256: case 257: case 258: case 259: case 260: case 261: case 262: case 263: case 264: case 265: case 266: case 267: case 268: case 270: case 271: case 272: case 273: case 274: case 275: case 276: case 277: case 278: case 282: case 283: case 304: case 305: case 306: case 307: case 308: case 309: case 310: case 311: case 312: case 313: case 314: case 315: case 316: case 317: case 318: case 319: case 321: case 322: case 323: case 325: case 326: case 327: case 328: case 329: case 330: case 331: case 333: case 334: case 335: case 336: case 337: case 338: case 340: case 343: case 344: case 364: case 365: case 366: case 367: case 368: case 369: case 370: case 371: case 372: case 374: case 376: case 377: case 378: case 379: case 380: case 383: case 384: case 385: case 386: case 387: case 388: case 389: case 390: case 391: case 392: case 393: case 394: case 395: case 396: case 399: case 400: case 423: case 424: case 425: case 426: case 427: case 428: case 429: case 430: case 431: case 433: case 434: case 435: case 436: case 437: case 438: case 439: case 440: case 441: case 443: case 444: case 445: case 448: case 449: case 450: case 453: case 454: case 480: case 483: case 484: case 485: case 491: case 492: case 493: case 494: case 495: case 496: case 497: case 498: case 499: case 502: case 504: case 507: case 534: case 536: case 537: case 543: case 544: case 546: case 547: case 549: case 550: case 551: case 586: case 587: case 588: case 595: case 596: case 597: case 598: case 599: case 632: case 640: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 762: break; case 86: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_NL, yyline, yycolumn); } case 763: break; case 76: { balance++; return symbol(OPENCLASS); } case 764: break; case 75: { throw new ScannerException(file,ErrorMessages.EOL_IN_CHARCLASS,yyline,yycolumn); } case 765: break; case 31: case 34: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 766: break; case 19: case 20: case 21: case 30: case 36: case 61: case 62: case 63: case 70: case 82: case 85: case 87: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 767: break; case 214: case 215: { inclusive_states = false; yybegin(STATELIST); } case 768: break; case 223: case 286: case 346: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 769: break; case 240: { return symbol(MACROUSE, yytext().substring(1,yytext().length()-1)); } case 770: break; case 241: case 242: { classCode = conc(classCode,string); yybegin(MACROS); } case 771: break; case 285: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 772: break; case 339: { packed = true; useRowMap = true; } case 773: break; case 442: { packed = false; useRowMap = false; } case 774: break; case 503: case 556: { className = yytext().substring(7).trim(); } case 775: break; case 127: case 130: case 221: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8))); } case 776: break; case 126: case 128: case 129: { return symbol(CHAR, new Character(yytext().charAt(1))); } case 777: break; case 74: case 79: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 778: break; case 39: case 40: case 50: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 779: break; case 49: { yybegin(REGEXPSTART); return symbol(LBRACE); } case 780: break; case 58: { lookAheadUsed = true; return symbol(DOLLAR); } case 781: break; case 175: { return symbol(REPEAT, new Integer(yytext().substring(1).trim())); } case 782: break; case 473: case 474: { initCode = conc(initCode,string); yybegin(MACROS); } case 783: break; case 487: case 488: case 538: case 540: { throw new ScannerException(file,ErrorMessages.QUIL_THROW, yyline); } case 784: break; case 500: case 501: case 552: case 554: { throw new ScannerException(file,ErrorMessages.QUIL_CUPSYM, yyline); } case 785: break; case 592: case 593: case 636: case 638: { throw new ScannerException(file,ErrorMessages.QUIL_EOFTHROW, yyline); } case 786: break; case 37: { return symbol_countUpdate(RBRACE, null); } case 787: break; case 676: case 677: case 707: case 709: { throw new ScannerException(file,ErrorMessages.QUIL_YYLEXTHROW, yyline); } case 788: break; case 1: case 18: { /* ignore */ } case 789: break; case 397: { debugOption = true; } case 790: break; case 505: case 506: case 558: case 561: { throw new ScannerException(file,ErrorMessages.NO_BUFFER_SIZE, yyline); } case 791: break; case 630: case 631: case 669: case 671: { throw new ScannerException(file,ErrorMessages.QUIL_INITTHROW, yyline); } case 792: break; case 643: case 644: case 678: case 680: { throw new ScannerException(file,ErrorMessages.QUIL_SCANERROR, yyline); } case 793: break; case 15: case 16: { userCode.append(yytext()); } case 794: break; case 446: { columnCount = true; } case 795: break; case 583: case 584: { eofVal = string.toString(); yybegin(MACROS); } case 796: break; case 80: { return symbol(HAT); } case 797: break; case 0: case 14: case 17: { return symbol(EOF); } case 798: break; case 51: { return symbol(BAR); } case 799: break; case 38: { yybegin(STATES); return symbol_countUpdate(LESSTHAN, null); } case 800: break; case 57: { return symbol(QUESTION); } case 801: break; case 398: case 479: { return symbol(UNICODE); } case 802: break; case 672: { isImplementing = concExc(isImplementing, yytext().substring(12).trim()); } case 803: break; case 77: { if (balance > 0) balance--; else yybegin(REGEXP); return symbol(CLOSECLASS); } case 804: break; case 545: { eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 805: break; case 135: { return symbol(CHAR,new Character('\b')); } case 806: break; case 134: { return symbol(CHAR,new Character('\f')); } case 807: break; case 133: { return symbol(CHAR,new Character('\r')); } case 808: break; case 132: { return symbol(CHAR,new Character('\t')); } case 809: break; case 131: { return symbol(CHAR,new Character('\n')); } case 810: break; case 47: { lookAheadUsed = true; return symbol(LOOKAHEAD); } case 811: break; case 59: { bolUsed = true; return symbol(HAT); } case 812: break; case 60: case 232: case 408: case 409: case 462: case 466: case 515: case 522: case 568: case 569: case 574: case 575: case 609: case 612: case 613: case 618: case 621: case 622: case 652: case 653: case 654: case 655: case 659: case 660: case 661: case 662: case 688: case 689: case 690: case 696: case 697: case 698: case 718: case 722: case 734: case 737: { actionText.append(yytext()); } case 813: break; case 155: case 157: case 158: { string.append(yytext().charAt(1)); } case 814: break; case 156: case 159: case 237: { string.append( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8)); } case 815: break; case 160: { string.append('\"'); } case 816: break; case 161: { string.append('\n'); } case 817: break; case 162: { string.append('\t'); } case 818: break; case 163: { string.append('\r'); } case 819: break; case 164: { string.append('\f'); } case 820: break; case 165: { string.append('\b'); } case 821: break; case 217: case 218: { inclusive_states = true; yybegin(STATELIST); } case 822: break; case 239: case 300: case 358: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 823: break; case 299: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 824: break; case 461: { throw new ScannerException(file,ErrorMessages.EOF_WO_ACTION); } case 825: break; case 83: case 84: { string.append(yytext()); } case 826: break; case 69: { string.append(yytext()); } case 827: break; case 567: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(EOFRULE); } case 828: break; case 81: { return symbol(DASH); } case 829: break; case 73: { yybegin(nextState); return symbol(STRING, string.toString()); } case 830: break; case 67: { return symbol(COMMA); } case 831: break; case 44: { return symbol(POINT); } case 832: break; case 46: { return symbol(STAR); } case 833: break; case 52: { return symbol(BANG); } case 834: break; case 53: { return symbol(TILDE); } case 835: break; case 56: { return symbol(PLUS); } case 836: break; case 320: case 341: { return symbol(FULL); } case 837: break; case 95: { commentbalance++; } case 838: break; case 71: case 72: { throw new ScannerException(file,ErrorMessages.UNTERMINATED_STR, yyline, yycolumn); } case 839: break; case 65: { balance++; actionText.append('{'); } case 840: break; case 123: { nextState = REGEXPSTART; yybegin(COMMENT); } case 841: break; case 89: { yybegin(REGEXP); } case 842: break; case 35: { yybegin(REGEXP); } case 843: break; case 24: case 25: { yybegin(MACROS); } case 844: break; case 650: { return symbol(JLETTERCLASS); } case 845: break; case 140: { yybegin(REPEATEXP); return symbol(REPEAT, new Integer(yytext().trim().substring(1).trim())); } case 846: break; case 78: { string.setLength(0); nextState = CHARCLASS; yybegin(STRING_CONTENT); } case 847: break; case 743: { return symbol(JLETTERDIGITCLASS); } case 848: break; case 120: { macroDefinition = false; yybegin(REGEXPSTART); return symbol(DELIMITER); } case 849: break; case 27: { return symbol(IDENT, yytext()); } case 850: break; case 42: case 43: { if (macroDefinition) { yybegin(MACROS); } return symbol(REGEXPEND); } case 851: break; case 55: { return symbol(CLOSEBRACKET); } case 852: break; case 169: { yypushback(1); yycolumn--; return symbol(CHAR, new Character(yytext().charAt(0))); } case 853: break; case 118: { Out.warning(ErrorMessages.NOT_AT_BOL, yyline); yypushback(1); } case 854: break; case 229: { return symbol_countUpdate(MACROUSE, makeMacroIdent()); } case 855: break; case 382: { isYYEOF = true; } case 856: break; case 486: { notUnix = true; } case 857: break; case 139: { nextState = REGEXP; yybegin(COMMENT); } case 858: break; case 97: { nextState = MACROS; yybegin(COMMENT); } case 859: break; case 181: case 182: { string.setLength(0); yybegin(COPY); } case 860: break; case 269: { cupCompatible = true; isImplementing = concExc(isImplementing, "java_cup.runtime.Scanner"); if (functionName == null) functionName = "next_token"; if (tokenType == null) tokenType = "java_cup.runtime.Symbol"; if (eofVal == null) eofVal = "return new java_cup.runtime.Symbol("+cupSymbol+".EOF);"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 861: break; case 432: case 489: case 541: { tokenType = yytext().substring(6).trim(); } case 862: break; case 591: case 635: { isExtending = yytext().substring(9).trim(); } case 863: break; case 639: case 675: { functionName = yytext().substring(10).trim(); } case 864: break; case 713: { return symbol(LOWERCLASS); } case 865: break; case 712: { return symbol(UPPERCLASS); } case 866: break; case 22: { states.insert(yytext(),inclusive_states); } case 867: break; case 54: { return symbol(OPENBRACKET); } case 868: break; case 566: { return symbol(DIGITCLASS); } case 869: break; case 606: { return symbol(LETTERCLASS); } case 870: break; case 124: { } case 871: break; case 94: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 872: break; case 90: case 177: { t.start(); yybegin(MACROS); macroDefinition = true; return symbol(USERCODE,userCode); } case 873: break; case 66: { } case 874: break; case 41: { } case 875: break; case 29: { } case 876: break; case 28: case 33: { } case 877: break; case 23: case 26: { } case 878: break; case 48: { string.setLength(0); nextState = REGEXP; yybegin(STRING_CONTENT); } case 879: break; case 64: { if (balance > 0) { balance--; actionText.append('}'); } else { yybegin(REGEXPSTART); Action a = new Action(actionText.toString(), action_line); actions.addElement(a); return symbol(ACTION, a); } } case 880: break; case 145: case 146: { if (macroDefinition) { yybegin(EATWSPNL); return symbol(BAR); } else { yybegin(REGEXPSTART); return symbol(NOACTION); } } case 881: break; case 178: case 179: { } case 882: break; case 248: case 482: { isInteger = true; } case 883: break; case 324: { lineCount = true; } case 884: break; case 332: { charCount = true; } case 885: break; case 381: { isFinal = true; } case 886: break; case 451: { isInteger = true; if (eofVal == null) eofVal = "return 0;"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 887: break; case 452: { isPublic = true; } case 888: break; case 481: { isIntWrap = true; } case 889: break; case 508: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol_countUpdate(EOFRULE, null); } case 890: break; case 535: { File f = new File(yytext().substring(9).trim()); if ( !f.canRead() ) throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); // check for cycle if (files.search(f) > 0) throw new ScannerException(file,ErrorMessages.FILE_CYCLE, yyline); try { yypushStream( new FileReader(f) ); files.push(file); file = f; Out.println("Including \""+file+"\""); } catch (FileNotFoundException e) { throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); } } case 891: break; case 553: case 600: case 601: case 645: { cupSymbol = yytext().substring(8).trim(); if (cupCompatible) Out.warning(ErrorMessages.CUPSYM_AFTER_CUP, yyline); } case 892: break; case 555: { cupDebug = true; } case 893: break; case 557: { caseless = true; } case 894: break; case 641: { visibility = "private"; Skeleton.makePrivate(); } case 895: break; case 642: { standalone = true; isInteger = true; } case 896: break; default: if (yy_input == YYEOF && yy_startRead == yy_currentPos) { yy_atEOF = true; yy_do_eof(); switch (yy_lexical_state) { case STRING_CONTENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_STRING); } case 745: break; case MACROS: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 746: break; case STATELIST: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 747: break; case CHARCLASS: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 748: break; case JAVA_CODE: { throw new ScannerException(file,ErrorMessages.EOF_IN_ACTION, action_line-1); } case 749: break; case REPEATEXP: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 750: break; case COMMENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_COMMENT); } case 751: break; case STATES: { throw new ScannerException(file,ErrorMessages.EOF_IN_STATES); } case 752: break; case COPY: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 753: break; default: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else return symbol(EOF); } } } else { yy_ScanError(YY_NO_MATCH); } } } }
6220 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6220/c5b664099369e6ab7a60ec6354a7dd4322f53873/LexScan.java/clean/jflex/src/JFlex/LexScan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 67, 2630, 31, 565, 509, 9016, 67, 1128, 31, 565, 509, 5378, 9016, 2338, 67, 80, 273, 9016, 2338, 31, 565, 509, 5378, 9016, 67, 492, 863, 67, 80, 273, 9016, 67, 492, 863, 31, 565, 1160, 5378, 9016, 67, 1747, 67, 80, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 67, 6206, 823, 1616, 67, 80, 273, 9016, 67, 6206, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 67, 2972, 1616, 67, 80, 31, 1377, 509, 9016, 67, 1937, 1994, 67, 80, 31, 1377, 509, 9016, 67, 3355, 329, 1616, 67, 80, 273, 9016, 67, 3355, 329, 1616, 31, 1377, 509, 9016, 67, 409, 1994, 67, 80, 273, 9016, 67, 409, 1994, 31, 1377, 1149, 5378, 9016, 67, 4106, 67, 80, 273, 9016, 67, 4106, 31, 1377, 1149, 5378, 9016, 22738, 67, 80, 273, 9016, 22738, 31, 1377, 1250, 9016, 67, 86, 273, 629, 31, 1377, 364, 261, 6795, 67, 2972, 1616, 67, 80, 273, 9016, 67, 1937, 1994, 31, 9016, 67, 2972, 1616, 67, 80, 411, 9016, 67, 3355, 329, 1616, 67, 80, 31, 4766, 11794, 9016, 67, 2972, 1616, 67, 80, 27245, 288, 3639, 1620, 261, 6795, 67, 4106, 67, 80, 63, 6795, 67, 2972, 1616, 67, 80, 5717, 288, 3639, 648, 2337, 89, 3784, 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, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 67, 2630, 31, 565, 509, 9016, 67, 1128, 31, 565, 509, 5378, 9016, 2338, 67, 80, 273, 9016, 2338, 31, 565, 509, 5378, 9016, 67, 492, 863, 67, 80, 273, 9016, 67, 492, 863, 31, 565, 1160, 5378, 9016, 67, 1747, 67, 80, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 67, 6206, 823, 1616, 67, 80, 273, 9016, 67, 6206, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 67, 2972, 1616, 67, 80, 31, 1377, 509, 9016, 67, 1937, 2 ]
} catch (Exception e)
} catch (Exception e)
public void sendMessage(RequestMessage requestMessage) { if (!connected()) createConnection(); ResponseMessage responseMessage = null; boolean transactionComplete = false; int badTransmissionCount = 0; while (!transactionComplete) { String requestMessageXML = null; try {// requestMessage.stampTime(); requestMessageXML = requestMessage.translateToXML(false); if (requestMessageXML.getBytes().length > ServerConstants.MAX_PACKET_SIZE) { debug("requestMessage is Bigger than acceptable server size \n CANNOT SEND : " + requestMessageXML); break; } output.println(requestMessageXML); if (show(5)) debug("Services Client: just sent message: " + requestMessageXML); if (show(5)) debug("Services Client: awaiting a response"); response = reader.readLine(); responseMessage = (ResponseMessage) ResponseMessage .translateFromXMLString(response, translationSpace); // System.out.println("the response lagged "+(System.currentTimeMillis() - responseMessage.timeStamp)+"ms; the round trip took "+(System.currentTimeMillis() - requestMessage.timeStamp)+"ms.)"); if (responseMessage instanceof ServerToClientConnection.BadTransmissionResponse) { badTransmissionCount++; if (badTransmissionCount == 3) { debug("ERROR: Quitting sending to the server because of the network condition after " + badTransmissionCount + " times try "); break; } else debug("ERROR: BADTransmission of: " + requestMessageXML + "\n\t Resending."); } else { if (show(5)) debug("received response: " + response); processResponse(responseMessage); transactionComplete = true; } } catch (Exception e) { debug("ERROR: Failed sending " + requestMessage + ": " + e); transactionComplete = true; } } }
51914 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51914/e3af0ac6dc29032be374466553b7374a4fbc7374/ServicesClient.java/buggy/ecologylab/services/distributed/legacy/ServicesClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15399, 12, 691, 1079, 590, 1079, 13, 565, 288, 3639, 309, 16051, 8537, 10756, 5411, 27870, 5621, 3639, 2306, 1079, 766, 1079, 273, 446, 31, 3639, 1250, 2492, 6322, 273, 629, 31, 3639, 509, 5570, 1429, 3951, 1380, 273, 374, 31, 3639, 1323, 16051, 7958, 6322, 13, 3639, 288, 5411, 514, 590, 1079, 4201, 273, 446, 31, 5411, 775, 5411, 288, 759, 7734, 590, 1079, 18, 14317, 950, 5621, 7734, 590, 1079, 4201, 273, 590, 1079, 18, 13929, 774, 4201, 12, 5743, 1769, 7734, 309, 261, 2293, 1079, 4201, 18, 588, 2160, 7675, 2469, 405, 3224, 2918, 18, 6694, 67, 12231, 1584, 67, 4574, 13, 7734, 288, 10792, 1198, 2932, 2293, 1079, 353, 605, 2318, 2353, 14206, 1438, 963, 521, 82, 385, 16791, 31434, 294, 315, 18701, 397, 590, 1079, 4201, 1769, 10792, 898, 31, 7734, 289, 7734, 876, 18, 8222, 12, 2293, 1079, 4201, 1769, 27573, 309, 261, 4500, 12, 25, 3719, 10792, 1198, 2932, 5676, 2445, 30, 2537, 3271, 883, 30, 315, 18701, 397, 590, 1079, 4201, 1769, 7734, 309, 261, 4500, 12, 25, 3719, 10792, 1198, 2932, 5676, 2445, 30, 4273, 310, 279, 766, 8863, 7734, 766, 273, 2949, 18, 896, 1670, 5621, 27573, 766, 1079, 273, 261, 1064, 1079, 13, 2306, 1079, 13491, 263, 13929, 1265, 4201, 780, 12, 2740, 16, 4794, 3819, 1769, 7734, 368, 7734, 2332, 18, 659, 18, 8222, 2932, 5787, 766, 17241, 2423, 13773, 12, 3163, 18, 2972, 28512, 1435, 300, 766, 1079, 18, 957, 8860, 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, 15399, 12, 691, 1079, 590, 1079, 13, 565, 288, 3639, 309, 16051, 8537, 10756, 5411, 27870, 5621, 3639, 2306, 1079, 766, 1079, 273, 446, 31, 3639, 1250, 2492, 6322, 273, 629, 31, 3639, 509, 5570, 1429, 3951, 1380, 273, 374, 31, 3639, 1323, 16051, 7958, 6322, 13, 3639, 288, 5411, 514, 590, 1079, 4201, 273, 446, 31, 5411, 775, 5411, 288, 759, 7734, 590, 1079, 18, 14317, 950, 5621, 7734, 590, 1079, 4201, 273, 590, 1079, 18, 13929, 774, 4201, 12, 5743, 1769, 7734, 309, 261, 2293, 1079, 4201, 18, 588, 2160, 7675, 2469, 405, 3224, 2918, 18, 6694, 67, 12231, 1584, 67, 4574, 13, 7734, 288, 10792, 1198, 2932, 2293, 1079, 353, 605, 2318, 2353, 2 ]
offsets = (int) in.getFilePointer();
offsets = (int) (fileLength - in.available());
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessFile(id, "r"); little = true; location = 0; // some DICOM files have a 128 byte header followed by a 4 byte identifier byte[] four = new byte[4]; in.seek(128); in.read(four); if ((new String(four)).equals("DICM")) { // header exists, so we'll read it in.seek(0); byte[] header = new byte[128]; in.read(header); metadata.put("Header information", new String(header)); in.skipBytes(4); location = 128; } else in.seek(0); boolean decodingTags = true; boolean signed = false; while (decodingTags) { int tag = getNextTag(); if ((location & 1) != 0) oddLocations = true; if (inSequence) { addInfo(tag, null); if (in.getFilePointer() >= (in.length() - 4)) decodingTags = false; continue; } String s; switch (tag) { case TRANSFER_SYNTAX_UID: byte[] st = new byte[elementLength]; in.read(st); s = new String(st); addInfo(tag, s); if (s.indexOf("1.2.4") > -1 || s.indexOf("1.2.5") > -1) { throw new FormatException("Sorry, compressed DICOM images not " + "supported"); } if (s.indexOf("1.2.840.10008.1.2.2") >= 0) { bigEndianTransferSyntax = true; } break; case NUMBER_OF_FRAMES: st = new byte[elementLength]; in.read(st); s = new String(st); addInfo(tag, s); double frames = Double.parseDouble(s); if (frames > 1.0) numImages = (int) frames; break; case SAMPLES_PER_PIXEL: int samplesPerPixel = DataTools.read2SignedBytes(in, little); addInfo(tag, samplesPerPixel); break; case PHOTOMETRIC_INTERPRETATION: st = new byte[elementLength]; in.read(st); String photoInterpretation = new String(st); addInfo(tag, photoInterpretation); break; case PLANAR_CONFIGURATION: int planarConfiguration = DataTools.read2SignedBytes(in, little); addInfo(tag, planarConfiguration); break; case ROWS: height = DataTools.read2SignedBytes(in, little); addInfo(tag, height); break; case COLUMNS: width = DataTools.read2SignedBytes(in, little); addInfo(tag, width); break; case PIXEL_SPACING: st = new byte[elementLength]; in.read(st); String scale = new String(st); addInfo(tag, scale); break; case SLICE_SPACING: st = new byte[elementLength]; in.read(st); String spacing = new String(st); addInfo(tag, spacing); break; case BITS_ALLOCATED: bitsPerPixel = DataTools.read2SignedBytes(in, little); addInfo(tag, bitsPerPixel); break; case PIXEL_REPRESENTATION: int pixelRepresentation = DataTools.read2SignedBytes(in, little); signed = pixelRepresentation == 1; addInfo(tag, pixelRepresentation); break; case WINDOW_CENTER: case WINDOW_WIDTH: case RESCALE_INTERCEPT: case RESCALE_SLOPE: st = new byte[elementLength]; in.read(st); String c = new String(st); addInfo(tag, c); break; case PIXEL_DATA: if (elementLength != 0) { offsets = (int) in.getFilePointer(); addInfo(tag, location); decodingTags = false; } else addInfo(tag, null); break; case 0x7f880010: if (elementLength != 0) { offsets = location + 4; decodingTags = false; } break; default: addInfo(tag, null); } if (in.getFilePointer() >= (in.length() - 4)) decodingTags = false; } if (numImages == 0) numImages = 1; // populate OME-XML node if (ome != null) { OMETools.setPixels(ome, new Integer((String) metadata.get("Columns")), // SizeX new Integer((String) metadata.get("Rows")), // SizeY new Integer(numImages), // SizeZ new Integer(1), // SizeC new Integer(1), // SizeT "int" + ((String) metadata.get("Bits Allocated")), // PixelType new Boolean(!little), // BigEndian "XYZTC"); OMETools.setImage(ome, null, // name ((String) metadata.get("Content Date")) + "T" + ((String) metadata.get("Content Time")), // CreationDate (String) metadata.get("Image Type")); OMETools.setInstrument(ome, (String) metadata.get("Manufacturer"), (String) metadata.get("Manufacturer's Model Name"), null, null); } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/91859a26506b8a1d312b398da2c3ecd94e02fa60/DicomReader.java/clean/loci/formats/DicomReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 26933, 12, 350, 16, 315, 86, 8863, 565, 12720, 273, 638, 31, 565, 2117, 273, 374, 31, 565, 368, 2690, 30530, 1390, 1240, 279, 8038, 1160, 1446, 10860, 635, 279, 1059, 1160, 2756, 565, 1160, 8526, 12792, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 16508, 12, 10392, 1769, 565, 316, 18, 896, 12, 74, 477, 1769, 565, 309, 14015, 2704, 514, 12, 74, 477, 13, 2934, 14963, 2932, 2565, 9611, 6, 3719, 288, 1377, 368, 1446, 1704, 16, 1427, 732, 5614, 855, 518, 1377, 316, 18, 16508, 12, 20, 1769, 1377, 1160, 8526, 1446, 273, 394, 1160, 63, 10392, 15533, 1377, 316, 18, 896, 12, 3374, 1769, 1377, 1982, 18, 458, 2932, 1864, 1779, 3113, 394, 514, 12, 3374, 10019, 1377, 316, 18, 7457, 2160, 12, 24, 1769, 1377, 2117, 273, 8038, 31, 565, 289, 565, 469, 316, 18, 16508, 12, 20, 1769, 565, 1250, 13547, 3453, 273, 638, 31, 565, 1250, 6726, 273, 629, 31, 565, 1323, 261, 323, 2014, 3453, 13, 288, 1377, 509, 1047, 273, 6927, 1805, 5621, 1377, 309, 14015, 3562, 473, 404, 13, 480, 374, 13, 14800, 10985, 273, 638, 31, 1377, 309, 261, 267, 4021, 13, 288, 3639, 527, 966, 12, 2692, 16, 446, 1769, 3639, 309, 261, 267, 18, 29925, 4926, 1435, 1545, 261, 267, 18, 2469, 1435, 300, 1059, 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, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 26933, 12, 350, 16, 315, 86, 8863, 565, 12720, 273, 638, 31, 565, 2117, 273, 374, 31, 565, 368, 2690, 30530, 1390, 1240, 279, 8038, 1160, 1446, 10860, 635, 279, 1059, 1160, 2756, 565, 1160, 8526, 12792, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 16508, 12, 10392, 1769, 565, 316, 18, 896, 12, 74, 477, 1769, 565, 309, 14015, 2704, 514, 12, 74, 477, 13, 2934, 14963, 2932, 2565, 9611, 6, 3719, 288, 1377, 368, 1446, 1704, 16, 1427, 732, 5614, 855, 518, 1377, 316, 18, 16508, 12, 20, 2 ]
x = -x;
bits &= 0x7fffffffffffffffL; x = Double.longBitsToDouble(bits);
public static Object abs (Object value) { if (value == null || value == Values.empty) return value; value = numberCast(value); if (value instanceof Double) { Double d = (Double) value; double x = d.doubleValue(); if (x >= 0) return d; x = -x; /* #ifdef JAVA5 */ // return Double.valueOf(x); /* #else */ return new Double(x); /* #endif */ } if (value instanceof Float) { Float d = (Float) value; float x = d.floatValue(); if (x >= 0) return d; x = -x; /* #ifdef JAVA5 */ // return Float.valueOf(x) ; /* #else */ return new Float(x); /* #endif */ } if (value instanceof BigDecimal) { BigDecimal dec = (BigDecimal) value; if (dec.signum() < 0) dec = dec.negate(); return dec; } return ((Numeric) value).abs(); }
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/c6abdf4f35134d717a6c609763ba2ffb329a5e9b/NumberValue.java/buggy/gnu/xquery/util/NumberValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 2417, 261, 921, 460, 13, 225, 288, 565, 309, 261, 1132, 422, 446, 747, 460, 422, 6876, 18, 5531, 13, 1377, 327, 460, 31, 565, 460, 273, 1300, 9735, 12, 1132, 1769, 565, 309, 261, 1132, 1276, 3698, 13, 1377, 288, 3639, 3698, 302, 273, 261, 5265, 13, 460, 31, 3639, 1645, 619, 273, 302, 18, 9056, 620, 5621, 3639, 309, 261, 92, 1545, 374, 13, 1850, 327, 302, 31, 3639, 4125, 12058, 374, 92, 27, 9460, 9460, 18217, 74, 48, 31, 619, 273, 3698, 18, 5748, 6495, 774, 5265, 12, 6789, 1769, 3639, 1748, 468, 430, 536, 21227, 25, 1195, 3639, 368, 327, 3698, 18, 1132, 951, 12, 92, 1769, 3639, 1748, 468, 12107, 1195, 3639, 327, 394, 3698, 12, 92, 1769, 3639, 1748, 468, 409, 430, 1195, 1377, 289, 565, 309, 261, 1132, 1276, 5450, 13, 1377, 288, 3639, 5450, 302, 273, 261, 4723, 13, 460, 31, 3639, 1431, 619, 273, 302, 18, 5659, 620, 5621, 3639, 309, 261, 92, 1545, 374, 13, 1850, 327, 302, 31, 3639, 4125, 12058, 374, 92, 27, 9460, 9460, 18217, 74, 48, 31, 619, 273, 3698, 18, 5748, 6495, 774, 5265, 12, 6789, 1769, 3639, 1748, 468, 430, 536, 21227, 25, 1195, 3639, 368, 327, 5450, 18, 1132, 951, 12, 92, 13, 274, 3639, 1748, 468, 12107, 1195, 3639, 327, 394, 5450, 12, 92, 1769, 3639, 1748, 468, 409, 430, 1195, 1377, 289, 565, 309, 261, 1132, 1276, 8150, 13, 1377, 288, 3639, 8150, 2109, 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, 1033, 2417, 261, 921, 460, 13, 225, 288, 565, 309, 261, 1132, 422, 446, 747, 460, 422, 6876, 18, 5531, 13, 1377, 327, 460, 31, 565, 460, 273, 1300, 9735, 12, 1132, 1769, 565, 309, 261, 1132, 1276, 3698, 13, 1377, 288, 3639, 3698, 302, 273, 261, 5265, 13, 460, 31, 3639, 1645, 619, 273, 302, 18, 9056, 620, 5621, 3639, 309, 261, 92, 1545, 374, 13, 1850, 327, 302, 31, 3639, 4125, 12058, 374, 92, 27, 9460, 9460, 18217, 74, 48, 31, 619, 273, 3698, 18, 5748, 6495, 774, 5265, 12, 6789, 1769, 3639, 1748, 468, 430, 536, 21227, 25, 1195, 3639, 368, 327, 3698, 18, 1132, 951, 12, 92, 1769, 3639, 1748, 468, 12107, 2 ]
Mounted m = (Mounted)equipmentList.elementAt(cs.getIndex());
Mounted m = (Mounted)equipmentList.get(cs.getIndex());
public EquipmentType getEquipmentType(CriticalSlot cs) { if (cs.getType() != CriticalSlot.TYPE_EQUIPMENT) return null; Mounted m = (Mounted)equipmentList.elementAt(cs.getIndex()); return m.getType(); }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cbe74d020e74a85c0e3b8ebf32d1ebc85c1ba62f/Entity.java/clean/megamek/src/megamek/common/Entity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19008, 11568, 559, 4774, 372, 11568, 559, 12, 30286, 8764, 2873, 13, 288, 3639, 309, 261, 2143, 18, 588, 559, 1435, 480, 385, 15197, 8764, 18, 2399, 67, 41, 3500, 2579, 3212, 13, 5411, 327, 446, 31, 3639, 13076, 329, 312, 273, 261, 8725, 329, 13, 14298, 11568, 682, 18, 588, 12, 2143, 18, 588, 1016, 10663, 3639, 327, 312, 18, 588, 559, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19008, 11568, 559, 4774, 372, 11568, 559, 12, 30286, 8764, 2873, 13, 288, 3639, 309, 261, 2143, 18, 588, 559, 1435, 480, 385, 15197, 8764, 18, 2399, 67, 41, 3500, 2579, 3212, 13, 5411, 327, 446, 31, 3639, 13076, 329, 312, 273, 261, 8725, 329, 13, 14298, 11568, 682, 18, 588, 12, 2143, 18, 588, 1016, 10663, 3639, 327, 312, 18, 588, 559, 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 ]
if (procedureNamePattern == null) procedureNamePattern = "%"; if (columnNamePattern == null) columnNamePattern = "%";
public java.sql.ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException { if (procedureNamePattern == null) procedureNamePattern = "%"; if (columnNamePattern == null) columnNamePattern = "%"; // for now, this returns an empty result set. Field f[] = new Field[13]; ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "PROCEDURE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "PROCEDURE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "PROCEDURE_NAME", iVarcharOid, NAME_SIZE); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "COLUMN_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[6] = new Field(connection, "TYPE_NAME", iVarcharOid, NAME_SIZE); f[7] = new Field(connection, "PRECISION", iInt4Oid, 4); f[8] = new Field(connection, "LENGTH", iInt4Oid, 4); f[9] = new Field(connection, "SCALE", iInt2Oid, 2); f[10] = new Field(connection, "RADIX", iInt2Oid, 2); f[11] = new Field(connection, "NULLABLE", iInt2Oid, 2); f[12] = new Field(connection, "REMARKS", iVarcharOid, NAME_SIZE); // add query loop here return connection.getResultSet(null, f, v, "OK", 1); }
11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 3570, 8153, 3380, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 12131, 461, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 685, 8153, 461, 3234, 422, 446, 13, 1082, 202, 685, 8153, 461, 3234, 273, 2213, 14432, 202, 202, 430, 261, 2827, 461, 3234, 422, 446, 13, 1082, 202, 2827, 461, 3234, 273, 2213, 14432, 202, 202, 759, 364, 2037, 16, 333, 1135, 392, 1008, 563, 444, 18, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 3437, 15533, 202, 202, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 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, 2252, 18, 4669, 18, 13198, 3570, 8153, 3380, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 12131, 461, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 685, 8153, 461, 3234, 422, 446, 13, 1082, 202, 685, 8153, 461, 3234, 273, 2213, 14432, 202, 202, 430, 261, 2827, 461, 3234, 422, 446, 13, 1082, 202, 2827, 461, 3234, 273, 2213, 14432, 202, 202, 759, 364, 2037, 16, 333, 1135, 392, 1008, 563, 444, 18, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 3437, 15533, 202, 202, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 202, 202, 5018, 331, 273, 394, 5589, 5621, 2 ]
usedMemCol = new Color(display, 255, 255, 175);
usedMemCol = display.getSystemColor(SWT.COLOR_INFO_BACKGROUND);
public HeapStatus(Composite parent, IPreferenceStore prefStore) { super(parent, SWT.NONE); maxMem = getMaxMem(); maxMemKnown = maxMem != Long.MAX_VALUE; this.prefStore = prefStore; prefStore.addPropertyChangeListener(prefListener); setUpdateIntervalInMS(prefStore.getInt(IHeapStatusConstants.PREF_UPDATE_INTERVAL)); showMax = prefStore.getBoolean(IHeapStatusConstants.PREF_SHOW_MAX); button = new Canvas(this, SWT.NONE); button.setToolTipText(WorkbenchMessages.HeapStatus_buttonToolTip); ImageDescriptor imageDesc = WorkbenchImages.getWorkbenchImageDescriptor("elcl16/trash.gif"); //$NON-NLS-1$ gcImage = imageDesc.createImage(); if (gcImage != null) imgBounds = gcImage.getBounds(); Display display = getDisplay(); usedMemCol = new Color(display, 255, 255, 175); // light yellow lowMemCol = new Color(display, 255, 70, 70); // medium red freeMemCol = new Color(display, 255, 190, 125); // light orange bgCol = display.getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); sepCol = topLeftCol = armCol = display.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW); bottomRightCol = display.getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW); markCol = textCol = display.getSystemColor(SWT.COLOR_WIDGET_FOREGROUND); createContextMenu(); Listener listener = new Listener() { public void handleEvent(Event event) { switch (event.type) { case SWT.Dispose: doDispose(); break; case SWT.Resize: Rectangle rect = getClientArea(); button.setBounds(rect.width - imgBounds.width - 1, 1, imgBounds.width, rect.height - 2); break; case SWT.Paint: if (event.widget == HeapStatus.this) { paintComposite(event.gc); } else if (event.widget == button) { paintButton(event.gc); } break; case SWT.MouseUp: if (event.button == 1) { gc(); arm(false); } break; case SWT.MouseDown: if (event.button == 1) { if (event.widget == HeapStatus.this) setMark(); else if (event.widget == button) arm(true); } break; case SWT.MouseExit: arm(false); break; } } }; addListener(SWT.Dispose, listener); addListener(SWT.MouseDown, listener); addListener(SWT.Paint, listener); addListener(SWT.Resize, listener); button.addListener(SWT.MouseDown, listener); button.addListener(SWT.MouseExit, listener); button.addListener(SWT.MouseUp, listener); button.addListener(SWT.Paint, listener); // make sure stats are updated before first paint updateStats(); getDisplay().asyncExec(new Runnable() { public void run() { if (!isDisposed()) { getDisplay().timerExec(updateInterval, timer); } } }); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8fb6039a25cd362736c55942c574a206e62facca/HeapStatus.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/HeapStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30241, 1482, 12, 9400, 982, 16, 467, 9624, 2257, 11307, 2257, 13, 288, 202, 202, 9565, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1896, 3545, 273, 7288, 3545, 5621, 202, 202, 1896, 3545, 11925, 273, 943, 3545, 480, 3407, 18, 6694, 67, 4051, 31, 3639, 333, 18, 25724, 2257, 273, 11307, 2257, 31, 3639, 11307, 2257, 18, 1289, 1396, 15744, 12, 25724, 2223, 1769, 7734, 444, 1891, 4006, 382, 3537, 12, 25724, 2257, 18, 588, 1702, 12, 45, 15648, 1482, 2918, 18, 3670, 42, 67, 8217, 67, 16435, 10019, 3639, 2405, 2747, 273, 11307, 2257, 18, 588, 5507, 12, 45, 15648, 1482, 2918, 18, 3670, 42, 67, 16677, 67, 6694, 1769, 1082, 3639, 3568, 273, 394, 20966, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 3639, 3568, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 18, 15648, 1482, 67, 5391, 29250, 1769, 540, 202, 202, 2040, 3187, 1316, 4217, 273, 4147, 22144, 8946, 18, 588, 2421, 22144, 2040, 3187, 2932, 292, 830, 2313, 19, 28665, 18, 13905, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 13241, 2040, 273, 1316, 4217, 18, 2640, 2040, 5621, 202, 202, 430, 261, 13241, 2040, 480, 446, 13, 1082, 202, 6081, 5694, 273, 8859, 2040, 18, 588, 5694, 5621, 202, 202, 4236, 2562, 273, 13854, 5621, 202, 202, 3668, 3545, 914, 273, 2562, 18, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 5923, 67, 8720, 20166, 1769, 225, 368, 9052, 20614, 202, 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, 482, 30241, 1482, 12, 9400, 982, 16, 467, 9624, 2257, 11307, 2257, 13, 288, 202, 202, 9565, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1896, 3545, 273, 7288, 3545, 5621, 202, 202, 1896, 3545, 11925, 273, 943, 3545, 480, 3407, 18, 6694, 67, 4051, 31, 3639, 333, 18, 25724, 2257, 273, 11307, 2257, 31, 3639, 11307, 2257, 18, 1289, 1396, 15744, 12, 25724, 2223, 1769, 7734, 444, 1891, 4006, 382, 3537, 12, 25724, 2257, 18, 588, 1702, 12, 45, 15648, 1482, 2918, 18, 3670, 42, 67, 8217, 67, 16435, 10019, 3639, 2405, 2747, 273, 11307, 2257, 18, 588, 5507, 12, 45, 15648, 1482, 2918, 18, 3670, 42, 67, 16677, 67, 6694, 1769, 1082, 3639, 2 ]
if (bufferPosition + window < cepstraBufferSize) { Arrays.fill(cepstraBuffer, bufferPosition, bufferPosition + window, last); bufferPosition += window; } else { for (int i = 0; i < window; i++) { addCepstrumData(last); }
for (int i = 0; i < window; i++) { addCepstrumData(last);
private int replicateLastCepstrum() { float[] last = null; if (bufferPosition > 0) { last = this.cepstraBuffer[bufferPosition - 1]; } else if (bufferPosition == 0) { last = cepstraBuffer[cepstraBuffer.length - 1]; } else { throw new Error("BufferPosition < 0"); } if (bufferPosition + window < cepstraBufferSize) { Arrays.fill(cepstraBuffer, bufferPosition, bufferPosition + window, last); bufferPosition += window; } else { for (int i = 0; i < window; i++) { addCepstrumData(last); } } return window; }
8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/95b0c224eabe18249590c45d72f37aa525597dc9/LiveFeatureExtractor.java/clean/sphinx4/edu/cmu/sphinx/frontend/LiveFeatureExtractor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 28476, 3024, 39, 881, 701, 379, 1435, 288, 3639, 1431, 8526, 1142, 273, 446, 31, 3639, 309, 261, 4106, 2555, 405, 374, 13, 288, 5411, 1142, 273, 333, 18, 311, 84, 701, 69, 1892, 63, 4106, 2555, 300, 404, 15533, 3639, 289, 469, 309, 261, 4106, 2555, 422, 374, 13, 288, 5411, 1142, 273, 276, 881, 701, 69, 1892, 63, 311, 84, 701, 69, 1892, 18, 2469, 300, 404, 15533, 3639, 289, 469, 288, 5411, 604, 394, 1068, 2932, 1892, 2555, 411, 374, 8863, 3639, 289, 7734, 309, 261, 4106, 2555, 397, 2742, 411, 276, 881, 701, 69, 15384, 13, 288, 5411, 5647, 18, 5935, 12, 311, 84, 701, 69, 1892, 16, 1613, 2555, 16, 7682, 1613, 2555, 397, 2742, 16, 1142, 1769, 5411, 1613, 2555, 1011, 2742, 31, 3639, 289, 469, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2742, 31, 277, 27245, 288, 7734, 527, 39, 881, 701, 379, 751, 12, 2722, 1769, 5411, 289, 3639, 289, 3639, 327, 2742, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 28476, 3024, 39, 881, 701, 379, 1435, 288, 3639, 1431, 8526, 1142, 273, 446, 31, 3639, 309, 261, 4106, 2555, 405, 374, 13, 288, 5411, 1142, 273, 333, 18, 311, 84, 701, 69, 1892, 63, 4106, 2555, 300, 404, 15533, 3639, 289, 469, 309, 261, 4106, 2555, 422, 374, 13, 288, 5411, 1142, 273, 276, 881, 701, 69, 1892, 63, 311, 84, 701, 69, 1892, 18, 2469, 300, 404, 15533, 3639, 289, 469, 288, 5411, 604, 394, 1068, 2932, 1892, 2555, 411, 374, 8863, 3639, 289, 7734, 309, 261, 4106, 2555, 397, 2742, 411, 276, 881, 701, 69, 15384, 13, 288, 5411, 5647, 18, 5935, 12, 311, 84, 701, 69, 1892, 16, 1613, 2555, 16, 7682, 2 ]
public org.quickfix.field.OrderQty2 getOrderQty2() throws FieldNotFound { org.quickfix.field.OrderQty2 value = new org.quickfix.field.OrderQty2();
public quickfix.field.OrderQty2 getOrderQty2() throws FieldNotFound { quickfix.field.OrderQty2 value = new quickfix.field.OrderQty2();
public org.quickfix.field.OrderQty2 getOrderQty2() throws FieldNotFound { org.quickfix.field.OrderQty2 value = new org.quickfix.field.OrderQty2(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelReplaceRequest.java/buggy/src/java/src/quickfix/fix41/OrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2448, 53, 4098, 22, 11973, 53, 4098, 22, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2448, 53, 4098, 22, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2448, 53, 4098, 22, 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, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2448, 53, 4098, 22, 11973, 53, 4098, 22, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2448, 53, 4098, 22, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2448, 53, 4098, 22, 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, -100 ]
verifyFieldsForClass(anObject, aClass.getSuperclass(), alreadyProcessed); try { alreadyProcessed.addElement(anObject);
verifyFieldsForClass(anObject, aClass.getSuperclass(), alreadyProcessed); try { alreadyProcessed.addElement(anObject);
static private void verifyFieldsForClass( Object anObject, Class aClass, Vector alreadyProcessed ) { if (alreadyProcessed.contains(anObject) || isBaseObjectClass(aClass)) { return; } verifyFieldsForClass(anObject, aClass.getSuperclass(), alreadyProcessed); try { alreadyProcessed.addElement(anObject); Field[] fields = aClass.getDeclaredFields(); for (int i = 0; i < fields.length; ++i) { verifyField(fields[i], anObject, alreadyProcessed); } } finally { alreadyProcessed.removeElement(anObject); } }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/Verifier.java/clean/jmock/core/src/org/jmock/util/Verifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 3238, 918, 3929, 2314, 22581, 12, 1033, 392, 921, 16, 1659, 20148, 16, 5589, 1818, 13533, 262, 288, 202, 202, 430, 261, 17583, 13533, 18, 12298, 12, 304, 921, 13, 747, 353, 2171, 921, 797, 12, 69, 797, 3719, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 8705, 2314, 22581, 12, 304, 921, 16, 20148, 18, 588, 28471, 9334, 1818, 13533, 1769, 202, 202, 698, 288, 1082, 202, 17583, 13533, 18, 1289, 1046, 12, 304, 921, 1769, 1082, 202, 974, 8526, 1466, 273, 20148, 18, 588, 18888, 2314, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 965, 77, 13, 288, 9506, 202, 8705, 974, 12, 2821, 63, 77, 6487, 392, 921, 16, 1818, 13533, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 23417, 288, 1082, 202, 17583, 13533, 18, 4479, 1046, 12, 304, 921, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 3238, 918, 3929, 2314, 22581, 12, 1033, 392, 921, 16, 1659, 20148, 16, 5589, 1818, 13533, 262, 288, 202, 202, 430, 261, 17583, 13533, 18, 12298, 12, 304, 921, 13, 747, 353, 2171, 921, 797, 12, 69, 797, 3719, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 8705, 2314, 22581, 12, 304, 921, 16, 20148, 18, 588, 28471, 9334, 1818, 13533, 1769, 202, 202, 698, 288, 1082, 202, 17583, 13533, 18, 1289, 1046, 12, 304, 921, 1769, 1082, 202, 974, 8526, 1466, 273, 20148, 18, 588, 18888, 2314, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 965, 77, 13, 288, 9506, 202, 8705, 974, 12, 2821, 2 ]
return RubyString.newString(getRuntime(), "" + getValue());
return getRuntime().newString("" + getValue());
public RubyString to_s() { return RubyString.newString(getRuntime(), "" + getValue()); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyFloat.java/clean/src/org/jruby/RubyFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 358, 67, 87, 1435, 288, 3639, 327, 18814, 7675, 2704, 780, 2932, 6, 397, 2366, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 358, 67, 87, 1435, 288, 3639, 327, 18814, 7675, 2704, 780, 2932, 6, 397, 2366, 10663, 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 ]
ruby.getRubyFrame().tmpPush(); ruby.getScope().push(); CRefNode lRefValue = getRefValue(); if (lRefValue != null) { savedCRef = ruby.getCRef(); ruby.setCRef(lRefValue); ruby.getRubyFrame().setCbase(lRefValue); }
ruby.getRubyFrame().tmpPush(); ruby.getScope().push(); CRefNode lRefValue = getRefValue(); if (lRefValue != null) { savedCRef = ruby.getCRef(); ruby.setCRef(lRefValue); ruby.getRubyFrame().setCbase(lRefValue); }
public RubyObject eval(Ruby ruby, RubyObject self) { CRefNode savedCRef = null; ruby.getRubyFrame().tmpPush(); ruby.getScope().push(); CRefNode lRefValue = getRefValue(); if (lRefValue != null) { savedCRef = ruby.getCRef(); ruby.setCRef(lRefValue); ruby.getRubyFrame().setCbase(lRefValue); } if (getTable() != null) { ruby.getScope().setLocalValues(new ArrayList(Collections.nCopies(getTable().size(), ruby.getNil()))); ruby.getScope().setLocalNames(getTable()); } /* else { ruby.getRubyScope().setLocalValues(null); ruby.getRubyScope().setLocalNames(null); }*/ // unneeded, it is done in RubyScope.push() Benoit RubyObject result = getNextNode().eval(ruby, self); ruby.getScope().pop(); ruby.getRubyFrame().tmpPop(); if (savedCRef != null) { ruby.setCRef(savedCRef); } return result; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/7798138390a306a202dcec9bde45928dae2e852e/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 202, 202, 39, 1957, 907, 5198, 39, 1957, 273, 446, 31, 202, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 5645, 7621, 5621, 202, 202, 27768, 18, 588, 3876, 7675, 6206, 5621, 202, 202, 39, 1957, 907, 328, 30556, 273, 17404, 620, 5621, 202, 202, 430, 261, 80, 30556, 480, 446, 13, 288, 1082, 202, 14077, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 1082, 202, 27768, 18, 542, 39, 1957, 12, 80, 30556, 1769, 1082, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 80, 30556, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 1388, 1435, 480, 446, 13, 288, 5411, 22155, 18, 588, 3876, 7675, 542, 2042, 1972, 12, 2704, 2407, 12, 15150, 18, 82, 15670, 12, 588, 1388, 7675, 1467, 9334, 22155, 18, 588, 12616, 1435, 3719, 1769, 1082, 202, 27768, 18, 588, 3876, 7675, 542, 2042, 1557, 12, 588, 1388, 10663, 3639, 289, 1748, 469, 1082, 202, 95, 1082, 202, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 1972, 12, 2011, 1769, 1082, 202, 27768, 18, 588, 54, 10340, 3876, 7675, 542, 2042, 1557, 12, 2011, 1769, 1082, 202, 97, 5549, 368, 16209, 8033, 16, 518, 353, 2731, 316, 19817, 3876, 18, 6206, 1435, 605, 5764, 305, 202, 202, 54, 10340, 921, 563, 273, 6927, 907, 7675, 8622, 12, 27768, 16, 365, 1769, 202, 202, 27768, 18, 588, 3876, 7675, 5120, 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, 19817, 921, 5302, 12, 54, 10340, 22155, 16, 19817, 921, 365, 13, 288, 202, 202, 39, 1957, 907, 5198, 39, 1957, 273, 446, 31, 202, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 5645, 7621, 5621, 202, 202, 27768, 18, 588, 3876, 7675, 6206, 5621, 202, 202, 39, 1957, 907, 328, 30556, 273, 17404, 620, 5621, 202, 202, 430, 261, 80, 30556, 480, 446, 13, 288, 1082, 202, 14077, 39, 1957, 273, 22155, 18, 588, 39, 1957, 5621, 1082, 202, 27768, 18, 542, 39, 1957, 12, 80, 30556, 1769, 1082, 202, 27768, 18, 588, 54, 10340, 3219, 7675, 542, 39, 1969, 12, 80, 30556, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 1388, 1435, 480, 2 ]
CommentPK pk = (CommentPK)entityContext.getPrimaryKey();
CommentPK pk = (CommentPK) entityContext.getPrimaryKey();
public void ejbLoad() throws RemoteException { PreparedStatement stmt= null; Connection conn = null; try { CommentPK pk = (CommentPK)entityContext.getPrimaryKey(); id = pk.getId(); conn = getConnection(); stmt = conn.prepareStatement("SELECT * FROM comments WHERE id=?"); stmt.setInt(1, id.intValue()); ResultSet rs = stmt.executeQuery(); if (!rs.first()) { throw new EJBException("Object comment not found"); } fromUserId = new Integer(rs.getInt("from_user_id")); toUserId = new Integer(rs.getInt("to_user_id")); itemId =new Integer( rs.getInt("item_id")); rating = rs.getInt("rating"); date = rs.getString("date"); comment = rs.getString("comment"); rs.close(); stmt.close(); conn.close(); } catch (Exception e) { try { if(stmt != null) stmt.close(); if(conn != null) conn.close(); } catch (Exception ignore){} throw new RemoteException("Failed to update comment bean: " +e); } }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/CommentBean.java/buggy/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/CommentBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18024, 2563, 1435, 1216, 18361, 225, 288, 565, 16913, 3480, 33, 446, 31, 565, 4050, 1487, 273, 446, 31, 565, 775, 565, 288, 1377, 9821, 8784, 2365, 273, 261, 4469, 8784, 13, 1522, 1042, 18, 588, 11575, 5621, 1377, 612, 273, 2365, 18, 26321, 5621, 1377, 1487, 273, 6742, 5621, 1377, 3480, 273, 1487, 18, 9366, 3406, 2932, 4803, 380, 4571, 5678, 4852, 612, 25501, 1769, 1377, 3480, 18, 542, 1702, 12, 21, 16, 612, 18, 474, 620, 10663, 1377, 10842, 3597, 273, 3480, 18, 8837, 1138, 5621, 1377, 309, 16051, 5453, 18, 3645, 10756, 1377, 288, 3639, 604, 394, 12157, 503, 2932, 921, 2879, 486, 1392, 8863, 1377, 289, 1377, 628, 10502, 273, 394, 2144, 12, 5453, 18, 588, 1702, 2932, 2080, 67, 1355, 67, 350, 7923, 1769, 1377, 358, 10502, 273, 394, 2144, 12, 5453, 18, 588, 1702, 2932, 869, 67, 1355, 67, 350, 7923, 1769, 1377, 18424, 273, 2704, 2144, 12, 3597, 18, 588, 1702, 2932, 1726, 67, 350, 7923, 1769, 1377, 13953, 273, 3597, 18, 588, 1702, 2932, 17326, 8863, 1377, 1509, 273, 3597, 18, 588, 780, 2932, 712, 8863, 1377, 2879, 273, 3597, 18, 588, 780, 2932, 3469, 8863, 1377, 3597, 18, 4412, 5621, 1377, 3480, 18, 4412, 5621, 1377, 1487, 18, 4412, 5621, 565, 289, 565, 1044, 261, 503, 425, 13, 565, 288, 1377, 775, 1377, 288, 3639, 309, 12, 10589, 480, 446, 13, 3480, 18, 4412, 5621, 3639, 309, 12, 4646, 480, 446, 13, 1487, 18, 4412, 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, 18024, 2563, 1435, 1216, 18361, 225, 288, 565, 16913, 3480, 33, 446, 31, 565, 4050, 1487, 273, 446, 31, 565, 775, 565, 288, 1377, 9821, 8784, 2365, 273, 261, 4469, 8784, 13, 1522, 1042, 18, 588, 11575, 5621, 1377, 612, 273, 2365, 18, 26321, 5621, 1377, 1487, 273, 6742, 5621, 1377, 3480, 273, 1487, 18, 9366, 3406, 2932, 4803, 380, 4571, 5678, 4852, 612, 25501, 1769, 1377, 3480, 18, 542, 1702, 12, 21, 16, 612, 18, 474, 620, 10663, 1377, 10842, 3597, 273, 3480, 18, 8837, 1138, 5621, 1377, 309, 16051, 5453, 18, 3645, 10756, 1377, 288, 3639, 604, 394, 12157, 503, 2932, 921, 2879, 486, 1392, 8863, 1377, 289, 1377, 628, 10502, 273, 394, 2144, 2 ]
return new BugCodeMatcher(element.valueOf("@name"));
return new BugMatcher(element.valueOf("@name"), "");
private Matcher getMatcher(Element element) throws FilterException { // These will be either BugCode, Priority, Class, Method, Field, or Or elements. String name = element.getName(); if (name.equals("BugCode")) { return new BugCodeMatcher(element.valueOf("@name")); } else if (name.equals("BugPattern")) { return new BugPatternMatcher(element.valueOf("@name")); } else if (name.equals("Priority")) { return new PriorityMatcher(element.valueOf("@value")); } else if (name.equals("Class")) { Attribute nameAttr = element.attribute("name"); if (nameAttr == null) throw new FilterException("Missing name attribute in Class element"); return new ClassMatcher(nameAttr.getValue()); } else if (name.equals("Method")) { Attribute nameAttr = element.attribute("name"); Attribute paramsAttr = element.attribute("params"); Attribute returnsAttr = element.attribute("returns"); if (nameAttr == null) throw new FilterException("Missing name attribute in Method element"); if ((paramsAttr != null || returnsAttr != null) && (paramsAttr == null || returnsAttr == null)) throw new FilterException("Method element must have both params and returns attributes if either is used"); if (paramsAttr == null) return new MethodMatcher(nameAttr.getValue()); else return new MethodMatcher(nameAttr.getValue(), paramsAttr.getValue(), returnsAttr.getValue()); } else if (name.equals("Field")) { Attribute nameAttr = element.attribute("name"); if (nameAttr == null) throw new FilterException("Missing name attribute in Field element"); return new FieldMatcher(nameAttr.getValue()); } else if (name.equals("Or")) { OrMatcher orMatcher = new OrMatcher(); Iterator<Element> i = element.elementIterator(); while (i.hasNext()) { orMatcher.addChild(getMatcher(i.next())); } return orMatcher; } else throw new FilterException("Unknown element: " + name); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/3d4a2cdaca5ad0cc03498808071324c8df15b3b3/Filter.java/clean/findbugs/src/java/edu/umd/cs/findbugs/filter/Filter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 9757, 336, 6286, 12, 1046, 930, 13, 1216, 4008, 503, 288, 202, 202, 759, 8646, 903, 506, 3344, 16907, 1085, 16, 13354, 16, 1659, 16, 2985, 16, 2286, 16, 578, 2965, 2186, 18, 202, 202, 780, 508, 273, 930, 18, 17994, 5621, 202, 202, 430, 261, 529, 18, 14963, 2932, 19865, 1085, 6, 3719, 288, 1082, 202, 2463, 394, 16907, 1085, 6286, 12, 2956, 18, 1132, 951, 2932, 36, 529, 7923, 1769, 202, 202, 97, 469, 309, 261, 529, 18, 14963, 2932, 19865, 3234, 6, 3719, 288, 1082, 202, 2463, 394, 16907, 3234, 6286, 12, 2956, 18, 1132, 951, 2932, 36, 529, 7923, 1769, 202, 202, 97, 469, 309, 261, 529, 18, 14963, 2932, 8183, 6, 3719, 288, 1082, 202, 2463, 394, 13354, 6286, 12, 2956, 18, 1132, 951, 2932, 36, 1132, 7923, 1769, 202, 202, 97, 469, 309, 261, 529, 18, 14963, 2932, 797, 6, 3719, 288, 1082, 202, 1499, 508, 3843, 273, 930, 18, 4589, 2932, 529, 8863, 25083, 202, 430, 261, 529, 3843, 422, 446, 13, 9506, 202, 12849, 394, 4008, 503, 2932, 4841, 508, 1566, 316, 1659, 930, 8863, 25083, 202, 2463, 394, 1659, 6286, 12, 529, 3843, 18, 24805, 10663, 202, 202, 97, 469, 309, 261, 529, 18, 14963, 2932, 1305, 6, 3719, 288, 1082, 202, 1499, 508, 3843, 273, 930, 18, 4589, 2932, 529, 8863, 1082, 202, 1499, 859, 3843, 273, 930, 18, 4589, 2932, 2010, 8863, 1082, 202, 1499, 1135, 3843, 273, 930, 18, 4589, 2932, 6154, 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, 9757, 336, 6286, 12, 1046, 930, 13, 1216, 4008, 503, 288, 202, 202, 759, 8646, 903, 506, 3344, 16907, 1085, 16, 13354, 16, 1659, 16, 2985, 16, 2286, 16, 578, 2965, 2186, 18, 202, 202, 780, 508, 273, 930, 18, 17994, 5621, 202, 202, 430, 261, 529, 18, 14963, 2932, 19865, 1085, 6, 3719, 288, 1082, 202, 2463, 394, 16907, 1085, 6286, 12, 2956, 18, 1132, 951, 2932, 36, 529, 7923, 1769, 202, 202, 97, 469, 309, 261, 529, 18, 14963, 2932, 19865, 3234, 6, 3719, 288, 1082, 202, 2463, 394, 16907, 3234, 6286, 12, 2956, 18, 1132, 951, 2932, 36, 529, 7923, 1769, 202, 202, 97, 469, 309, 261, 529, 18, 14963, 2932, 8183, 6, 2 ]
return jjStopAtPos(0, 28);
return jjStopAtPos(0, 29);
private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 33: jjmatchedKind = 37; return jjMoveStringLiteralDfa1_0(0x1000000000L); case 35: jjmatchedKind = 11; return jjMoveStringLiteralDfa1_0(0x500L); case 36: jjmatchedKind = 6; return jjMoveStringLiteralDfa1_0(0x80L); case 37: return jjStopAtPos(0, 28); case 38: return jjMoveStringLiteralDfa1_0(0x20000000L); case 40: return jjStopAtPos(0, 4); case 42: return jjStopAtPos(0, 26); case 43: return jjStopAtPos(0, 25); case 44: return jjStopAtPos(0, 3); case 45: return jjStopAtPos(0, 24); case 47: return jjStopAtPos(0, 27); case 60: jjmatchedKind = 31; return jjMoveStringLiteralDfa1_0(0x100000000L); case 61: jjmatchedKind = 38; return jjMoveStringLiteralDfa1_0(0x800000000L); case 62: jjmatchedKind = 33; return jjMoveStringLiteralDfa1_0(0x400000000L); case 91: return jjStopAtPos(0, 1); case 93: return jjStopAtPos(0, 2); case 101: return jjMoveStringLiteralDfa1_0(0xc0000000000L); case 102: return jjMoveStringLiteralDfa1_0(0x400000L); case 105: return jjMoveStringLiteralDfa1_0(0x30000000000L); case 115: return jjMoveStringLiteralDfa1_0(0x300000000000L); case 116: return jjMoveStringLiteralDfa1_0(0x200000L); case 124: return jjMoveStringLiteralDfa1_0(0x40000000L); default : return jjMoveNfa_0(0, 0); }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/b827d0bf89e728dc8324fc63c2ad3662c9d19cd3/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 20, 67, 20, 1435, 95, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13159, 30, 540, 10684, 11073, 5677, 273, 18091, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 23899, 11706, 48, 1769, 1377, 648, 13191, 30, 540, 10684, 11073, 5677, 273, 4648, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 12483, 48, 1769, 1377, 648, 6580, 30, 540, 10684, 11073, 5677, 273, 1666, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 3672, 48, 1769, 1377, 648, 18091, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 12899, 1769, 1377, 648, 18012, 30, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 22, 17877, 48, 1769, 1377, 648, 8063, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 1059, 1769, 1377, 648, 14856, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 10659, 1769, 1377, 648, 21193, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 6969, 1769, 1377, 648, 13291, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 890, 1769, 1377, 648, 12292, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 4248, 1769, 1377, 648, 17495, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 12732, 1769, 1377, 648, 4752, 30, 540, 10684, 11073, 5677, 273, 8231, 31, 540, 327, 10684, 7607, 28565, 40, 507, 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, 28565, 40, 507, 20, 67, 20, 1435, 95, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13159, 30, 540, 10684, 11073, 5677, 273, 18091, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 23899, 11706, 48, 1769, 1377, 648, 13191, 30, 540, 10684, 11073, 5677, 273, 4648, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 12483, 48, 1769, 1377, 648, 6580, 30, 540, 10684, 11073, 5677, 273, 1666, 31, 540, 327, 10684, 7607, 28565, 40, 507, 21, 67, 20, 12, 20, 92, 3672, 48, 1769, 1377, 648, 18091, 30, 540, 327, 10684, 4947, 861, 1616, 12, 20, 16, 12899, 1769, 1377, 2 ]
saveEntry(entry);
entry.container.saveDockableWindow(entry.win);
public void removeDockableWindow(String name) { Entry entry = (Entry)windows.get(name); if(entry == null) throw new IllegalArgumentException("This DockableWindowManager" + " does not have a window named " + name); saveEntry(entry); entry.container.removeDockableWindow(entry.win); windows.remove(name); }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/4322e592a252b85bde544e44b3b1592ffc24ec52/DockableWindowManager.java/buggy/org/gjt/sp/jedit/gui/DockableWindowManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 40, 975, 429, 3829, 12, 780, 508, 13, 202, 95, 202, 202, 1622, 1241, 273, 261, 1622, 13, 13226, 18, 588, 12, 529, 1769, 202, 202, 430, 12, 4099, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 2503, 463, 975, 429, 3829, 1318, 6, 9506, 202, 15, 315, 1552, 486, 1240, 279, 2742, 4141, 315, 397, 508, 1769, 202, 202, 5688, 1622, 12, 4099, 1769, 202, 202, 4099, 18, 3782, 18, 4479, 40, 975, 429, 3829, 12, 4099, 18, 8082, 1769, 202, 202, 13226, 18, 4479, 12, 529, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 40, 975, 429, 3829, 12, 780, 508, 13, 202, 95, 202, 202, 1622, 1241, 273, 261, 1622, 13, 13226, 18, 588, 12, 529, 1769, 202, 202, 430, 12, 4099, 422, 446, 13, 1082, 202, 12849, 394, 2754, 2932, 2503, 463, 975, 429, 3829, 1318, 6, 9506, 202, 15, 315, 1552, 486, 1240, 279, 2742, 4141, 315, 397, 508, 1769, 202, 202, 5688, 1622, 12, 4099, 1769, 202, 202, 4099, 18, 3782, 18, 4479, 40, 975, 429, 3829, 12, 4099, 18, 8082, 1769, 202, 202, 13226, 18, 4479, 12, 529, 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 ]
return super.getName(methodName); }
return super.getName(methodName); }
protected Object getName(String methodName) { return super.getName(methodName); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/3566e1a7ad8b593e1e164b778b867ec924da1894/MarkupBuilder.java/clean/src/main/groovy/xml/MarkupBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 1723, 12, 780, 4918, 13, 288, 202, 202, 2463, 2240, 18, 17994, 12, 2039, 461, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1033, 1723, 12, 780, 4918, 13, 288, 202, 202, 2463, 2240, 18, 17994, 12, 2039, 461, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected synchronized void swapBuffers() throws GLException {
public synchronized void swapBuffers() throws GLException {
protected synchronized void swapBuffers() throws GLException { }
46813 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46813/f90ab644c419486f7894fda3725a9c81de8bb283/WindowsOffscreenGLContext.java/clean/src/net/java/games/jogl/impl/windows/WindowsOffscreenGLContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 7720, 13699, 1435, 1216, 10252, 503, 288, 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, 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, 282, 1071, 3852, 918, 7720, 13699, 1435, 1216, 10252, 503, 288, 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, -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("-- GetStateEvent, cnt=" + cnt);
System.err.println("-- GetStateEvent, cnt=" + cnt);
public void recvLoop() throws Exception { Thread task = new Thread(new Runnable() { public void run() { Object tmp; while (! closed) { try { tmp = channel.receive(0); if (tmp instanceof ExitEvent) { log.error("-- received EXIT, waiting for ChannelReconnected callback"); break; } if (tmp instanceof GetStateEvent) { synchronized (Coordinator.this) { log.error("-- GetStateEvent, cnt=" + cnt); channel.returnState(Util.objectToByteBuffer(new Integer(cnt))); } continue; } } catch (ChannelNotConnectedException not) { break; } catch (ChannelClosedException closed) { break; } catch (Exception e) { log.error(e); continue; } } } }); task.start(); }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/13de68466e3cf7fde6ee0bde0cee09a33e837e89/STATE_TRANSFER_Test.java/buggy/tests/junit/org/jgroups/protocols/STATE_TRANSFER_Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 10665, 6452, 1435, 1216, 1185, 288, 540, 4884, 1562, 273, 394, 4884, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 9079, 1033, 1853, 31, 9079, 1323, 16051, 4375, 13, 288, 5375, 775, 288, 5397, 1853, 273, 1904, 18, 18149, 12, 20, 1769, 5397, 309, 261, 5645, 1276, 9500, 1133, 13, 288, 13491, 613, 18, 1636, 2932, 413, 5079, 28407, 16, 7336, 364, 5307, 426, 8537, 1348, 8863, 13491, 898, 31, 5397, 289, 5397, 309, 261, 5645, 1276, 968, 1119, 1133, 13, 288, 13491, 3852, 261, 25307, 18, 2211, 13, 288, 21821, 2332, 18, 370, 18, 8222, 2932, 413, 225, 968, 1119, 1133, 16, 7599, 1546, 397, 7599, 1769, 21821, 1904, 18, 2463, 1119, 12, 1304, 18, 1612, 774, 12242, 12, 2704, 2144, 12, 13085, 3719, 1769, 13491, 289, 13491, 1324, 31, 5397, 289, 5375, 289, 1044, 261, 2909, 1248, 8932, 503, 486, 13, 288, 5397, 898, 31, 5375, 289, 1044, 261, 2909, 7395, 503, 4375, 13, 288, 5397, 898, 31, 5375, 289, 1044, 261, 503, 425, 13, 288, 5397, 613, 18, 1636, 12, 73, 1769, 5397, 1324, 31, 5375, 289, 9079, 289, 5411, 289, 540, 15549, 540, 1562, 18, 1937, 5621, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 10665, 6452, 1435, 1216, 1185, 288, 540, 4884, 1562, 273, 394, 4884, 12, 2704, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 9079, 1033, 1853, 31, 9079, 1323, 16051, 4375, 13, 288, 5375, 775, 288, 5397, 1853, 273, 1904, 18, 18149, 12, 20, 1769, 5397, 309, 261, 5645, 1276, 9500, 1133, 13, 288, 13491, 613, 18, 1636, 2932, 413, 5079, 28407, 16, 7336, 364, 5307, 426, 8537, 1348, 8863, 13491, 898, 31, 5397, 289, 5397, 309, 261, 5645, 1276, 968, 1119, 1133, 13, 288, 13491, 3852, 261, 25307, 18, 2211, 13, 288, 21821, 2332, 18, 370, 18, 8222, 2932, 413, 225, 968, 1119, 1133, 16, 7599, 1546, 397, 7599, 1769, 21821, 1904, 18, 2463, 1119, 2 ]
Iterator strings = os.iterator(runtime.getClasses().getStringClass());
Iterator strings = os.iterator(runtime.getClass("String"));
public void testObjectSpace() { ObjectSpace os = new ObjectSpace(); IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); os.add(o1); os.add(o2); os.add(o3); os.add(o4); List storedFixnums = new ArrayList(3); storedFixnums.add(o1); storedFixnums.add(o2); storedFixnums.add(o3); Iterator strings = os.iterator(runtime.getClasses().getStringClass()); assertTrue(strings.hasNext()); assertSame(o4, strings.next()); assertTrue(! strings.hasNext()); Iterator numerics = os.iterator(runtime.getClasses().getNumericClass()); for (int i = 0; i < 3; i++) { assertTrue(numerics.hasNext()); Object item = numerics.next(); assertTrue(storedFixnums.contains(item)); storedFixnums.remove(item); } assertTrue(! numerics.hasNext()); }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/ca6b16e996ea9af83ce593594b9c69b9364a9924/TestObjectSpace.java/clean/test/org/jruby/test/TestObjectSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 3819, 1435, 288, 3639, 1033, 3819, 1140, 273, 394, 1033, 3819, 5621, 3639, 15908, 10340, 921, 320, 21, 273, 3099, 18, 2704, 8585, 2107, 12, 2163, 1769, 3639, 15908, 10340, 921, 320, 22, 273, 3099, 18, 2704, 8585, 2107, 12, 3462, 1769, 3639, 15908, 10340, 921, 320, 23, 273, 3099, 18, 2704, 8585, 2107, 12, 5082, 1769, 3639, 15908, 10340, 921, 320, 24, 273, 3099, 18, 2704, 780, 2932, 23711, 8863, 3639, 1140, 18, 1289, 12, 83, 21, 1769, 3639, 1140, 18, 1289, 12, 83, 22, 1769, 3639, 1140, 18, 1289, 12, 83, 23, 1769, 3639, 1140, 18, 1289, 12, 83, 24, 1769, 3639, 987, 4041, 8585, 21180, 273, 394, 2407, 12, 23, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 21, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 22, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 23, 1769, 3639, 4498, 2064, 273, 1140, 18, 9838, 12, 9448, 18, 588, 797, 2932, 780, 7923, 1769, 3639, 1815, 5510, 12, 10219, 18, 5332, 2134, 10663, 3639, 1815, 8650, 12, 83, 24, 16, 2064, 18, 4285, 10663, 3639, 1815, 5510, 12, 5, 2064, 18, 5332, 2134, 10663, 3639, 4498, 26511, 2102, 273, 1140, 18, 9838, 12, 9448, 18, 588, 4818, 7675, 588, 9902, 797, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 890, 31, 277, 27245, 288, 5411, 1815, 5510, 12, 2107, 264, 2102, 18, 5332, 2134, 10663, 5411, 1033, 761, 273, 26511, 2102, 18, 4285, 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, 921, 3819, 1435, 288, 3639, 1033, 3819, 1140, 273, 394, 1033, 3819, 5621, 3639, 15908, 10340, 921, 320, 21, 273, 3099, 18, 2704, 8585, 2107, 12, 2163, 1769, 3639, 15908, 10340, 921, 320, 22, 273, 3099, 18, 2704, 8585, 2107, 12, 3462, 1769, 3639, 15908, 10340, 921, 320, 23, 273, 3099, 18, 2704, 8585, 2107, 12, 5082, 1769, 3639, 15908, 10340, 921, 320, 24, 273, 3099, 18, 2704, 780, 2932, 23711, 8863, 3639, 1140, 18, 1289, 12, 83, 21, 1769, 3639, 1140, 18, 1289, 12, 83, 22, 1769, 3639, 1140, 18, 1289, 12, 83, 23, 1769, 3639, 1140, 18, 1289, 12, 83, 24, 1769, 3639, 987, 4041, 8585, 21180, 273, 394, 2407, 12, 23, 1769, 2 ]
if (orderedHaplos[i][j].getPercentage()*100 > dt){
if (orderedHaplos[i][j].getPercentage()*100 > Options.getHaplotypeDisplayThreshold()){
public void adjustDisplay(int dt){ //this is called when the controller wants to change the haps //displayed, instead of directly repainting so that none of this math //is done when the screen repaints for other reasons (resizing, focus change, etc) //first filter haps on displaythresh Haplotype[][] filts; filts = new Haplotype[orderedHaplos.length][]; int numhaps = 0; int printable = 0; for (int i = 0; i < orderedHaplos.length; i++){ Vector tempVector = new Vector(); for (int j = 0; j < orderedHaplos[i].length; j++){ if (orderedHaplos[i][j].getPercentage()*100 > dt){ tempVector.add(orderedHaplos[i][j]); numhaps++; } } if (numhaps > 1){ printable++; numhaps=0; } filts[i] = new Haplotype[tempVector.size()]; tempVector.copyInto(filts[i]); } // if user sets display thresh higher than most common hap in any given block if (!(printable == filts.length)){ JOptionPane.showMessageDialog(this.getParent(), "Error: At least one block has too few haplotypes of frequency > " + dt, "Error", JOptionPane.ERROR_MESSAGE); return; } displayThresh = dt; filteredHaplos = filts; //then re-tag try{ filteredHaplos = theData.generateCrossovers(filteredHaplos); }catch (HaploViewException e){ JOptionPane.showMessageDialog(this.getParent(), e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); } multidprimeArray = theData.getMultiDprime(); //if the haps pane exists, we want to make sure the vert scroll bar appears if necessary if (this.getParent() != null){ if (this.getPreferredSize().height > this.getParent().getHeight()){ ((JScrollPane)this.getParent().getParent()).setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ); }else{ ((JScrollPane)this.getParent().getParent()).setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); } } repaint(); }
51222 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51222/f8f34aa4f0ace8092ba1fa18efb4d719ba00759a/HaplotypeDisplay.java/buggy/edu/mit/wi/haploview/HaplotypeDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5765, 4236, 12, 474, 3681, 15329, 3639, 368, 2211, 353, 2566, 1347, 326, 2596, 14805, 358, 2549, 326, 5622, 87, 3639, 368, 5417, 329, 16, 3560, 434, 5122, 24962, 310, 1427, 716, 6555, 434, 333, 4233, 3639, 368, 291, 2731, 1347, 326, 5518, 24962, 87, 364, 1308, 14000, 261, 455, 6894, 16, 7155, 2549, 16, 5527, 13, 3639, 368, 3645, 1034, 5622, 87, 603, 2562, 19237, 3639, 670, 69, 4032, 388, 63, 6362, 65, 661, 3428, 31, 3639, 661, 3428, 273, 394, 670, 69, 4032, 388, 63, 9885, 44, 438, 383, 87, 18, 2469, 6362, 15533, 3639, 509, 818, 19312, 273, 374, 31, 3639, 509, 23474, 273, 374, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5901, 44, 438, 383, 87, 18, 2469, 31, 277, 27245, 95, 13491, 5589, 1906, 5018, 273, 394, 5589, 5621, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 411, 5901, 44, 438, 383, 87, 63, 77, 8009, 2469, 31, 525, 27245, 95, 7734, 309, 261, 9885, 44, 438, 383, 87, 63, 77, 6362, 78, 8009, 588, 16397, 1435, 14, 6625, 405, 5087, 18, 588, 44, 69, 4032, 388, 4236, 7614, 10756, 95, 10792, 1906, 5018, 18, 1289, 12, 9885, 44, 438, 383, 87, 63, 77, 6362, 78, 19226, 10792, 818, 19312, 9904, 31, 7734, 289, 5411, 289, 5411, 309, 261, 2107, 19312, 405, 404, 15329, 7734, 23474, 9904, 31, 818, 19312, 33, 20, 31, 5411, 289, 5411, 661, 3428, 63, 77, 65, 273, 394, 670, 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, 5765, 4236, 12, 474, 3681, 15329, 3639, 368, 2211, 353, 2566, 1347, 326, 2596, 14805, 358, 2549, 326, 5622, 87, 3639, 368, 5417, 329, 16, 3560, 434, 5122, 24962, 310, 1427, 716, 6555, 434, 333, 4233, 3639, 368, 291, 2731, 1347, 326, 5518, 24962, 87, 364, 1308, 14000, 261, 455, 6894, 16, 7155, 2549, 16, 5527, 13, 3639, 368, 3645, 1034, 5622, 87, 603, 2562, 19237, 3639, 670, 69, 4032, 388, 63, 6362, 65, 661, 3428, 31, 3639, 661, 3428, 273, 394, 670, 69, 4032, 388, 63, 9885, 44, 438, 383, 87, 18, 2469, 6362, 15533, 3639, 509, 818, 19312, 273, 374, 31, 3639, 509, 23474, 273, 374, 31, 3639, 364, 261, 474, 277, 273, 374, 2 ]
out.println("rc += tightMarshalThrowable1(wireFormat, " + getter + ", bs);");
out.println(" rc += tightMarshalThrowable1(wireFormat, " + getter + ", bs);");
protected int generateTightMarshal1Body(PrintWriter out) { List properties = getProperties(); int baseSize = 0; for (Iterator iter = properties.iterator(); iter.hasNext();) { JProperty property = (JProperty) iter.next(); JAnnotation annotation = property.getAnnotation("openwire:property"); JAnnotationValue size = annotation.getValue("size"); JClass propertyType = property.getType(); String type = propertyType.getSimpleName(); String getter = "info." + property.getGetter().getSimpleName() + "()"; out.print(indent); if (type.equals("boolean")) { out.println("bs.writeBoolean(" + getter + ");"); } else if (type.equals("byte")) { baseSize += 1; } else if (type.equals("char")) { baseSize += 2; } else if (type.equals("short")) { baseSize += 2; } else if (type.equals("int")) { baseSize += 4; } else if (type.equals("long")) { out.println("rc+=tightMarshalLong1(wireFormat, " + getter + ", bs);"); } else if (type.equals("String")) { out.println("rc += tightMarshalString1(" + getter + ", bs);"); } else if (type.equals("byte[]")) { if (size == null) { out.println("rc += tightMarshalByteArray1(" + getter + ", bs);"); } else { out.println("rc += tightMarshalConstByteArray1(" + getter + ", bs, "+size.asInt()+");"); } } else if (type.equals("ByteSequence")) { out.println("rc += tightMarshalByteSequence1(" + getter + ", bs);"); } else if (propertyType.isArrayType()) { if (size != null) { out.println("rc += tightMarshalObjectArrayConstSize1(wireFormat, " + getter + ", bs, " + size.asInt() + ");"); } else { out.println("rc += tightMarshalObjectArray1(wireFormat, " + getter + ", bs);"); } } else if (isThrowable(propertyType)) { out.println("rc += tightMarshalThrowable1(wireFormat, " + getter + ", bs);"); } else { if (isCachedProperty(property)) { out.println("rc += tightMarshalCachedObject1(wireFormat, (DataStructure)" + getter + ", bs);"); } else { out.println("rc += tightMarshalNestedObject1(wireFormat, (DataStructure)" + getter + ", bs);"); } } } return baseSize; }
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/cd0fb615deb6accf8dfdc07fbe58b53cf6b972a2/OpenWireJavaMarshallingScript.java/clean/activemq-core/src/gram/java/org/apache/activemq/openwire/tool/OpenWireJavaMarshallingScript.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 2103, 56, 750, 8105, 21, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 509, 1026, 1225, 273, 374, 31, 3639, 364, 261, 3198, 1400, 273, 1790, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 804, 1396, 1272, 273, 261, 46, 1396, 13, 1400, 18, 4285, 5621, 5411, 804, 3257, 3204, 273, 1272, 18, 588, 3257, 2932, 3190, 14538, 30, 4468, 8863, 5411, 804, 3257, 620, 963, 273, 3204, 18, 24805, 2932, 1467, 8863, 5411, 804, 797, 21076, 273, 1272, 18, 588, 559, 5621, 5411, 514, 618, 273, 21076, 18, 588, 5784, 461, 5621, 5411, 514, 7060, 273, 315, 1376, 1199, 397, 1272, 18, 588, 8461, 7675, 588, 5784, 461, 1435, 397, 315, 10031, 31, 5411, 596, 18, 1188, 12, 9355, 1769, 5411, 309, 261, 723, 18, 14963, 2932, 6494, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 2038, 18, 2626, 5507, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 7229, 6, 3719, 288, 7734, 1026, 1225, 1011, 404, 31, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 3001, 6, 3719, 288, 7734, 1026, 1225, 1011, 576, 31, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 6620, 6, 3719, 288, 7734, 1026, 1225, 1011, 576, 31, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 474, 6, 3719, 288, 7734, 1026, 1225, 1011, 1059, 31, 5411, 289, 5411, 469, 309, 261, 723, 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, 509, 2103, 56, 750, 8105, 21, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 509, 1026, 1225, 273, 374, 31, 3639, 364, 261, 3198, 1400, 273, 1790, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 804, 1396, 1272, 273, 261, 46, 1396, 13, 1400, 18, 4285, 5621, 5411, 804, 3257, 3204, 273, 1272, 18, 588, 3257, 2932, 3190, 14538, 30, 4468, 8863, 5411, 804, 3257, 620, 963, 273, 3204, 18, 24805, 2932, 1467, 8863, 5411, 804, 797, 21076, 273, 1272, 18, 588, 559, 5621, 5411, 514, 618, 273, 21076, 18, 588, 5784, 461, 5621, 5411, 514, 7060, 273, 315, 1376, 1199, 397, 1272, 18, 588, 8461, 7675, 588, 2 ]
System.setOut(console); System.setErr(console);
System.setOut(console); System.setErr(console);
public static void open(String consolePath) throws IOException { String pluginHome = System.getProperty("netscape.oji.plugin.home"); Properties props = loadProperties(pluginHome); boolean append = Boolean.valueOf(props.getProperty("netscape.oji.plugin.console.append")).booleanValue(); // redirect I/O to specified file. MRJSession.out = System.out; MRJSession.err = System.err; console = new PrintStream(new FileOutputStream(consolePath, append)); System.setOut(console); System.setErr(console); Date date = new Date(); String version = props.getProperty("netscape.oji.plugin.version"); System.out.println("MRJ Plugin for Mac OS X v" + version); System.out.println("[starting up Java Applet Security @ " + date + "]"); // bring up MRJ Applet Security. if (System.getSecurityManager() == null) { try { // make sure that the classes in MRJPlugin.jar are granted all permissions. // see p. 117 of "Inside Java 2 Platform Security" for more information. System.setProperty("java.security.policy", "file:" + pluginHome + "/MRJPlugin.policy"); String name = props.getProperty("netscape.oji.plugin.security"); SecurityManager securityManager = (SecurityManager) Class.forName(name).newInstance(); System.setSecurityManager(securityManager); } catch (Exception ex) { } } }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/d13cda72a38dba7f0427de2b0f79b81d41d9e273/MRJSession.java/buggy/plugin/oji/MRJCarbon/plugin/Source/MRJSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1696, 12, 780, 2983, 743, 13, 1216, 1860, 288, 3639, 514, 1909, 8684, 273, 2332, 18, 588, 1396, 2932, 2758, 12476, 18, 10089, 18, 4094, 18, 8712, 8863, 3639, 6183, 3458, 273, 1262, 2297, 12, 4094, 8684, 1769, 3639, 1250, 714, 273, 3411, 18, 1132, 951, 12, 9693, 18, 588, 1396, 2932, 2758, 12476, 18, 10089, 18, 4094, 18, 8698, 18, 6923, 7923, 2934, 6494, 620, 5621, 5411, 368, 3136, 467, 19, 51, 358, 1269, 585, 18, 202, 202, 23464, 46, 2157, 18, 659, 273, 2332, 18, 659, 31, 202, 202, 23464, 46, 2157, 18, 370, 273, 2332, 18, 370, 31, 3639, 2983, 273, 394, 21677, 12, 2704, 12942, 12, 8698, 743, 16, 714, 10019, 202, 202, 3163, 18, 542, 1182, 12, 8698, 1769, 202, 202, 3163, 18, 542, 2524, 12, 8698, 1769, 3639, 2167, 1509, 273, 394, 2167, 5621, 3639, 514, 1177, 273, 3458, 18, 588, 1396, 2932, 2758, 12476, 18, 10089, 18, 4094, 18, 1589, 8863, 3639, 2332, 18, 659, 18, 8222, 2932, 23464, 46, 6258, 364, 13217, 5932, 1139, 331, 6, 397, 1177, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 63, 18526, 731, 5110, 1716, 1469, 6036, 632, 315, 397, 1509, 397, 9870, 1769, 3639, 368, 5186, 310, 731, 490, 54, 46, 1716, 1469, 6036, 18, 3639, 309, 261, 3163, 18, 588, 4368, 1318, 1435, 422, 446, 13, 288, 5411, 775, 288, 7734, 368, 1221, 3071, 716, 326, 3318, 316, 490, 54, 46, 3773, 18, 11930, 854, 17578, 777, 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, 1696, 12, 780, 2983, 743, 13, 1216, 1860, 288, 3639, 514, 1909, 8684, 273, 2332, 18, 588, 1396, 2932, 2758, 12476, 18, 10089, 18, 4094, 18, 8712, 8863, 3639, 6183, 3458, 273, 1262, 2297, 12, 4094, 8684, 1769, 3639, 1250, 714, 273, 3411, 18, 1132, 951, 12, 9693, 18, 588, 1396, 2932, 2758, 12476, 18, 10089, 18, 4094, 18, 8698, 18, 6923, 7923, 2934, 6494, 620, 5621, 5411, 368, 3136, 467, 19, 51, 358, 1269, 585, 18, 202, 202, 23464, 46, 2157, 18, 659, 273, 2332, 18, 659, 31, 202, 202, 23464, 46, 2157, 18, 370, 273, 2332, 18, 370, 31, 3639, 2983, 273, 394, 21677, 12, 2704, 12942, 12, 8698, 743, 16, 714, 10019, 2 ]
public FrameBodyTDRC(byte textEncoding, String text)
public FrameBodyTDRC()
public FrameBodyTDRC(byte textEncoding, String text) { super(textEncoding, text); this.setYear("2010"); }
40452 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40452/8e6062659057068b4b85fb7b41c567e179db6f7c/FrameBodyTDRC.java/buggy/src/org/jaudiotagger/tag/id3/framebody/FrameBodyTDRC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8058, 2250, 56, 6331, 39, 1435, 565, 288, 3639, 2240, 12, 955, 4705, 16, 977, 1769, 3639, 333, 18, 542, 5593, 2932, 6734, 20, 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, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8058, 2250, 56, 6331, 39, 1435, 565, 288, 3639, 2240, 12, 955, 4705, 16, 977, 1769, 3639, 333, 18, 542, 5593, 2932, 6734, 20, 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, -100, -100, -100 ]
((Axis) axes.get(i)).setPercent(true);
series.setStacked(true);
private Chart getConvertedChart(Chart currentChart, String sNewSubType, Orientation newOrientation, String sNewDimension) { Chart helperModel = (Chart) EcoreUtil.copy(currentChart); if((currentChart instanceof ChartWithAxes)) // Chart is ChartWithAxes { if(currentChart.getType().equals(sType)) // Original chart is of this type (BarChart) { if(!currentChart.getSubType().equals(sNewSubType)) // Original chart is of the required subtype { currentChart.setSubType(sNewSubType); EList axes = ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes(); for(int i = 0; i < axes.size(); i++) { if(sNewSubType.equalsIgnoreCase("Percent Stacked")) { ((Axis) axes.get(i)).setPercent(true); } else { ((Axis) axes.get(i)).setPercent(false); } EList seriesdefinitions = ((Axis) axes.get(i)).getSeriesDefinitions(); for(int j = 0; j < seriesdefinitions.size(); j++) { Series series = ((SeriesDefinition) seriesdefinitions.get(j)).getDesignTimeSeries(); if((sNewSubType.equalsIgnoreCase("Stacked") || sNewSubType.equalsIgnoreCase("Percent Stacked"))) { series.setStacked(true); } else { series.setStacked(false); } } } } } else if(currentChart.getType().equals("Line Chart") || currentChart.getType().equals("Stock Chart") || currentChart.getType().equals("Scatter Chart")) { if(!currentChart.getType().equals("Line Chart")) { currentChart.setSampleData(getConvertedSampleData(currentChart.getSampleData())); } currentChart.setType(sType); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setType(AxisType.TEXT_LITERAL); if(!currentChart.getSubType().equals(sNewSubType)) // Original chart is not of the required subtype { currentChart.setSubType(sNewSubType); EList axes = ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes(); for(int i = 0; i < axes.size(); i++) { if(sNewSubType.equalsIgnoreCase("Percent Stacked")) { ((Axis) axes.get(i)).setPercent(true); } else { ((Axis) axes.get(i)).setPercent(false); } EList seriesdefinitions = ((Axis) axes.get(i)).getSeriesDefinitions(); for(int j = 0; j < seriesdefinitions.size(); j++) { Series series = ((SeriesDefinition) seriesdefinitions.get(j)).getDesignTimeSeries(); series = getConvertedSeries(series); if((sNewSubType.equalsIgnoreCase("Stacked") || sNewSubType.equalsIgnoreCase("Percent Stacked"))) { series.setStacked(true); } else { series.setStacked(false); } ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().set(j, series); } } } } else { return null; } } else { // Create a new instance of the correct type and set initial properties currentChart = ChartWithAxesImpl.create(); currentChart.setType(sType); currentChart.setSubType(sNewSubType); ((ChartWithAxes) currentChart).setOrientation(newOrientation); currentChart.setDimension(getDimensionFor(sNewDimension)); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setOrientation(Orientation.HORIZONTAL_LITERAL); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setType(AxisType.TEXT_LITERAL); ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)) .setOrientation(Orientation.VERTICAL_LITERAL); ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)).setType(AxisType.LINEAR_LITERAL); // Copy generic chart properties from the old chart currentChart.setBlock(helperModel.getBlock()); currentChart.setDescription(helperModel.getDescription()); currentChart.setGridColumnCount(helperModel.getGridColumnCount()); currentChart.setSampleData(helperModel.getSampleData()); currentChart.setScript(helperModel.getScript()); currentChart.setSeriesThickness(helperModel.getSeriesThickness()); currentChart.setUnits(helperModel.getUnits()); if(helperModel.getType().equals("Pie Chart")) { // Clear existing series definitions ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().clear(); // Copy base series definitions ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().add(((ChartWithoutAxes) helperModel).getSeriesDefinitions().get(0)); // Clear existing series definitions ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().clear(); // Copy orthogonal series definitions ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions().addAll(((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().get(0)).getSeriesDefinitions()); // Update the base series Series series = ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().get(0)).getDesignTimeSeries(); series = getConvertedSeries(series); // Clear existing series ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().get(0)).getSeries().clear(); // Add converted series ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().get(0)).getSeries().add(series); // Update the orthogonal series EList seriesdefinitions = ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)).getSeriesDefinitions(); for(int j = 0; j < seriesdefinitions.size(); j++) { series = ((SeriesDefinition) seriesdefinitions.get(j)).getDesignTimeSeries(); series = getConvertedSeries(series); if((sNewSubType.equalsIgnoreCase("Stacked") || sNewSubType.equalsIgnoreCase("Percent Stacked"))) { series.setStacked(true); } else { series.setStacked(false); } // Clear any existing series ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().clear(); // Add the new series ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().add(series); } } else { return null; } } if(currentChart instanceof ChartWithAxes && !((ChartWithAxes) currentChart).getOrientation().equals(newOrientation)) { ((ChartWithAxes) currentChart).setOrientation(newOrientation); } if(!currentChart.getDimension().equals(getDimensionFor(sNewDimension))) { currentChart.setDimension(getDimensionFor(sNewDimension)); } return currentChart; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/6bb323f181d48ff09735e3426faa8c503d1d7457/BarChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/BarChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 14804, 336, 22063, 7984, 12, 7984, 783, 7984, 16, 514, 272, 1908, 30511, 16, 531, 12556, 394, 14097, 16, 514, 272, 1908, 8611, 13, 565, 288, 3639, 14804, 4222, 1488, 273, 261, 7984, 13, 512, 3644, 1304, 18, 3530, 12, 2972, 7984, 1769, 3639, 309, 12443, 2972, 7984, 1276, 14804, 1190, 26494, 3719, 202, 759, 14804, 353, 14804, 1190, 26494, 3639, 288, 5411, 309, 12, 2972, 7984, 18, 588, 559, 7675, 14963, 12, 87, 559, 3719, 202, 759, 19225, 4980, 353, 434, 333, 618, 261, 5190, 7984, 13, 5411, 288, 7734, 309, 12, 5, 2972, 7984, 18, 588, 30511, 7675, 14963, 12, 87, 1908, 30511, 3719, 202, 759, 19225, 4980, 353, 434, 326, 1931, 12308, 7734, 288, 10792, 783, 7984, 18, 542, 30511, 12, 87, 1908, 30511, 1769, 10792, 17021, 6515, 273, 14015, 6558, 13, 14015, 7984, 1190, 26494, 13, 783, 7984, 2934, 588, 26494, 7675, 588, 12, 20, 13, 2934, 588, 19233, 26494, 5621, 10792, 364, 12, 474, 277, 273, 374, 31, 277, 411, 6515, 18, 1467, 5621, 277, 27245, 10792, 288, 13491, 309, 12, 87, 1908, 30511, 18, 14963, 5556, 2932, 8410, 7283, 329, 6, 3719, 13491, 288, 18701, 4166, 18, 542, 2624, 329, 12, 3767, 1769, 13491, 289, 13491, 469, 13491, 288, 18701, 14015, 6558, 13, 6515, 18, 588, 12, 77, 13, 2934, 542, 8410, 12, 5743, 1769, 13491, 289, 13491, 17021, 4166, 13314, 273, 14015, 6558, 13, 6515, 18, 588, 12, 77, 13, 2934, 588, 6485, 7130, 5621, 13491, 364, 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, 3238, 14804, 336, 22063, 7984, 12, 7984, 783, 7984, 16, 514, 272, 1908, 30511, 16, 531, 12556, 394, 14097, 16, 514, 272, 1908, 8611, 13, 565, 288, 3639, 14804, 4222, 1488, 273, 261, 7984, 13, 512, 3644, 1304, 18, 3530, 12, 2972, 7984, 1769, 3639, 309, 12443, 2972, 7984, 1276, 14804, 1190, 26494, 3719, 202, 759, 14804, 353, 14804, 1190, 26494, 3639, 288, 5411, 309, 12, 2972, 7984, 18, 588, 559, 7675, 14963, 12, 87, 559, 3719, 202, 759, 19225, 4980, 353, 434, 333, 618, 261, 5190, 7984, 13, 5411, 288, 7734, 309, 12, 5, 2972, 7984, 18, 588, 30511, 7675, 14963, 12, 87, 1908, 30511, 3719, 202, 759, 19225, 4980, 353, 434, 326, 1931, 12308, 7734, 288, 2 ]
WorkbenchPlugin.log("Unable to create editor contributor: " + id, e.getStatus());
IStatus status = StatusUtil.newStatus(e.getStatus(), "Unable to create editor contributor."); StatusManager.getManager().handle(status);
public IEditorActionBarContributor createActionBarContributor() { // Handle case for predefined editor descriptors, like the // one for IEditorRegistry.SYSTEM_INPLACE_EDITOR_ID, which // don't have a configuration element. if (configurationElement == null) { return null; } // Get the contributor class name. String className = configurationElement .getAttribute(IWorkbenchRegistryConstants.ATT_CONTRIBUTOR_CLASS); if (className == null) { return null; } // Create the contributor object. IEditorActionBarContributor contributor = null; try { contributor = (IEditorActionBarContributor) WorkbenchPlugin .createExtension(configurationElement, IWorkbenchRegistryConstants.ATT_CONTRIBUTOR_CLASS); } catch (CoreException e) { WorkbenchPlugin.log("Unable to create editor contributor: " + //$NON-NLS-1$ id, e.getStatus()); } return contributor; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/35492165b8206aabe441da70f8f0c8802b959190/EditorDescriptor.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/EditorDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 6946, 1803, 5190, 442, 19293, 752, 1803, 5190, 442, 19293, 1435, 288, 3639, 368, 5004, 648, 364, 19555, 4858, 14215, 16, 3007, 326, 3639, 368, 1245, 364, 467, 6946, 4243, 18, 14318, 67, 706, 12134, 67, 13208, 67, 734, 16, 1492, 3639, 368, 2727, 1404, 1240, 279, 1664, 930, 18, 3639, 309, 261, 7025, 1046, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 368, 968, 326, 31123, 667, 508, 18, 3639, 514, 2658, 273, 1664, 1046, 7734, 263, 588, 1499, 12, 45, 2421, 22144, 4243, 2918, 18, 789, 56, 67, 6067, 2259, 38, 1693, 916, 67, 5237, 1769, 3639, 309, 261, 12434, 422, 446, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 3639, 368, 1788, 326, 31123, 733, 18, 3639, 467, 6946, 1803, 5190, 442, 19293, 31123, 273, 446, 31, 3639, 775, 288, 5411, 31123, 273, 261, 45, 6946, 1803, 5190, 442, 19293, 13, 4147, 22144, 3773, 10792, 263, 2640, 3625, 12, 7025, 1046, 16, 18701, 467, 2421, 22144, 4243, 2918, 18, 789, 56, 67, 6067, 2259, 38, 1693, 916, 67, 5237, 1769, 3639, 289, 1044, 261, 25341, 425, 13, 288, 5411, 4147, 22144, 3773, 18, 1330, 2932, 3370, 358, 752, 4858, 31123, 30, 315, 397, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 612, 16, 425, 18, 588, 1482, 10663, 3639, 289, 3639, 327, 31123, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 6946, 1803, 5190, 442, 19293, 752, 1803, 5190, 442, 19293, 1435, 288, 3639, 368, 5004, 648, 364, 19555, 4858, 14215, 16, 3007, 326, 3639, 368, 1245, 364, 467, 6946, 4243, 18, 14318, 67, 706, 12134, 67, 13208, 67, 734, 16, 1492, 3639, 368, 2727, 1404, 1240, 279, 1664, 930, 18, 3639, 309, 261, 7025, 1046, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 368, 968, 326, 31123, 667, 508, 18, 3639, 514, 2658, 273, 1664, 1046, 7734, 263, 588, 1499, 12, 45, 2421, 22144, 4243, 2918, 18, 789, 56, 67, 6067, 2259, 38, 1693, 916, 67, 5237, 1769, 3639, 309, 261, 12434, 422, 446, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 2 ]
ParserRule rule = context.parent.rules.getEscapeRule();
rule = context.parent.rules.getEscapeRule();
private boolean checkDelegateEnd() { LineContext tempContext = context; context = context.parent; keywords = context.rules.getKeywords(); boolean tempEscaped = escaped; boolean b = handleRule(context.inRule,true); context = tempContext; keywords = context.rules.getKeywords(); if(b && !tempEscaped) { markKeyword(true); tokenHandler.handleToken( (context.parent.inRule.action & ParserRule.EXCLUDE_MATCH) == ParserRule.EXCLUDE_MATCH ? context.parent.rules.getDefault() : context.parent.inRule.token, pos - line.offset,pattern.count,context); context = (LineContext)context.parent.clone(); keywords = context.rules.getKeywords(); context.inRule = null; lastOffset = pos + pattern.count; // move pos to last character of match sequence pos += (pattern.count - 1); return true; } // check escape rule of parent ParserRule rule = context.parent.rules.getEscapeRule(); if(rule != null && handleRule(rule,false)) return true; return false; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/d008ade0ae33b8d328650ef60052d224965f19b3/TokenMarker.java/clean/org/gjt/sp/jedit/syntax/TokenMarker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 866, 9586, 1638, 1435, 202, 95, 202, 202, 1670, 1042, 1906, 1042, 273, 819, 31, 202, 202, 2472, 273, 819, 18, 2938, 31, 202, 202, 11771, 273, 819, 18, 7482, 18, 588, 14149, 5621, 202, 202, 6494, 1906, 17208, 273, 8345, 31, 202, 202, 6494, 324, 273, 1640, 2175, 12, 2472, 18, 267, 2175, 16, 3767, 1769, 202, 202, 2472, 273, 1906, 1042, 31, 202, 202, 11771, 273, 819, 18, 7482, 18, 588, 14149, 5621, 202, 202, 430, 12, 70, 597, 401, 5814, 17208, 13, 202, 202, 95, 1082, 202, 3355, 8736, 12, 3767, 1769, 1082, 202, 2316, 1503, 18, 4110, 1345, 12, 9506, 202, 12, 2472, 18, 2938, 18, 267, 2175, 18, 1128, 473, 6783, 2175, 18, 2294, 14829, 67, 11793, 13, 9506, 202, 631, 6783, 2175, 18, 2294, 14829, 67, 11793, 9506, 202, 35, 819, 18, 2938, 18, 7482, 18, 588, 1868, 1435, 9506, 202, 30, 819, 18, 2938, 18, 267, 2175, 18, 2316, 16, 9506, 202, 917, 300, 980, 18, 3348, 16, 4951, 18, 1883, 16, 2472, 1769, 1082, 202, 2472, 273, 261, 1670, 1042, 13, 2472, 18, 2938, 18, 14056, 5621, 1082, 202, 11771, 273, 819, 18, 7482, 18, 588, 14149, 5621, 1082, 202, 2472, 18, 267, 2175, 273, 446, 31, 1082, 202, 2722, 2335, 273, 949, 397, 1936, 18, 1883, 31, 1082, 202, 759, 3635, 949, 358, 1142, 3351, 434, 845, 3102, 1082, 202, 917, 1011, 261, 4951, 18, 1883, 300, 404, 1769, 1082, 202, 2463, 638, 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, 1152, 1250, 866, 9586, 1638, 1435, 202, 95, 202, 202, 1670, 1042, 1906, 1042, 273, 819, 31, 202, 202, 2472, 273, 819, 18, 2938, 31, 202, 202, 11771, 273, 819, 18, 7482, 18, 588, 14149, 5621, 202, 202, 6494, 1906, 17208, 273, 8345, 31, 202, 202, 6494, 324, 273, 1640, 2175, 12, 2472, 18, 267, 2175, 16, 3767, 1769, 202, 202, 2472, 273, 1906, 1042, 31, 202, 202, 11771, 273, 819, 18, 7482, 18, 588, 14149, 5621, 202, 202, 430, 12, 70, 597, 401, 5814, 17208, 13, 202, 202, 95, 1082, 202, 3355, 8736, 12, 3767, 1769, 1082, 202, 2316, 1503, 18, 4110, 1345, 12, 9506, 202, 12, 2472, 18, 2938, 18, 267, 2175, 18, 1128, 473, 2 ]
throws IOException { final long offset; final PackedObjectReader objReader;
throws IOException { final long offset; final PackedObjectReader objReader;
public synchronized PackedObjectReader get(final ObjectId id) throws IOException { final long offset; final PackedObjectReader objReader; offset = findOffset(id); if (offset == -1) { return null; } packStream.position(offset); objReader = reader(); objReader.setId(id); return objReader; }
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/a4e486719ce78b8050373e6534dfaf4a1572b269/PackReader.java/clean/org.spearce.jgit/src/org/spearce/jgit/lib/PackReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 7930, 23016, 2514, 336, 12, 6385, 21192, 612, 13, 3639, 1216, 1860, 565, 288, 3639, 727, 1525, 1384, 31, 3639, 727, 7930, 23016, 2514, 1081, 2514, 31, 3639, 1384, 273, 1104, 2335, 12, 350, 1769, 3639, 309, 261, 3348, 422, 300, 21, 13, 3639, 288, 5411, 327, 446, 31, 3639, 289, 3639, 2298, 1228, 18, 3276, 12, 3348, 1769, 3639, 1081, 2514, 273, 2949, 5621, 3639, 1081, 2514, 18, 542, 548, 12, 350, 1769, 3639, 327, 1081, 2514, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 7930, 23016, 2514, 336, 12, 6385, 21192, 612, 13, 3639, 1216, 1860, 565, 288, 3639, 727, 1525, 1384, 31, 3639, 727, 7930, 23016, 2514, 1081, 2514, 31, 3639, 1384, 273, 1104, 2335, 12, 350, 1769, 3639, 309, 261, 3348, 422, 300, 21, 13, 3639, 288, 5411, 327, 446, 31, 3639, 289, 3639, 2298, 1228, 18, 3276, 12, 3348, 1769, 3639, 1081, 2514, 273, 2949, 5621, 3639, 1081, 2514, 18, 542, 548, 12, 350, 1769, 3639, 327, 1081, 2514, 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 ]
bugReporter.reportBug(new BugInstance(bugType, priority)
bugReporter.reportBug(new BugInstance(this, bugType, priority)
public void inspectResult(JavaClass javaClass, MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Lock>> dataflow, Lock resource) { ResourceValueFrame exitFrame = dataflow.getResultFact(cfg.getExit()); int exitStatus = exitFrame.getStatus(); if (exitStatus == ResourceValueFrame.OPEN || exitStatus == ResourceValueFrame.OPEN_ON_EXCEPTION_PATH) { String bugType; int priority; if (exitStatus == ResourceValueFrame.OPEN) { bugType = "UL_UNRELEASED_LOCK"; priority = HIGH_PRIORITY; } else { bugType = "UL_UNRELEASED_LOCK_EXCEPTION_PATH"; priority = NORMAL_PRIORITY; } String sourceFile = javaClass.getSourceFileName(); bugReporter.reportBug(new BugInstance(bugType, priority) .addClassAndMethod(methodGen, sourceFile) .addSourceLine(methodGen, sourceFile, resource.getLocation().getHandle())); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/471821a5392b2c785504cd8da1e82a1014496f4c/FindUnreleasedLock.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindUnreleasedLock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5334, 1253, 12, 5852, 797, 2252, 797, 16, 2985, 7642, 707, 7642, 16, 7577, 2776, 16, 202, 12900, 1910, 2426, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 2531, 9778, 501, 2426, 16, 3488, 1058, 13, 288, 202, 202, 1420, 620, 3219, 2427, 3219, 273, 501, 2426, 18, 588, 1253, 9766, 12, 7066, 18, 588, 6767, 10663, 202, 202, 474, 2427, 1482, 273, 2427, 3219, 18, 588, 1482, 5621, 202, 202, 430, 261, 8593, 1482, 422, 2591, 620, 3219, 18, 11437, 747, 2427, 1482, 422, 2591, 620, 3219, 18, 11437, 67, 673, 67, 12658, 67, 4211, 13, 288, 1082, 202, 780, 7934, 559, 31, 1082, 202, 474, 4394, 31, 1082, 202, 430, 261, 8593, 1482, 422, 2591, 620, 3219, 18, 11437, 13, 288, 9506, 202, 925, 559, 273, 315, 1506, 67, 2124, 30762, 40, 67, 6589, 14432, 9506, 202, 8457, 273, 23472, 67, 19804, 31, 1082, 202, 97, 469, 288, 9506, 202, 925, 559, 273, 315, 1506, 67, 2124, 30762, 40, 67, 6589, 67, 12658, 67, 4211, 14432, 9506, 202, 8457, 273, 16362, 67, 19804, 31, 1082, 202, 97, 1082, 202, 780, 16338, 273, 2252, 797, 18, 588, 1830, 4771, 5621, 1082, 202, 925, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 925, 559, 16, 4394, 13, 9506, 3639, 263, 1289, 797, 1876, 1305, 12, 2039, 7642, 16, 16338, 13, 9506, 3639, 263, 1289, 1830, 1670, 12, 2039, 7642, 16, 16338, 16, 1058, 18, 588, 2735, 7675, 588, 3259, 1435, 10019, 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, 5334, 1253, 12, 5852, 797, 2252, 797, 16, 2985, 7642, 707, 7642, 16, 7577, 2776, 16, 202, 12900, 1910, 2426, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 2531, 9778, 501, 2426, 16, 3488, 1058, 13, 288, 202, 202, 1420, 620, 3219, 2427, 3219, 273, 501, 2426, 18, 588, 1253, 9766, 12, 7066, 18, 588, 6767, 10663, 202, 202, 474, 2427, 1482, 273, 2427, 3219, 18, 588, 1482, 5621, 202, 202, 430, 261, 8593, 1482, 422, 2591, 620, 3219, 18, 11437, 747, 2427, 1482, 422, 2591, 620, 3219, 18, 11437, 67, 673, 67, 12658, 67, 4211, 13, 288, 1082, 202, 780, 7934, 559, 31, 1082, 202, 474, 4394, 31, 1082, 202, 430, 261, 8593, 2 ]
case Wavelet.BIGPACKDATA:
case CompassMote.BIGPACKDATA:
public void messageReceived(int to, Message m) { UnicastPack pack = (UnicastPack) m; int id = pack.get_data_src(); if (id != owner.getID()) return; switch (pack.get_data_type()) { case Wavelet.BIGPACKHEADER: // If true, this is the initial request, else an ACK. if (!busy && pack.get_data_data_bpHeader_packTotal() == 0) { System.out.println("Got BP header request from mote " + id); type = pack.get_data_data_bpHeader_requestType(); // Build a new BigPack of the requested type BigPack newPack = owner.buildPack(type); if (newPack == null) { System.out.println("BP could not be built for mote " + id + "!"); return; } newMessage(newPack); curPackNum = HEADER_PACK_NUM; sendHeader(); // Send BP header } else if (busy && pack.get_data_data_bpHeader_packTotal() != 0 && curPackNum == HEADER_PACK_NUM && pack.get_data_data_bpHeader_requestType() == type) { System.out.println("Got BP header ack from mote " + id); curPackNum++; sendData(); // Send BP data } break; case Wavelet.BIGPACKDATA: if (busy && pack.get_data_data_bpData_curPack() == curPackNum) { if (morePacksExist()) { System.out.println("Got BP data ack from mote " + id); curPackNum++; sendData(); // Send BP data } else { System.out.println("BP sent to mote " + id + " complete"); busy = false; owner.packerDone(type); // Done! } } break; } }
52796 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52796/e4b1dd13d7bb52d8759a2c5fe719f1d893aa4897/Packer.java/clean/java/edu/rice/compass/bigpack/Packer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 883, 8872, 12, 474, 358, 16, 2350, 312, 13, 288, 202, 202, 984, 12544, 4420, 2298, 273, 261, 984, 12544, 4420, 13, 312, 31, 202, 202, 474, 612, 273, 2298, 18, 588, 67, 892, 67, 4816, 5621, 202, 202, 430, 261, 350, 480, 3410, 18, 588, 734, 10756, 1082, 202, 2463, 31, 202, 202, 9610, 261, 2920, 18, 588, 67, 892, 67, 723, 10756, 288, 202, 202, 3593, 678, 842, 808, 18, 19044, 12231, 7557, 30, 1082, 202, 759, 971, 638, 16, 333, 353, 326, 2172, 590, 16, 469, 392, 26069, 18, 1082, 202, 430, 16051, 9274, 93, 597, 2298, 18, 588, 67, 892, 67, 892, 67, 17152, 1864, 67, 2920, 5269, 1435, 422, 374, 13, 288, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 15617, 605, 52, 1446, 590, 628, 312, 1168, 315, 397, 612, 1769, 9506, 202, 723, 273, 2298, 18, 588, 67, 892, 67, 892, 67, 17152, 1864, 67, 2293, 559, 5621, 9506, 202, 759, 3998, 279, 394, 4454, 4420, 434, 326, 3764, 618, 9506, 202, 9901, 4420, 394, 4420, 273, 3410, 18, 3510, 4420, 12, 723, 1769, 9506, 202, 430, 261, 2704, 4420, 422, 446, 13, 288, 6862, 202, 3163, 18, 659, 18, 8222, 2932, 30573, 3377, 486, 506, 6650, 364, 312, 1168, 315, 397, 612, 397, 23717, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 2704, 1079, 12, 2704, 4420, 1769, 9506, 202, 1397, 4420, 2578, 273, 11659, 67, 12231, 67, 6069, 31, 9506, 202, 4661, 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, 883, 8872, 12, 474, 358, 16, 2350, 312, 13, 288, 202, 202, 984, 12544, 4420, 2298, 273, 261, 984, 12544, 4420, 13, 312, 31, 202, 202, 474, 612, 273, 2298, 18, 588, 67, 892, 67, 4816, 5621, 202, 202, 430, 261, 350, 480, 3410, 18, 588, 734, 10756, 1082, 202, 2463, 31, 202, 202, 9610, 261, 2920, 18, 588, 67, 892, 67, 723, 10756, 288, 202, 202, 3593, 678, 842, 808, 18, 19044, 12231, 7557, 30, 1082, 202, 759, 971, 638, 16, 333, 353, 326, 2172, 590, 16, 469, 392, 26069, 18, 1082, 202, 430, 16051, 9274, 93, 597, 2298, 18, 588, 67, 892, 67, 892, 67, 17152, 1864, 67, 2920, 5269, 1435, 422, 374, 2 ]
private void analyzeMethod(ClassContext classContext, Method method) { try { PostDominatorsAnalysis postDominators = classContext.getNonImplicitExceptionDominatorsAnalysis(method); ValueNumberDataflow vnaDataflow = classContext.getValueNumberDataflow(method); CFG cfg = classContext.getCFG(method); Map<ValueNumber,Integer> valueNumberToParamMap = vnaDataflow.getValueNumberToParamMap(method); if (VERBOSE_DEBUG) { System.out.print("Value number to param map: "); for (Iterator<ValueNumber> i = valueNumberToParamMap.keySet().iterator(); i.hasNext();) { ValueNumber valueNumber = i.next(); System.out.print(valueNumber.getNumber() + "->" + valueNumberToParamMap.get(valueNumber)); } System.out.println(); } BitSet entryPostDominators = postDominators.getResultFact(cfg.getEntry()); if (VERBOSE_DEBUG) { System.out.println("Non-implicit exception entry postdominators: " + entryPostDominators); } UnconditionalDerefProperty property = new UnconditionalDerefProperty(); for (Iterator<BasicBlock> i = cfg.blockIterator(); i.hasNext();) { BasicBlock basicBlock = i.next(); // We're only interested in null checks which postdominate // the cfg entry if (!basicBlock.isNullCheck() /*|| !entryPostDominators.get(basicBlock.getId())*/) { continue; } if (VERBOSE_DEBUG) { System.out.println("Check block " + basicBlock.getId()); } // See if the checked value is a param InstructionHandle handle = basicBlock.getExceptionThrower(); ValueNumberFrame vnaFrame = vnaDataflow.getStartFact(basicBlock); if (!vnaFrame.isValid()) continue; ValueNumber instance = vnaFrame.getInstance( handle.getInstruction(), classContext.getConstantPoolGen()); if (VERBOSE_DEBUG) { System.out.println("\tvn == " + instance.getNumber()); } Integer param = valueNumberToParamMap.get(instance); if (param == null) { continue; } property.setUnconditionalDeref(param.intValue(), true); } if (!property.isEmpty()) { database.setProperty( XMethodFactory.createXMethod(classContext.getJavaClass(), method), property); } } catch (CFGBuilderException e) { reportError(e); } catch (DataflowAnalysisException e) { reportError(e); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/13144ac671697df2b3df3012d7d9f8ecd00397cc/TrainUnconditionalDerefParams.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/TrainUnconditionalDerefParams.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 6459, 304, 9508, 1305, 12, 797, 1042, 1106, 1042, 16, 1305, 2039, 15329, 202, 202, 698, 95, 1082, 202, 3349, 8832, 30425, 9418, 2767, 8832, 30425, 33, 1106, 1042, 18, 588, 3989, 15787, 503, 8832, 30425, 9418, 12, 2039, 1769, 1082, 202, 620, 1854, 751, 2426, 90, 6582, 751, 2426, 33, 1106, 1042, 18, 24805, 1854, 751, 2426, 12, 2039, 1769, 1082, 202, 19727, 7066, 33, 1106, 1042, 18, 588, 19727, 12, 2039, 1769, 1082, 202, 863, 32, 620, 1854, 16, 4522, 34, 1132, 1854, 774, 786, 863, 33, 9506, 202, 90, 6582, 751, 2426, 18, 24805, 1854, 774, 786, 863, 12, 2039, 1769, 1082, 202, 430, 12, 21900, 67, 9394, 15329, 9506, 202, 3163, 18, 659, 18, 1188, 2932, 58, 700, 21998, 3669, 439, 1458, 2773, 1769, 9506, 202, 1884, 12, 3198, 32, 620, 1854, 34, 77, 33, 1132, 1854, 774, 786, 863, 18, 856, 694, 7675, 9838, 5621, 77, 18, 5332, 2134, 5621, 15329, 6862, 202, 620, 1854, 1132, 1854, 33, 77, 18, 4285, 5621, 6862, 202, 3163, 18, 659, 18, 1188, 12, 1132, 1854, 18, 588, 1854, 1435, 9078, 2122, 6, 15, 1132, 1854, 774, 786, 863, 18, 588, 12, 1132, 1854, 10019, 9506, 202, 97, 9506, 202, 3163, 18, 659, 18, 8222, 5621, 1082, 202, 97, 25083, 202, 5775, 694, 4099, 3349, 8832, 30425, 33, 2767, 8832, 30425, 18, 588, 1253, 9766, 12, 7066, 18, 588, 1622, 10663, 1082, 202, 430, 12, 21900, 67, 9394, 15329, 9506, 202, 3163, 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, 225, 202, 1152, 6459, 304, 9508, 1305, 12, 797, 1042, 1106, 1042, 16, 1305, 2039, 15329, 202, 202, 698, 95, 1082, 202, 3349, 8832, 30425, 9418, 2767, 8832, 30425, 33, 1106, 1042, 18, 588, 3989, 15787, 503, 8832, 30425, 9418, 12, 2039, 1769, 1082, 202, 620, 1854, 751, 2426, 90, 6582, 751, 2426, 33, 1106, 1042, 18, 24805, 1854, 751, 2426, 12, 2039, 1769, 1082, 202, 19727, 7066, 33, 1106, 1042, 18, 588, 19727, 12, 2039, 1769, 1082, 202, 863, 32, 620, 1854, 16, 4522, 34, 1132, 1854, 774, 786, 863, 33, 9506, 202, 90, 6582, 751, 2426, 18, 24805, 1854, 774, 786, 863, 12, 2039, 1769, 1082, 202, 430, 12, 21900, 67, 9394, 15329, 9506, 202, 3163, 18, 2 ]
public ServerGame(GameData data, Set localPlayers, IServerMessenger messenger, Map remotePlayerMapping, IChannelMessenger channelMessenger, IRemoteMessenger remoteMessenger, IMessageManager messageManager)
public ServerGame(GameData data, Set localPlayers, IServerMessenger messenger, Map remotePlayerMapping, IChannelMessenger channelMessenger, IRemoteMessenger remoteMessenger)
public ServerGame(GameData data, Set localPlayers, IServerMessenger messenger, Map remotePlayerMapping, IChannelMessenger channelMessenger, IRemoteMessenger remoteMessenger, IMessageManager messageManager) { m_data = data; m_messenger = messenger; m_messageManager = messageManager; m_remoteMessenger = remoteMessenger; m_channelMessenger = channelMessenger; m_vault = new Vault(m_channelMessenger); m_remotePlayers = new HashMap(remotePlayerMapping); m_channelMessenger.createChannel(IGameModifiedChannel.class, IGame.GAME_MODIFICATION_CHANNEL); m_channelMessenger.registerChannelSubscriber(m_gameModifiedChannel, IGame.GAME_MODIFICATION_CHANNEL); m_channelMessenger.createChannel(data.getGameLoader().getDisplayType(), DISPLAY_CHANNEL); setupLocalPlayers(localPlayers); //add a null destination for the null player. IDestination nullDest = new IDestination() { public Message sendMessage(Message message) { return null; } public String getName() { return PlayerID.NULL_PLAYERID.getName(); } }; m_messageManager.addDestination(nullDest); setupDelegateMessaging(data); m_changePerformer = new ChangePerformer(m_data); m_randomStats = new RandomStats(m_remoteMessenger); }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/94dcbc456ee416c732facb9e512450d43ee98531/ServerGame.java/clean/src/games/strategy/engine/framework/ServerGame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3224, 12496, 12, 12496, 751, 501, 16, 1000, 1191, 1749, 3907, 16, 467, 2081, 29329, 31086, 16, 1635, 2632, 12148, 3233, 16, 467, 2909, 29329, 1904, 29329, 16, 467, 5169, 29329, 2632, 29329, 13, 565, 288, 3639, 312, 67, 892, 273, 501, 31, 3639, 312, 67, 81, 18912, 273, 31086, 31, 7734, 312, 67, 2150, 1318, 273, 883, 1318, 31, 3639, 312, 67, 7222, 29329, 273, 2632, 29329, 31, 3639, 312, 67, 4327, 29329, 273, 1904, 29329, 31, 3639, 312, 67, 26983, 273, 394, 17329, 12, 81, 67, 4327, 29329, 1769, 7734, 312, 67, 7222, 1749, 3907, 273, 394, 4317, 12, 7222, 12148, 3233, 1769, 3639, 312, 67, 4327, 29329, 18, 2640, 2909, 12, 3047, 339, 4575, 2909, 18, 1106, 16, 467, 12496, 18, 43, 1642, 67, 6720, 14865, 67, 15814, 1769, 3639, 312, 67, 4327, 29329, 18, 4861, 2909, 11118, 12, 81, 67, 13957, 4575, 2909, 16, 467, 12496, 18, 43, 1642, 67, 6720, 14865, 67, 15814, 1769, 7734, 312, 67, 4327, 29329, 18, 2640, 2909, 12, 892, 18, 588, 12496, 2886, 7675, 588, 4236, 559, 9334, 25214, 67, 15814, 1769, 13491, 3875, 2042, 1749, 3907, 12, 3729, 1749, 3907, 1769, 3639, 368, 1289, 279, 446, 2929, 364, 326, 446, 7291, 18, 3639, 1599, 3856, 446, 9378, 273, 394, 1599, 3856, 1435, 3639, 288, 5411, 1071, 2350, 15399, 12, 1079, 883, 13, 5411, 288, 7734, 327, 446, 31, 5411, 289, 5411, 1071, 514, 1723, 1435, 5411, 288, 7734, 327, 19185, 734, 18, 8560, 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, 1071, 3224, 12496, 12, 12496, 751, 501, 16, 1000, 1191, 1749, 3907, 16, 467, 2081, 29329, 31086, 16, 1635, 2632, 12148, 3233, 16, 467, 2909, 29329, 1904, 29329, 16, 467, 5169, 29329, 2632, 29329, 13, 565, 288, 3639, 312, 67, 892, 273, 501, 31, 3639, 312, 67, 81, 18912, 273, 31086, 31, 7734, 312, 67, 2150, 1318, 273, 883, 1318, 31, 3639, 312, 67, 7222, 29329, 273, 2632, 29329, 31, 3639, 312, 67, 4327, 29329, 273, 1904, 29329, 31, 3639, 312, 67, 26983, 273, 394, 17329, 12, 81, 67, 4327, 29329, 1769, 7734, 312, 67, 7222, 1749, 3907, 273, 394, 4317, 12, 7222, 12148, 3233, 1769, 3639, 312, 67, 4327, 29329, 18, 2640, 2909, 12, 3047, 339, 4575, 2 ]
if (item.indexOf('/') >= 0) type = CLDRFile.TZID;
if (item.indexOf('/') >= 0) type = CLDRFile.TZ_EXEMPLAR;
private static int getType(String item) { int type = CLDRFile.LANGUAGE_NAME; if (item.indexOf('/') >= 0) type = CLDRFile.TZID; // America/Los_Angeles else if (item.length() == 4) type = CLDRFile.SCRIPT_NAME; // Hant else if (item.charAt(0) <= '9') type = CLDRFile.TERRITORY_NAME; // 001 else if (item.charAt(0) < 'a') { if (item.length() == 3) type = CLDRFile.CURRENCY_NAME; else type = CLDRFile.TERRITORY_NAME; // US or USD } return type; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/93c2c2a206a00b577feb6880bbe25f4be405e413/GenerateG2xG2.java/buggy/tools/java/org/unicode/cldr/tool/GenerateG2xG2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 3130, 12, 780, 761, 13, 288, 202, 202, 474, 618, 273, 14934, 6331, 812, 18, 15547, 67, 1985, 31, 202, 202, 430, 261, 1726, 18, 31806, 2668, 2473, 13, 1545, 374, 13, 618, 273, 14934, 6331, 812, 18, 21647, 67, 2294, 3375, 6253, 985, 31, 368, 3986, 23157, 19, 48, 538, 67, 22757, 19880, 202, 202, 12107, 309, 261, 1726, 18, 2469, 1435, 422, 1059, 13, 618, 273, 14934, 6331, 812, 18, 10885, 67, 1985, 31, 368, 670, 970, 202, 202, 12107, 309, 261, 1726, 18, 3001, 861, 12, 20, 13, 1648, 296, 29, 6134, 618, 273, 14934, 6331, 812, 18, 2560, 54, 1285, 3964, 67, 1985, 31, 368, 374, 1611, 202, 202, 12107, 309, 261, 1726, 18, 3001, 861, 12, 20, 13, 411, 296, 69, 6134, 288, 1082, 202, 430, 261, 1726, 18, 2469, 1435, 422, 890, 13, 618, 273, 14934, 6331, 812, 18, 7509, 25231, 67, 1985, 31, 1082, 202, 12107, 618, 273, 14934, 6331, 812, 18, 2560, 54, 1285, 3964, 67, 1985, 31, 368, 11836, 578, 587, 9903, 202, 202, 97, 202, 202, 2463, 618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 3130, 12, 780, 761, 13, 288, 202, 202, 474, 618, 273, 14934, 6331, 812, 18, 15547, 67, 1985, 31, 202, 202, 430, 261, 1726, 18, 31806, 2668, 2473, 13, 1545, 374, 13, 618, 273, 14934, 6331, 812, 18, 21647, 67, 2294, 3375, 6253, 985, 31, 368, 3986, 23157, 19, 48, 538, 67, 22757, 19880, 202, 202, 12107, 309, 261, 1726, 18, 2469, 1435, 422, 1059, 13, 618, 273, 14934, 6331, 812, 18, 10885, 67, 1985, 31, 368, 670, 970, 202, 202, 12107, 309, 261, 1726, 18, 3001, 861, 12, 20, 13, 1648, 296, 29, 6134, 618, 273, 14934, 6331, 812, 18, 2560, 54, 1285, 3964, 67, 1985, 31, 368, 374, 1611, 202, 202, 12107, 2 ]
public IASTSimpleTypeSpecifier createSimpleTypeSpecifier(IASTScope scope, Type kind, ITokenDuple typeName, boolean isShort, boolean isLong, boolean isSigned, boolean isUnsigned, boolean isTypename )
public IASTSimpleTypeSpecifier createSimpleTypeSpecifier(IASTScope scope, Type kind, ITokenDuple typeName, boolean isShort, boolean isLong, boolean isSigned, boolean isUnsigned, boolean isTypename, boolean isComplex, boolean isImaginary )
public IASTSimpleTypeSpecifier createSimpleTypeSpecifier(IASTScope scope, Type kind, ITokenDuple typeName, boolean isShort, boolean isLong, boolean isSigned, boolean isUnsigned, boolean isTypename ) { return new ASTSimpleTypeSpecifier( kind, typeName, isShort, isLong, isSigned, isUnsigned, isTypename ); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/5be9f16c62f0d96b0b15c3ec0642ea39b98ee65b/QuickParseASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/quick/QuickParseASTFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 9053, 5784, 559, 21416, 752, 5784, 559, 21416, 12, 45, 9053, 3876, 2146, 16, 1412, 3846, 16, 467, 1345, 40, 2268, 8173, 16, 1250, 353, 4897, 16, 1250, 353, 3708, 16, 1250, 353, 12294, 16, 1250, 353, 13290, 16, 1250, 353, 18488, 1069, 16, 1250, 353, 12795, 16, 1250, 353, 26698, 2101, 262, 565, 288, 3639, 327, 394, 9183, 5784, 559, 21416, 12, 3846, 16, 8173, 16, 353, 4897, 16, 353, 3708, 16, 353, 12294, 16, 353, 13290, 16, 353, 18488, 1069, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 9053, 5784, 559, 21416, 752, 5784, 559, 21416, 12, 45, 9053, 3876, 2146, 16, 1412, 3846, 16, 467, 1345, 40, 2268, 8173, 16, 1250, 353, 4897, 16, 1250, 353, 3708, 16, 1250, 353, 12294, 16, 1250, 353, 13290, 16, 1250, 353, 18488, 1069, 16, 1250, 353, 12795, 16, 1250, 353, 26698, 2101, 262, 565, 288, 3639, 327, 394, 9183, 5784, 559, 21416, 12, 3846, 16, 8173, 16, 353, 4897, 16, 353, 3708, 16, 353, 12294, 16, 353, 13290, 16, 353, 18488, 1069, 11272, 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 ]
try{ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element instructions = root; if(input.equals("")){ debug.warn("No data provided to xmlify"); } else{ /*xxx not needed any more? Document instructions = builder.parse(new File(fileName)); */ document = builder.newDocument(); NodeList patternList = instructions.getElementsByTagName("pattern"); NodeList locationList = instructions.getElementsByTagName("location"); NodeList attrList = instructions.getElementsByTagName("attrname"); if((attrList.getLength()!= patternList.getLength()) && (attrList.getLength()!= locationList.getLength())){ debug.fatal("Error: Invalid xml file. Tags missing."); System.exit(1); } else{ int ruleNo = locationList.getLength(); for(int i = 0; i < ruleNo; i++){ String pattern = (patternList.item(i)).getFirstChild().getNodeValue(); String location = locationList.item(i).getFirstChild().getNodeValue(); String attribute = attrList.item(i).getFirstChild().getNodeValue(); document = buildDom(input, pattern, location, attribute, document); } } } return document; } catch(ParserConfigurationException pc){ pc.printStackTrace(); } return null;
try{ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element instructions = root; if(instructions == null) { debug.warn("No rules for xmlification"); return null; } if(input.equals("")){ debug.warn("No data provided to xmlify"); return null; } /*xxx not needed any more? Document instructions = builder.parse(new File(fileName)); */ document = builder.newDocument(); NodeList patternList = instructions.getElementsByTagName("pattern"); NodeList locationList = instructions.getElementsByTagName("location"); NodeList attrList = instructions.getElementsByTagName("attrname"); if((attrList.getLength()!= patternList.getLength()) && (attrList.getLength()!= locationList.getLength())){ debug.fatal("Error: Invalid xml file. Tags missing."); return null; } else{ int ruleNo = locationList.getLength(); for(int i = 0; i < ruleNo; i++){ String pattern = (patternList.item(i)).getFirstChild().getNodeValue(); String location = locationList.item(i).getFirstChild().getNodeValue(); String attribute = attrList.item(i).getFirstChild().getNodeValue(); document = buildDom(input, pattern, location, attribute, document); } } return document;
public Document extractDomInfo(String input){ try{ //build a new document factory DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element instructions = root; if(input.equals("")){ //invalid input, throw a tantrum debug.warn("No data provided to xmlify"); } else{ //proceed to extract information from the xml file /*xxx not needed any more? //step 1: parse the xml file. Document instructions = builder.parse(new File(fileName)); */ document = builder.newDocument(); //step 2a: get a list of regular expressions to use on string //the xml file must contain regex within the tag "pattern" NodeList patternList = instructions.getElementsByTagName("pattern"); //step 2b: get a list of locations where to store the extracted data //the xml file must contain location within the tag "location" NodeList locationList = instructions.getElementsByTagName("location"); //step 2c: get a list of attribute names where to store //the extracted data //the xml file must contain location within the tag "attrname" NodeList attrList = instructions.getElementsByTagName("attrname"); //in case the number of tags in the xml file dont match up, shutdown. if((attrList.getLength()!= patternList.getLength()) && (attrList.getLength()!= locationList.getLength())){ debug.fatal("Error: Invalid xml file. Tags missing."); System.exit(1); } else{ //get the total number of rules to process int ruleNo = locationList.getLength(); //now extract the pattern, location and attribute //and build the dom for each set for(int i = 0; i < ruleNo; i++){ String pattern = (patternList.item(i)).getFirstChild().getNodeValue(); String location = locationList.item(i).getFirstChild().getNodeValue(); String attribute = attrList.item(i).getFirstChild().getNodeValue(); document = buildDom(input, pattern, location, attribute, document); } } } return document; } //do some error catching catch(ParserConfigurationException pc){ pc.printStackTrace(); } return null; }
14534 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14534/60812e245e541fc0ee6e310a9a669b4ebdd95844/Xmlifier.java/buggy/ep/transform/Xmlifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 2608, 8832, 966, 12, 780, 810, 15329, 202, 698, 95, 202, 377, 202, 565, 368, 3510, 279, 394, 1668, 3272, 202, 565, 30236, 3272, 273, 30236, 18, 2704, 1442, 5621, 202, 565, 4319, 1263, 2089, 273, 3272, 18, 2704, 2519, 1263, 5621, 202, 377, 202, 565, 4319, 1668, 273, 2089, 18, 2704, 2519, 5621, 202, 377, 202, 377, 202, 565, 3010, 12509, 273, 1365, 31, 202, 377, 202, 565, 309, 12, 2630, 18, 14963, 2932, 6, 3719, 95, 202, 202, 759, 5387, 810, 16, 604, 279, 17126, 313, 379, 202, 202, 4148, 18, 8935, 2932, 2279, 501, 2112, 358, 2025, 1164, 8863, 202, 565, 289, 202, 377, 202, 565, 469, 95, 9506, 202, 759, 685, 5288, 358, 2608, 1779, 628, 326, 2025, 585, 202, 202, 20308, 18310, 486, 3577, 1281, 1898, 35, 1082, 225, 368, 4119, 404, 30, 1109, 326, 2025, 585, 18, 1082, 225, 4319, 12509, 273, 2089, 18, 2670, 12, 2704, 1387, 12, 17812, 10019, 202, 202, 5549, 202, 202, 5457, 273, 2089, 18, 2704, 2519, 5621, 202, 202, 759, 4119, 576, 69, 30, 336, 279, 666, 434, 6736, 8041, 358, 999, 603, 533, 202, 202, 759, 5787, 2025, 585, 1297, 912, 3936, 3470, 326, 1047, 315, 4951, 6, 202, 202, 19914, 1936, 682, 273, 12509, 18, 588, 3471, 10401, 2932, 4951, 8863, 9506, 202, 759, 4119, 576, 70, 30, 336, 279, 666, 434, 7838, 1625, 358, 1707, 326, 9438, 501, 202, 202, 759, 5787, 2025, 585, 1297, 912, 2117, 3470, 326, 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, 4319, 2608, 8832, 966, 12, 780, 810, 15329, 202, 698, 95, 202, 377, 202, 565, 368, 3510, 279, 394, 1668, 3272, 202, 565, 30236, 3272, 273, 30236, 18, 2704, 1442, 5621, 202, 565, 4319, 1263, 2089, 273, 3272, 18, 2704, 2519, 1263, 5621, 202, 377, 202, 565, 4319, 1668, 273, 2089, 18, 2704, 2519, 5621, 202, 377, 202, 377, 202, 565, 3010, 12509, 273, 1365, 31, 202, 377, 202, 565, 309, 12, 2630, 18, 14963, 2932, 6, 3719, 95, 202, 202, 759, 5387, 810, 16, 604, 279, 17126, 313, 379, 202, 202, 4148, 18, 8935, 2932, 2279, 501, 2112, 358, 2025, 1164, 8863, 202, 565, 289, 202, 377, 202, 565, 469, 95, 9506, 202, 759, 685, 5288, 2 ]
baos.close(); if (baosDebug != null) {
if (baos != null) baos.close(); if (baosDebug != null)
boolean doFETCH(String tag, String sequenceSet, int attributes, List<ImapPartSpecifier> parts, boolean byUID) throws IOException, ImapParseException { if (!checkState(tag, ImapSession.STATE_SELECTED)) return CONTINUE_PROCESSING; // 6.4.8: "However, server implementations MUST implicitly include the UID message // data item as part of any FETCH response caused by a UID command, regardless // of whether a UID was specified as a message data item to the FETCH." if (byUID) attributes |= FETCH_UID; String command = (byUID ? "UID FETCH" : "FETCH"); boolean markRead = mSession.getFolder().isWritable() && (attributes & FETCH_MARK_READ) != 0; List<ImapPartSpecifier> fullMessage = new ArrayList<ImapPartSpecifier>(); if (parts != null && !parts.isEmpty()) for (Iterator<ImapPartSpecifier> it = parts.iterator(); it.hasNext(); ) { ImapPartSpecifier pspec = it.next(); if (pspec.isEntireMessage()) { it.remove(); fullMessage.add(pspec); } } Set<ImapMessage> i4set; synchronized (mMailbox) { i4set = mSession.getFolder().getSubsequence(sequenceSet, byUID); } boolean allPresent = byUID || !i4set.contains(null); i4set.remove(null); for (ImapMessage i4msg : i4set) { OutputStream baos = new BufferedOutputStream(new ConnectionOutputStream(), 4000); ByteArrayOutputStream baosDebug = ZimbraLog.imap.isDebugEnabled() ? new ByteArrayOutputStream() : null; PrintStream result = new PrintStream(new ByteUtil.TeeOutputStream(baos, baosDebug), false, "utf-8"); try { boolean markMessage = markRead && (i4msg.flags & Flag.BITMASK_UNREAD) != 0; boolean empty = true; byte[] raw = null; MailItem item = null; MimeMessage mm = null; if (!fullMessage.isEmpty() || !parts.isEmpty() || (attributes & ~FETCH_FROM_CACHE) != 0) { GetItemOperation op = new GetItemOperation(mSession, getContext(), mMailbox, Requester.IMAP, i4msg.msgId, i4msg.getType()); op.schedule(); item = op.getItem(); } result.print("* " + i4msg.sequence + " FETCH ("); if ((attributes & FETCH_UID) != 0) { result.print((empty ? "" : " ") + "UID " + i4msg.imapUid); empty = false; } if ((attributes & FETCH_INTERNALDATE) != 0) { result.print((empty ? "" : " ") + "INTERNALDATE \"" + mTimeFormat.format(new Date(item.getDate())) + '"'); empty = false; } if ((attributes & FETCH_RFC822_SIZE) != 0) { result.print((empty ? "" : " ") + "RFC822.SIZE " + i4msg.getSize(item)); empty = false; } if ((attributes & FETCH_BINARY_SIZE) != 0) { result.print((empty ? "" : " ") + "BINARY.SIZE[] " + i4msg.getSize(item)); empty = false; } if (!fullMessage.isEmpty()) { raw = ImapMessage.getContent(item); for (ImapPartSpecifier pspec : fullMessage) { ZimbraLog.imap.info("before pspec.write"); result.print(empty ? "" : " "); pspec.write(result, baos, raw); empty = false; ZimbraLog.imap.info("after pspec.write"); } } if (!parts.isEmpty() || (attributes & ~FETCH_FROM_MIME) != 0) { try { // don't use msg.getMimeMessage() because it implicitly expands TNEF attachments InputStream is = raw != null ? new ByteArrayInputStream(raw) : ImapMessage.getContentStream(item); mm = new Mime.FixedMimeMessage(JMSession.getSession(), is); is.close(); } catch (IOException e) { throw ServiceException.FAILURE("error closing stream for message " + i4msg.msgId, e); } } if ((attributes & FETCH_BODY) != 0) { result.print((empty ? "" : " ") + "BODY "); i4msg.serializeStructure(result, mm, false); empty = false; } if ((attributes & FETCH_BODYSTRUCTURE) != 0) { result.print((empty ? "" : " ") + "BODYSTRUCTURE "); i4msg.serializeStructure(result, mm, true); empty = false; } if ((attributes & FETCH_ENVELOPE) != 0) { result.print((empty ? "" : " ") + "ENVELOPE "); i4msg.serializeEnvelope(result, mm); empty = false; } for (ImapPartSpecifier pspec: parts) { result.print(empty ? "" : " "); pspec.write(result, mm); empty = false; } // FIXME: optimize by doing a single mark-read op on multiple messages if (markMessage) { AlterTagOperation op = new AlterTagOperation(mSession, getContext(), mMailbox, Requester.IMAP, i4msg.msgId, i4msg.getType(), Flag.ID_FLAG_UNREAD, false); op.schedule(); } // 6.4.5: "The \Seen flag is implicitly set; if this causes the flags to // change, they SHOULD be included as part of the FETCH responses." if ((attributes & FETCH_FLAGS) != 0 || markMessage) { mSession.getFolder().undirtyMessage(i4msg); result.print((empty ? "" : " ") + i4msg.getFlags(mSession)); empty = false; } } catch (ImapPartSpecifier.BinaryDecodingException e) { // don't write this response line if we're returning NO baos = null; throw new ImapParseException(tag, "UNKNOWN-CTE", command + "failed: unknown content-type-encoding", false); } catch (ServiceException e) { ZimbraLog.imap.warn("ignoring error during " + command + ": ", e); continue; } catch (MessagingException e) { ZimbraLog.imap.warn("ignoring error during " + command + ": ", e); continue; } finally { result.write(')'); result.write(LINE_SEPARATOR_BYTES, 0, LINE_SEPARATOR_BYTES.length); baos.close(); if (baosDebug != null) { ZimbraLog.imap.debug(" S: " + baosDebug); } } } sendNotifications(false, false); if (allPresent) sendOK(tag, command + " completed"); else { // RFC 2180 4.1.2: "The server MAY allow the EXPUNGE of a multi-accessed mailbox, // and on subsequent FETCH commands return FETCH responses only // for non-expunged messages and a tagged NO." sendNO(tag, "some of the requested messages no longer exist"); } return CONTINUE_PROCESSING; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/ecf5d48bac17375aad037ae7bce3658098876cc2/OzImapConnectionHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/OzImapConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 741, 20231, 12, 780, 1047, 16, 514, 3102, 694, 16, 509, 1677, 16, 987, 32, 20827, 1988, 21416, 34, 2140, 16, 1250, 635, 3060, 13, 1216, 1860, 16, 467, 1458, 13047, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 368, 1666, 18, 24, 18, 28, 30, 315, 44, 543, 6084, 16, 1438, 16164, 10685, 24682, 2341, 326, 10034, 883, 3639, 368, 540, 501, 761, 487, 1087, 434, 1281, 10994, 766, 15848, 635, 279, 10034, 1296, 16, 15255, 3639, 368, 540, 434, 2856, 279, 10034, 1703, 1269, 487, 279, 883, 501, 761, 358, 326, 10994, 1199, 3639, 309, 261, 1637, 3060, 13, 5411, 1677, 5626, 10994, 67, 3060, 31, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 10994, 6, 294, 315, 20231, 8863, 3639, 1250, 2267, 1994, 273, 312, 2157, 18, 588, 3899, 7675, 291, 12061, 1435, 597, 261, 4350, 473, 10994, 67, 12693, 67, 6949, 13, 480, 374, 31, 3639, 987, 32, 20827, 1988, 21416, 34, 1983, 1079, 273, 394, 2407, 32, 20827, 1988, 21416, 34, 5621, 3639, 309, 261, 6019, 480, 446, 597, 401, 6019, 18, 291, 1921, 10756, 5411, 364, 261, 3198, 32, 20827, 1988, 21416, 34, 518, 273, 2140, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 7734, 467, 1458, 1988, 21416, 293, 2793, 273, 518, 18, 4285, 5621, 7734, 309, 261, 1121, 705, 18, 291, 14199, 577, 1079, 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, 1250, 741, 20231, 12, 780, 1047, 16, 514, 3102, 694, 16, 509, 1677, 16, 987, 32, 20827, 1988, 21416, 34, 2140, 16, 1250, 635, 3060, 13, 1216, 1860, 16, 467, 1458, 13047, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 368, 1666, 18, 24, 18, 28, 30, 315, 44, 543, 6084, 16, 1438, 16164, 10685, 24682, 2341, 326, 10034, 883, 3639, 368, 540, 501, 761, 487, 1087, 434, 1281, 10994, 766, 15848, 635, 279, 10034, 1296, 16, 15255, 3639, 368, 540, 434, 2856, 279, 10034, 1703, 1269, 487, 279, 883, 501, 761, 358, 326, 10994, 1199, 3639, 309, 261, 2 ]
MylarPlugin.getContextManager().addListener(uiUpdateManager);
UiExtensionPointReader.initExtensions(); MylarPlugin.getContextManager().addListener(uiUpdateManager);
public void run() { MylarPlugin.getContextManager().addListener(uiUpdateManager); Workbench.getInstance().getActiveWorkbenchWindow().getPartService().addPartListener(viewerConfigurator); IWorkbenchWindow[] windows= workbench.getWorkbenchWindows(); for (int i= 0; i < windows.length; i++) { windows[i].addPageListener(viewerConfigurator);// IWorkbenchPage[] pages= windows[i].getPages();// for (int j= 0; j < pages.length; j++) {// pages[j].addPartListener(viewerManager);// } } if (ApplyMylarToOutlineAction.getDefault() != null) ApplyMylarToOutlineAction.getDefault().update(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ffea9ed89adc29b1ae1184818ee9577e822d6fde/MylarUiPlugin.java/clean/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/ui/MylarUiPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 22597, 3625, 2148, 2514, 18, 2738, 7513, 5621, 8005, 7901, 3773, 18, 29120, 1318, 7675, 1289, 2223, 12, 4881, 1891, 1318, 1769, 27573, 4147, 22144, 18, 588, 1442, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 25256, 17182, 1769, 540, 202, 202, 45, 2421, 22144, 3829, 8526, 9965, 33, 1440, 22144, 18, 588, 2421, 22144, 10399, 5621, 540, 202, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 9965, 18, 2469, 31, 277, 27245, 288, 540, 1082, 202, 13226, 63, 77, 8009, 1289, 1964, 2223, 12, 25256, 17182, 1769, 759, 540, 1082, 202, 45, 2421, 22144, 1964, 8526, 4689, 33, 9965, 63, 77, 8009, 588, 5716, 5621, 759, 540, 1082, 202, 1884, 261, 474, 525, 33, 374, 31, 525, 411, 4689, 18, 2469, 31, 525, 27245, 288, 759, 540, 9506, 202, 7267, 63, 78, 8009, 1289, 1988, 2223, 12, 25256, 1318, 1769, 759, 540, 1082, 202, 97, 540, 202, 202, 97, 7734, 309, 261, 7001, 12062, 7901, 774, 21805, 1803, 18, 588, 1868, 1435, 480, 446, 13, 5534, 12062, 7901, 774, 21805, 1803, 18, 588, 1868, 7675, 2725, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 1435, 288, 7734, 22597, 3625, 2148, 2514, 18, 2738, 7513, 5621, 8005, 7901, 3773, 18, 29120, 1318, 7675, 1289, 2223, 12, 4881, 1891, 1318, 1769, 27573, 4147, 22144, 18, 588, 1442, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 1988, 1179, 7675, 1289, 1988, 2223, 12, 25256, 17182, 1769, 540, 202, 202, 45, 2421, 22144, 3829, 8526, 9965, 33, 1440, 22144, 18, 588, 2421, 22144, 10399, 5621, 540, 202, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 9965, 18, 2469, 31, 277, 27245, 288, 540, 1082, 202, 13226, 63, 77, 8009, 1289, 1964, 2223, 12, 25256, 17182, 1769, 759, 540, 1082, 202, 45, 2421, 22144, 1964, 8526, 4689, 33, 9965, 63, 77, 8009, 2 ]
CTabItem item = getTab(oldPart); if (item == null) { return; } oldPart.setVisible(false);
CTabItem item = getTab(oldPart); if (item == null) { return; } oldPart.setVisible(false);
public void removePart(IPresentablePart oldPart) { if (current == oldPart) { titleLabel.setImage(null); current = null; } CTabItem item = getTab(oldPart); if (item == null) { return; } oldPart.setVisible(false); item.dispose(); // Layout the folder again in case there is only one item setControlSize(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21BasicStackPresentation.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 1988, 12, 2579, 1581, 429, 1988, 1592, 1988, 13, 288, 3639, 309, 261, 2972, 422, 1592, 1988, 13, 288, 540, 202, 2649, 2224, 18, 542, 2040, 12, 2011, 1769, 5411, 783, 273, 446, 31, 3639, 289, 3639, 385, 5661, 1180, 761, 273, 3181, 378, 12, 1673, 1988, 1769, 3639, 309, 261, 1726, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1592, 1988, 18, 542, 6207, 12, 5743, 1769, 3639, 761, 18, 2251, 4150, 5621, 3639, 368, 9995, 326, 3009, 3382, 316, 648, 1915, 353, 1338, 1245, 761, 3639, 444, 3367, 1225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 1988, 12, 2579, 1581, 429, 1988, 1592, 1988, 13, 288, 3639, 309, 261, 2972, 422, 1592, 1988, 13, 288, 540, 202, 2649, 2224, 18, 542, 2040, 12, 2011, 1769, 5411, 783, 273, 446, 31, 3639, 289, 3639, 385, 5661, 1180, 761, 273, 3181, 378, 12, 1673, 1988, 1769, 3639, 309, 261, 1726, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 1592, 1988, 18, 542, 6207, 12, 5743, 1769, 3639, 761, 18, 2251, 4150, 5621, 3639, 368, 9995, 326, 3009, 3382, 316, 648, 1915, 353, 1338, 1245, 761, 3639, 444, 3367, 1225, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List nodes = xpath.selectNodes(dom4jDoc);
List foundNodes = xpath.selectNodes(dom4jDoc);
protected void initialise(UMOMessage message) { splitExpression = splitExpression.trim(); if (logger.isDebugEnabled()) { if (splitExpression.length() == 0) { logger.warn("splitExpression is not specified, no processing will take place"); } else { logger.debug("splitExpression is " + splitExpression); } } Object src = message.getPayload(); try { if (src instanceof byte[]) { src = new String((byte[]) src); } Document dom4jDoc; if (src instanceof String) { String xml = (String) src; SAXReader reader = new SAXReader(); setDoSchemaValidation(reader, isValidateSchema()); InputStream xsdAsStream = ClassHelper.getResourceAsStream(getExternalSchemaLocation(), getClass()); if (xsdAsStream == null) { throw new IllegalArgumentException("Couldn't find schema at " + getExternalSchemaLocation()); } // Need this one to map schemaLocation to a physical location reader.setProperty(JAXP_PROPERTIES_SCHEMA_SOURCE, xsdAsStream); dom4jDoc = reader.read(new StringReader(xml)); } else if (src instanceof org.dom4j.Document) { dom4jDoc = (org.dom4j.Document) src; } else { logger.error("Non-xml message payload: " + src.getClass().toString()); return; } if (dom4jDoc != null) { if (splitExpression.length() > 0) { XPath xpath = dom4jDoc.createXPath(splitExpression); if (namespaces != null) { xpath.setNamespaceURIs(namespaces); } List nodes = xpath.selectNodes(dom4jDoc); if (logger.isDebugEnabled()) { logger.debug("Split into " + nodes.size()); } List parts = new ArrayList(); //Rather than reparsing these in when individual messages are created, lets do it now //We can also avoid parsing the Xml again altogether for (Iterator iterator = nodes.iterator(); iterator.hasNext();) { Node node = (Node) iterator.next(); if(node instanceof Element) { //Can't do detach here just in case the source object was a document. node = (Node)node.clone(); parts.add(DocumentHelper.createDocument((Element)node)); } else { logger.warn("Dcoument node: " + node.asXML() + " is not an element and thus is not a valid part"); } } FilteringXmlMessageSplitter.nodes.set(parts); } } else { logger.warn("Unsupported message type, ignoring"); } } catch (Exception ex) { throw new IllegalArgumentException("Failed to initialise the payload: " + ex.getMessage(), ex); } Map theProperties = new HashMap(); for (Iterator iterator = message.getPropertyNames().iterator(); iterator.hasNext();) { Object propertyKey = iterator.next(); theProperties.put(propertyKey, message.getProperty(propertyKey)); } properties.set(theProperties); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/65d774ee765ef057132d52265e50a7593c393b0c/FilteringXmlMessageSplitter.java/clean/src/java/org/mule/routing/outbound/FilteringXmlMessageSplitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 21301, 12, 2799, 51, 1079, 883, 13, 565, 288, 3639, 1416, 2300, 273, 1416, 2300, 18, 5290, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 309, 261, 4939, 2300, 18, 2469, 1435, 422, 374, 13, 288, 7734, 1194, 18, 8935, 2932, 4939, 2300, 353, 486, 1269, 16, 1158, 4929, 903, 4862, 3166, 8863, 5411, 289, 469, 288, 7734, 1194, 18, 4148, 2932, 4939, 2300, 353, 315, 397, 1416, 2300, 1769, 5411, 289, 3639, 289, 3639, 1033, 1705, 273, 883, 18, 588, 6110, 5621, 3639, 775, 288, 5411, 309, 261, 4816, 1276, 1160, 63, 5717, 288, 7734, 1705, 273, 394, 514, 12443, 7229, 63, 5717, 1705, 1769, 5411, 289, 5411, 4319, 4092, 24, 78, 1759, 31, 5411, 309, 261, 4816, 1276, 514, 13, 288, 7734, 514, 2025, 273, 261, 780, 13, 1705, 31, 7734, 10168, 2514, 2949, 273, 394, 10168, 2514, 5621, 7734, 444, 3244, 3078, 4354, 12, 10530, 16, 353, 4270, 3078, 10663, 7734, 5037, 14802, 17052, 273, 1659, 2276, 18, 588, 1420, 17052, 12, 588, 6841, 3078, 2735, 9334, 2900, 10663, 7734, 309, 261, 19144, 17052, 422, 446, 13, 288, 10792, 604, 394, 2754, 2932, 16342, 1404, 1104, 1963, 622, 315, 397, 22319, 3078, 2735, 10663, 7734, 289, 7734, 368, 12324, 333, 1245, 358, 852, 1963, 2735, 358, 279, 11640, 2117, 7734, 2949, 18, 542, 1396, 12, 17368, 52, 67, 17421, 67, 14233, 67, 6537, 16, 14802, 17052, 1769, 7734, 4092, 24, 78, 1759, 273, 2949, 18, 896, 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, 4750, 918, 21301, 12, 2799, 51, 1079, 883, 13, 565, 288, 3639, 1416, 2300, 273, 1416, 2300, 18, 5290, 5621, 3639, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 5411, 309, 261, 4939, 2300, 18, 2469, 1435, 422, 374, 13, 288, 7734, 1194, 18, 8935, 2932, 4939, 2300, 353, 486, 1269, 16, 1158, 4929, 903, 4862, 3166, 8863, 5411, 289, 469, 288, 7734, 1194, 18, 4148, 2932, 4939, 2300, 353, 315, 397, 1416, 2300, 1769, 5411, 289, 3639, 289, 3639, 1033, 1705, 273, 883, 18, 588, 6110, 5621, 3639, 775, 288, 5411, 309, 261, 4816, 1276, 1160, 63, 5717, 288, 7734, 1705, 273, 394, 514, 12443, 7229, 63, 5717, 1705, 1769, 5411, 289, 5411, 4319, 4092, 24, 2 ]
public static Reader getStdInput() {
static public Reader getStdInput() {
public static Reader getStdInput() { return input; }
14414 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14414/b9575731aa8c78d3dcdfc6f61ed88ee1fc0a482a/IO.java/buggy/cycmoo/lang/IO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 5393, 336, 10436, 1210, 1435, 288, 3639, 327, 810, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 1071, 5393, 336, 10436, 1210, 1435, 288, 3639, 327, 810, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.info("Found " + entryNames.length + " entries in dictionary " +
logger.info("Found ", "" + entryNames.length, " entries in dictionary ",
public String[] getDictionaryEntries(String dictionaryName) { Dictionary dictionary = (Dictionary)dictionaries.get(dictionaryName); if (dictionary == null) { logger.error("Cannot find requested dictionary"); return new String[0]; } else { // FIXME: dummy method that needs an implementation Entry[] entries = dictionary.getEntry(); String[] entryNames = new String[entries.length]; logger.info("Found " + entryNames.length + " entries in dictionary " + dictionaryName); for (int i=0; i<entries.length; i++) { entryNames[i] = entries[i].getTerm(); } return entryNames; } }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/884a2b9e0a1cd2737846972a46b9d7a5f55059d7/DictionaryDatabase.java/buggy/src/org/openscience/cdk/dict/DictionaryDatabase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 2343, 3192, 5400, 12, 780, 3880, 461, 13, 288, 3639, 16447, 3880, 273, 261, 10905, 13, 72, 14336, 18, 588, 12, 15556, 461, 1769, 3639, 309, 261, 15556, 422, 446, 13, 288, 5411, 1194, 18, 1636, 2932, 4515, 1104, 3764, 3880, 8863, 5411, 327, 394, 514, 63, 20, 15533, 3639, 289, 469, 288, 5411, 368, 9852, 30, 9609, 707, 716, 4260, 392, 4471, 5411, 3841, 8526, 3222, 273, 3880, 18, 588, 1622, 5621, 5411, 514, 8526, 1241, 1557, 273, 394, 514, 63, 8219, 18, 2469, 15533, 5411, 1194, 18, 1376, 2932, 2043, 3104, 1408, 397, 1241, 1557, 18, 2469, 16, 315, 3222, 316, 3880, 3104, 9079, 3880, 461, 1769, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 32, 8219, 18, 2469, 31, 277, 27245, 288, 7734, 1241, 1557, 63, 77, 65, 273, 3222, 63, 77, 8009, 588, 4065, 5621, 5411, 289, 5411, 327, 1241, 1557, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 2343, 3192, 5400, 12, 780, 3880, 461, 13, 288, 3639, 16447, 3880, 273, 261, 10905, 13, 72, 14336, 18, 588, 12, 15556, 461, 1769, 3639, 309, 261, 15556, 422, 446, 13, 288, 5411, 1194, 18, 1636, 2932, 4515, 1104, 3764, 3880, 8863, 5411, 327, 394, 514, 63, 20, 15533, 3639, 289, 469, 288, 5411, 368, 9852, 30, 9609, 707, 716, 4260, 392, 4471, 5411, 3841, 8526, 3222, 273, 3880, 18, 588, 1622, 5621, 5411, 514, 8526, 1241, 1557, 273, 394, 514, 63, 8219, 18, 2469, 15533, 5411, 1194, 18, 1376, 2932, 2043, 3104, 1408, 397, 1241, 1557, 18, 2469, 16, 315, 3222, 316, 3880, 3104, 9079, 3880, 461, 1769, 5411, 364, 261, 474, 277, 33, 2 ]
if (formats.length == 0) { pw.print(n); } else { int i; if (n == 0 && formats.length >= 3 && formats[2] != null) { i = 2; } else if (n < 0 && formats.length >= 2 && formats[1] != null) { n = -n; i = 1; } else { i = 0; } formats[i].format(n, pw); } }
if (formats.length == 0) { pw.print(n); } else { int i; if (n == 0 && formats.length >= 3 && formats[2] != null) { i = 2; } else if (n < 0 && formats.length >= 2 && formats[1] != null) { n = -n; i = 1; } else { i = 0; } formats[i].format(n, pw); } }
void format(double n, PrintWriter pw) { if (formats.length == 0) { pw.print(n); } else { int i; if (n == 0 && formats.length >= 3 && formats[2] != null) { i = 2; } else if (n < 0 && formats.length >= 2 && formats[1] != null) { n = -n; i = 1; } else { i = 0; } formats[i].format(n, pw); } }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/Format.java/clean/src/main/mondrian/util/Format.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6459, 740, 12, 9056, 290, 16, 14071, 8772, 13, 288, 1082, 202, 430, 261, 11962, 18, 2469, 422, 374, 13, 288, 9506, 202, 14921, 18, 1188, 12, 82, 1769, 1082, 202, 97, 469, 288, 9506, 202, 474, 277, 31, 9506, 202, 430, 261, 82, 422, 374, 597, 6862, 202, 11962, 18, 2469, 1545, 890, 597, 6862, 202, 11962, 63, 22, 65, 480, 446, 13, 288, 6862, 202, 77, 273, 576, 31, 9506, 202, 97, 469, 309, 261, 82, 411, 374, 597, 6862, 1082, 282, 6449, 18, 2469, 1545, 576, 597, 6862, 1082, 282, 6449, 63, 21, 65, 480, 446, 13, 288, 6862, 202, 82, 273, 300, 82, 31, 6862, 202, 77, 273, 404, 31, 9506, 202, 97, 469, 288, 6862, 202, 77, 273, 374, 31, 9506, 202, 97, 9506, 202, 11962, 63, 77, 8009, 2139, 12, 82, 16, 8772, 1769, 1082, 202, 97, 202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6459, 740, 12, 9056, 290, 16, 14071, 8772, 13, 288, 1082, 202, 430, 261, 11962, 18, 2469, 422, 374, 13, 288, 9506, 202, 14921, 18, 1188, 12, 82, 1769, 1082, 202, 97, 469, 288, 9506, 202, 474, 277, 31, 9506, 202, 430, 261, 82, 422, 374, 597, 6862, 202, 11962, 18, 2469, 1545, 890, 597, 6862, 202, 11962, 63, 22, 65, 480, 446, 13, 288, 6862, 202, 77, 273, 576, 31, 9506, 202, 97, 469, 309, 261, 82, 411, 374, 597, 6862, 1082, 282, 6449, 18, 2469, 1545, 576, 597, 6862, 1082, 282, 6449, 63, 21, 65, 480, 446, 13, 288, 6862, 202, 82, 273, 300, 82, 31, 6862, 202, 77, 273, 404, 31, 9506, 202, 97, 2 ]
public JavaScriptException(Object value)
public JavaScriptException(Object value, String sourceName, int lineNumber)
public JavaScriptException(Object value) { super(ScriptRuntime.toString(value)); this.value = value; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/965090841fd2987f6eeb940daa588522a6e3b6ff/JavaScriptException.java/clean/js/rhino/src/org/mozilla/javascript/JavaScriptException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11905, 503, 12, 921, 460, 16, 514, 28337, 16, 509, 13629, 13, 565, 288, 3639, 2240, 12, 3651, 5576, 18, 10492, 12, 1132, 10019, 3639, 333, 18, 1132, 273, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11905, 503, 12, 921, 460, 16, 514, 28337, 16, 509, 13629, 13, 565, 288, 3639, 2240, 12, 3651, 5576, 18, 10492, 12, 1132, 10019, 3639, 333, 18, 1132, 273, 460, 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 ]
this.hierarchy = input; }
this.hierarchy = input; }
public void setHierarchy(Hierarchy input) throws OLAPException { this.hierarchy = input; }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/MondrianHierarchyFilter.java/buggy/src/main/mondrian/jolap/MondrianHierarchyFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 12074, 12, 12074, 810, 13, 1216, 531, 48, 2203, 503, 288, 202, 202, 2211, 18, 17937, 273, 810, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 444, 12074, 12, 12074, 810, 13, 1216, 531, 48, 2203, 503, 288, 202, 202, 2211, 18, 17937, 273, 810, 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 ]
StatusWindow temp; if (index >= windows.size() || index < 0)
if (index > windows.size())
public void newActive(int index) { StatusWindow temp; if (index >= windows.size() || index < 0) { temp = (StatusWindow)windows.getFirst(); } else { temp = (StatusWindow)windows.get(index); } doActivate(temp); }
12160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12160/f3a2a1b81ab7a88729f363d7a9ce4680a7cd0e93/WindowManager.java/clean/rero/src/rero/gui/windows/WindowManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 394, 3896, 12, 474, 770, 13, 565, 288, 4202, 2685, 3829, 1906, 31, 4202, 309, 261, 1615, 1545, 9965, 18, 1467, 1435, 747, 770, 411, 374, 13, 4202, 288, 1850, 1906, 273, 261, 1482, 3829, 13, 13226, 18, 588, 3759, 5621, 4202, 289, 4202, 469, 4202, 288, 1850, 1906, 273, 261, 1482, 3829, 13, 13226, 18, 588, 12, 1615, 1769, 4202, 289, 4202, 741, 21370, 12, 5814, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 394, 3896, 12, 474, 770, 13, 565, 288, 4202, 2685, 3829, 1906, 31, 4202, 309, 261, 1615, 1545, 9965, 18, 1467, 1435, 747, 770, 411, 374, 13, 4202, 288, 1850, 1906, 273, 261, 1482, 3829, 13, 13226, 18, 588, 3759, 5621, 4202, 289, 4202, 469, 4202, 288, 1850, 1906, 273, 261, 1482, 3829, 13, 13226, 18, 588, 12, 1615, 1769, 4202, 289, 4202, 741, 21370, 12, 5814, 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 ]
throw new PortalException(e.getMessage(), e);
throw new PortalException(e);
public void setRuntimeData(ChannelRuntimeData rd) throws PortalException { this.runtimeData = rd; // internal state handling String action = runtimeData.getParameter("action"); if (action != null) { if (action.equals("edit")) { // this is an action from the initial profile listing screen // At this point we're supposed to pick up which profile is to be // edited. Integer profileId = null; try { profileId = new Integer(runtimeData.getParameter("profileId")); } catch (NumberFormatException nfe) {} boolean systemProfile = false; if (profileId == null) { // return back to the base state if the profile hasn't been specified context.setState(null); } else { String profileType = runtimeData.getParameter("profileType"); if (profileType == null) { // return to the profile listing context.setState(null); } else { if (profileType.equals("system")) systemProfile = true; // find the UserProfile try { if (systemProfile) { profile = context.getUserLayoutStore().getSystemProfileById(profileId.intValue()); } else { profile = context.getUserLayoutStore().getUserProfileById(context.getPerson(), profileId.intValue()); } } catch (Exception e) { throw new PortalException(e.getMessage(), e); } if (profile == null) { // failed to find the specified profile, return to the base state context.setState(null); } } } } else if (action.equals("completeEdit")) { if (runtimeData.getParameter("submitCancel") != null) { // cancel button has been hit context.setState(null); } else if (runtimeData.getParameter("submitSave") != null) { // save changes profile.setProfileName(runtimeData.getParameter("profileName")); profile.setProfileDescription(runtimeData.getParameter("profileDescription")); // determine new theme stylesheet id int newId = Integer.parseInt(runtimeData.getParameter("stylesheetID")); if (newId != profile.getThemeStylesheetId()) { profile.setThemeStylesheetId(newId); // see if the mime type has changed, alert user } try { if (profile.isSystemProfile()) { // only administrative users should be able to do this context.getUserLayoutStore().updateSystemProfile(profile); } else { context.getUserLayoutStore().updateUserProfile(context.getPerson(), profile); } } catch (Exception e) { throw new PortalException(e.getMessage(), e); } context.setState(null); } } } }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/948a50c00c52659556ab3183d5ea2e316077d789/ManageProfilesState.java/buggy/source/org/jasig/portal/channels/UserPreferences/ManageProfilesState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5576, 751, 12, 2909, 5576, 751, 9437, 13, 1216, 25478, 503, 288, 1377, 333, 18, 9448, 751, 273, 9437, 31, 1377, 368, 2713, 919, 5057, 1377, 514, 1301, 273, 3099, 751, 18, 588, 1662, 2932, 1128, 8863, 1377, 309, 261, 1128, 480, 446, 13, 288, 3639, 309, 261, 1128, 18, 14963, 2932, 4619, 6, 3719, 288, 1850, 368, 333, 353, 392, 1301, 628, 326, 2172, 3042, 11591, 5518, 1850, 368, 2380, 333, 1634, 732, 4565, 18405, 358, 6002, 731, 1492, 3042, 353, 358, 506, 1850, 368, 18532, 18, 1850, 2144, 25903, 273, 446, 31, 1850, 775, 288, 5411, 25903, 273, 394, 2144, 12, 9448, 751, 18, 588, 1662, 2932, 5040, 548, 7923, 1769, 1850, 289, 1044, 261, 1854, 9291, 25386, 13, 2618, 1850, 1250, 2619, 4029, 273, 629, 31, 1850, 309, 261, 5040, 548, 422, 446, 13, 288, 5411, 368, 327, 1473, 358, 326, 1026, 919, 309, 326, 3042, 13342, 1404, 2118, 1269, 5411, 819, 18, 542, 1119, 12, 2011, 1769, 1850, 289, 469, 288, 5411, 514, 3042, 559, 273, 3099, 751, 18, 588, 1662, 2932, 5040, 559, 8863, 5411, 309, 261, 5040, 559, 422, 446, 13, 288, 2868, 368, 327, 358, 326, 3042, 11591, 2868, 819, 18, 542, 1119, 12, 2011, 1769, 5411, 289, 469, 288, 2868, 309, 261, 5040, 559, 18, 14963, 2932, 4299, 6, 3719, 7734, 2619, 4029, 273, 638, 31, 2868, 368, 1104, 326, 2177, 4029, 2868, 775, 288, 7734, 309, 261, 4299, 4029, 13, 288, 5375, 3042, 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, 1071, 918, 444, 5576, 751, 12, 2909, 5576, 751, 9437, 13, 1216, 25478, 503, 288, 1377, 333, 18, 9448, 751, 273, 9437, 31, 1377, 368, 2713, 919, 5057, 1377, 514, 1301, 273, 3099, 751, 18, 588, 1662, 2932, 1128, 8863, 1377, 309, 261, 1128, 480, 446, 13, 288, 3639, 309, 261, 1128, 18, 14963, 2932, 4619, 6, 3719, 288, 1850, 368, 333, 353, 392, 1301, 628, 326, 2172, 3042, 11591, 5518, 1850, 368, 2380, 333, 1634, 732, 4565, 18405, 358, 6002, 731, 1492, 3042, 353, 358, 506, 1850, 368, 18532, 18, 1850, 2144, 25903, 273, 446, 31, 1850, 775, 288, 5411, 25903, 273, 394, 2144, 12, 9448, 751, 18, 588, 1662, 2932, 5040, 548, 7923, 1769, 1850, 289, 2 ]
public TA_RetCode MINUS_DI( int startIdx, int endIdx, double inHigh[], double inLow[], double inClose[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int today, lookbackTotal, outIdx; double prevHigh, prevLow, prevClose; double prevMinusDM, prevTR; double tempReal, tempReal2, diffP, diffM; int i; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( (int)optInTimePeriod == ( Integer.MIN_VALUE ) ) optInTimePeriod = 14; else if( ((int)optInTimePeriod < 1) || ((int)optInTimePeriod > 100000) ) return TA_RetCode. TA_BAD_PARAM; if( optInTimePeriod > 1 ) lookbackTotal = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_MINUS_DI.ordinal()]) ; else lookbackTotal = 1; if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } outIdx = 0; if( optInTimePeriod <= 1 ) { outBegIdx.value = startIdx; today = startIdx-1; prevHigh = inHigh[today]; prevLow = inLow[today]; prevClose = inClose[today]; while( today < endIdx ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffM > 0) && (diffP < diffM) ) { { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; if( (((-0.00000001)<tempReal)&&(tempReal<0.00000001)) ) outReal[outIdx++] = (double)0.0; else outReal[outIdx++] = diffM/tempReal; } else outReal[outIdx++] = (double)0.0; prevClose = inClose[today]; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS; } outBegIdx.value = today = startIdx; prevMinusDM = 0.0; prevTR = 0.0; today = startIdx - lookbackTotal; prevHigh = inHigh[today]; prevLow = inLow[today]; prevClose = inClose[today]; i = optInTimePeriod-1; while( i-- > 0 ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffM > 0) && (diffP < diffM) ) { prevMinusDM += diffM; } { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; prevTR += tempReal; prevClose = inClose[today]; } i = (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_MINUS_DI.ordinal()]) + 1; while( i-- != 0 ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffM > 0) && (diffP < diffM) ) { prevMinusDM = prevMinusDM - (prevMinusDM/optInTimePeriod) + diffM; } else { prevMinusDM = prevMinusDM - (prevMinusDM/optInTimePeriod); } { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; prevTR = prevTR - (prevTR/optInTimePeriod) + tempReal; prevClose = inClose[today]; } if( ! (((-0.00000001)<prevTR)&&(prevTR<0.00000001)) ) outReal[0] = (100.0*(prevMinusDM/prevTR)) ; else outReal[0] = 0.0; outIdx = 1; while( today < endIdx ) { today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffM > 0) && (diffP < diffM) ) { prevMinusDM = prevMinusDM - (prevMinusDM/optInTimePeriod) + diffM; } else { prevMinusDM = prevMinusDM - (prevMinusDM/optInTimePeriod); } { tempReal = prevHigh-prevLow; tempReal2 = Math.abs (prevHigh-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; tempReal2 = Math.abs (prevLow-prevClose); if( tempReal2 > tempReal ) tempReal = tempReal2; } ; prevTR = prevTR - (prevTR/optInTimePeriod) + tempReal; prevClose = inClose[today]; if( ! (((-0.00000001)<prevTR)&&(prevTR<0.00000001)) ) outReal[outIdx++] = (100.0*(prevMinusDM/prevTR)) ; else outReal[outIdx++] = 0.0; } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;}
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, 9833, 67, 7055, 1085, 6236, 3378, 67, 2565, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 9056, 267, 4605, 63, 6487, 474, 3838, 382, 26540, 16, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 30064, 16, 7330, 823, 5269, 16, 659, 4223, 31, 9056, 10001, 8573, 16, 10001, 10520, 16, 10001, 4605, 31, 9056, 10001, 18434, 16125, 16, 10001, 4349, 31, 2896, 440, 278, 30752, 6955, 16, 5814, 6955, 22, 16, 5413, 52, 16, 5413, 49, 31, 474, 77, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 430, 12443, 474, 13, 3838, 382, 26540, 631, 12, 4522, 18, 6236, 67, 4051, 3719, 3838, 382, 26540, 33, 3461, 31, 12107, 430, 12443, 12, 474, 13, 3838, 382, 26540, 32, 21, 14047, 96, 12443, 474, 13, 3838, 382, 26540, 34, 21, 11706, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 16234, 67, 8388, 31, 430, 12, 3838, 382, 26540, 34, 21, 13, 7330, 823, 5269, 33, 3838, 382, 26540, 15, 12, 2211, 18, 318, 15021, 5027, 63, 9833, 67, 2622, 984, 334, 548, 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, 1071, 9833, 67, 7055, 1085, 6236, 3378, 67, 2565, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 9056, 267, 4605, 63, 6487, 474, 3838, 382, 26540, 16, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 30064, 16, 7330, 823, 5269, 16, 659, 4223, 31, 9056, 10001, 8573, 16, 10001, 10520, 16, 10001, 4605, 31, 9056, 10001, 18434, 16125, 16, 10001, 4349, 31, 2896, 440, 278, 30752, 6955, 16, 5814, 6955, 22, 16, 5413, 52, 16, 5413, 49, 31, 474, 77, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 2 ]
switch (methodId) {
switch (f.methodId) {
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { switch (methodId) { case Id_constructor: return jsConstructor(cx, scope, args, f, thisObj == null); case Id_toString: return toStringHelper(cx, scope, thisObj, cx.hasFeature(Context.FEATURE_TO_STRING_AS_SOURCE), false); case Id_toLocaleString: return toStringHelper(cx, scope, thisObj, false, true); case Id_toSource: return toStringHelper(cx, scope, thisObj, true, false); case Id_join: return js_join(cx, thisObj, args); case Id_reverse: return js_reverse(cx, thisObj, args); case Id_sort: return js_sort(cx, scope, thisObj, args); case Id_push: return js_push(cx, thisObj, args); case Id_pop: return js_pop(cx, thisObj, args); case Id_shift: return js_shift(cx, thisObj, args); case Id_unshift: return js_unshift(cx, thisObj, args); case Id_splice: return js_splice(cx, scope, thisObj, args); case Id_concat: return js_concat(cx, scope, thisObj, args); case Id_slice: return js_slice(cx, thisObj, args); } } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 18541, 4678, 13, 288, 5411, 1620, 261, 74, 18, 2039, 548, 13, 288, 7734, 648, 3124, 67, 12316, 30, 10792, 327, 3828, 6293, 12, 71, 92, 16, 2146, 16, 833, 16, 284, 16, 15261, 422, 446, 1769, 7734, 648, 3124, 67, 10492, 30, 10792, 327, 1762, 2276, 12, 71, 92, 16, 2146, 16, 15261, 16, 13491, 9494, 18, 5332, 4595, 12, 1042, 18, 18257, 67, 4296, 67, 5804, 67, 3033, 67, 6537, 3631, 13491, 629, 1769, 7734, 648, 3124, 67, 869, 3916, 780, 30, 10792, 327, 1762, 2276, 12, 71, 92, 16, 2146, 16, 15261, 16, 629, 16, 638, 1769, 7734, 648, 3124, 67, 869, 1830, 30, 10792, 327, 1762, 2276, 12, 71, 92, 16, 2146, 16, 15261, 16, 638, 16, 629, 1769, 7734, 648, 3124, 67, 5701, 30, 10792, 327, 3828, 67, 5701, 12, 71, 92, 16, 15261, 16, 833, 1769, 7734, 648, 3124, 67, 9845, 30, 10792, 327, 3828, 67, 9845, 12, 71, 92, 16, 15261, 16, 833, 1769, 7734, 648, 3124, 67, 3804, 30, 10792, 327, 3828, 67, 3804, 12, 71, 92, 16, 2146, 16, 15261, 16, 833, 1769, 7734, 648, 3124, 67, 6206, 30, 10792, 327, 3828, 67, 6206, 12, 71, 92, 16, 15261, 16, 833, 1769, 7734, 648, 3124, 67, 5120, 30, 10792, 327, 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, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 18541, 4678, 13, 288, 5411, 1620, 261, 74, 18, 2039, 548, 13, 288, 7734, 648, 3124, 67, 12316, 30, 10792, 327, 3828, 6293, 12, 71, 92, 16, 2146, 16, 833, 16, 284, 16, 15261, 422, 446, 1769, 7734, 648, 3124, 67, 10492, 30, 10792, 327, 1762, 2276, 12, 71, 92, 16, 2146, 16, 15261, 16, 13491, 9494, 18, 5332, 4595, 12, 1042, 18, 18257, 67, 4296, 67, 5804, 67, 3033, 67, 6537, 3631, 13491, 629, 1769, 7734, 648, 3124, 67, 869, 2 ]
void reset(int startLine, int lineCount) { int endLine = startLine + lineCount; if (startLine < 0 || endLine > lineWidth.length) return; for (int i = startLine; i < endLine; i++) { lineWidth[i] = -1; lineHeight[i] = -1;
void reset() { if (layouts != null) { for (int i = 0; i < layouts.length; i++) { TextLayout layout = layouts[i]; if (layout != null) layout.dispose(); } layouts = null;
void reset(int startLine, int lineCount) { int endLine = startLine + lineCount; if (startLine < 0 || endLine > lineWidth.length) return; for (int i = startLine; i < endLine; i++) { lineWidth[i] = -1; lineHeight[i] = -1; } if (startLine <= maxWidthLineIndex && maxWidthLineIndex < endLine) { maxWidth = 0; maxWidthLineIndex = -1; if (lineCount != this.lineCount) { for (int i = 0; i < this.lineCount; i++) { if (lineWidth[i] > maxWidth) { maxWidth = lineWidth[i]; maxWidthLineIndex = i; } } } }}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/8541553dadf05d49f0a2dbb7c8dd48ef34038820/StyledTextRenderer.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 2715, 12, 474, 24636, 16, 509, 980, 1380, 13, 288, 202, 474, 31763, 273, 24636, 397, 980, 1380, 31, 202, 430, 261, 1937, 1670, 411, 374, 747, 31763, 405, 26162, 18, 2469, 13, 327, 31, 202, 1884, 261, 474, 277, 273, 24636, 31, 277, 411, 31763, 31, 277, 27245, 288, 202, 202, 1369, 2384, 63, 77, 65, 273, 300, 21, 31, 202, 202, 1369, 2686, 63, 77, 65, 273, 300, 21, 31, 202, 97, 202, 430, 261, 1937, 1670, 1648, 17681, 1670, 1016, 597, 17681, 1670, 1016, 411, 31763, 13, 288, 202, 202, 1896, 2384, 273, 374, 31, 202, 202, 1896, 2384, 1670, 1016, 273, 300, 21, 31, 202, 202, 430, 261, 1369, 1380, 480, 333, 18, 1369, 1380, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 333, 18, 1369, 1380, 31, 277, 27245, 288, 9506, 202, 430, 261, 1369, 2384, 63, 77, 65, 405, 17681, 13, 288, 6862, 202, 1896, 2384, 273, 26162, 63, 77, 15533, 6862, 202, 1896, 2384, 1670, 1016, 273, 277, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 2715, 12, 474, 24636, 16, 509, 980, 1380, 13, 288, 202, 474, 31763, 273, 24636, 397, 980, 1380, 31, 202, 430, 261, 1937, 1670, 411, 374, 747, 31763, 405, 26162, 18, 2469, 13, 327, 31, 202, 1884, 261, 474, 277, 273, 24636, 31, 277, 411, 31763, 31, 277, 27245, 288, 202, 202, 1369, 2384, 63, 77, 65, 273, 300, 21, 31, 202, 202, 1369, 2686, 63, 77, 65, 273, 300, 21, 31, 202, 97, 202, 430, 261, 1937, 1670, 1648, 17681, 1670, 1016, 597, 17681, 1670, 1016, 411, 31763, 13, 288, 202, 202, 1896, 2384, 273, 374, 31, 202, 202, 1896, 2384, 1670, 1016, 273, 300, 21, 31, 202, 202, 430, 261, 1369, 1380, 480, 333, 18, 1369, 2 ]
if (method.isVarArgs()) return;
private void checkParametersNumber(final List<CandidateInfo> conflicts, final int argumentsCount) { boolean parametersNumberMatch = false; for (CandidateInfo info : conflicts) { if (info instanceof MethodCandidateInfo) { final PsiMethod method = ((MethodCandidateInfo)info).getElement(); if (method.isVarArgs()) return; //Do not filter if there is at least one varargs method if (method.getParameterList().getParameters().length == argumentsCount) { parametersNumberMatch = true; } } } if (parametersNumberMatch) { for (Iterator<CandidateInfo> iterator = conflicts.iterator(); iterator.hasNext();) { CandidateInfo info = iterator.next(); if (info instanceof MethodCandidateInfo) { final PsiMethod method = ((MethodCandidateInfo)info).getElement(); if (method.getParameterList().getParameters().length != argumentsCount) { iterator.remove(); } } } } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/3314476891c70f6e28a00beba3f4835933188dec/JavaMethodsConflictResolver.java/buggy/source/com/intellij/psi/scope/conflictResolvers/JavaMethodsConflictResolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 866, 2402, 1854, 12, 6385, 987, 32, 11910, 966, 34, 14450, 16, 727, 509, 1775, 1380, 13, 288, 565, 1250, 1472, 1854, 2060, 273, 629, 31, 565, 364, 261, 11910, 966, 1123, 294, 14450, 13, 288, 1377, 309, 261, 1376, 1276, 2985, 11910, 966, 13, 288, 3639, 727, 453, 7722, 1305, 707, 273, 14015, 1305, 11910, 966, 13, 1376, 2934, 21336, 5621, 3639, 368, 3244, 486, 1034, 309, 1915, 353, 622, 4520, 1245, 19732, 707, 3639, 309, 261, 2039, 18, 588, 1662, 682, 7675, 588, 2402, 7675, 2469, 422, 1775, 1380, 13, 288, 1850, 1472, 1854, 2060, 273, 638, 31, 3639, 289, 1377, 289, 565, 289, 565, 309, 261, 3977, 1854, 2060, 13, 288, 1377, 364, 261, 3198, 32, 11910, 966, 34, 2775, 273, 14450, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 3639, 385, 8824, 966, 1123, 273, 2775, 18, 4285, 5621, 3639, 309, 261, 1376, 1276, 2985, 11910, 966, 13, 288, 1850, 727, 453, 7722, 1305, 707, 273, 14015, 1305, 11910, 966, 13, 1376, 2934, 21336, 5621, 1850, 309, 261, 2039, 18, 588, 1662, 682, 7675, 588, 2402, 7675, 2469, 480, 1775, 1380, 13, 288, 5411, 2775, 18, 4479, 5621, 1850, 289, 3639, 289, 1377, 289, 565, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 866, 2402, 1854, 12, 6385, 987, 32, 11910, 966, 34, 14450, 16, 727, 509, 1775, 1380, 13, 288, 565, 1250, 1472, 1854, 2060, 273, 629, 31, 565, 364, 261, 11910, 966, 1123, 294, 14450, 13, 288, 1377, 309, 261, 1376, 1276, 2985, 11910, 966, 13, 288, 3639, 727, 453, 7722, 1305, 707, 273, 14015, 1305, 11910, 966, 13, 1376, 2934, 21336, 5621, 3639, 368, 3244, 486, 1034, 309, 1915, 353, 622, 4520, 1245, 19732, 707, 3639, 309, 261, 2039, 18, 588, 1662, 682, 7675, 588, 2402, 7675, 2469, 422, 1775, 1380, 13, 288, 1850, 1472, 1854, 2060, 273, 638, 31, 3639, 289, 1377, 289, 565, 289, 565, 309, 261, 3977, 1854, 2060, 13, 288, 1377, 364, 2 ]
if (processingContext.getAxisOperation() != null && processingContext.getOperationContext() != null) {
if (processingContext.getAxisOperation() != null && processingContext.getOperationContext() != null) {
public MessageContext createFaultMessageContext(MessageContext processingContext, Throwable e) throws AxisFault { if (processingContext.isProcessingFault()) { // We get the error file processing the fault. nothing we can do throw new AxisFault(Messages.getMessage("errorwhileProcessingFault")); } MessageContext faultContext = new MessageContext(); faultContext.setConfigurationContext(engineContext); faultContext.setSessionContext(processingContext.getSessionContext()); faultContext.setTransportIn(processingContext.getTransportIn()); faultContext.setTransportOut(processingContext.getTransportOut()); faultContext.setMessageID(UUIDGenerator.getUUID()); faultContext.addRelatesTo( new RelatesTo( processingContext.getOptions().getMessageId(), AddressingConstants.Final.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE)); faultContext.setProperty(MessageContext.CHARACTER_SET_ENCODING, processingContext.getProperty(MessageContext.CHARACTER_SET_ENCODING)); // register the fault message context if (processingContext.getAxisOperation() != null && processingContext.getOperationContext() != null) { processingContext.getAxisOperation().addFaultMessageContext(faultContext, processingContext.getOperationContext()); } ServiceContext serviceContext = processingContext.getServiceContext(); if (serviceContext != null) { faultContext.setServiceContext(serviceContext); } faultContext.setProcessingFault(true); // there are some information that the fault thrower wants to pass to the fault path. Object faultInfoForHeaders = processingContext.getProperty(Constants.FAULT_INFORMATION_FOR_HEADERS); if (faultInfoForHeaders != null) { faultContext.setProperty(Constants.FAULT_INFORMATION_FOR_HEADERS, faultInfoForHeaders); } // if the exception is due to a problem in the faultTo header itself, we can not use those // fault informatio to send the error. Try to send using replyTo, leave it to transport boolean doNotSendFaultUsingFaultTo = false; if (faultInfoForHeaders != null) { String problemHeaderName = (String) ((Map) faultInfoForHeaders).get(AddressingConstants.Final.FAULT_HEADER_PROB_HEADER_QNAME); doNotSendFaultUsingFaultTo = (problemHeaderName != null && (AddressingConstants.WSA_DEFAULT_PREFIX + ":" + AddressingConstants.WSA_FAULT_TO).equals(problemHeaderName)); } EndpointReference faultTo = processingContext.getFaultTo(); if (faultTo != null && !doNotSendFaultUsingFaultTo) { faultContext.setTo(processingContext.getFaultTo()); } else if (!doNotSendFaultUsingFaultTo && processingContext.getEnvelope().getHeader() != null && processingContext.getEnvelope().getHeader().getFirstChildWithName(new QName("FaultTo")) != null) { OMElement faultToElement = processingContext.getEnvelope().getHeader().getFirstChildWithName(new QName("FaultTo")); faultTo = new EndpointReference(""); faultTo.fromOM(faultToElement); faultContext.setTo(faultTo); } else if (processingContext.getReplyTo() != null) { faultContext.setTo(processingContext.getReplyTo()); } if (faultTo == null || AddressingConstants.Final.WSA_ANONYMOUS_URL.equals(faultTo.getAddress()) || AddressingConstants.Submission.WSA_ANONYMOUS_URL.equals(faultTo.getAddress()) || AddressingConstants.Final.WSA_NONE_URI.equals(faultTo.getAddress())) { Object writer = processingContext.getProperty(MessageContext.TRANSPORT_OUT); if (writer != null) { faultContext.setProperty(MessageContext.TRANSPORT_OUT, writer); } else { throw new AxisFault(Messages.getMessage("nowhereToSendError")); } } faultContext.setOperationContext(processingContext.getOperationContext()); faultContext.setProcessingFault(true); faultContext.setServerSide(true); SOAPEnvelope envelope; faultContext.setProperty(Constants.OUT_TRANSPORT_INFO, processingContext.getProperty(Constants.OUT_TRANSPORT_INFO)); if (processingContext.isSOAP11()) { envelope = OMAbstractFactory.getSOAP11Factory().getDefaultFaultEnvelope(); } else { // Following will make SOAP 1.2 as the default, too. envelope = OMAbstractFactory.getSOAP12Factory().getDefaultFaultEnvelope(); } extractFaultInformationFromMessageContext(processingContext, envelope.getBody().getFault(), e); faultContext.setEnvelope(envelope); faultContext.setProperty(Constants.OUT_TRANSPORT_INFO, processingContext.getProperty(Constants.OUT_TRANSPORT_INFO)); return faultContext; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/705f7ef2387f0c2e39cecfb67fe479112c48dd30/AxisEngine.java/buggy/modules/core/src/org/apache/axis2/engine/AxisEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2350, 1042, 752, 7083, 1079, 1042, 12, 1079, 1042, 4929, 1042, 16, 4206, 425, 13, 5411, 1216, 15509, 7083, 288, 3639, 309, 261, 10632, 1042, 18, 291, 7798, 7083, 10756, 288, 5411, 368, 1660, 336, 326, 555, 585, 4929, 326, 12530, 18, 5083, 732, 848, 741, 5411, 604, 394, 15509, 7083, 12, 5058, 18, 24906, 2932, 1636, 17523, 7798, 7083, 7923, 1769, 3639, 289, 3639, 2350, 1042, 12530, 1042, 273, 394, 2350, 1042, 5621, 3639, 12530, 1042, 18, 542, 1750, 1042, 12, 8944, 1042, 1769, 3639, 12530, 1042, 18, 542, 2157, 1042, 12, 10632, 1042, 18, 588, 2157, 1042, 10663, 3639, 12530, 1042, 18, 542, 6568, 382, 12, 10632, 1042, 18, 588, 6568, 382, 10663, 3639, 12530, 1042, 18, 542, 6568, 1182, 12, 10632, 1042, 18, 588, 6568, 1182, 10663, 3639, 12530, 1042, 18, 542, 1079, 734, 12, 5562, 3908, 18, 588, 5562, 10663, 3639, 12530, 1042, 18, 1289, 1971, 815, 774, 12, 7734, 394, 4275, 815, 774, 12, 13491, 4929, 1042, 18, 588, 1320, 7675, 24906, 548, 9334, 13491, 5267, 310, 2918, 18, 7951, 18, 2651, 37, 67, 862, 10512, 55, 67, 4296, 67, 27822, 20101, 67, 2399, 67, 5280, 67, 4051, 10019, 3639, 12530, 1042, 18, 542, 1396, 12, 1079, 1042, 18, 27858, 67, 4043, 67, 14672, 16, 7734, 4929, 1042, 18, 588, 1396, 12, 1079, 1042, 18, 27858, 67, 4043, 67, 14672, 10019, 3639, 368, 1744, 326, 12530, 883, 819, 3639, 309, 261, 10632, 1042, 18, 588, 6558, 2988, 1435, 480, 446, 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, 2350, 1042, 752, 7083, 1079, 1042, 12, 1079, 1042, 4929, 1042, 16, 4206, 425, 13, 5411, 1216, 15509, 7083, 288, 3639, 309, 261, 10632, 1042, 18, 291, 7798, 7083, 10756, 288, 5411, 368, 1660, 336, 326, 555, 585, 4929, 326, 12530, 18, 5083, 732, 848, 741, 5411, 604, 394, 15509, 7083, 12, 5058, 18, 24906, 2932, 1636, 17523, 7798, 7083, 7923, 1769, 3639, 289, 3639, 2350, 1042, 12530, 1042, 273, 394, 2350, 1042, 5621, 3639, 12530, 1042, 18, 542, 1750, 1042, 12, 8944, 1042, 1769, 3639, 12530, 1042, 18, 542, 2157, 1042, 12, 10632, 1042, 18, 588, 2157, 1042, 10663, 3639, 12530, 1042, 18, 542, 6568, 382, 12, 10632, 1042, 18, 588, 6568, 382, 10663, 3639, 12530, 2 ]
nonAutoActivateButton.setEnabled(isEditable());
protected void createClient(Section section, FormToolkit toolkit) { initializeFonts(); Composite mainContainer = toolkit.createComposite(section); GridLayout layout = new GridLayout(); layout.marginHeight = layout.marginWidth = 2; layout.verticalSpacing = 10; mainContainer.setLayout(layout); mainContainer.setLayoutData(new GridData(GridData.FILL_BOTH)); /* * create new manifest part */ Composite topContainer = toolkit.createComposite(mainContainer); layout = new GridLayout(); layout.marginHeight = layout.marginWidth = 2; layout.numColumns = 2; layout.makeColumnsEqualWidth= false; topContainer.setLayout(layout); toolkit.createLabel(topContainer, "To take advantage of this feature, the plug-in must contain a manifest.mf file."); Hyperlink manifestLink = toolkit.createHyperlink(topContainer, "Create a manifest file",SWT.NULL); manifestLink.addHyperlinkListener(new IHyperlinkListener(){ public void linkActivated(HyperlinkEvent e) { /** * TODO: hook code to create manifest.mf here */ } public void linkExited(HyperlinkEvent e) { } public void linkEntered(HyperlinkEvent e) { } }); /* * Bottom parts (Activation Rule & Exceptions) */ Composite bottomContainer = toolkit.createComposite(mainContainer); layout = new GridLayout(); layout.makeColumnsEqualWidth = true; layout.marginHeight = layout.marginWidth = 0; layout.numColumns = 2; bottomContainer.setLayout(layout); bottomContainer.setLayoutData(new GridData(GridData.FILL_BOTH)); /* * Activation rule part */ Composite ruleContainer = toolkit.createComposite(bottomContainer); layout = new GridLayout(); layout.marginHeight = layout.marginWidth = 2; ruleContainer.setLayout(layout); ruleContainer.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING)); Label activateLabel = toolkit.createLabel(ruleContainer, "Activation Rule"); activateLabel.setFont(boldFont); autoActivateButton = toolkit .createButton( ruleContainer, "Always activate this plug-in", SWT.RADIO); GridData gd = new GridData(); gd.horizontalIndent = 5; autoActivateButton.setLayoutData(gd); autoActivateButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { /* * TODO: set auto-start header properties */ } }); /* * auto-activate should be set to true by default with empty exceptions package list */ autoActivateButton.setSelection(true); nonAutoActivateButton = toolkit .createButton( ruleContainer, "Do not activate this plug-in", SWT.RADIO); gd = new GridData(); gd.horizontalIndent = 5; nonAutoActivateButton.setLayoutData(gd); nonAutoActivateButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { /* * TODO: set auto-start header properties */ } }); /* * Exceptions part */ Composite exceptionsContainer = toolkit.createComposite(bottomContainer); layout = new GridLayout(); layout.marginWidth = layout.marginHeight = 2; layout.verticalSpacing = 3; exceptionsContainer.setLayout(layout); exceptionsContainer.setLayoutData(new GridData(GridData.FILL_BOTH)); Label exceptionLabel = toolkit.createLabel(exceptionsContainer, "Exceptions to the Rule"); exceptionLabel.setFont(boldFont); exceptionLabel.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Label label = toolkit.createLabel(exceptionsContainer, "Ignore the activation rule when loaded classes belong to the following subset of packages:", SWT.WRAP); gd = new GridData(GridData.FILL_HORIZONTAL); gd.widthHint = 225; label.setLayoutData(gd); Composite exceptionsPkgContainer = toolkit.createComposite(exceptionsContainer); layout = new GridLayout(); layout.marginWidth = layout.marginHeight = 0; layout.numColumns = 2; exceptionsPkgContainer.setLayout(layout); exceptionsPkgContainer.setLayoutData(new GridData(GridData.FILL_BOTH)); EditableTablePart tablePart = getTablePart(); IModel model = (IModel) getPage().getModel(); tablePart.setEditable(model.isEditable()); createViewerPartControl(exceptionsPkgContainer, SWT.FULL_SELECTION, 2, toolkit); osgiTableViewer = tablePart.getTableViewer(); osgiTableViewer.setContentProvider(new TableContentProvider()); osgiTableViewer.setLabelProvider(new TableLabelProvider()); toolkit.paintBordersFor(exceptionsContainer); section.setClient(mainContainer); initialize(); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/94a3cd05e7d4d18da04fefb83132edf7a57ca04f/OSGiSection.java/clean/ui/org.eclipse.pde.ui/src_Forms/org/eclipse/pde/internal/ui/neweditor/plugin/OSGiSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 918, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 30872, 12, 5285, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 2442, 16, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 2748, 6364, 8691, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 5226, 8691, 13, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 288, 202, 202, 11160, 5711, 87, 5621, 9506, 202, 799, 1724, 275, 265, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 2774, 2170, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 273, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 6313, 3744, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 3511, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 273, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 394, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2686, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 273, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 3511, 18, 10107, 2384, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 273, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 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, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 918, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 30872, 12, 5285, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 2442, 16, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 2748, 6364, 8691, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 5226, 8691, 13, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 288, 202, 202, 11160, 5711, 87, 5621, 9506, 202, 799, 1724, 275, 265, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 2774, 2170, 5836, 4965, 21370, 3616, 18, 542, 1526, 12, 291, 15470, 10663, 273, 5836, 2 ]
caOperations = CertDirectoryServiceFactory.getCertDirectoryServiceCAInstance( caPolicy.ldapType, caPolicy.ldapURL, support.getServiceBroker(), cadnname);
CertDirectoryServiceRequestor cdsr = new CertDirectoryServiceRequestorImpl(caPolicy.ldapURL, caPolicy.ldapType, support.getServiceBroker(), cadnname); caOperations = (CertDirectoryServiceCA) support.getServiceBroker().getService(cdsr, CertDirectoryServiceCA.class, null);
public void doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException { PrintWriter out=res.getWriter(); res.setContentType("text/html"); String alias=req.getParameter("alias"); //String role=req.getParameter("role"); String cadnname=req.getParameter("cadnname"); out.println("<html>"); out.println("<script language=\"javascript\">"); out.println("function submitme(form)"); out.println("{ form.submit()}</script>"); out.println("</head>"); out.println("<body>"); if((alias==null)||(alias=="")) { out.println("Error in getting the certificate alias"); out.flush(); out.close(); return; } if((cadnname==null)||(cadnname=="")) { out.println("Error in getting the CA's DN "); out.flush(); out.close(); return; } try { caPolicy = configParser.getCaPolicy(cadnname); nodeConfiguration = new NodeConfiguration(cadnname, support.getServiceBroker()); caOperations = CertDirectoryServiceFactory.getCertDirectoryServiceCAInstance( caPolicy.ldapType, caPolicy.ldapURL, support.getServiceBroker(), cadnname); } catch (Exception e) { out.print("Unable to read policy file: " + e); out.flush(); out.close(); return; } String actionType = req.getParameter("actiontype"); // 0 is deny, 1 is approve, -1 is unknown status if (actionType != null) { // retrieve pending certificate X509Certificate certimpl; try { //certimpl=ldapentries[0].getCertificate(); PendingCertCache pendingCache = PendingCertCache.getPendingCache(cadnname, support.getServiceBroker()); certimpl = (X509Certificate) pendingCache.getCertificate(nodeConfiguration.getPendingDirectoryName(cadnname), alias); if (actionType.indexOf("Approve") >= 0) { caOperations.publishCertificate(certimpl, CertificateUtility.EntityCert,null); out.println("Certificate is now approved: " + certimpl.getSubjectDN().getName()); // need to move to approved directory pendingCache.moveCertificate( nodeConfiguration.getPendingDirectoryName(cadnname), nodeConfiguration.getX509DirectoryName(cadnname), alias); } if (actionType.indexOf("Deny") >= 0) { out.println("Certificate is denied: " + certimpl.getSubjectDN().getName()); // need to move to denied directory pendingCache.moveCertificate( nodeConfiguration.getPendingDirectoryName(cadnname), nodeConfiguration.getDeniedDirectoryName(cadnname), alias); } } catch (Exception exp) { out.println("error----------- "+exp.toString()); out.flush(); out.close(); return; } } String uri = req.getRequestURI(); String certlistUri = uri.substring(0, uri.lastIndexOf('/')) + "/PendingCertificateServlet"; out.println(appendForm(certlistUri,cadnname)); out.println("</body>"); out.println("</html>"); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/142369560e72a2158eb7bcb5ef783e21f556cbb8/ProcessPendingCertServlet.java/buggy/securityservices/src/org/cougaar/core/security/certauthority/servlet/ProcessPendingCertServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 3349, 261, 2940, 18572, 225, 1111, 16, 12446, 400, 13, 565, 1216, 16517, 16, 14106, 225, 288, 565, 14071, 596, 33, 455, 18, 588, 2289, 5621, 565, 400, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 565, 514, 2308, 33, 3658, 18, 588, 1662, 2932, 4930, 8863, 565, 368, 780, 2478, 33, 3658, 18, 588, 1662, 2932, 4615, 8863, 565, 514, 28451, 82, 529, 33, 3658, 18, 588, 1662, 2932, 71, 361, 82, 529, 8863, 565, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 4263, 2653, 5189, 11242, 21121, 1769, 565, 596, 18, 8222, 2932, 915, 4879, 3501, 12, 687, 2225, 1769, 565, 596, 18, 8222, 2932, 95, 646, 18, 9297, 1435, 12863, 4263, 2984, 1769, 565, 596, 18, 8222, 2932, 1757, 1978, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 3432, 2984, 1769, 565, 309, 12443, 4930, 631, 2011, 14047, 96, 12, 4930, 631, 3660, 3719, 288, 1377, 596, 18, 8222, 2932, 668, 316, 8742, 326, 4944, 2308, 8863, 1377, 596, 18, 11330, 5621, 1377, 596, 18, 4412, 5621, 1377, 327, 31, 565, 289, 565, 309, 12443, 71, 361, 82, 529, 631, 2011, 14047, 96, 12, 71, 361, 82, 529, 631, 3660, 3719, 288, 1377, 596, 18, 8222, 2932, 668, 316, 8742, 326, 6425, 1807, 18001, 315, 1769, 1377, 596, 18, 11330, 5621, 1377, 596, 18, 4412, 5621, 1377, 327, 31, 565, 289, 565, 775, 288, 1377, 3474, 2582, 273, 642, 2678, 18, 588, 23508, 2582, 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, 741, 3349, 261, 2940, 18572, 225, 1111, 16, 12446, 400, 13, 565, 1216, 16517, 16, 14106, 225, 288, 565, 14071, 596, 33, 455, 18, 588, 2289, 5621, 565, 400, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 565, 514, 2308, 33, 3658, 18, 588, 1662, 2932, 4930, 8863, 565, 368, 780, 2478, 33, 3658, 18, 588, 1662, 2932, 4615, 8863, 565, 514, 28451, 82, 529, 33, 3658, 18, 588, 1662, 2932, 71, 361, 82, 529, 8863, 565, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 565, 596, 18, 8222, 2932, 32, 4263, 2653, 5189, 11242, 21121, 1769, 565, 596, 18, 8222, 2932, 915, 4879, 3501, 12, 687, 2225, 1769, 565, 596, 18, 8222, 2932, 95, 646, 2 ]
if(generatedURI != null && !uri.equals(generatedURI)) Logger.error(this, "onGeneratedURI("+uri+","+state+") but already set generatedURI to "+generatedURI); generatedURI = uri;
synchronized(this) { if(generatedURI != null && !uri.equals(generatedURI)) Logger.error(this, "onGeneratedURI("+uri+","+state+") but already set generatedURI to "+generatedURI); generatedURI = uri; }
public void onGeneratedURI(FreenetURI uri, BaseClientPutter state) { if(generatedURI != null && !uri.equals(generatedURI)) Logger.error(this, "onGeneratedURI("+uri+","+state+") but already set generatedURI to "+generatedURI); generatedURI = uri; trySendGeneratedURIMessage(); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/2feef30f4266f2b8f54b92445661044a936a611a/ClientPut.java/buggy/src/freenet/node/fcp/ClientPut.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 7823, 3098, 12, 42, 2842, 278, 3098, 2003, 16, 3360, 1227, 6426, 387, 919, 13, 288, 202, 202, 430, 12, 11168, 3098, 480, 446, 597, 401, 1650, 18, 14963, 12, 11168, 3098, 3719, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 265, 7823, 3098, 2932, 15, 1650, 15, 15937, 15, 2019, 15, 7923, 1496, 1818, 444, 4374, 3098, 358, 13773, 11168, 3098, 1769, 202, 202, 11168, 3098, 273, 2003, 31, 202, 202, 698, 3826, 7823, 3098, 1079, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 7823, 3098, 12, 42, 2842, 278, 3098, 2003, 16, 3360, 1227, 6426, 387, 919, 13, 288, 202, 202, 430, 12, 11168, 3098, 480, 446, 597, 401, 1650, 18, 14963, 12, 11168, 3098, 3719, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 265, 7823, 3098, 2932, 15, 1650, 15, 15937, 15, 2019, 15, 7923, 1496, 1818, 444, 4374, 3098, 358, 13773, 11168, 3098, 1769, 202, 202, 11168, 3098, 273, 2003, 31, 202, 202, 698, 3826, 7823, 3098, 1079, 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 ]
if (yESet) result.append(y); else result.append("<unset>");
if (yESet) result.append(y); else result.append("<unset>");
public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (x: "); if (xESet) result.append(x); else result.append("<unset>"); result.append(", y: "); if (yESet) result.append(y); else result.append("<unset>"); result.append(')'); return result.toString(); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LocationImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/LocationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 73, 2520, 3886, 10756, 327, 2240, 18, 10492, 5621, 3639, 6674, 563, 273, 394, 6674, 12, 9565, 18, 10492, 10663, 3639, 563, 18, 6923, 2932, 261, 92, 30, 315, 1769, 3639, 309, 261, 17432, 694, 13, 563, 18, 6923, 12, 92, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 677, 30, 315, 1769, 3639, 309, 261, 93, 41, 694, 13, 563, 18, 6923, 12, 93, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2668, 2506, 1769, 3639, 327, 563, 18, 10492, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 73, 2520, 3886, 10756, 327, 2240, 18, 10492, 5621, 3639, 6674, 563, 273, 394, 6674, 12, 9565, 18, 10492, 10663, 3639, 563, 18, 6923, 2932, 261, 92, 30, 315, 1769, 3639, 309, 261, 17432, 694, 13, 563, 18, 6923, 12, 92, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2932, 16, 677, 30, 315, 1769, 3639, 309, 261, 93, 41, 694, 13, 563, 18, 6923, 12, 93, 1769, 469, 563, 18, 6923, 2932, 32, 18579, 2984, 1769, 3639, 563, 18, 6923, 2668, 2506, 1769, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
filterEntries();
filterEntries();
public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection // bug. if (e.getPropertyName().equals( JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.getSelectedFile().toString()); int index = -1; File file = filechooser.getSelectedFile(); for (index = 0; index < model.getSize(); index++) if (((File) model.getElementAt(index)).equals(file)) break; if (index == -1) return; filelist.setSelectedIndex(index); filelist.ensureIndexIsVisible(index); filelist.revalidate(); filelist.repaint(); } else if (e.getPropertyName().equals( JFileChooser.DIRECTORY_CHANGED_PROPERTY)) { filelist.clearSelection(); filelist.revalidate(); filelist.repaint(); setDirectorySelected(false); setDirectory(filechooser.getCurrentDirectory()); boxEntries(); } else if (e.getPropertyName().equals( JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) filterEntries(); else if (e.getPropertyName().equals( JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) { Window owner = SwingUtilities.windowForComponent(filechooser); if (owner instanceof JDialog) ((JDialog) owner).setTitle(getDialogTitle(filechooser)); accept.setText(getApproveButtonText(filechooser)); accept.setToolTipText(getApproveButtonToolTipText(filechooser)); accept.setMnemonic(getApproveButtonMnemonic(filechooser)); } else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) accept.setText(getApproveButtonText(filechooser)); else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) accept.setToolTipText(getApproveButtonToolTipText(filechooser)); else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) accept.setMnemonic(getApproveButtonMnemonic(filechooser)); else if (e.getPropertyName().equals( JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) { if (filechooser.getControlButtonsAreShown()) { GridBagConstraints c = new GridBagConstraints(); c.gridy = 1; bottomPanel.add(filters, c); c.fill = GridBagConstraints.BOTH; c.gridy = 2; c.anchor = GridBagConstraints.EAST; bottomPanel.add(closePanel, c); bottomPanel.revalidate(); bottomPanel.repaint(); bottomPanel.doLayout(); } else bottomPanel.remove(closePanel); } else if (e.getPropertyName().equals( JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) { if (filechooser.isAcceptAllFileFilterUsed()) filechooser.addChoosableFileFilter(getAcceptAllFileFilter(filechooser)); else filechooser.removeChoosableFileFilter(getAcceptAllFileFilter(filechooser)); } else if (e.getPropertyName().equals( JFileChooser.ACCESSORY_CHANGED_PROPERTY)) { JComponent old = (JComponent) e.getOldValue(); if (old != null) getAccessoryPanel().remove(old); JComponent newval = (JComponent) e.getNewValue(); if (newval != null) getAccessoryPanel().add(newval); } if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals( JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) rescanCurrentDirectory(filechooser); filechooser.revalidate(); filechooser.repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 202, 95, 3639, 368, 9852, 30, 13531, 585, 4421, 7336, 603, 804, 682, 3229, 4421, 3639, 368, 7934, 18, 3639, 309, 261, 73, 18, 588, 13073, 7675, 14963, 12, 4766, 4202, 804, 812, 17324, 18, 4803, 2056, 67, 3776, 67, 24435, 67, 9900, 3719, 202, 565, 288, 202, 1377, 309, 261, 768, 2599, 13164, 18, 588, 7416, 812, 1435, 422, 446, 13, 202, 202, 542, 4771, 12, 2011, 1769, 202, 1377, 469, 202, 202, 542, 4771, 12, 768, 2599, 13164, 18, 588, 7416, 812, 7675, 10492, 10663, 202, 1377, 509, 770, 273, 300, 21, 31, 202, 1377, 1387, 585, 273, 585, 2599, 13164, 18, 588, 7416, 812, 5621, 202, 1377, 364, 261, 1615, 273, 374, 31, 770, 411, 938, 18, 588, 1225, 5621, 770, 27245, 202, 202, 430, 261, 12443, 812, 13, 938, 18, 21336, 861, 12, 1615, 13, 2934, 14963, 12, 768, 3719, 1082, 225, 898, 31, 202, 1377, 309, 261, 1615, 422, 300, 21, 13, 202, 202, 2463, 31, 202, 1377, 26204, 18, 542, 7416, 1016, 12, 1615, 1769, 202, 1377, 26204, 18, 15735, 1016, 2520, 6207, 12, 1615, 1769, 202, 1377, 26204, 18, 266, 5662, 5621, 202, 1377, 26204, 18, 14462, 1598, 5621, 202, 565, 289, 3639, 469, 309, 261, 73, 18, 588, 13073, 7675, 14963, 12, 4766, 5411, 804, 812, 17324, 18, 17229, 67, 24435, 67, 9900, 3719, 202, 565, 288, 202, 1377, 26204, 18, 8507, 6233, 5621, 202, 1377, 26204, 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, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 202, 95, 3639, 368, 9852, 30, 13531, 585, 4421, 7336, 603, 804, 682, 3229, 4421, 3639, 368, 7934, 18, 3639, 309, 261, 73, 18, 588, 13073, 7675, 14963, 12, 4766, 4202, 804, 812, 17324, 18, 4803, 2056, 67, 3776, 67, 24435, 67, 9900, 3719, 202, 565, 288, 202, 1377, 309, 261, 768, 2599, 13164, 18, 588, 7416, 812, 1435, 422, 446, 13, 202, 202, 542, 4771, 12, 2011, 1769, 202, 1377, 469, 202, 202, 542, 4771, 12, 768, 2599, 13164, 18, 588, 7416, 812, 7675, 10492, 10663, 202, 1377, 509, 770, 273, 300, 21, 31, 202, 1377, 1387, 585, 273, 585, 2599, 13164, 18, 588, 7416, 812, 5621, 2 ]
queue = new int[n]; top = 0;
queue = new int[n]; top = 0;
public Frame[] analyze (final String owner, final MethodNode m) throws AnalyzerException { n = m.instructions.size(); indexes = new IntMap(2*n); handlers = new List[n]; frames = new Frame[n]; subroutines = new Subroutine[n]; queued = new boolean[n]; queue = new int[n]; top = 0; // computes instruction indexes for (int i = 0; i < n; ++i) { Object insn = m.instructions.get(i); if (insn instanceof LabelNode) { insn = ((LabelNode)insn).label; } indexes.put(insn, i); } // computes exception handlers for each instruction for (int i = 0; i < m.tryCatchBlocks.size(); ++i) { TryCatchBlockNode tcb = (TryCatchBlockNode)m.tryCatchBlocks.get(i); int begin = indexes.get(tcb.start); int end = indexes.get(tcb.end); for (int j = begin; j < end; ++j) { List insnHandlers = handlers[j]; if (insnHandlers == null) { insnHandlers = new ArrayList(); handlers[j] = insnHandlers; } insnHandlers.add(tcb); } } // initializes the data structures for the control flow analysis algorithm Frame current = newFrame(m.maxLocals, m.maxStack); Frame handler = newFrame(m.maxLocals, m.maxStack); Type[] args = Type.getArgumentTypes(m.desc); int local = 0; if ((m.access & ACC_STATIC) == 0) { Type ctype = Type.getType("L" + owner + ";"); current.setLocal(local++, interpreter.newValue(ctype)); } for (int i = 0; i < args.length; ++i) { current.setLocal(local++, interpreter.newValue(args[i])); if (args[i].getSize() == 2) { current.setLocal(local++, interpreter.newValue(null)); } } while (local < m.maxLocals) { current.setLocal(local++, interpreter.newValue(null)); } merge(0, current, null); // control flow analysis while (top > 0) { int insn = queue[--top]; Frame f = frames[insn]; Subroutine subroutine = subroutines[insn]; queued[insn] = false; try { Object o = m.instructions.get(insn); if (o instanceof LabelNode) { merge(insn + 1, f, subroutine); } else { AbstractInsnNode insnNode = (AbstractInsnNode)o; int insnOpcode = insnNode.getOpcode(); current.init(f).execute(insnNode, interpreter); subroutine = subroutine == null ? null : subroutine.copy(); if (insnNode instanceof JumpInsnNode) { JumpInsnNode j = (JumpInsnNode)insnNode; if (insnOpcode != GOTO && insnOpcode != JSR) { merge(insn + 1, current, subroutine); } if (insnOpcode == JSR) { subroutine = new Subroutine(j.label, m.maxLocals, j); } merge(indexes.get(j.label), current, subroutine); } else if (insnNode instanceof LookupSwitchInsnNode) { LookupSwitchInsnNode lsi = (LookupSwitchInsnNode)insnNode; merge(indexes.get(lsi.dflt), current, subroutine); for (int j = 0; j < lsi.labels.size(); ++j) { Label label = (Label)lsi.labels.get(j); merge(indexes.get(label), current, subroutine); } } else if (insnNode instanceof TableSwitchInsnNode) { TableSwitchInsnNode tsi = (TableSwitchInsnNode)insnNode; merge(indexes.get(tsi.dflt), current, subroutine); for (int j = 0; j < tsi.labels.size(); ++j) { Label label = (Label)tsi.labels.get(j); merge(indexes.get(label), current, subroutine); } } else if (insnOpcode == RET) { if (subroutine == null) { throw new AnalyzerException( "RET instruction outside of a sub routine"); } for (int i = 0; i < subroutine.callers.size(); ++i) { int caller = indexes.get(subroutine.callers.get(i)); merge(caller + 1, frames[caller], current, subroutine.access); } } else if (insnOpcode != ATHROW && (insnOpcode < IRETURN || insnOpcode > RETURN)) { if (subroutine != null) { if (insnNode instanceof VarInsnNode) { int var = ((VarInsnNode)insnNode).var; subroutine.access[var] = true; if (insnOpcode == LLOAD || insnOpcode == DLOAD || insnOpcode == LSTORE || insnOpcode == DSTORE) { subroutine.access[var + 1] = true; } } else if (insnNode instanceof IincInsnNode) { int var = ((IincInsnNode)insnNode).var; subroutine.access[var] = true; } } merge(insn + 1, current, subroutine); } } List insnHandlers = handlers[insn]; if (insnHandlers != null) { for (int i = 0; i < insnHandlers.size(); ++i) { TryCatchBlockNode tcb = (TryCatchBlockNode)insnHandlers.get(i); Type type; if (tcb.type == null) { type = Type.getType("Ljava/lang/Throwable;"); } else { type = Type.getType("L" + tcb.type + ";"); } handler.init(f); handler.clearStack(); handler.push(interpreter.newValue(type)); merge(indexes.get(tcb.handler), handler, subroutine); } } } catch (Exception e) { throw new AnalyzerException( "Error at instruction " + insn + ": " + e.getMessage()); } } return frames; }
2697 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2697/5a4ae382e5048d91453ece2c63115d3356d8a60f/Analyzer.java/buggy/asm/src/org/objectweb/asm/tree/analysis/Analyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8058, 8526, 12375, 261, 6385, 514, 3410, 16, 727, 2985, 907, 312, 13, 377, 1216, 1922, 6893, 503, 225, 288, 565, 290, 273, 312, 18, 25758, 18, 1467, 5621, 565, 5596, 273, 394, 3094, 863, 12, 22, 14, 82, 1769, 565, 4919, 273, 394, 987, 63, 82, 15533, 565, 7793, 273, 394, 8058, 63, 82, 15533, 565, 720, 7028, 1465, 273, 394, 2592, 22640, 63, 82, 15533, 565, 12234, 273, 394, 1250, 63, 82, 15533, 565, 2389, 273, 394, 509, 63, 82, 15533, 3639, 1760, 273, 374, 31, 540, 368, 15881, 7592, 5596, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 1377, 1033, 29821, 273, 312, 18, 25758, 18, 588, 12, 77, 1769, 1377, 309, 261, 2679, 82, 1276, 5287, 907, 13, 288, 3639, 29821, 273, 14015, 2224, 907, 13, 2679, 82, 2934, 1925, 31, 1377, 289, 1377, 5596, 18, 458, 12, 2679, 82, 16, 277, 1769, 565, 289, 565, 368, 15881, 1520, 4919, 364, 1517, 7592, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 312, 18, 698, 14842, 6450, 18, 1467, 5621, 965, 77, 13, 288, 1377, 6161, 14842, 1768, 907, 1715, 70, 273, 261, 7833, 14842, 1768, 907, 13, 81, 18, 698, 14842, 6450, 18, 588, 12, 77, 1769, 1377, 509, 2376, 273, 5596, 18, 588, 12, 5111, 70, 18, 1937, 1769, 1377, 509, 679, 273, 5596, 18, 588, 12, 5111, 70, 18, 409, 1769, 1377, 364, 261, 474, 525, 273, 2376, 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, 1071, 8058, 8526, 12375, 261, 6385, 514, 3410, 16, 727, 2985, 907, 312, 13, 377, 1216, 1922, 6893, 503, 225, 288, 565, 290, 273, 312, 18, 25758, 18, 1467, 5621, 565, 5596, 273, 394, 3094, 863, 12, 22, 14, 82, 1769, 565, 4919, 273, 394, 987, 63, 82, 15533, 565, 7793, 273, 394, 8058, 63, 82, 15533, 565, 720, 7028, 1465, 273, 394, 2592, 22640, 63, 82, 15533, 565, 12234, 273, 394, 1250, 63, 82, 15533, 565, 2389, 273, 394, 509, 63, 82, 15533, 3639, 1760, 273, 374, 31, 540, 368, 15881, 7592, 5596, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 1377, 1033, 29821, 273, 312, 18, 25758, 18, 2 ]
public void remove (int Index) { svs.removeElementAt(Index); }
public void remove(int Index) { Preferences.getPreferances().getAccounts().removeAccount(Index); }
public void remove (int Index) { svs.removeElementAt(Index); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b13c667b376deb4a8f2c235ffd847b57616d23c4/ServerArray.java/buggy/grendel/sources/grendel/prefs/base/ServerArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1206, 261, 474, 3340, 13, 288, 565, 5893, 87, 18, 4479, 1046, 861, 12, 1016, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 261, 474, 3340, 13, 288, 565, 5893, 87, 18, 4479, 1046, 861, 12, 1016, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SetSplitter(DUPLICATE);
SetSplitter(DUPLICATE ());
void Init(final int N, final int W) { Add(new SplitJoin() { public void Init() { SetSplitter(WEIGHTED_ROUND_ROBIN(N, N)); Add(new Filter() { public void InitIO () { input = new FloatChannel(); output = new FloatChannel(); } float weights[] = new float[W]; int curr; public void Init() { for(int i=0; i<W; i++) weights[i] = calcWeight(i, N, W); curr = 0; } public void Work() { output.Push(input.Pop()*weights[curr++]); if(curr>= W) curr = 0; } }); Add(new Identity()); SetJoiner(ROUND_ROBIN); }}); Add(new SplitJoin() { public void Init() { SetSplitter(DUPLICATE); Add(new Filter() { public void InitIO () { input = new FloatChannel(); output = new FloatChannel(); } public void Work() { float val = input.Pop(); output.Push(val - input.Pop()); } }); Add(new Filter() { public void InitIO () { input = new FloatChannel(); output = new FloatChannel(); } public void Work() { float val = input.Pop(); output.Push(val + input.Pop()); } }); SetJoiner(WEIGHTED_ROUND_ROBIN(N, N)); }});}}
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/ca08101ccba65e529ef4dc89b5600373f939b218/radio.java/buggy/streams/library/radio.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 4378, 12, 6385, 509, 423, 16, 727, 509, 678, 13, 288, 1377, 1436, 12, 2704, 5385, 4572, 1435, 288, 540, 1071, 918, 4378, 1435, 288, 5411, 1000, 26738, 12, 6950, 16055, 6404, 67, 15092, 67, 1457, 12615, 12, 50, 16, 423, 10019, 5411, 1436, 12, 2704, 4008, 1435, 288, 7734, 1071, 918, 4378, 4294, 1832, 1171, 288, 10792, 810, 273, 394, 5450, 2909, 5621, 10792, 876, 273, 394, 5450, 2909, 5621, 7734, 289, 9079, 1431, 5376, 8526, 273, 394, 1431, 63, 59, 15533, 9079, 509, 4306, 31, 9079, 1071, 918, 4378, 1435, 288, 5375, 364, 12, 474, 277, 33, 20, 31, 277, 32, 59, 31, 277, 27245, 5397, 5376, 63, 77, 65, 273, 7029, 6544, 12, 77, 16, 423, 16, 678, 1769, 5375, 4306, 273, 374, 31, 9079, 289, 9079, 1071, 918, 4147, 1435, 288, 5375, 876, 18, 7621, 12, 2630, 18, 7049, 1435, 14, 9727, 63, 17016, 9904, 19226, 5375, 309, 12, 17016, 34, 33, 678, 13, 4306, 273, 374, 31, 9079, 289, 7734, 15549, 5411, 1436, 12, 2704, 7808, 10663, 5411, 1000, 4572, 264, 12, 15092, 67, 1457, 12615, 1769, 1377, 10523, 1769, 1377, 1436, 12, 2704, 5385, 4572, 1435, 288, 540, 1071, 918, 4378, 1435, 288, 5411, 1000, 26738, 12, 30387, 26042, 1832, 1769, 5411, 1436, 12, 2704, 4008, 1435, 288, 10402, 1071, 918, 4378, 4294, 1832, 7734, 288, 10402, 810, 273, 394, 5450, 2909, 5621, 10402, 876, 273, 394, 5450, 2909, 5621, 7734, 289, 9079, 1071, 918, 4147, 1435, 288, 5375, 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, 565, 918, 4378, 12, 6385, 509, 423, 16, 727, 509, 678, 13, 288, 1377, 1436, 12, 2704, 5385, 4572, 1435, 288, 540, 1071, 918, 4378, 1435, 288, 5411, 1000, 26738, 12, 6950, 16055, 6404, 67, 15092, 67, 1457, 12615, 12, 50, 16, 423, 10019, 5411, 1436, 12, 2704, 4008, 1435, 288, 7734, 1071, 918, 4378, 4294, 1832, 1171, 288, 10792, 810, 273, 394, 5450, 2909, 5621, 10792, 876, 273, 394, 5450, 2909, 5621, 7734, 289, 9079, 1431, 5376, 8526, 273, 394, 1431, 63, 59, 15533, 9079, 509, 4306, 31, 9079, 1071, 918, 4378, 1435, 288, 5375, 364, 12, 474, 277, 33, 20, 31, 277, 32, 59, 31, 277, 27245, 5397, 5376, 63, 77, 65, 273, 7029, 6544, 12, 77, 2 ]
index = indexForElement(widget,sorter,position, element,size);
lastInsertion = insertionPosition(items,sorter,lastInsertion, element); index = lastInsertion + i;
private void createAddedElements(Widget widget, Object[] elements) { if(elements.length == 1){ if (equals(elements[0], widget.getData())) return; } ViewerSorter sorter = getSorter (); Item[] items = null; if (sorter == null) { items = getChildren(widget); for (int i = 0; i < elements.length; i++) { for (int j = 0; j < items.length; j++) { if (items[j].getData().equals(elements[i])) { //refresh the element in case it has new children refresh(elements[i]); return; } } } } //As the items are sorted already we optimize for a //start position int position = 0; int size; if(widget instanceof Control) size = getItemCount((Control) widget); else{ if(widget instanceof Item) size = getItemCount((Item) widget); else{ if(items == null) items = getChildren(widget); size = items.length; } } for (int i = 0; i < elements.length; i++) { Object element = elements[i]; int index; if(sorter == null) index = size; else{ index = indexForElement(widget,sorter,position, element,size); // Assume sorter is consistent with equals() - therefore we can // just check against the item prior to this index (if any) if (index >0 && getChild (widget, index - 1).getData().equals(element)) { //refresh the element in case it has new children refresh(element); break; } position = index; } createTreeItem(widget, element, index); size++; } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/dee7ced3518d5293cc6dc8052bea8d633d4f6834/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 8602, 3471, 12, 4609, 3604, 16, 1033, 8526, 2186, 13, 288, 202, 202, 430, 12, 6274, 18, 2469, 422, 404, 15329, 1082, 202, 430, 261, 14963, 12, 6274, 63, 20, 6487, 3604, 18, 588, 751, 1435, 3719, 9506, 202, 2463, 31, 202, 202, 97, 9506, 202, 18415, 24952, 19867, 273, 1322, 4975, 261, 1769, 202, 202, 1180, 8526, 1516, 273, 446, 31, 3639, 309, 261, 2467, 387, 422, 446, 13, 288, 1082, 282, 1516, 273, 10268, 12, 6587, 1769, 1082, 225, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1516, 18, 2469, 31, 525, 27245, 288, 2868, 309, 261, 3319, 63, 78, 8009, 588, 751, 7675, 14963, 12, 6274, 63, 77, 22643, 288, 9079, 202, 759, 9144, 326, 930, 316, 648, 518, 711, 394, 2325, 9079, 202, 9144, 12, 6274, 63, 77, 19226, 1171, 327, 31, 2868, 289, 1082, 202, 97, 1082, 225, 289, 3639, 289, 25083, 202, 759, 1463, 326, 1516, 854, 3115, 1818, 732, 10979, 364, 279, 3196, 202, 759, 1937, 1754, 202, 202, 474, 1754, 273, 374, 31, 202, 202, 474, 963, 31, 6862, 202, 430, 12, 6587, 1276, 8888, 13, 1082, 202, 1467, 273, 8143, 1380, 12443, 3367, 13, 3604, 1769, 202, 202, 12107, 95, 1082, 202, 430, 12, 6587, 1276, 4342, 13, 9506, 202, 1467, 273, 8143, 1380, 12443, 1180, 13, 3604, 1769, 1082, 202, 12107, 95, 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, 377, 3238, 918, 752, 8602, 3471, 12, 4609, 3604, 16, 1033, 8526, 2186, 13, 288, 202, 202, 430, 12, 6274, 18, 2469, 422, 404, 15329, 1082, 202, 430, 261, 14963, 12, 6274, 63, 20, 6487, 3604, 18, 588, 751, 1435, 3719, 9506, 202, 2463, 31, 202, 202, 97, 9506, 202, 18415, 24952, 19867, 273, 1322, 4975, 261, 1769, 202, 202, 1180, 8526, 1516, 273, 446, 31, 3639, 309, 261, 2467, 387, 422, 446, 13, 288, 1082, 282, 1516, 273, 10268, 12, 6587, 1769, 1082, 225, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1516, 18, 2469, 31, 525, 27245, 288, 2 ]
if( !Class.forName( "org.apache.taglibs.display.ColumnDecorator" ).isAssignableFrom( c ) ) throw new JspException( "column decorator class is not a subclass of ColumnDecorator." );
if (!Class.forName("org.apache.taglibs.display.ColumnDecorator").isAssignableFrom(c)) throw new JspException("column decorator class is not a subclass of ColumnDecorator.");
private ColumnDecorator loadColumnDecorator( String columnDecorator ) throws JspException { if( columnDecorator == null || columnDecorator.length() == 0 ) return null; try { Class c = Class.forName( columnDecorator ); // paulsenj - removed 'jakarta' from class name if( !Class.forName( "org.apache.taglibs.display.ColumnDecorator" ).isAssignableFrom( c ) ) throw new JspException( "column decorator class is not a subclass of ColumnDecorator." ); return (ColumnDecorator)c.newInstance(); } catch( Exception e ) { throw new JspException( e.toString() ); } }
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/a71dc315013464c01719d449044bb7645788f6e6/TableTag.java/clean/_OLD/displaytag08/src/org/apache/taglibs/display/TableTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 4753, 10361, 1262, 1494, 10361, 12, 514, 1057, 10361, 262, 1216, 27485, 282, 288, 1377, 309, 12, 1057, 10361, 422, 446, 747, 1057, 10361, 18, 2469, 1435, 422, 374, 262, 540, 327, 446, 31, 1377, 775, 288, 540, 1659, 276, 273, 1659, 18, 1884, 461, 12, 1057, 10361, 11272, 540, 368, 6790, 332, 87, 275, 78, 300, 3723, 296, 78, 581, 485, 69, 11, 628, 667, 508, 540, 309, 12, 401, 797, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 2692, 21571, 18, 5417, 18, 1494, 10361, 6, 262, 18, 291, 7961, 1265, 12, 276, 262, 262, 5411, 604, 394, 27485, 12, 315, 2827, 7367, 667, 353, 486, 279, 10177, 434, 4753, 10361, 1199, 11272, 540, 327, 261, 1494, 10361, 13, 71, 18, 2704, 1442, 5621, 1377, 289, 1044, 12, 1185, 425, 262, 288, 540, 604, 394, 27485, 12, 425, 18, 10492, 1435, 11272, 1377, 289, 282, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 4753, 10361, 1262, 1494, 10361, 12, 514, 1057, 10361, 262, 1216, 27485, 282, 288, 1377, 309, 12, 1057, 10361, 422, 446, 747, 1057, 10361, 18, 2469, 1435, 422, 374, 262, 540, 327, 446, 31, 1377, 775, 288, 540, 1659, 276, 273, 1659, 18, 1884, 461, 12, 1057, 10361, 11272, 540, 368, 6790, 332, 87, 275, 78, 300, 3723, 296, 78, 581, 485, 69, 11, 628, 667, 508, 540, 309, 12, 401, 797, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 2692, 21571, 18, 5417, 18, 1494, 10361, 6, 262, 18, 291, 7961, 1265, 12, 276, 262, 262, 5411, 604, 394, 27485, 12, 315, 2827, 7367, 667, 353, 486, 279, 10177, 434, 4753, 10361, 1199, 11272, 540, 2 ]
Object result = OptionPanel.confirm(InternalFramesUIProvider.this, "Really Close?", "Close Jin?", OptionPanel.OK); if (result == OptionPanel.OK) context.shutdown();
context.quit(true);
public void actionPerformed(ActionEvent evt){ ConnectionManager connManager = context.getConnManager(); Object source = evt.getSource(); if (source == newConnection){ connManager.showNewConnectionUI(); } else if (source == closeConnection){ Object result = OptionPanel.OK; Session session = context.getConnManager().getSession(); if ((session != null) && session.isConnected()){ result = OptionPanel.confirm(InternalFramesUIProvider.this, "Close Session?", "Disconnect from the server and close the session?", OptionPanel.OK); } if (result == OptionPanel.OK) connManager.closeSession(); } else if (source == exit){ Object result = OptionPanel.confirm(InternalFramesUIProvider.this, "Really Close?", "Close Jin?", OptionPanel.OK); if (result == OptionPanel.OK) context.shutdown(); } else{ // One of the recent account menu items int index = Utilities.indexOf(getMenuComponents(), source); User user = (User)recentAccounts.elementAt(index - separatorIndex - 1); connManager.showLoginInformationUI(user.getServer(), user.getPreferredConnDetails()); } }
1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/afe73e9c1f241b80e8686da0a8fb1124cbd1a71e/InternalFramesUIProvider.java/buggy/src/free/jin/InternalFramesUIProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 6324, 15329, 1377, 4050, 1318, 1487, 1318, 273, 819, 18, 588, 3543, 1318, 5621, 1377, 1033, 1084, 273, 6324, 18, 588, 1830, 5621, 1377, 309, 261, 3168, 422, 394, 1952, 15329, 3639, 1487, 1318, 18, 4500, 1908, 1952, 5370, 5621, 1377, 289, 1377, 469, 309, 261, 3168, 422, 1746, 1952, 15329, 3639, 1033, 563, 273, 2698, 5537, 18, 3141, 31, 3639, 3877, 1339, 273, 819, 18, 588, 3543, 1318, 7675, 588, 2157, 5621, 3639, 309, 14015, 3184, 480, 446, 13, 597, 1339, 18, 291, 8932, 10756, 95, 1850, 563, 273, 2698, 5537, 18, 10927, 12, 3061, 15162, 5370, 2249, 18, 2211, 16, 315, 4605, 3877, 35, 3113, 5411, 315, 18895, 628, 326, 1438, 471, 1746, 326, 1339, 35, 3113, 2698, 5537, 18, 3141, 1769, 3639, 289, 3639, 309, 261, 2088, 422, 2698, 5537, 18, 3141, 13, 1850, 1487, 1318, 18, 4412, 2157, 5621, 1377, 289, 1377, 469, 309, 261, 3168, 422, 2427, 15329, 3639, 1033, 563, 273, 2698, 5537, 18, 10927, 12, 3061, 15162, 5370, 2249, 18, 2211, 16, 315, 426, 1230, 3527, 35, 3113, 1850, 315, 4605, 804, 267, 35, 3113, 2698, 5537, 18, 3141, 1769, 3639, 309, 261, 2088, 422, 2698, 5537, 18, 3141, 13, 1850, 819, 18, 15132, 5621, 1377, 289, 1377, 469, 95, 368, 6942, 434, 326, 8399, 2236, 3824, 1516, 3639, 509, 770, 273, 26703, 18, 31806, 12, 588, 4599, 7171, 9334, 1084, 1769, 3639, 2177, 729, 273, 261, 1299, 13, 20872, 13971, 18, 2956, 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, 26100, 12, 1803, 1133, 6324, 15329, 1377, 4050, 1318, 1487, 1318, 273, 819, 18, 588, 3543, 1318, 5621, 1377, 1033, 1084, 273, 6324, 18, 588, 1830, 5621, 1377, 309, 261, 3168, 422, 394, 1952, 15329, 3639, 1487, 1318, 18, 4500, 1908, 1952, 5370, 5621, 1377, 289, 1377, 469, 309, 261, 3168, 422, 1746, 1952, 15329, 3639, 1033, 563, 273, 2698, 5537, 18, 3141, 31, 3639, 3877, 1339, 273, 819, 18, 588, 3543, 1318, 7675, 588, 2157, 5621, 3639, 309, 14015, 3184, 480, 446, 13, 597, 1339, 18, 291, 8932, 10756, 95, 1850, 563, 273, 2698, 5537, 18, 10927, 12, 3061, 15162, 5370, 2249, 18, 2211, 16, 315, 4605, 3877, 35, 3113, 5411, 315, 18895, 628, 326, 2 ]
path = PathUtil.append(getLocation().getPath(), path);
path = PathUtil.append(locationPath, PathUtil.encode(path));
public String getFullPath(String path) { if (path != null && path.startsWith("/")) { if ("/".equals(path)) { return getRepositoryRoot(); } // assume it is full path in repository // prepend root only. return PathUtil.append(getRepositoryRoot(), path); } // it was a relative path relative to location path. // decode?? if ("".equals(path)) { path = getLocation().getPath(); } else { path = PathUtil.append(getLocation().getPath(), path); } if (!path.startsWith("/")) { path = '/' + path; } return path; }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/34dbf3ee287103c6a70361543b6f3ec2e1cb30d1/DAVRepository.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 10208, 743, 12, 780, 589, 13, 288, 377, 202, 3639, 309, 261, 803, 480, 446, 597, 589, 18, 17514, 1190, 2932, 4898, 3719, 288, 540, 202, 430, 7566, 4898, 18, 14963, 12, 803, 3719, 288, 540, 202, 202, 2463, 8261, 2375, 5621, 540, 202, 97, 5411, 368, 6750, 518, 353, 1983, 589, 316, 3352, 5411, 368, 8254, 1365, 1338, 18, 13491, 327, 2666, 1304, 18, 6923, 12, 588, 3305, 2375, 9334, 589, 1769, 3639, 289, 3639, 368, 518, 1703, 279, 3632, 589, 3632, 358, 2117, 589, 18, 3639, 368, 2495, 14646, 3639, 309, 261, 3660, 18, 14963, 12, 803, 3719, 288, 5411, 589, 273, 13312, 7675, 588, 743, 5621, 3639, 289, 469, 288, 5411, 589, 273, 2666, 1304, 18, 6923, 12, 3562, 743, 16, 2666, 1304, 18, 3015, 12, 803, 10019, 3639, 289, 3639, 309, 16051, 803, 18, 17514, 1190, 2932, 4898, 3719, 288, 5411, 589, 273, 2023, 397, 589, 31, 10792, 289, 3639, 327, 589, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 10208, 743, 12, 780, 589, 13, 288, 377, 202, 3639, 309, 261, 803, 480, 446, 597, 589, 18, 17514, 1190, 2932, 4898, 3719, 288, 540, 202, 430, 7566, 4898, 18, 14963, 12, 803, 3719, 288, 540, 202, 202, 2463, 8261, 2375, 5621, 540, 202, 97, 5411, 368, 6750, 518, 353, 1983, 589, 316, 3352, 5411, 368, 8254, 1365, 1338, 18, 13491, 327, 2666, 1304, 18, 6923, 12, 588, 3305, 2375, 9334, 589, 1769, 3639, 289, 3639, 368, 518, 1703, 279, 3632, 589, 3632, 358, 2117, 589, 18, 3639, 368, 2495, 14646, 3639, 309, 261, 3660, 18, 14963, 12, 803, 3719, 288, 5411, 589, 273, 13312, 7675, 588, 743, 5621, 3639, 289, 469, 288, 5411, 589, 273, 2 ]
Dimension result = new Dimension(d.width + arrowButtonWidth, d.height); return result;
cachedMinimumSize = new Dimension(d.width + arrowButtonWidth, d.height); isMinimumSizeDirty = false; } return new Dimension(cachedMinimumSize);
public Dimension getMinimumSize(JComponent c) { Dimension d = getDisplaySize(); int arrowButtonWidth = d.height; Dimension result = new Dimension(d.width + arrowButtonWidth, d.height); return result; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8a49a412752cdcc88a774cac2de160a23c6f550/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 30665, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 13037, 302, 273, 13854, 1225, 5621, 565, 509, 12274, 3616, 2384, 273, 302, 18, 4210, 31, 565, 13037, 563, 273, 394, 13037, 12, 72, 18, 2819, 397, 12274, 3616, 2384, 16, 302, 18, 4210, 1769, 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, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13037, 30665, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 13037, 302, 273, 13854, 1225, 5621, 565, 509, 12274, 3616, 2384, 273, 302, 18, 4210, 31, 565, 13037, 563, 273, 394, 13037, 12, 72, 18, 2819, 397, 12274, 3616, 2384, 16, 302, 18, 4210, 1769, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public ASTFloatingPointLiteral(int id) {
public ASTFloatingPointLiteral(int id) {
public ASTFloatingPointLiteral(int id) { super(id); }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/db561fa3a70ed2d8e5214b27d7905e75cbaa2125/ASTFloatingPointLiteral.java/buggy/src/java/org/apache/velocity/runtime/parser/node/ASTFloatingPointLiteral.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9183, 28344, 2148, 6177, 12, 474, 612, 13, 288, 3639, 2240, 12, 350, 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, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9183, 28344, 2148, 6177, 12, 474, 612, 13, 288, 3639, 2240, 12, 350, 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, -100, -100, -100, -100, -100, -100, -100 ]
{ return false; }
{ return false; }
public boolean nullsAreSortedAtStart() throws SQLException { return false; }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/buggy/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 27778, 4704, 11739, 861, 1685, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 27778, 4704, 11739, 861, 1685, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 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 ]
Logger.minor(this, "Memory in use at start: "+memUsedAtStart);
Logger.minor(this, "Memory in use at start: "+memUsedAtStart+" max="+Runtime.getRuntime().maxMemory());
private void realEncode(SplitfileBlock[] dataBlockStatus, SplitfileBlock[] checkBlockStatus, int blockLength, BucketFactory bf) throws IOException { Runtime.getRuntime().gc(); Runtime.getRuntime().runFinalization(); Runtime.getRuntime().gc(); Runtime.getRuntime().runFinalization(); long memUsedAtStart = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); Logger.minor(this, "Memory in use at start: "+memUsedAtStart); System.err.println("************* Encoding " + dataBlockStatus.length + " -> " + checkBlockStatus.length + " *************"); Logger.minor(this, "Doing encode: " + dataBlockStatus.length + " data blocks, " + checkBlockStatus.length + " check blocks, block length " + blockLength + " with " + this); if (dataBlockStatus.length + checkBlockStatus.length != n) throw new IllegalArgumentException(); if (dataBlockStatus.length != k) throw new IllegalArgumentException(); Buffer[] dataPackets = new Buffer[k]; Buffer[] checkPackets = new Buffer[n - k]; Bucket[] buckets = new Bucket[n]; DataInputStream[] readers = new DataInputStream[k]; OutputStream[] writers = new OutputStream[n - k]; try { int[] toEncode = new int[n - k]; int numberToEncode = 0; // can be less than n-k byte[] realBuffer = new byte[n * STRIPE_SIZE]; for (int i = 0; i < k; i++) dataPackets[i] = new Buffer(realBuffer, i * STRIPE_SIZE, STRIPE_SIZE); for (int i = 0; i < n - k; i++) checkPackets[i] = new Buffer(realBuffer, (i + k) * STRIPE_SIZE, STRIPE_SIZE); for (int i = 0; i < dataBlockStatus.length; i++) { buckets[i] = dataBlockStatus[i].getData(); long sz = buckets[i].size(); if (sz < blockLength) { if (i != dataBlockStatus.length - 1) throw new IllegalArgumentException( "All buckets except the last must be the full size"); if (sz < blockLength) buckets[i] = pad(buckets[i], blockLength, bf, (int) sz); else throw new IllegalArgumentException("Too big: " + sz + " bigger than " + blockLength); } readers[i] = new DataInputStream(buckets[i].getInputStream()); } for (int i = 0; i < checkBlockStatus.length; i++) { buckets[i + k] = checkBlockStatus[i].getData(); if (buckets[i + k] == null) { buckets[i + k] = bf.makeBucket(blockLength); writers[i] = buckets[i + k].getOutputStream(); toEncode[numberToEncode++] = i + k; } else { writers[i] = null; } } if (numberToEncode > 0) { // Do the (striped) decode for (int offset = 0; offset < blockLength; offset += STRIPE_SIZE) { // Read the data in first for (int i = 0; i < k; i++) { readers[i].readFully(realBuffer, i * STRIPE_SIZE, STRIPE_SIZE); } // Do the encode // Not shuffled long startTime = System.currentTimeMillis(); Runtime.getRuntime().gc(); Runtime.getRuntime().runFinalization(); Runtime.getRuntime().gc(); Runtime.getRuntime().runFinalization(); long memUsedBeforeStripe = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); Logger.minor(this, "Memory in use before stripe: "+memUsedBeforeStripe); code.encode(dataPackets, checkPackets, toEncode); Runtime.getRuntime().gc(); Runtime.getRuntime().runFinalization(); Runtime.getRuntime().gc(); Runtime.getRuntime().runFinalization(); long memUsedAfterStripe = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); Logger.minor(this, "Memory in use after stripe: "+memUsedAfterStripe); long endTime = System.currentTimeMillis(); Logger.minor(this, "Stripe encode took " + (endTime - startTime) + " ms for k=" + k + ", n=" + n + ", stripeSize=" + STRIPE_SIZE); // packets now contains an array of decoded blocks, in order // Write the data out for (int i = k; i < n; i++) { if (writers[i - k] != null) writers[i - k].write(realBuffer, i * STRIPE_SIZE, STRIPE_SIZE); } } } } finally { for (int i = 0; i < k; i++) if (readers[i] != null) readers[i].close(); for (int i = 0; i < n - k; i++) if (writers[i] != null) writers[i].close(); } // Set new buckets only after have a successful decode. for (int i = 0; i < checkBlockStatus.length; i++) { Bucket data = buckets[i + k]; if (data == null) throw new NullPointerException(); checkBlockStatus[i].setData(data); } System.err.println("************* Encoded " + dataBlockStatus.length + " -> " + checkBlockStatus.length + " *************"); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/b4ecaa4055b5835413830d4125c72de27d68e306/StandardOnionFECCodec.java/buggy/src/freenet/client/StandardOnionFECCodec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2863, 5509, 12, 5521, 768, 1768, 8526, 501, 1768, 1482, 16, 1082, 202, 5521, 768, 1768, 8526, 866, 1768, 1482, 16, 509, 25367, 16, 7408, 1733, 16222, 13, 1082, 202, 15069, 1860, 288, 202, 202, 5576, 18, 588, 5576, 7675, 13241, 5621, 202, 202, 5576, 18, 588, 5576, 7675, 2681, 7951, 1588, 5621, 202, 202, 5576, 18, 588, 5576, 7675, 13241, 5621, 202, 202, 5576, 18, 588, 5576, 7675, 2681, 7951, 1588, 5621, 202, 202, 5748, 1663, 6668, 861, 1685, 273, 2509, 18, 588, 5576, 7675, 4963, 6031, 1435, 300, 2509, 18, 588, 5576, 7675, 9156, 6031, 5621, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 6031, 316, 999, 622, 787, 30, 13773, 3917, 6668, 861, 1685, 1769, 202, 202, 3163, 18, 370, 18, 8222, 2932, 1644, 23490, 13400, 315, 397, 501, 1768, 1482, 18, 2469, 9506, 202, 15, 315, 317, 315, 397, 866, 1768, 1482, 18, 2469, 397, 315, 380, 1644, 1007, 8863, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3244, 310, 2017, 30, 315, 397, 501, 1768, 1482, 18, 2469, 9506, 202, 15, 315, 501, 4398, 16, 315, 397, 866, 1768, 1482, 18, 2469, 9506, 202, 15, 315, 866, 4398, 16, 1203, 769, 315, 397, 25367, 397, 315, 598, 315, 9506, 202, 15, 333, 1769, 202, 202, 430, 261, 892, 1768, 1482, 18, 2469, 397, 866, 1768, 1482, 18, 2469, 480, 290, 13, 1082, 202, 12849, 394, 2754, 5621, 202, 202, 430, 261, 892, 1768, 1482, 18, 2469, 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, 2863, 5509, 12, 5521, 768, 1768, 8526, 501, 1768, 1482, 16, 1082, 202, 5521, 768, 1768, 8526, 866, 1768, 1482, 16, 509, 25367, 16, 7408, 1733, 16222, 13, 1082, 202, 15069, 1860, 288, 202, 202, 5576, 18, 588, 5576, 7675, 13241, 5621, 202, 202, 5576, 18, 588, 5576, 7675, 2681, 7951, 1588, 5621, 202, 202, 5576, 18, 588, 5576, 7675, 13241, 5621, 202, 202, 5576, 18, 588, 5576, 7675, 2681, 7951, 1588, 5621, 202, 202, 5748, 1663, 6668, 861, 1685, 273, 2509, 18, 588, 5576, 7675, 4963, 6031, 1435, 300, 2509, 18, 588, 5576, 7675, 9156, 6031, 5621, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 6031, 316, 999, 622, 787, 30, 13773, 3917, 2 ]
path = (RubyString)getInstanceVariables().get("__classpath__");
path = (RubyString)getInstanceVariables().get(getRuby().intern("__classpath__"));
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().getObjectClass(); } path = (RubyString)getInstanceVariables().get("__classpath__"); if (path == null) { if (getInstanceVariables().get("__classid__") != null) { path = RubyString.m_newString(getRuby(), ((RubyId)getInstanceVariables().get("__classid__")).toName()); // todo: convert from symbol to string getInstanceVariables().put("__classpath__", path); getInstanceVariables().remove("__classid__"); } } if (path == null) { RubyObject tmp = rbModule.findClassPath(); if (tmp.isNil()) { return null; } return (RubyString)tmp; } /*if (!(path instanceof RubyString)) { throw new RubyBugException("class path is not set properly"); }*/ return path; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/8e00ad1c7ae96f50ae0bd521483380788f891b7b/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 2900, 529, 1435, 288, 3639, 19817, 780, 589, 273, 446, 31, 7734, 19817, 3120, 7138, 3120, 273, 333, 31, 3639, 1323, 261, 6731, 3120, 18, 291, 19323, 1435, 747, 7138, 3120, 18, 291, 19571, 10756, 288, 5411, 7138, 3120, 273, 14015, 54, 10340, 797, 13, 6731, 3120, 2934, 588, 8051, 797, 5621, 3639, 289, 7734, 309, 261, 6731, 3120, 422, 446, 13, 288, 5411, 7138, 3120, 273, 4170, 10340, 7675, 588, 921, 797, 5621, 3639, 289, 7734, 589, 273, 261, 54, 10340, 780, 13, 588, 1442, 6158, 7675, 588, 12, 588, 54, 10340, 7675, 267, 798, 2932, 972, 26302, 972, 7923, 1769, 3639, 309, 261, 803, 422, 446, 13, 288, 5411, 309, 261, 588, 1442, 6158, 7675, 588, 2932, 972, 1106, 350, 972, 7923, 480, 446, 13, 288, 7734, 589, 273, 19817, 780, 18, 81, 67, 2704, 780, 12, 588, 54, 10340, 9334, 14015, 54, 10340, 548, 13, 588, 1442, 6158, 7675, 588, 2932, 972, 1106, 350, 972, 7923, 2934, 869, 461, 10663, 368, 10621, 30, 1765, 628, 3273, 358, 533, 27573, 3694, 6158, 7675, 458, 2932, 972, 26302, 972, 3113, 589, 1769, 7734, 3694, 6158, 7675, 4479, 2932, 972, 1106, 350, 972, 8863, 5411, 289, 3639, 289, 7734, 309, 261, 803, 422, 446, 13, 288, 5411, 19817, 921, 1853, 273, 7138, 3120, 18, 4720, 22158, 5621, 13491, 309, 261, 5645, 18, 291, 12616, 10756, 288, 7734, 327, 446, 31, 5411, 289, 13491, 327, 261, 54, 10340, 780, 13, 5645, 31, 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, 377, 1071, 19817, 780, 2900, 529, 1435, 288, 3639, 19817, 780, 589, 273, 446, 31, 7734, 19817, 3120, 7138, 3120, 273, 333, 31, 3639, 1323, 261, 6731, 3120, 18, 291, 19323, 1435, 747, 7138, 3120, 18, 291, 19571, 10756, 288, 5411, 7138, 3120, 273, 14015, 54, 10340, 797, 13, 6731, 3120, 2934, 588, 8051, 797, 5621, 3639, 289, 7734, 309, 261, 6731, 3120, 422, 446, 13, 288, 5411, 7138, 3120, 273, 4170, 10340, 7675, 588, 921, 797, 5621, 3639, 289, 7734, 589, 273, 261, 54, 10340, 780, 13, 588, 1442, 6158, 7675, 588, 12, 588, 54, 10340, 7675, 267, 798, 2932, 972, 26302, 972, 7923, 1769, 3639, 309, 261, 803, 422, 446, 13, 288, 5411, 309, 261, 588, 1442, 2 ]
public static void addBasicFormParameter(UIContainer local, String name, String value) {
public static void addBasicFormParameter(UIContainer local, UIParameter toadd) {
public static void addBasicFormParameter(UIContainer local, String name, String value) { UIForm enclosing = findBasicForm(local); if (enclosing == null) { throw new AssertionException("Component " + local.getFullID() + " has no form parent!"); } enclosing.parameters.add(new UIParameter(name, value)); }
49142 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49142/0d16571bffbf70e3da6ca6fd1bd477482f4bd48c/RSFUtil.java/buggy/src/uk/org/ponder/rsf/util/RSFUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 527, 8252, 1204, 1662, 12, 5370, 2170, 1191, 16, 6484, 1662, 358, 1289, 13, 288, 565, 6484, 1204, 16307, 273, 1104, 8252, 1204, 12, 3729, 1769, 565, 309, 261, 1331, 10910, 422, 446, 13, 288, 1377, 604, 394, 9067, 503, 2932, 1841, 315, 397, 1191, 18, 588, 5080, 734, 1435, 397, 315, 711, 1158, 646, 982, 4442, 1769, 565, 289, 565, 16307, 18, 3977, 18, 1289, 12, 2704, 6484, 1662, 12, 529, 16, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 527, 8252, 1204, 1662, 12, 5370, 2170, 1191, 16, 6484, 1662, 358, 1289, 13, 288, 565, 6484, 1204, 16307, 273, 1104, 8252, 1204, 12, 3729, 1769, 565, 309, 261, 1331, 10910, 422, 446, 13, 288, 1377, 604, 394, 9067, 503, 2932, 1841, 315, 397, 1191, 18, 588, 5080, 734, 1435, 397, 315, 711, 1158, 646, 982, 4442, 1769, 565, 289, 565, 16307, 18, 3977, 18, 1289, 12, 2704, 6484, 1662, 12, 529, 16, 460, 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 ]
return RubyFixnum.newFixnum(getRuby(), end[(int) index.getValue()]);
return RubyFixnum.newFixnum(getRuby(), end[(int) index.getLongValue()]);
public RubyObject end(RubyFixnum index) { if (outOfBounds(index)) { return getRuby().getNil(); } return RubyFixnum.newFixnum(getRuby(), end[(int) index.getValue()]); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyMatchData.java/buggy/org/jruby/RubyMatchData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 679, 12, 54, 10340, 8585, 2107, 770, 13, 288, 3639, 309, 261, 659, 951, 5694, 12, 1615, 3719, 288, 5411, 327, 4170, 10340, 7675, 588, 12616, 5621, 3639, 289, 3639, 327, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 588, 54, 10340, 9334, 679, 63, 12, 474, 13, 770, 18, 588, 3708, 620, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 679, 12, 54, 10340, 8585, 2107, 770, 13, 288, 3639, 309, 261, 659, 951, 5694, 12, 1615, 3719, 288, 5411, 327, 4170, 10340, 7675, 588, 12616, 5621, 3639, 289, 3639, 327, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 588, 54, 10340, 9334, 679, 63, 12, 474, 13, 770, 18, 588, 3708, 620, 1435, 19226, 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 ]
}
}
private Chart getConvertedChart( Chart currentChart, String sNewSubType, String sNewDimension ) { Chart helperModel = (Chart) EcoreUtil.copy( currentChart ); // Cache series to keep attributes during conversion ChartCacheManager.getInstance( ) .cacheSeries( ChartUIUtil.getAllOrthogonalSeriesDefinitions( helperModel ) ); if ( currentChart instanceof ChartWithAxes ) { if ( ! ChartPreviewPainter.isLivePreviewActive( ) ) { helperModel.setSampleData( getConvertedSampleData( helperModel.getSampleData( ), ( (Axis) ( (ChartWithAxes) currentChart ).getAxes( ) .get( 0 ) ).getType( ) ) ); } // Create a new instance of the correct type and set initial // properties currentChart = DialChartImpl.create( ); currentChart.setType( TYPE_LITERAL ); currentChart.setSubType( sNewSubType ); currentChart.setDimension( getDimensionFor( sNewDimension ) ); ( (DialChart) currentChart ).setDialSuperimposition( false ); // Copy generic chart properties from the old chart currentChart.setBlock( helperModel.getBlock( ) ); currentChart.setDescription( helperModel.getDescription( ) ); currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); if ( helperModel.getInteractivity( ) != null ) { currentChart.getInteractivity( ) .setEnable( helperModel.getInteractivity( ).isEnable( ) ); currentChart.getInteractivity( ) .setLegendBehavior( helperModel.getInteractivity( ) .getLegendBehavior( ) ); } currentChart.setSampleData( helperModel.getSampleData( ) ); currentChart.setScript( helperModel.getScript( ) ); currentChart.setUnits( helperModel.getUnits( ) ); if ( helperModel.getGridColumnCount( ) > 0 ) { currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); } else { currentChart.setGridColumnCount( 1 ); } // Copy series definitions from old chart ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .add( ( (Axis) ( (ChartWithAxes) helperModel ).getAxes( ) .get( 0 ) ).getSeriesDefinitions( ).get( 0 ) ); Vector vOSD = new Vector( ); // Only convert series in primary orthogonal axis. Axis primaryOrthogonalAxis = ( (ChartWithAxes) helperModel ).getPrimaryOrthogonalAxis( (Axis) ( (ChartWithAxes) helperModel ).getAxes( ) .get( 0 ) ); EList osd = primaryOrthogonalAxis.getSeriesDefinitions( ); for ( int j = 0; j < osd.size( ); j++ ) { SeriesDefinition sd = (SeriesDefinition) osd.get( j ); Series series = sd.getDesignTimeSeries( ); sd.getSeries( ).clear( ); sd.getSeries( ).add( getConvertedSeries( series, j ) ); vOSD.add( sd ); } ( (SeriesDefinition) ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .get( 0 ) ).getSeriesDefinitions( ).clear( ); ( (SeriesDefinition) ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .get( 0 ) ).getSeriesDefinitions( ).addAll( vOSD ); currentChart.getLegend( ) .setItemType( LegendItemType.SERIES_LITERAL ); currentChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); } else if ( currentChart instanceof ChartWithoutAxes ) { if ( currentChart.getType( ).equals( TYPE_LITERAL ) ) { currentChart.setSubType( sNewSubType ); ( (DialChart) currentChart ).setDialSuperimposition( sNewSubType.equals( SUPERIMPOSED_SUBTYPE_LITERAL ) ); if ( !currentChart.getDimension( ) .equals( getDimensionFor( sNewDimension ) ) ) { currentChart.setDimension( getDimensionFor( sNewDimension ) ); } } else { // Create a new instance of the correct type and set initial // properties currentChart = DialChartImpl.create( ); currentChart.setType( TYPE_LITERAL ); currentChart.setSubType( sNewSubType ); currentChart.setDimension( getDimensionFor( sNewDimension ) ); ( (DialChart) currentChart ).setDialSuperimposition( sNewSubType.equals( SUPERIMPOSED_SUBTYPE_LITERAL ) ); // Copy generic chart properties from the old chart currentChart.setBlock( helperModel.getBlock( ) ); currentChart.setDescription( helperModel.getDescription( ) ); currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); currentChart.setSampleData( helperModel.getSampleData( ) ); currentChart.setScript( helperModel.getScript( ) ); currentChart.setUnits( helperModel.getUnits( ) ); if ( helperModel.getInteractivity( ) != null ) { currentChart.getInteractivity( ) .setEnable( helperModel.getInteractivity( ) .isEnable( ) ); currentChart.getInteractivity( ) .setLegendBehavior( helperModel.getInteractivity( ) .getLegendBehavior( ) ); } // Clear existing series definitions ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .clear( ); // Copy series definitions ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .add( ( (ChartWithoutAxes) helperModel ).getSeriesDefinitions( ) .get( 0 ) ); // Update the series EList seriesdefinitions = ( (SeriesDefinition) ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .get( 0 ) ).getSeriesDefinitions( ); for ( int j = 0; j < seriesdefinitions.size( ); j++ ) { Series series = ( (SeriesDefinition) seriesdefinitions.get( j ) ).getDesignTimeSeries( ); series = getConvertedSeries( series, j ); // Clear any existing series ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .clear( ); // Add the new series ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .add( series ); } currentChart.getLegend( ) .setItemType( LegendItemType.SERIES_LITERAL ); currentChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); } } else { return null; } return currentChart; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4ce1e97aa23d1fe4046bd76743f3c5f90658bab6/MeterChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/MeterChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14804, 336, 22063, 7984, 12, 14804, 783, 7984, 16, 514, 272, 1908, 30511, 16, 1082, 202, 780, 272, 1908, 8611, 262, 202, 95, 202, 202, 7984, 4222, 1488, 273, 261, 7984, 13, 512, 3644, 1304, 18, 3530, 12, 783, 7984, 11272, 202, 202, 759, 4379, 4166, 358, 3455, 1677, 4982, 4105, 202, 202, 7984, 27706, 18, 588, 1442, 12, 262, 9506, 202, 18, 2493, 6485, 12, 14804, 5370, 1304, 18, 588, 1595, 1162, 451, 28396, 6485, 7130, 12, 4222, 1488, 262, 11272, 202, 202, 430, 261, 783, 7984, 1276, 14804, 1190, 26494, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 14804, 11124, 15775, 18, 291, 12328, 11124, 3896, 12, 262, 262, 1082, 202, 95, 9506, 202, 4759, 1488, 18, 542, 8504, 751, 12, 336, 22063, 8504, 751, 12, 4222, 1488, 18, 588, 8504, 751, 12, 262, 16, 25083, 202, 12, 261, 6558, 13, 261, 261, 7984, 1190, 26494, 13, 783, 7984, 262, 18, 588, 26494, 12, 262, 6862, 9506, 202, 18, 588, 12, 374, 262, 262, 18, 588, 559, 12, 262, 262, 11272, 1082, 202, 97, 6862, 1082, 202, 759, 1788, 279, 394, 791, 434, 326, 3434, 618, 471, 444, 2172, 1082, 202, 759, 1790, 1082, 202, 2972, 7984, 273, 9402, 7984, 2828, 18, 2640, 12, 11272, 1082, 202, 2972, 7984, 18, 542, 559, 12, 3463, 67, 23225, 11272, 1082, 202, 2972, 7984, 18, 542, 30511, 12, 272, 1908, 30511, 11272, 1082, 202, 2972, 7984, 18, 542, 8611, 12, 20283, 1290, 12, 272, 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, 14804, 336, 22063, 7984, 12, 14804, 783, 7984, 16, 514, 272, 1908, 30511, 16, 1082, 202, 780, 272, 1908, 8611, 262, 202, 95, 202, 202, 7984, 4222, 1488, 273, 261, 7984, 13, 512, 3644, 1304, 18, 3530, 12, 783, 7984, 11272, 202, 202, 759, 4379, 4166, 358, 3455, 1677, 4982, 4105, 202, 202, 7984, 27706, 18, 588, 1442, 12, 262, 9506, 202, 18, 2493, 6485, 12, 14804, 5370, 1304, 18, 588, 1595, 1162, 451, 28396, 6485, 7130, 12, 4222, 1488, 262, 11272, 202, 202, 430, 261, 783, 7984, 1276, 14804, 1190, 26494, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 14804, 11124, 15775, 18, 291, 12328, 11124, 3896, 12, 262, 262, 1082, 202, 95, 9506, 2 ]
"Pushing memebers down will result in them being deleted. Continue?";
"Pushing members down will result in them being deleted. Continue?";
protected boolean preprocessUsages(UsageInfo[][] usages) { final PushDownConflicts pushDownConflicts = new PushDownConflicts(myClass, myMemberInfos); pushDownConflicts.checkSourceClassConflicts(); if (usages[0].length == 0) { final String message = (myClass.isInterface() ? "Interface " : "Class ") + myClass.getQualifiedName() + " does not have inheritors.\n" + "Pushing memebers down will result in them being deleted. Continue?"; final int answer = Messages.showYesNoDialog(message, "Push Down", Messages.getWarningIcon()); if (answer != 0) return false; } for (int i = 0; i < usages[0].length; i++) { final PsiElement element = usages[0][i].getElement(); if(element instanceof PsiClass) { pushDownConflicts.checkTargetClassConflicts((PsiClass) element); } } if(pushDownConflicts.isAnyConflicts()) { final String[] conflicts = pushDownConflicts.getConflicts(); ConflictsDialog dialog = new ConflictsDialog(conflicts, myProject); dialog.show(); if(!dialog.isOK()) return false; } prepareSuccessful(); return true; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/bfc1caad52cbd01a5a2db4075c90c83565f89b40/PushDownProcessor.java/clean/source/com/intellij/refactoring/memberPushDown/PushDownProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 17942, 3477, 1023, 12, 5357, 966, 63, 6362, 65, 584, 1023, 13, 288, 565, 727, 8547, 4164, 30897, 1817, 4164, 30897, 273, 394, 8547, 4164, 30897, 12, 4811, 797, 16, 3399, 4419, 7655, 1769, 565, 1817, 4164, 30897, 18, 1893, 1830, 797, 30897, 5621, 565, 309, 261, 407, 1023, 63, 20, 8009, 2469, 422, 374, 13, 288, 1377, 727, 514, 883, 273, 261, 4811, 797, 18, 291, 1358, 1435, 692, 315, 1358, 315, 294, 315, 797, 9369, 2868, 397, 3399, 797, 18, 588, 12345, 1435, 397, 315, 1552, 486, 1240, 6811, 1383, 8403, 82, 6, 397, 2868, 315, 7621, 310, 4833, 2588, 903, 563, 316, 2182, 3832, 4282, 18, 16773, 7225, 31, 1377, 727, 509, 5803, 273, 4838, 18, 4500, 22352, 2279, 6353, 12, 2150, 16, 315, 7621, 10077, 3113, 4838, 18, 588, 6210, 5554, 10663, 1377, 309, 261, 13490, 480, 374, 13, 327, 629, 31, 565, 289, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 584, 1023, 63, 20, 8009, 2469, 31, 277, 27245, 288, 1377, 727, 453, 7722, 1046, 930, 273, 584, 1023, 63, 20, 6362, 77, 8009, 21336, 5621, 1377, 309, 12, 2956, 1276, 453, 7722, 797, 13, 288, 3639, 1817, 4164, 30897, 18, 1893, 2326, 797, 30897, 12443, 52, 7722, 797, 13, 930, 1769, 1377, 289, 565, 289, 565, 309, 12, 6206, 4164, 30897, 18, 291, 2961, 30897, 10756, 288, 1377, 727, 514, 8526, 14450, 273, 1817, 4164, 30897, 18, 588, 30897, 5621, 1377, 23460, 87, 6353, 6176, 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, 17942, 3477, 1023, 12, 5357, 966, 63, 6362, 65, 584, 1023, 13, 288, 565, 727, 8547, 4164, 30897, 1817, 4164, 30897, 273, 394, 8547, 4164, 30897, 12, 4811, 797, 16, 3399, 4419, 7655, 1769, 565, 1817, 4164, 30897, 18, 1893, 1830, 797, 30897, 5621, 565, 309, 261, 407, 1023, 63, 20, 8009, 2469, 422, 374, 13, 288, 1377, 727, 514, 883, 273, 261, 4811, 797, 18, 291, 1358, 1435, 692, 315, 1358, 315, 294, 315, 797, 9369, 2868, 397, 3399, 797, 18, 588, 12345, 1435, 397, 315, 1552, 486, 1240, 6811, 1383, 8403, 82, 6, 397, 2868, 315, 7621, 310, 4833, 2588, 903, 563, 316, 2182, 3832, 4282, 18, 16773, 7225, 31, 1377, 727, 509, 5803, 2 ]
throw new NotImplementedException(invocation.invokedMethod.getName() + "called on " + name);
throw new NotImplementedException(invocation.invokedMethod.getName() + " called on " + name);
public Object invoke( Invocation invocation ) throws Throwable { throw new NotImplementedException(invocation.invokedMethod.getName() + "called on " + name); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/49a2f6dc030bdc74d12c8f8d35d01861ea94cf1a/Dummy.java/clean/jmock/core/src/org/jmock/util/Dummy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 4356, 12, 11298, 9495, 262, 1216, 4206, 288, 7734, 604, 394, 10051, 503, 12, 5768, 4431, 18, 5768, 14276, 1305, 18, 17994, 1435, 397, 315, 2566, 603, 315, 397, 508, 1769, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1033, 4356, 12, 11298, 9495, 262, 1216, 4206, 288, 7734, 604, 394, 10051, 503, 12, 5768, 4431, 18, 5768, 14276, 1305, 18, 17994, 1435, 397, 315, 2566, 603, 315, 397, 508, 1769, 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, -100 ]
cat.error(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] + ", " + LogEntry.EVENTNAMES_ERROR[event - LogEntry.EVENT_ERROR_BOUNDRARY] + ", Administrator : " +
log.error(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] + ", " + LogEntry.EVENTNAMES_ERROR[event - LogEntry.EVENT_ERROR_BOUNDRARY] + ", Administrator : " +
public void log(Admin admininfo, int module, Date time, String username, X509Certificate certificate, int event, String comment){ String user = "No User Involved"; String cert = "No Certificate Involved"; String admin = "Administrator not known"; if(username != null) user = username; if (certificate != null) cert = certificate.getSerialNumber().toString(16); if(admininfo.getAdminType() == Admin.TYPE_CLIENTCERT_USER) admin = Admin.ADMINTYPETEXTS[Admin.TYPE_CLIENTCERT_USER] + ", Certificate SNR : " + admininfo.getAdminData(); else if(admininfo.getAdminType() == Admin.TYPE_PUBLIC_WEB_USER){ if(admininfo.getAdminData() != null){ if(!admininfo.getAdminData().equals("")) admin = Admin.ADMINTYPETEXTS[Admin.TYPE_PUBLIC_WEB_USER] + ", IP Address : " + admininfo.getAdminData(); } else admin = Admin.ADMINTYPETEXTS[Admin.TYPE_PUBLIC_WEB_USER]; }else admin = Admin.ADMINTYPETEXTS[admininfo.getAdminType()]; if(event < LogEntry.EVENT_ERROR_BOUNDRARY){ // Do Log4j Informational logging. cat.info(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] + ", " + LogEntry.EVENTNAMES_INFO[event] + ", Administrator : " + admin + ", User : " + user + ", Certificate : " + cert + ", Comment : " + comment); } else{ // Do Log4j error logging. cat.error(time.toGMTString() + ", " + LogEntry.MODULETEXTS[module] + ", " + LogEntry.EVENTNAMES_ERROR[event - LogEntry.EVENT_ERROR_BOUNDRARY] + ", Administrator : " + admin + ", User : " + user + ", Certificate : " + cert + ", Comment : " + comment); } }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/16e6a1dbcc54470e8d05f9bc7fdc7e7ebb6fe13c/Log4jLogDevice.java/clean/src/java/se/anatom/ejbca/log/Log4jLogDevice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 613, 12, 4446, 3981, 1376, 16, 509, 1605, 16, 2167, 813, 16, 514, 2718, 16, 1139, 5995, 4719, 4944, 16, 509, 871, 16, 514, 2879, 15329, 4202, 514, 729, 225, 273, 315, 2279, 2177, 5454, 12894, 14432, 4202, 514, 3320, 225, 273, 315, 2279, 6660, 5454, 12894, 14432, 2868, 514, 3981, 273, 315, 4446, 14207, 486, 4846, 14432, 2868, 309, 12, 5053, 480, 446, 13, 540, 729, 273, 2718, 31, 2868, 309, 261, 14108, 480, 446, 13, 540, 3320, 273, 4944, 18, 588, 6342, 1854, 7675, 10492, 12, 2313, 1769, 2868, 309, 12, 3666, 1376, 18, 588, 4446, 559, 1435, 422, 7807, 18, 2399, 67, 11935, 22367, 67, 4714, 13, 1850, 3981, 273, 7807, 18, 15468, 2399, 5151, 55, 63, 4446, 18, 2399, 67, 11935, 22367, 67, 4714, 65, 397, 3104, 6660, 14204, 54, 294, 315, 397, 3981, 1376, 18, 588, 4446, 751, 5621, 4202, 469, 540, 309, 12, 3666, 1376, 18, 588, 4446, 559, 1435, 422, 7807, 18, 2399, 67, 14939, 67, 14778, 67, 4714, 15329, 5411, 309, 12, 3666, 1376, 18, 588, 4446, 751, 1435, 480, 446, 15329, 2868, 309, 12, 5, 3666, 1376, 18, 588, 4446, 751, 7675, 14963, 2932, 6, 3719, 5375, 3981, 273, 7807, 18, 15468, 2399, 5151, 55, 63, 4446, 18, 2399, 67, 14939, 67, 14778, 67, 4714, 65, 225, 397, 3104, 2971, 5267, 294, 315, 397, 3981, 1376, 18, 588, 4446, 751, 5621, 12900, 289, 7734, 469, 2868, 3981, 273, 7807, 18, 15468, 2399, 5151, 55, 63, 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, 613, 12, 4446, 3981, 1376, 16, 509, 1605, 16, 2167, 813, 16, 514, 2718, 16, 1139, 5995, 4719, 4944, 16, 509, 871, 16, 514, 2879, 15329, 4202, 514, 729, 225, 273, 315, 2279, 2177, 5454, 12894, 14432, 4202, 514, 3320, 225, 273, 315, 2279, 6660, 5454, 12894, 14432, 2868, 514, 3981, 273, 315, 4446, 14207, 486, 4846, 14432, 2868, 309, 12, 5053, 480, 446, 13, 540, 729, 273, 2718, 31, 2868, 309, 261, 14108, 480, 446, 13, 540, 3320, 273, 4944, 18, 588, 6342, 1854, 7675, 10492, 12, 2313, 1769, 2868, 309, 12, 3666, 1376, 18, 588, 4446, 559, 1435, 422, 7807, 18, 2399, 67, 11935, 22367, 67, 4714, 13, 1850, 3981, 273, 7807, 18, 15468, 2 ]
default :
default:
public static ServiceContext read(cdrInput istream) { int id = istream.read_ulong(); switch (id) { case cxCodeSet.ID : cxCodeSet codeset = new cxCodeSet(); codeset.readContext(istream); return codeset; default : ServiceContext ctx = new ServiceContext(); ctx.context_id = id; ctx.context_data = istream.read_sequence(); return ctx; } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/031055047d52e1cffbe5de5ce0c7da51215e931f/ServiceContext.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/ServiceContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1956, 1042, 855, 12, 71, 3069, 1210, 277, 3256, 13, 225, 288, 565, 509, 612, 273, 277, 3256, 18, 896, 67, 332, 932, 5621, 565, 1620, 261, 350, 13, 1377, 288, 3639, 648, 9494, 1085, 694, 18, 734, 294, 1850, 9494, 1085, 694, 6198, 278, 273, 394, 9494, 1085, 694, 5621, 1850, 6198, 278, 18, 896, 1042, 12, 376, 793, 1769, 1850, 327, 6198, 278, 31, 3639, 805, 30, 1850, 1956, 1042, 1103, 273, 394, 1956, 1042, 5621, 1850, 1103, 18, 2472, 67, 350, 273, 612, 31, 1850, 1103, 18, 2472, 67, 892, 273, 277, 3256, 18, 896, 67, 6178, 5621, 1850, 327, 1103, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1956, 1042, 855, 12, 71, 3069, 1210, 277, 3256, 13, 225, 288, 565, 509, 612, 273, 277, 3256, 18, 896, 67, 332, 932, 5621, 565, 1620, 261, 350, 13, 1377, 288, 3639, 648, 9494, 1085, 694, 18, 734, 294, 1850, 9494, 1085, 694, 6198, 278, 273, 394, 9494, 1085, 694, 5621, 1850, 6198, 278, 18, 896, 1042, 12, 376, 793, 1769, 1850, 327, 6198, 278, 31, 3639, 805, 30, 1850, 1956, 1042, 1103, 273, 394, 1956, 1042, 5621, 1850, 1103, 18, 2472, 67, 350, 273, 612, 31, 1850, 1103, 18, 2472, 67, 892, 273, 277, 3256, 18, 896, 67, 6178, 5621, 1850, 327, 1103, 31, 1377, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
asm.emitSTW(S0, JNI_GLUE_FRAME_SIZE + JNI_GLUE_OFFSET_TO_PREV_JFRAME, FP);
asm.emitSTW(S0, glueFrameSize + JNI_GLUE_OFFSET_TO_PREV_JFRAME, FP);
public static void generateGlueCodeForJNIMethod(VM_Assembler asm, VM_Method mth) { int offset; asm.emitSTAddrU(FP,-JNI_GLUE_FRAME_SIZE,FP); // buy the glue frame // we may need to save CR in the previous frame also if CR will be used // CR is to be saved at FP+4 in the previous frame // Here we check if this is a JNI function that takes the vararg in the ... style // This includes CallStatic<type>Method, Call<type>Method, CallNonVirtual<type>Method // For these calls, the vararg starts at the 4th or 5th argument (GPR 6 or 7) // So, we save the GPR 6-10 and FPR 1-3 in a volatile register save area // in the glue stack frame so that the JNI function can later repackage the arguments // based on the parameter types of target method to be invoked. // (For long argument lists, the additional arguments, have been saved in // the spill area of the OS caller, and will be retrieved from there.) // // If we are compiling such a JNI Function, then emit the code to store // GPR 4-10 and FPR 1-6 into the volatile save area. String mthName = mth.getName().toString(); if ((mthName.startsWith("Call") && mthName.endsWith("Method")) || mthName.equals("NewObject")) { //-#if RVM_WITH_POWEROPEN_ABI offset = STACKFRAME_HEADER_SIZE + 3*BYTES_IN_STACKSLOT; // skip over slots for GPR 3-5 for (int i = 6; i <= 10; i++ ) { asm.emitSTAddr(i, offset, FP); offset+=BYTES_IN_ADDRESS; } // store FPRs 1-3 in first 3 slots of volatile FPR save area for (int i = 1; i <= 3; i++) { asm.emitSTFD (i, offset, FP); offset+=BYTES_IN_DOUBLE; } //-#elif RVM_WITH_SVR4_ABI || RVM_WITH_MACH_O_ABI // save all parameter registers offset = STACKFRAME_HEADER_SIZE + 0; for (int i=FIRST_OS_PARAMETER_GPR; i<=LAST_OS_PARAMETER_GPR; i++) { asm.emitSTAddr(i, offset, FP); offset += BYTES_IN_ADDRESS; } for (int i =FIRST_OS_PARAMETER_FPR; i<=LAST_OS_PARAMETER_FPR; i++) { asm.emitSTFD(i, offset, FP); offset += BYTES_IN_DOUBLE; } //-#endif } else { //-#if RVM_WITH_SVR4_ABI || RVM_WITH_MACH_O_ABI // adjust register contents (following SVR4 ABI) for normal JNI functions // especially dealing with long, spills // number of parameters of normal JNI functions should fix in // r3 - r12, f1 - f15, + 24 words, convertParametersFromSVR4ToJava(asm, mth); //-#endif } // Save AIX non-volatile GPRs that will not be saved and restored by RVM. // offset = STACKFRAME_HEADER_SIZE + JNI_GLUE_SAVED_VOL_SIZE; // skip 20 word volatile reg save area for (int i = FIRST_RVM_RESERVED_NV_GPR; i <=LAST_RVM_RESERVED_NV_GPR; i++) { asm.emitSTAddr(i, offset, FP); offset += BYTES_IN_ADDRESS; } // set the method ID for the glue frame // and save the return address in the previous frame // asm.emitLVAL(S0, INVISIBLE_METHOD_ID); asm.emitMFLR(REGISTER_ZERO); asm.emitSTW (S0, STACKFRAME_METHOD_ID_OFFSET, FP); asm.emitSTAddr(REGISTER_ZERO, JNI_GLUE_FRAME_SIZE + STACKFRAME_NEXT_INSTRUCTION_OFFSET, FP); // Attempt to change the vpStatus of the current Processor to IN_JAVA // // on entry T0 = JNIEnv* which is an interior pointer to this thread's VM_JNIEnvironment. // We first adjust this in place to be a pointer to a VM_JNIEnvironment and then use // it to acquire PROCESSOR_REGISTER (and JTOC on OSX/Linux). // // AIX non volatile gprs 13-16 have been saved & are available (also gprs 11-13 can be used). // S0=13, S1=14, TI=15, PROCESSOR_REGISTER=16 are available (&have labels) for changing state. // we leave the passed arguments untouched, unless we are blocked and have to call sysVirtualProcessorYield // Map from JNIEnv* to VM_JNIEnvironment. // Must do this outside the loop as we need to do it exactly once. asm.emitADDI (T0, -VM_Entrypoints.JNIExternalFunctionsField.getOffset(), T0); int retryLoop = asm.getMachineCodeIndex(); // acquire Jikes RVM PROCESSOR_REGISTER (and JTOC OSX/Linux only). asm.emitLAddr(PROCESSOR_REGISTER, VM_Entrypoints.JNIEnvSavedPRField.getOffset(), T0); //-#if RVM_WITH_SVR4_ABI || RVM_WITH_MACH_O_ABI // on AIX JTOC is part of AIX Linkage triplet and this already set by our caller. // Thus, we only need this load on non-AIX platforms asm.emitLAddr(JTOC, VM_Entrypoints.JNIEnvSavedJTOCField.getOffset(), T0); //-#endif asm.emitLVAL (S1, VM_Entrypoints.vpStatusField.getOffset()); asm.emitLWARX (S0, S1, PROCESSOR_REGISTER); // get status for processor asm.emitCMPI (S0, VM_Processor.BLOCKED_IN_NATIVE); // check if GC in progress, blocked in native mode VM_ForwardReference frBlocked = asm.emitForwardBC(EQ); asm.emitLVAL (S0, VM_Processor.IN_JAVA); // S0 <- new state value asm.emitSTWCXr(S0, S1, PROCESSOR_REGISTER); // attempt to change state to IN_JAVA asm.emitBC (NE, retryLoop); // br if failure -retry lwarx by jumping to label0 VM_ForwardReference frInJava = asm.emitForwardB(); // branch around code to call sysYield // branch to here if blocked in native, call sysVirtualProcessorYield (pthread yield) // must save volatile gprs & fprs before the call and restore after // frBlocked.resolve(asm); offset = STACKFRAME_HEADER_SIZE; // save volatile GPRS 3-10 for (int i = FIRST_OS_PARAMETER_GPR; i <= LAST_OS_PARAMETER_GPR; i++) { asm.emitSTAddr(i, offset, FP); offset+=BYTES_IN_ADDRESS; } // save volatile FPRS 1-6 for (int i = FIRST_OS_PARAMETER_FPR; i <= LAST_OS_VARARG_PARAMETER_FPR; i++) { asm.emitSTFD (i, offset, FP); offset+=BYTES_IN_DOUBLE; } asm.emitLAddr(S1, VM_Entrypoints.the_boot_recordField.getOffset(), JTOC); // get boot record address asm.emitMR (PROCESSOR_REGISTER, JTOC); // save JTOC so we can restore below asm.emitLAddr(JTOC, VM_Entrypoints.sysTOCField.getOffset(), S1); // load TOC for syscalls from bootrecord asm.emitLAddr(KLUDGE_TI_REG, VM_Entrypoints.sysVirtualProcessorYieldIPField.getOffset(), S1); // load addr of function asm.emitMTLR (KLUDGE_TI_REG); asm.emitBCLRL(); // call sysVirtualProcessorYield in sys.C asm.emitMR (JTOC, PROCESSOR_REGISTER); // restore JTOC // restore the saved volatile GPRs 3-10 and FPRs 1-6 offset = STACKFRAME_HEADER_SIZE; // restore volatile GPRS 3-10 for (int i = FIRST_OS_PARAMETER_GPR; i <= LAST_OS_PARAMETER_GPR; i++) { asm.emitLAddr (i, offset, FP); offset+=BYTES_IN_ADDRESS; } // restore volatile FPRS 1-6 for (int i = FIRST_OS_PARAMETER_FPR; i <= LAST_OS_VARARG_PARAMETER_FPR; i++) { asm.emitLFD (i, offset, FP); offset+=BYTES_IN_DOUBLE; } asm.emitB (retryLoop); // br back to label0 to try lwarx again // NOW_IN_JAVA: // JTOC, and PR are all as Jikes RVM expects them; // params are where the Jikes RVM calling conventions expects them. // frInJava.resolve(asm); // get pointer to top java frame from JNIEnv, compute offset from current // frame pointer (offset to avoid more interior pointers) and save offset // in this glue frame // asm.emitLAddr (S0, VM_Entrypoints.JNITopJavaFPField.getOffset(), T0); // get addr of top java frame from JNIEnv asm.emitSUBFC (S0, FP, S0); // S0 <- offset from current FP // AIX -4, LINUX - 8 asm.emitSTW(S0, JNI_GLUE_FRAME_SIZE + JNI_GLUE_OFFSET_TO_PREV_JFRAME, FP); // store offset at end of glue frame // BRANCH TO THE PROLOG FOR THE JNI FUNCTION VM_ForwardReference frNormalPrologue = asm.emitForwardBL(); // relative branch and link past the following epilog, to the normal prolog of the method // the normal epilog of the method will return to the epilog here to pop the glue stack frame // RETURN TO HERE FROM EPILOG OF JNI FUNCTION // CAUTION: START OF EPILOG OF GLUE CODE // The section of code from here to "END OF EPILOG OF GLUE CODE" is nestled between // the glue code prolog and the real body of the JNI method. // T0 & T1 (R3 & R4) or F1 contain the return value from the function - DO NOT USE // assume: JTOC and PROCESSOR_REG are valid, and all RVM non-volatile // GPRs and FPRs have been restored. Our processor state will be IN_JAVA. // establish T2 -> current thread's VM_JNIEnvironment, from activeThread field // of current processor asm.emitLAddr(T2, VM_Entrypoints.activeThreadField.getOffset(), PROCESSOR_REGISTER); // T2 <- activeThread of PR asm.emitLAddr(T2, VM_Entrypoints.jniEnvField.getOffset(), T2); // T2 <- JNIEnvironment // before returning to C, set pointer to top java frame in JNIEnv, using offset // saved in this glue frame during transition from C to Java. GC will use this saved // frame pointer if it is necessary to do GC with a processors active thread // stuck (and blocked) in native C, ie. GC starts scanning the threads stack at that frame. // AIX -4, LINUX -8 asm.emitLInt (T3, JNI_GLUE_FRAME_SIZE + JNI_GLUE_OFFSET_TO_PREV_JFRAME, FP); // load offset from FP to top java frame asm.emitADD (T3, FP, T3); // T3 <- address of top java frame asm.emitSTAddr(T3, VM_Entrypoints.JNITopJavaFPField.getOffset(), T2); // store TopJavaFP back into JNIEnv // check to see if this frame address is the sentinel since there // may be no further Java frame below asm.emitCMPAddrI(T3, VM_Constants.STACKFRAME_SENTINEL_FP.toInt()); VM_ForwardReference fr4 = asm.emitForwardBC(EQ); asm.emitLAddr(S0, 0, T3); // get fp for caller of prev J to C transition frame fr4.resolve(asm); // store current PR into VM_JNIEnvironment; we may have switched PRs while in Java mode. asm.emitSTAddr(PROCESSOR_REGISTER, VM_Entrypoints.JNIEnvSavedPRField.getOffset(), T2); // change the state of the VP to IN_NATIVE. // asm.emitLVAL (S0, VM_Processor.IN_NATIVE); asm.emitSTW (S0, VM_Entrypoints.vpStatusField.getOffset(), PROCESSOR_REGISTER); // Restore those AIX nonvolatile registers saved in the prolog above // Here we only save & restore ONLY those registers not restored by RVM // offset = STACKFRAME_HEADER_SIZE + JNI_GLUE_SAVED_VOL_SIZE; // skip 20 word volatile reg save area for (int i = FIRST_RVM_RESERVED_NV_GPR; i <=LAST_RVM_RESERVED_NV_GPR; i++) { asm.emitLAddr (i, offset, FP); // 4 instructions offset += BYTES_IN_ADDRESS; } // pop frame asm.emitADDI(FP, JNI_GLUE_FRAME_SIZE, FP); // load return address & return to caller // T0 & T1 (or F1) should still contain the return value // asm.emitLAddr(T2, STACKFRAME_NEXT_INSTRUCTION_OFFSET, FP); asm.emitMTLR(T2); asm.emitBCLR (); // branch always, through link register // END OF EPILOG OF GLUE CODE; rest of method generated by VM_Compiler from bytecodes of method in VM_JNIFunctions frNormalPrologue.resolve(asm); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/b910a39ad6845b8a14a18f9fcf248a47452b8dc8/VM_JNICompiler.java/buggy/rvm/src/vm/arch/powerPC/jni/VM_JNICompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2103, 21308, 344, 1085, 1290, 46, 50, 45, 1305, 12, 7397, 67, 1463, 5747, 749, 20415, 16, 8251, 67, 1305, 312, 451, 13, 288, 565, 509, 1384, 31, 565, 20415, 18, 18356, 882, 3178, 57, 12, 30246, 16, 17, 46, 50, 45, 67, 11261, 1821, 67, 15072, 67, 4574, 16, 30246, 1769, 377, 368, 30143, 326, 17960, 2623, 565, 368, 732, 2026, 1608, 358, 1923, 6732, 316, 326, 2416, 2623, 2546, 309, 6732, 903, 506, 1399, 565, 368, 6732, 353, 358, 506, 5198, 622, 28740, 15, 24, 316, 326, 2416, 2623, 565, 368, 13743, 732, 866, 309, 333, 353, 279, 804, 50, 45, 445, 716, 5530, 326, 569, 3175, 316, 326, 1372, 2154, 565, 368, 1220, 6104, 3049, 5788, 32, 723, 34, 1305, 16, 3049, 32, 723, 34, 1305, 16, 3049, 3989, 6466, 32, 723, 34, 1305, 565, 368, 2457, 4259, 4097, 16, 326, 569, 3175, 2542, 622, 326, 1059, 451, 578, 1381, 451, 1237, 261, 43, 8025, 1666, 578, 2371, 13, 565, 368, 6155, 16, 732, 1923, 326, 4948, 54, 1666, 17, 2163, 471, 478, 8025, 404, 17, 23, 316, 279, 31548, 1744, 1923, 5091, 377, 368, 316, 326, 17960, 2110, 2623, 1427, 716, 326, 804, 50, 45, 445, 848, 5137, 2071, 1270, 326, 1775, 565, 368, 2511, 603, 326, 1569, 1953, 434, 1018, 707, 358, 506, 8187, 18, 565, 368, 261, 1290, 1525, 1237, 6035, 16, 326, 3312, 1775, 16, 1240, 2118, 5198, 316, 565, 368, 326, 1694, 737, 5091, 434, 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, 918, 2103, 21308, 344, 1085, 1290, 46, 50, 45, 1305, 12, 7397, 67, 1463, 5747, 749, 20415, 16, 8251, 67, 1305, 312, 451, 13, 288, 565, 509, 1384, 31, 565, 20415, 18, 18356, 882, 3178, 57, 12, 30246, 16, 17, 46, 50, 45, 67, 11261, 1821, 67, 15072, 67, 4574, 16, 30246, 1769, 377, 368, 30143, 326, 17960, 2623, 565, 368, 732, 2026, 1608, 358, 1923, 6732, 316, 326, 2416, 2623, 2546, 309, 6732, 903, 506, 1399, 565, 368, 6732, 353, 358, 506, 5198, 622, 28740, 15, 24, 316, 326, 2416, 2623, 565, 368, 13743, 732, 866, 309, 333, 353, 279, 804, 50, 45, 445, 716, 5530, 326, 569, 3175, 316, 326, 1372, 2154, 565, 368, 2 ]
return new PDBFormat(); }
return new PDBFormat(); }
public ChemFormat getFormat() { return new PDBFormat(); }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/6fc05aca86d417eb218e45a23e409449083b6636/PDBReader.java/clean/src/org/openscience/cdk/io/PDBReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26542, 1630, 10959, 1435, 288, 3639, 327, 394, 21601, 1630, 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 ]
[ 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, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26542, 1630, 10959, 1435, 288, 3639, 327, 394, 21601, 1630, 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 ]
if(parent != null) {
if (parent != null) {
protected Object[] getChildren() { if(children != null) return children; Context cx = Context.enter(); try { Object value = getObject(); if(value == null) return children = empty; if(value == ScriptableObject.NOT_FOUND || value == Undefined.instance) { return children = empty; } if(value instanceof Scriptable) { Scriptable scrip = (Scriptable)value; Scriptable proto = scrip.getPrototype(); Scriptable parent = scrip.getParentScope(); if(value instanceof NativeCall) { if(name != null && name.equals("this")) { // this is the local variables table root // don't show the __parent__ property parent = null; } else if(!(parent instanceof NativeCall)) { // don't bother showing [object Global] as // the __parent__ property which just creates // more noise parent = null; } } if(proto != null) { if(builtin == null) { builtin = new Scriptable[6]; builtin[0] = ScriptableObject.getObjectPrototype(scrip); builtin[1] = ScriptableObject.getFunctionPrototype(scrip); builtin[2] = ScriptableObject.getClassPrototype(scrip, "String"); builtin[3] = ScriptableObject.getClassPrototype(scrip, "Boolean"); builtin[4] = ScriptableObject.getClassPrototype(scrip, "Array"); builtin[5] = ScriptableObject.getClassPrototype(scrip, "Number"); } for(int i = 0; i < builtin.length; i++) { if(proto == builtin[i]) { proto = null; break; } } } if(scrip.has(0, scrip)) { int len = 0; try { Scriptable start = scrip; Scriptable obj = start; Object result = Undefined.instance; do { if(obj.has("length", start)) { result = obj.get("length", start); if (result != Scriptable.NOT_FOUND) break; } obj = obj.getPrototype(); } while (obj != null); if(result instanceof Number) { len = ((Number)result).intValue(); } } catch(Exception exc) { } if(parent != null) { len++; } if(proto != null) { len++; } children = new VariableNode[len]; int i = 0; int j = 0; if(proto != null) { children[i++] = new VariableNode(scrip, "__proto__"); j++; } if(parent != null) { children[i++] = new VariableNode(scrip, "__parent__"); j++; } for(; i < len; i++) { children[i] = new VariableNode(scrip, i-j); } } else { int len = 0; Hashtable t = new Hashtable(); Object[] ids = scrip.getIds(); if(proto != null) t.put("__proto__", "__proto__"); if(parent != null) t.put("__parent__", "__parent__"); if(ids.length > 0) { for(int j = 0; j < ids.length; j++) { t.put(ids[j], ids[j]); } } ids = new Object[t.size()]; Enumeration e = t.keys(); int j = 0; while(e.hasMoreElements()) { ids[j++] = e.nextElement().toString(); } if(ids != null && ids.length > 0) { java.util.Arrays.sort(ids, new java.util.Comparator() { public int compare(Object l, Object r) { return l.toString().compareToIgnoreCase(r.toString()); } }); len = ids.length; } children = new VariableNode[len]; for(int i = 0; i < len; i++) { Object id = ids[i]; children[i] = new VariableNode(scrip, id.toString()); } } } } catch (Exception exc) { exc.printStackTrace(); } finally { cx.exit(); } return children; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/b9766e81693411fa600b26b9a0763dcf621b2770/VariableModel.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/VariableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 8526, 10268, 1435, 288, 3639, 309, 12, 5906, 480, 446, 13, 327, 2325, 31, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 775, 288, 5411, 1033, 460, 273, 6455, 5621, 5411, 309, 12, 1132, 422, 446, 13, 327, 2325, 273, 1008, 31, 5411, 309, 12, 1132, 422, 22780, 921, 18, 4400, 67, 9294, 747, 9079, 460, 422, 22243, 18, 1336, 13, 288, 7734, 327, 2325, 273, 1008, 31, 5411, 289, 5411, 309, 12, 1132, 1276, 22780, 13, 288, 7734, 22780, 888, 21335, 273, 261, 3651, 429, 13, 1132, 31, 7734, 22780, 3760, 273, 888, 21335, 18, 588, 15846, 5621, 7734, 22780, 982, 273, 888, 21335, 18, 588, 3054, 3876, 5621, 7734, 309, 12, 1132, 1276, 16717, 1477, 13, 288, 10792, 309, 12, 529, 480, 446, 597, 508, 18, 14963, 2932, 2211, 6, 3719, 288, 13491, 368, 333, 353, 326, 1191, 3152, 1014, 1365, 13491, 368, 2727, 1404, 2405, 326, 1001, 2938, 972, 1272, 13491, 982, 273, 446, 31, 10792, 289, 469, 309, 12, 5, 12, 2938, 1276, 16717, 1477, 3719, 288, 13491, 368, 2727, 1404, 23440, 17253, 306, 1612, 8510, 65, 487, 13491, 368, 326, 1001, 2938, 972, 1272, 1492, 2537, 3414, 13491, 368, 1898, 10825, 13491, 982, 273, 446, 31, 10792, 289, 7734, 289, 7734, 309, 12, 9393, 480, 446, 13, 288, 10792, 309, 12, 24553, 422, 446, 13, 288, 13491, 15273, 273, 394, 22780, 63, 26, 15533, 13491, 15273, 63, 20, 65, 273, 18701, 22780, 921, 18, 588, 921, 15846, 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, 4750, 1033, 8526, 10268, 1435, 288, 3639, 309, 12, 5906, 480, 446, 13, 327, 2325, 31, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 775, 288, 5411, 1033, 460, 273, 6455, 5621, 5411, 309, 12, 1132, 422, 446, 13, 327, 2325, 273, 1008, 31, 5411, 309, 12, 1132, 422, 22780, 921, 18, 4400, 67, 9294, 747, 9079, 460, 422, 22243, 18, 1336, 13, 288, 7734, 327, 2325, 273, 1008, 31, 5411, 289, 5411, 309, 12, 1132, 1276, 22780, 13, 288, 7734, 22780, 888, 21335, 273, 261, 3651, 429, 13, 1132, 31, 7734, 22780, 3760, 273, 888, 21335, 18, 588, 15846, 5621, 7734, 22780, 982, 273, 888, 21335, 18, 588, 3054, 3876, 5621, 7734, 309, 12, 1132, 1276, 2 ]
boolean temp = true;
ArrayList edgesToRemove = new ArrayList(); GEStreamNode firstInPipe = (GEStreamNode) nodeList[0]; GEStreamNode finalInPipe = (GEStreamNode) nodeList[nodeList.length-1];
public void expand(JGraph jgraph) { /* if(this.isInfoDisplayed) { Rectangle rect = GraphConstants.getBounds(this.attributes); this.frame.setLocation(new Point(rect.x, rect.y)); this.frame.setVisible(true); } else { this.frame.setLocation(GraphConstants.getOffset(this.attributes)); this.frame.setVisible(false); } */ /* if(jgraph.getGraphLayoutCache().isPartial()) { System.out.println("the graph is partial"); }*/ Object[] nodeList = this.getSuccesors().toArray(); ConnectionSet cs = this.localGraphStruct.getConnectionSet(); jgraph.getGraphLayoutCache().setVisible(nodeList, true); Iterator eIter = localGraphStruct.getGraphModel().edges(this.getPort()); boolean temp = true; while (eIter.hasNext()) { DefaultEdge edge = (DefaultEdge) eIter.next(); if (nodeList.length > 0) { if (temp) { cs.disconnect(edge,false); cs.connect(edge, nodeList[0], false); temp = false; } else { cs.disconnect(edge, true); cs.connect(edge, nodeList[nodeList.length-1], true); } } } this.localGraphStruct.getGraphModel().edit(null, cs, null, null); jgraph.getGraphLayoutCache().setVisible(new Object[]{this}, false); JGraphLayoutManager manager = new JGraphLayoutManager(this.localGraphStruct.getJGraph()); manager.arrange(); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/7ace7a530da48c40374d9550f4f745b7a19df53e/GEPipeline.java/buggy/streams/src/streamit/eclipse/grapheditor/GEPipeline.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4542, 12, 46, 4137, 525, 4660, 13, 202, 95, 6862, 202, 20308, 202, 202, 430, 12, 2211, 18, 291, 966, 4236, 329, 13, 288, 6862, 202, 19463, 4917, 273, 5601, 2918, 18, 588, 5694, 12, 2211, 18, 4350, 1769, 1082, 202, 2211, 18, 3789, 18, 542, 2735, 12, 2704, 4686, 12, 2607, 18, 92, 16, 4917, 18, 93, 10019, 1082, 202, 2211, 18, 3789, 18, 542, 6207, 12, 3767, 1769, 202, 202, 97, 469, 288, 1082, 202, 2211, 18, 3789, 18, 542, 2735, 12, 4137, 2918, 18, 588, 2335, 12, 2211, 18, 4350, 10019, 1082, 202, 2211, 18, 3789, 18, 542, 6207, 12, 5743, 1769, 202, 202, 97, 202, 202, 5549, 202, 202, 20308, 202, 430, 12, 78, 4660, 18, 588, 4137, 3744, 1649, 7675, 291, 9447, 10756, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 5787, 2667, 353, 4702, 8863, 202, 202, 97, 5549, 202, 4697, 202, 921, 8526, 10198, 273, 333, 18, 588, 55, 5286, 764, 1383, 7675, 31447, 5621, 202, 202, 1952, 694, 2873, 273, 333, 18, 3729, 4137, 3823, 18, 588, 1952, 694, 5621, 1082, 202, 78, 4660, 18, 588, 4137, 3744, 1649, 7675, 542, 6207, 12, 2159, 682, 16, 638, 1769, 9506, 202, 3198, 425, 2360, 273, 1191, 4137, 3823, 18, 588, 4137, 1488, 7675, 8746, 12, 2211, 18, 588, 2617, 10663, 9506, 202, 6494, 1906, 273, 638, 31, 9506, 202, 17523, 261, 73, 2360, 18, 5332, 2134, 10756, 202, 202, 95, 1082, 202, 1868, 6098, 3591, 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, 4542, 12, 46, 4137, 525, 4660, 13, 202, 95, 6862, 202, 20308, 202, 202, 430, 12, 2211, 18, 291, 966, 4236, 329, 13, 288, 6862, 202, 19463, 4917, 273, 5601, 2918, 18, 588, 5694, 12, 2211, 18, 4350, 1769, 1082, 202, 2211, 18, 3789, 18, 542, 2735, 12, 2704, 4686, 12, 2607, 18, 92, 16, 4917, 18, 93, 10019, 1082, 202, 2211, 18, 3789, 18, 542, 6207, 12, 3767, 1769, 202, 202, 97, 469, 288, 1082, 202, 2211, 18, 3789, 18, 542, 2735, 12, 4137, 2918, 18, 588, 2335, 12, 2211, 18, 4350, 10019, 1082, 202, 2211, 18, 3789, 18, 542, 6207, 12, 5743, 1769, 202, 202, 97, 202, 202, 5549, 202, 202, 20308, 202, 2 ]
public short getWSFacet(){
public short getWSFacet() {
public short getWSFacet(){ return fWhiteSpace; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/dc960568a2b05c8b317baf3a197b6e8f0928a2bf/StringDatatypeValidator.java/clean/src/org/apache/xerces/validators/datatype/StringDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3025, 336, 2651, 11137, 1435, 288, 3639, 327, 284, 23108, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3025, 336, 2651, 11137, 1435, 288, 3639, 327, 284, 23108, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]