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
return "Show a summary of all virtual disks, or details of one disk if -n is given";
return "Show a summary of all virtual disks, or details of one disk if -k is given";
public String getHelpText() { return "Show a summary of all virtual disks, or details of one disk if -n is given"; }
6086 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6086/c9e5232d3bb25a56d2243e9927a9f834c51f687a/ParseVdShow.java/clean/tools/control/src/org/xenoserver/cmdline/ParseVdShow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 336, 6696, 1528, 1435, 288, 565, 327, 315, 5706, 279, 4916, 434, 777, 5024, 17164, 16, 578, 3189, 434, 1245, 4234, 309, 300, 79, 353, 864, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 336, 6696, 1528, 1435, 288, 565, 327, 315, 5706, 279, 4916, 434, 777, 5024, 17164, 16, 578, 3189, 434, 1245, 4234, 309, 300, 79, 353, 864, 14432, 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 ]
public static boolean statementIsContinueTarget(@NotNull PsiStatement statement){
public static boolean statementIsContinueTarget( @NotNull PsiStatement statement){
public static boolean statementIsContinueTarget(@NotNull PsiStatement statement){ final ContinueFinder continueFinder = new ContinueFinder(statement); statement.accept(continueFinder); return continueFinder.continueFound(); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/b54c8091338ae57ef7018b62fb0717085d77cda8/ControlFlowUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ControlFlowUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 3021, 2520, 12378, 2326, 12, 632, 5962, 453, 7722, 3406, 3021, 15329, 3639, 727, 16773, 8441, 1324, 8441, 273, 394, 16773, 8441, 12, 11516, 1769, 3639, 3021, 18, 9436, 12, 17143, 8441, 1769, 3639, 327, 1324, 8441, 18, 17143, 2043, 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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 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 3021, 2520, 12378, 2326, 12, 632, 5962, 453, 7722, 3406, 3021, 15329, 3639, 727, 16773, 8441, 1324, 8441, 273, 394, 16773, 8441, 12, 11516, 1769, 3639, 3021, 18, 9436, 12, 17143, 8441, 1769, 3639, 327, 1324, 8441, 18, 17143, 2043, 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 ]
private void generateXpp3Writer() throws ModelloException, IOException { Model objectModel = getModel(); String packageName; if ( isPackageWithVersion() ) { packageName = objectModel.getDefaultPackageName( true, getGeneratedVersion() ); } else { packageName = objectModel.getDefaultPackageName( false, null ); } packageName += ".io.xpp3"; String directory = packageName.replace( '.', '/' ); String marshallerName = getFileName( "Xpp3Writer" ); File f = new File( new File( getOutputDirectory(), directory ), marshallerName + ".java" ); if ( !f.getParentFile().exists() ) { f.getParentFile().mkdirs(); } FileWriter writer = new FileWriter( f ); JSourceWriter sourceWriter = new JSourceWriter( writer ); JClass jClass = new JClass( marshallerName ); jClass.setPackageName( packageName ); jClass.addImport( "org.codehaus.plexus.util.xml.pull.*" ); jClass.addImport( "java.io.Writer" ); jClass.addImport( "java.util.Iterator" ); jClass.addField( new JField( new JClass( "org.codehaus.plexus.util.xml.pull.XmlSerializer" ), "serializer" ) ); jClass.addField( new JField( new JClass( "String" ), "NAMESPACE" ) ); addModelImports( jClass, null ); String root = objectModel.getRoot( getGeneratedVersion() ); ModelClass rootClass = objectModel.getClass( root, getGeneratedVersion() ); ModelClassMetadata metadata = (ModelClassMetadata) rootClass.getMetadata( ModelClassMetadata.ID ); String rootElement; if ( metadata == null || metadata.getTagName() == null ) { rootElement = uncapitalise( root ); } else { rootElement = metadata.getTagName(); } // Write the parse method which will do the unmarshalling. JMethod marshall = new JMethod( null, "write" ); marshall.addParameter( new JParameter( new JClass( "Writer" ), "writer" ) ); marshall.addParameter( new JParameter( new JClass( root ), rootElement ) ); marshall.addException( new JClass( "java.io.IOException" ) ); JSourceCode sc = marshall.getSourceCode(); sc.add( "serializer = new MXSerializer();" ); sc.add( "serializer.setProperty( \"http://xmlpull.org/v1/doc/properties.html#serializer-indentation\", \" \" );" ); sc.add( "serializer.setProperty( \"http://xmlpull.org/v1/doc/properties.html#serializer-line-separator\", \"\\n\" );" ); sc.add( "serializer.setOutput( writer );" ); sc.add( "serializer.startDocument( " + rootElement + ".getModelEncoding(), null );" ); sc.add( "write" + root + "( " + rootElement + ", \"" + rootElement + "\", serializer );" ); sc.add( "serializer.endDocument();" ); jClass.addMethod( marshall ); writeAllClasses( objectModel, jClass ); jClass.print( sourceWriter ); writer.flush(); writer.close(); }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/77942038ed25c4f2e25e059917c7905658211fb7/Xpp3WriterGenerator.java/buggy/modello-plugins/modello-plugin-xpp3/src/main/java/org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 60, 11858, 23, 2289, 1435, 3639, 1216, 3164, 383, 503, 16, 1860, 565, 288, 3639, 3164, 733, 1488, 273, 7454, 5621, 3639, 514, 9929, 31, 3639, 309, 261, 353, 2261, 1190, 1444, 1435, 262, 3639, 288, 5411, 9929, 273, 733, 1488, 18, 588, 1868, 18308, 12, 638, 16, 336, 7823, 1444, 1435, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 9929, 273, 733, 1488, 18, 588, 1868, 18308, 12, 629, 16, 446, 11272, 3639, 289, 3639, 9929, 1011, 3552, 1594, 18, 92, 11858, 23, 14432, 3639, 514, 1867, 273, 9929, 18, 2079, 12, 2611, 16, 2023, 11272, 3639, 514, 19927, 461, 273, 13807, 12, 315, 60, 11858, 23, 2289, 6, 11272, 3639, 1387, 284, 273, 394, 1387, 12, 394, 1387, 12, 11062, 2853, 9334, 1867, 262, 16, 19927, 461, 397, 3552, 6290, 6, 11272, 3639, 309, 261, 401, 74, 18, 588, 3054, 812, 7675, 1808, 1435, 262, 3639, 288, 5411, 284, 18, 588, 3054, 812, 7675, 24816, 8291, 5621, 3639, 289, 3639, 24639, 2633, 273, 394, 24639, 12, 284, 11272, 3639, 804, 1830, 2289, 1084, 2289, 273, 394, 804, 1830, 2289, 12, 2633, 11272, 3639, 804, 797, 525, 797, 273, 394, 804, 797, 12, 19927, 461, 11272, 3639, 525, 797, 18, 542, 18308, 12, 9929, 11272, 3639, 525, 797, 18, 1289, 5010, 12, 315, 3341, 18, 710, 3395, 407, 18, 7179, 407, 18, 1367, 18, 2902, 18, 13469, 4509, 6, 11272, 3639, 525, 797, 18, 1289, 5010, 12, 315, 6290, 18, 1594, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 60, 11858, 23, 2289, 1435, 3639, 1216, 3164, 383, 503, 16, 1860, 565, 288, 3639, 3164, 733, 1488, 273, 7454, 5621, 3639, 514, 9929, 31, 3639, 309, 261, 353, 2261, 1190, 1444, 1435, 262, 3639, 288, 5411, 9929, 273, 733, 1488, 18, 588, 1868, 18308, 12, 638, 16, 336, 7823, 1444, 1435, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 9929, 273, 733, 1488, 18, 588, 1868, 18308, 12, 629, 16, 446, 11272, 3639, 289, 3639, 9929, 1011, 3552, 1594, 18, 92, 11858, 23, 14432, 3639, 514, 1867, 273, 9929, 18, 2079, 12, 2611, 16, 2023, 11272, 3639, 514, 19927, 461, 273, 13807, 12, 315, 60, 11858, 23, 2289, 6, 11272, 3639, 1387, 284, 273, 2 ]
public boolean fire(Player player, SpeakerNPC npc) { return player.hasQuest("introduce_players") && player.getQuest("introduce_players").equals( "potion");
public void fire(Player player, String text, SpeakerNPC engine) { if (player.drop("arandula")) { engine.say("Okay! Thank you. Now I will just mix these... a pinch of this... and a few drops... there! Can you ask #Tad to stop by and collect it? I want to see how he's doing."); player.addXP(50); player.notifyWorldAboutChanges(); player.setQuest("introduce_players", "potion"); } else { engine.say("Can you fetch those #herbs for the medicine?"); }
public boolean fire(Player player, SpeakerNPC npc) { return player.hasQuest("introduce_players") && player.getQuest("introduce_players").equals( "potion"); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/49444a49b3dad1862ae644e11aa6265094c8aca5/IntroducePlayers.java/buggy/src/games/stendhal/server/maps/quests/IntroducePlayers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 1250, 4452, 12, 12148, 7291, 16, 348, 347, 6388, 50, 3513, 1130, 71, 13, 288, 25083, 202, 2463, 7291, 18, 5332, 30791, 2932, 23342, 2544, 311, 67, 1601, 414, 7923, 6862, 9506, 202, 10, 10, 7291, 18, 588, 30791, 2932, 23342, 2544, 311, 67, 1601, 414, 20387, 14963, 12, 6862, 25083, 202, 6, 84, 8240, 8863, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 1250, 4452, 12, 12148, 7291, 16, 348, 347, 6388, 50, 3513, 1130, 71, 13, 288, 25083, 202, 2463, 7291, 18, 5332, 30791, 2932, 23342, 2544, 311, 67, 1601, 414, 7923, 6862, 9506, 202, 10, 10, 7291, 18, 588, 30791, 2932, 23342, 2544, 311, 67, 1601, 414, 20387, 14963, 12, 6862, 25083, 202, 6, 84, 8240, 8863, 6862, 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 ]
annotationArea.setExplanation(text); setExplanation(annotationExplanation);
annotationArea.setExplanation(""); setExplanation("");
public void setAnnotation(String text, String annotationExplanation){ if (annotationArea!=null) { if (StringUtil.blank(text)) { annotationArea.setExplanation(""); setExplanation(annotationExplanation); } else { annotationArea.setExplanation(text); setExplanation(annotationExplanation); } } }
57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/88e3c75ba71c7c3e23478b1c3ff126ef3c6fe3ab/MesquiteWindow.java/buggy/branches/Mesquite1.x/Mesquite Project/Source/mesquite/lib/MesquiteWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3257, 12, 780, 977, 16, 514, 3204, 424, 15854, 15329, 202, 202, 430, 261, 11495, 5484, 5, 33, 2011, 13, 288, 1082, 202, 430, 261, 13565, 18, 12111, 12, 955, 3719, 288, 9506, 202, 11495, 5484, 18, 542, 424, 15854, 2932, 8863, 9506, 202, 542, 424, 15854, 12, 11495, 424, 15854, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 11495, 5484, 18, 542, 424, 15854, 12, 955, 1769, 9506, 202, 542, 424, 15854, 12, 11495, 424, 15854, 1769, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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430, 261, 11495, 5484, 5, 33, 2011, 13, 288, 1082, 202, 430, 261, 13565, 18, 12111, 12, 955, 3719, 288, 9506, 202, 11495, 5484, 18, 542, 424, 15854, 2932, 8863, 9506, 202, 542, 424, 15854, 12, 11495, 424, 15854, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 11495, 5484, 18, 542, 424, 15854, 12, 955, 1769, 9506, 202, 542, 424, 15854, 12, 11495, 424, 15854, 1769, 1082, 202, 97, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void getTimeZone (String buffer, int[] data, int sign, int end, int[] timeZone) throws RuntimeException{ data[utc]=buffer.charAt(sign);
protected void getTimeZone (String buffer, DateTimeData data, int sign, int end, int[] timeZone) throws RuntimeException{ data.utc=buffer.charAt(sign);
protected void getTimeZone (String buffer, int[] data, int sign, int end, int[] timeZone) throws RuntimeException{ data[utc]=buffer.charAt(sign); if ( buffer.charAt(sign) == 'Z' ) { if (end>(++sign)) { throw new RuntimeException("Error in parsing time zone"); } return; } if ( sign<=(end-6) ) { //parse [hh] int stop = ++sign+2; timeZone[hh]=parseInt(buffer, sign, stop); if (buffer.charAt(stop++)!=':') { throw new RuntimeException("Error in parsing time zone" ); } //parse [ss] timeZone[mm]=parseInt(buffer, stop, stop+2); if ( stop+2!=end ) { throw new RuntimeException("Error in parsing time zone"); } } else { throw new RuntimeException("Error in parsing time zone"); } if ( DEBUG ) { System.out.println("time[hh]="+timeZone[hh] + " time[mm]=" +timeZone[mm]); } }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/7569f1e56b929395f70c2717a33b9ea5e6583d7a/AbstractDateTimeDV.java/clean/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 28556, 261, 780, 1613, 16, 509, 8526, 501, 16, 509, 1573, 16, 509, 679, 16, 509, 8526, 17512, 13, 1216, 3235, 95, 3639, 501, 63, 17892, 65, 33, 4106, 18, 3001, 861, 12, 2977, 1769, 3639, 309, 261, 1613, 18, 3001, 861, 12, 2977, 13, 422, 296, 62, 11, 262, 288, 5411, 309, 261, 409, 34, 12, 9904, 2977, 3719, 288, 7734, 604, 394, 3235, 2932, 668, 316, 5811, 813, 4157, 8863, 5411, 289, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1573, 32, 28657, 409, 17, 26, 13, 262, 288, 5411, 368, 2670, 306, 21622, 65, 5411, 509, 2132, 273, 965, 2977, 15, 22, 31, 5411, 17512, 63, 21622, 65, 33, 2670, 1702, 12, 4106, 16, 1573, 16, 2132, 1769, 5411, 309, 261, 4106, 18, 3001, 861, 12, 5681, 27245, 5, 2218, 2497, 13, 288, 7734, 604, 394, 3235, 2932, 668, 316, 5811, 813, 4157, 6, 11272, 5411, 289, 5411, 368, 2670, 306, 1049, 65, 5411, 17512, 63, 7020, 65, 33, 2670, 1702, 12, 4106, 16, 2132, 16, 2132, 15, 22, 1769, 5411, 309, 261, 2132, 15, 22, 5, 33, 409, 262, 288, 7734, 604, 394, 3235, 2932, 668, 316, 5811, 813, 4157, 8863, 5411, 289, 3639, 289, 3639, 469, 288, 5411, 604, 394, 3235, 2932, 668, 316, 5811, 813, 4157, 8863, 3639, 289, 3639, 309, 261, 6369, 262, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 957, 63, 21622, 65, 1546, 15, 957, 4226, 63, 21622, 65, 397, 315, 813, 63, 7020, 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, 28556, 261, 780, 1613, 16, 509, 8526, 501, 16, 509, 1573, 16, 509, 679, 16, 509, 8526, 17512, 13, 1216, 3235, 95, 3639, 501, 63, 17892, 65, 33, 4106, 18, 3001, 861, 12, 2977, 1769, 3639, 309, 261, 1613, 18, 3001, 861, 12, 2977, 13, 422, 296, 62, 11, 262, 288, 5411, 309, 261, 409, 34, 12, 9904, 2977, 3719, 288, 7734, 604, 394, 3235, 2932, 668, 316, 5811, 813, 4157, 8863, 5411, 289, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1573, 32, 28657, 409, 17, 26, 13, 262, 288, 5411, 368, 2670, 306, 21622, 65, 5411, 509, 2132, 273, 965, 2977, 15, 22, 31, 5411, 17512, 63, 21622, 65, 33, 2670, 1702, 12, 4106, 2 ]
public void setExpandedElements(Object[] elements) { assertElementsNotNull(elements); CustomHashtable expandedElements = newHashtable(elements.length * 2 + 1); for (int i = 0; i < elements.length; ++i) { Object element = elements[i]; // Ensure item exists for element internalExpand(element, false); expandedElements.put(element, element); } internalSetExpanded(expandedElements, getControl()); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5c5335d54b997d8fa81bd201af9f644316877cbd/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 565, 918, 565, 444, 17957, 3471, 12, 921, 8526, 565, 2186, 13, 565, 288, 27573, 1815, 3471, 5962, 12, 6274, 1769, 27573, 6082, 5582, 14544, 565, 8406, 3471, 565, 273, 565, 394, 5582, 14544, 12, 6274, 18, 2469, 565, 380, 565, 576, 565, 397, 565, 404, 1769, 27573, 364, 565, 261, 474, 565, 277, 565, 273, 565, 374, 31, 565, 277, 565, 411, 565, 2186, 18, 2469, 31, 565, 965, 77, 13, 565, 288, 4766, 7734, 1033, 565, 930, 565, 273, 565, 2186, 63, 77, 15533, 4766, 7734, 368, 565, 7693, 565, 761, 565, 1704, 565, 364, 565, 930, 4766, 7734, 2713, 12271, 12, 2956, 16, 565, 629, 1769, 4766, 7734, 8406, 3471, 18, 458, 12, 2956, 16, 565, 930, 1769, 27573, 289, 27573, 2713, 694, 17957, 12, 17336, 3471, 16, 565, 27174, 10663, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 565, 918, 565, 444, 17957, 3471, 12, 921, 8526, 565, 2186, 13, 565, 288, 27573, 1815, 3471, 5962, 12, 6274, 1769, 27573, 6082, 5582, 14544, 565, 8406, 3471, 565, 273, 565, 394, 5582, 14544, 12, 6274, 18, 2469, 565, 380, 565, 576, 565, 397, 565, 404, 1769, 27573, 364, 565, 261, 474, 565, 277, 565, 273, 565, 374, 31, 565, 277, 565, 411, 565, 2186, 18, 2469, 31, 565, 965, 77, 13, 565, 288, 4766, 7734, 1033, 565, 930, 565, 273, 565, 2186, 63, 77, 15533, 4766, 7734, 368, 565, 7693, 565, 761, 565, 1704, 565, 364, 565, 930, 4766, 7734, 2713, 12271, 12, 2956, 16, 565, 629, 1769, 4766, 7734, 8406, 3471, 18, 458, 12, 2956, 2 ]
hash.aset(key.toRubyObject(), eval((INode) iterator.next()).toRubyObject());
hash.aset(key, eval((INode) iterator.next()));
public void visitHashNode(HashNode iVisited) { RubyHash hash = RubyHash.newHash(ruby); if (iVisited.getListNode() != null) { Iterator iterator = iVisited.getListNode().iterator(); while (iterator.hasNext()) { IRubyObject key = eval((INode) iterator.next()); if (iterator.hasNext()) { hash.aset(key.toRubyObject(), eval((INode) iterator.next()).toRubyObject()); } else { // XXX throw new RuntimeException("[BUG] odd number list for Hash"); // XXX } } } result = hash; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/f235ab756f32ea9496f8f880066b46ad95ebb692/EvaluateVisitor.java/buggy/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2310, 907, 12, 2310, 907, 277, 30019, 13, 288, 3639, 19817, 2310, 1651, 273, 19817, 2310, 18, 2704, 2310, 12, 27768, 1769, 3639, 309, 261, 77, 30019, 18, 588, 682, 907, 1435, 480, 446, 13, 288, 5411, 4498, 2775, 273, 277, 30019, 18, 588, 682, 907, 7675, 9838, 5621, 5411, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 7734, 15908, 10340, 921, 498, 273, 5302, 12443, 23184, 13, 2775, 18, 4285, 10663, 7734, 309, 261, 9838, 18, 5332, 2134, 10756, 288, 10792, 1651, 18, 2759, 12, 856, 16, 5302, 12443, 23184, 13, 2775, 18, 4285, 1435, 10019, 7734, 289, 469, 288, 10792, 368, 11329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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3757, 2310, 907, 12, 2310, 907, 277, 30019, 13, 288, 3639, 19817, 2310, 1651, 273, 19817, 2310, 18, 2704, 2310, 12, 27768, 1769, 3639, 309, 261, 77, 30019, 18, 588, 682, 907, 1435, 480, 446, 13, 288, 5411, 4498, 2775, 273, 277, 30019, 18, 588, 682, 907, 7675, 9838, 5621, 5411, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 7734, 15908, 10340, 921, 498, 273, 5302, 12443, 23184, 13, 2775, 18, 4285, 10663, 7734, 309, 261, 9838, 18, 5332, 2134, 10756, 288, 10792, 1651, 18, 2759, 12, 856, 16, 5302, 12443, 23184, 13, 2775, 18, 4285, 1435, 10019, 7734, 289, 469, 288, 10792, 368, 11329, 10792, 604, 394, 3235, 2932, 63, 4827, 65, 14800, 1300, 666, 2 ]
quickfix.fix40.NewOrderSingle newOrderSingle = new quickfix.fix40.NewOrderSingle (new ClOrdID(order.getID()), new HandlInst('1'), new Symbol(order.getSymbol()), sideToFIXSide(order.getSide()), new OrderQty(order.getQuantity()), typeToFIXType(order.getType()));
quickfix.fix40.NewOrderSingle newOrderSingle = new quickfix.fix40.NewOrderSingle( new ClOrdID(order.getID()), new HandlInst('1'), new Symbol(order.getSymbol()), sideToFIXSide(order.getSide()), new OrderQty(order.getQuantity()), typeToFIXType(order.getType()));
public void send40(Order order) { quickfix.fix40.NewOrderSingle newOrderSingle = new quickfix.fix40.NewOrderSingle (new ClOrdID(order.getID()), new HandlInst('1'), new Symbol(order.getSymbol()), sideToFIXSide(order.getSide()), new OrderQty(order.getQuantity()), typeToFIXType(order.getType())); send(populateOrder(order, newOrderSingle), order.getSessionID()); }
6257 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6257/b1369a27979caf97c3e3b66213e8103f210c0b86/BanzaiApplication.java/buggy/examples/quickfix/examples/banzai/BanzaiApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1366, 7132, 12, 2448, 1353, 13, 288, 3639, 9549, 904, 18, 904, 7132, 18, 1908, 2448, 5281, 394, 2448, 5281, 273, 5411, 394, 9549, 904, 18, 904, 7132, 18, 1908, 2448, 5281, 5411, 261, 2704, 3905, 15383, 734, 12, 1019, 18, 588, 734, 1435, 3631, 2398, 394, 2841, 80, 10773, 2668, 21, 19899, 2398, 394, 8565, 12, 1019, 18, 588, 5335, 1435, 3631, 2398, 4889, 774, 4563, 8895, 12, 1019, 18, 588, 8895, 1435, 3631, 2398, 394, 4347, 53, 4098, 12, 1019, 18, 588, 12035, 1435, 3631, 2398, 618, 774, 4563, 559, 12, 1019, 18, 588, 559, 1435, 10019, 3639, 1366, 12, 19936, 2448, 12, 1019, 16, 394, 2448, 5281, 3631, 1353, 18, 588, 2157, 734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1366, 7132, 12, 2448, 1353, 13, 288, 3639, 9549, 904, 18, 904, 7132, 18, 1908, 2448, 5281, 394, 2448, 5281, 273, 5411, 394, 9549, 904, 18, 904, 7132, 18, 1908, 2448, 5281, 5411, 261, 2704, 3905, 15383, 734, 12, 1019, 18, 588, 734, 1435, 3631, 2398, 394, 2841, 80, 10773, 2668, 21, 19899, 2398, 394, 8565, 12, 1019, 18, 588, 5335, 1435, 3631, 2398, 4889, 774, 4563, 8895, 12, 1019, 18, 588, 8895, 1435, 3631, 2398, 394, 4347, 53, 4098, 12, 1019, 18, 588, 12035, 1435, 3631, 2398, 618, 774, 4563, 559, 12, 1019, 18, 588, 559, 1435, 10019, 3639, 1366, 12, 19936, 2448, 12, 1019, 16, 394, 2448, 5281, 3631, 1353, 18, 588, 2157, 734, 2 ]
static public WikiWord wordExists( WikiWord parent, String name ) { WikiWord word = null; List<WikiWord> children = parent.getWikiWords(); for( WikiWord child : children ) { // First check to see if the child is what we want if( child.getName().equals( name ) ) { word = child; break; } // If not, check the child's children word = wordExists( child, name ); if( word != null ) { break; } } return word; }
12748 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12748/0d5f2da32438c01e3eb65780f8b3ce95cf079c38/WikiWordUtils.java/buggy/trunk/src/java/org/outerrim/snippad/service/WikiWordUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 28268, 3944, 2076, 4002, 12, 28268, 3944, 982, 16, 514, 508, 262, 288, 3639, 28268, 3944, 2076, 273, 446, 31, 7734, 987, 32, 25438, 3944, 34, 2325, 273, 982, 18, 588, 25438, 7363, 5621, 3639, 364, 12, 28268, 3944, 1151, 294, 2325, 262, 288, 5411, 368, 5783, 866, 358, 2621, 309, 326, 1151, 353, 4121, 732, 2545, 5411, 309, 12, 1151, 18, 17994, 7675, 14963, 12, 508, 262, 262, 288, 7734, 2076, 273, 1151, 31, 7734, 898, 31, 5411, 289, 13491, 368, 971, 486, 16, 866, 326, 1151, 1807, 2325, 5411, 2076, 273, 2076, 4002, 12, 1151, 16, 508, 11272, 5411, 309, 12, 2076, 480, 446, 262, 288, 7734, 898, 31, 5411, 289, 3639, 289, 7734, 327, 2076, 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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585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 28268, 3944, 2076, 4002, 12, 28268, 3944, 982, 16, 514, 508, 262, 288, 3639, 28268, 3944, 2076, 273, 446, 31, 7734, 987, 32, 25438, 3944, 34, 2325, 273, 982, 18, 588, 25438, 7363, 5621, 3639, 364, 12, 28268, 3944, 1151, 294, 2325, 262, 288, 5411, 368, 5783, 866, 358, 2621, 309, 326, 1151, 353, 4121, 732, 2545, 5411, 309, 12, 1151, 18, 17994, 7675, 14963, 12, 508, 262, 262, 288, 7734, 2076, 273, 1151, 31, 7734, 898, 31, 5411, 289, 13491, 368, 971, 486, 16, 866, 326, 1151, 1807, 2325, 5411, 2076, 273, 2076, 4002, 12, 1151, 16, 508, 11272, 5411, 309, 12, 2076, 480, 446, 262, 288, 7734, 898, 31, 5411, 289, 3639, 289, 7734, 2 ]
public Iterator iterator() { return new Iterator() { Iterator oi = (overlay != null) ? overlay.keySet().iterator() : Collections.EMPTY_SET.iterator(); Iterator pi = parentKeys.iterator(); Object peek = null; public boolean hasNext() { if (peek == null) peek = nextObject(); return (peek != null); } public Object next() { if (peek == null) { peek = nextObject(); } if (peek == null) { throw new NoSuchElementException(); } Object o = peek; peek = null; return o; } private Object nextObject() { if (oi.hasNext()) { return oi.next(); } Object po = null; while (po == null && pi.hasNext()) { po = pi.next(); if (overlay != null && overlay.containsKey(po)) { po = null; } } return po; } public void remove() { throw new UnsupportedOperationException(); } }; }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/089ad5b4237d7b4cf7ce30d5457b8e07fbd31e71/OverlayAnnotation.java/buggy/src/org/biojava/bio/OverlayAnnotation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 4498, 2775, 1435, 288, 4202, 327, 394, 4498, 1435, 288, 540, 4498, 24971, 273, 261, 17312, 480, 446, 13, 692, 9218, 18, 856, 694, 7675, 9838, 1435, 3196, 4766, 294, 5737, 18, 13625, 67, 4043, 18, 9838, 5621, 540, 4498, 4790, 273, 982, 2396, 18, 9838, 5621, 540, 1033, 8032, 273, 446, 31, 5375, 1071, 1250, 4564, 1435, 288, 6647, 309, 261, 347, 3839, 422, 446, 13, 2398, 8032, 273, 1024, 921, 5621, 2398, 327, 261, 347, 3839, 480, 446, 1769, 540, 289, 5375, 1071, 1033, 1024, 1435, 288, 6647, 309, 261, 347, 3839, 422, 446, 13, 288, 2398, 8032, 273, 1024, 921, 5621, 6647, 289, 6647, 309, 261, 347, 3839, 422, 446, 13, 288, 2398, 604, 394, 23104, 5621, 6647, 289, 6647, 1033, 320, 273, 8032, 31, 6647, 8032, 273, 446, 31, 6647, 327, 320, 31, 540, 289, 5375, 3238, 1033, 1024, 921, 1435, 288, 6647, 309, 261, 11359, 18, 5332, 2134, 10756, 288, 2398, 327, 24971, 18, 4285, 5621, 6647, 289, 6647, 1033, 8275, 273, 446, 31, 6647, 1323, 261, 1631, 422, 446, 597, 4790, 18, 5332, 2134, 10756, 288, 2398, 8275, 273, 4790, 18, 4285, 5621, 2398, 309, 261, 17312, 480, 446, 597, 9218, 18, 12298, 653, 12, 1631, 3719, 288, 9079, 8275, 273, 446, 31, 2398, 289, 6647, 289, 6647, 327, 8275, 31, 540, 289, 5375, 1071, 918, 1206, 1435, 288, 6647, 604, 394, 13172, 5621, 540, 289, 4202, 289, 31, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 1071, 4498, 2775, 1435, 288, 4202, 327, 394, 4498, 1435, 288, 540, 4498, 24971, 273, 261, 17312, 480, 446, 13, 692, 9218, 18, 856, 694, 7675, 9838, 1435, 3196, 4766, 294, 5737, 18, 13625, 67, 4043, 18, 9838, 5621, 540, 4498, 4790, 273, 982, 2396, 18, 9838, 5621, 540, 1033, 8032, 273, 446, 31, 5375, 1071, 1250, 4564, 1435, 288, 6647, 309, 261, 347, 3839, 422, 446, 13, 2398, 8032, 273, 1024, 921, 5621, 2398, 327, 261, 347, 3839, 480, 446, 1769, 540, 289, 5375, 1071, 1033, 1024, 1435, 288, 6647, 309, 261, 347, 3839, 422, 446, 13, 288, 2398, 8032, 273, 1024, 921, 5621, 6647, 289, 6647, 309, 261, 347, 3839, 422, 446, 13, 288, 2398, 604, 2 ]
return getRuntime().newBoolean(getValue().indexOf(c) != -1);
return getRuntime().newBoolean(toString().indexOf(c) != -1);
public RubyBoolean include(IRubyObject obj) { if (obj instanceof RubyFixnum) { char c = (char) RubyNumeric.fix2int(obj); return getRuntime().newBoolean(getValue().indexOf(c) != -1); } String str = stringValue(obj).getValue(); return getRuntime().newBoolean(getValue().indexOf(str) != -1); }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 5507, 2341, 12, 7937, 10340, 921, 1081, 13, 288, 202, 202, 430, 261, 2603, 1276, 19817, 8585, 2107, 13, 288, 1082, 202, 3001, 276, 273, 261, 3001, 13, 19817, 9902, 18, 904, 22, 474, 12, 2603, 1769, 1082, 202, 2463, 18814, 7675, 2704, 5507, 12, 24805, 7675, 31806, 12, 71, 13, 480, 300, 21, 1769, 202, 202, 97, 202, 202, 780, 609, 273, 19721, 12, 2603, 2934, 24805, 5621, 202, 202, 2463, 18814, 7675, 2704, 5507, 12, 24805, 7675, 31806, 12, 701, 13, 480, 300, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 5507, 2341, 12, 7937, 10340, 921, 1081, 13, 288, 202, 202, 430, 261, 2603, 1276, 19817, 8585, 2107, 13, 288, 1082, 202, 3001, 276, 273, 261, 3001, 13, 19817, 9902, 18, 904, 22, 474, 12, 2603, 1769, 1082, 202, 2463, 18814, 7675, 2704, 5507, 12, 24805, 7675, 31806, 12, 71, 13, 480, 300, 21, 1769, 202, 202, 97, 202, 202, 780, 609, 273, 19721, 12, 2603, 2934, 24805, 5621, 202, 202, 2463, 18814, 7675, 2704, 5507, 12, 24805, 7675, 31806, 12, 701, 13, 480, 300, 21, 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 ]
} saveOffline(bugzillaBug, true);
} saveOffline(bugzillaBug, true);
public void saveBugReport(IBugzillaBug bugzillaBug) { String handle = TaskRepositoryManager.getHandle(bugzillaBug.getRepository(), bugzillaBug.getId()); ITask task = MylarTaskListPlugin.getTaskListManager().getTaskForHandle(handle, false); if (task instanceof BugzillaTask) { BugzillaTask bugzillaTask = (BugzillaTask)task; bugzillaTask.setBugReport((BugReport)bugzillaBug); if (bugzillaBug.hasChanges()) { bugzillaTask.setSyncState(BugReportSyncState.OUTGOING); } else { bugzillaTask.setSyncState(BugReportSyncState.SYNCHRONIZED); } } saveOffline(bugzillaBug, true); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/59e322de76f73c2e66ceafc09e7c7b40ea861752/BugzillaRepositoryClient.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 19865, 4820, 12, 13450, 637, 15990, 19865, 7934, 15990, 19865, 13, 288, 202, 202, 780, 1640, 273, 3837, 3305, 1318, 18, 588, 3259, 12, 925, 15990, 19865, 18, 588, 3305, 9334, 7934, 15990, 19865, 18, 26321, 10663, 202, 202, 1285, 835, 1562, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 1290, 3259, 12, 4110, 16, 629, 1769, 202, 202, 430, 261, 4146, 1276, 16907, 15990, 2174, 13, 288, 1082, 202, 19865, 15990, 2174, 7934, 15990, 2174, 273, 261, 19865, 15990, 2174, 13, 4146, 31, 1082, 202, 925, 15990, 2174, 18, 542, 19865, 4820, 12443, 19865, 4820, 13, 925, 15990, 19865, 1769, 25083, 202, 430, 261, 925, 15990, 19865, 18, 5332, 7173, 10756, 288, 9506, 202, 925, 15990, 2174, 18, 542, 4047, 1119, 12, 19865, 4820, 4047, 1119, 18, 5069, 16387, 1360, 1769, 1082, 202, 97, 469, 288, 9506, 202, 925, 15990, 2174, 18, 542, 4047, 1119, 12, 19865, 4820, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 1769, 1082, 202, 97, 202, 202, 97, 3196, 202, 5688, 23106, 12, 925, 15990, 19865, 16, 638, 1769, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 19865, 4820, 12, 13450, 637, 15990, 19865, 7934, 15990, 19865, 13, 288, 202, 202, 780, 1640, 273, 3837, 3305, 1318, 18, 588, 3259, 12, 925, 15990, 19865, 18, 588, 3305, 9334, 7934, 15990, 19865, 18, 26321, 10663, 202, 202, 1285, 835, 1562, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 1290, 3259, 12, 4110, 16, 629, 1769, 202, 202, 430, 261, 4146, 1276, 16907, 15990, 2174, 13, 288, 1082, 202, 19865, 15990, 2174, 7934, 15990, 2174, 273, 261, 19865, 15990, 2174, 13, 4146, 31, 1082, 202, 925, 15990, 2174, 18, 542, 19865, 4820, 12443, 19865, 4820, 13, 925, 15990, 19865, 1769, 25083, 202, 430, 261, 925, 15990, 19865, 2 ]
reader.reportError( reader.ERR_UNDEFINED_SCHEMA, qn[0] );
reader.reportError( XMLSchemaReader.ERR_UNDEFINED_SCHEMA, qn[0] );
public void patch() { XMLSchemaSchema s = reader.grammar.getByNamespace(qn[0]); if(s==null) { reader.reportError( reader.ERR_UNDEFINED_SCHEMA, qn[0] ); return; } IdentityConstraint idc = s.identityConstraints.get(qn[1]); if(idc==null) { reader.reportError( reader.ERR_UNDEFINED_KEY, refer ); return; } if(!(idc instanceof KeyConstraint )) { reader.reportError( reader.ERR_KEYREF_REFERRING_NON_KEY, refer ); return; } if( idc.fields.length != keyRef.fields.length ) { reader.reportError( new Locator[]{ getLocation(), reader.getDeclaredLocationOf(idc) }, reader.ERR_KEY_FIELD_NUMBER_MISMATCH, new Object[]{ idc.localName, new Integer(idc.fields.length), keyRef.localName, new Integer(keyRef.fields.length) } ); return; } keyRef.key = (KeyConstraint)idc; }
45720 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45720/cfae98bcc8b60a29fd26b6aa2cbf97feedb46bd9/IdentityConstraintState.java/clean/msv/src/com/sun/msv/reader/xmlschema/IdentityConstraintState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 4729, 1435, 288, 6862, 202, 4201, 3078, 3078, 272, 273, 2949, 18, 31628, 18, 588, 858, 3402, 12, 15785, 63, 20, 19226, 6862, 202, 430, 12, 87, 631, 2011, 13, 288, 25083, 202, 10530, 18, 6006, 668, 12, 2949, 18, 9712, 67, 2124, 15544, 67, 14233, 16, 31054, 63, 20, 65, 11272, 25083, 202, 2463, 31, 6862, 202, 97, 6862, 202, 4334, 5806, 612, 71, 273, 272, 18, 10781, 4878, 18, 588, 12, 15785, 63, 21, 19226, 6862, 202, 430, 12, 350, 71, 631, 2011, 13, 288, 25083, 202, 10530, 18, 6006, 668, 12, 2949, 18, 9712, 67, 2124, 15544, 67, 3297, 16, 8884, 11272, 25083, 202, 2463, 31, 6862, 202, 97, 6862, 202, 430, 12, 5, 12, 350, 71, 1276, 1929, 5806, 8623, 288, 25083, 202, 10530, 18, 6006, 668, 12, 2949, 18, 9712, 67, 3297, 10771, 67, 30269, 54, 1360, 67, 3993, 67, 3297, 16, 8884, 11272, 25083, 202, 2463, 31, 6862, 202, 97, 6862, 202, 430, 12, 612, 71, 18, 2821, 18, 2469, 480, 498, 1957, 18, 2821, 18, 2469, 262, 288, 25083, 202, 10530, 18, 6006, 668, 12, 6862, 1082, 202, 2704, 2851, 639, 63, 7073, 6862, 9506, 202, 588, 2735, 9334, 6862, 9506, 202, 10530, 18, 588, 18888, 2735, 951, 12, 350, 71, 13, 19879, 6862, 1082, 202, 10530, 18, 9712, 67, 3297, 67, 6776, 67, 9931, 67, 30062, 11793, 16, 6862, 1082, 202, 2704, 1033, 63, 7073, 6862, 9506, 202, 350, 71, 18, 3729, 461, 16, 6862, 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, 4697, 202, 482, 918, 4729, 1435, 288, 6862, 202, 4201, 3078, 3078, 272, 273, 2949, 18, 31628, 18, 588, 858, 3402, 12, 15785, 63, 20, 19226, 6862, 202, 430, 12, 87, 631, 2011, 13, 288, 25083, 202, 10530, 18, 6006, 668, 12, 2949, 18, 9712, 67, 2124, 15544, 67, 14233, 16, 31054, 63, 20, 65, 11272, 25083, 202, 2463, 31, 6862, 202, 97, 6862, 202, 4334, 5806, 612, 71, 273, 272, 18, 10781, 4878, 18, 588, 12, 15785, 63, 21, 19226, 6862, 202, 430, 12, 350, 71, 631, 2011, 13, 288, 25083, 202, 10530, 18, 6006, 668, 12, 2949, 18, 9712, 67, 2124, 15544, 67, 3297, 16, 8884, 11272, 25083, 202, 2463, 31, 6862, 202, 97, 6862, 202, 430, 2 ]
index--; /* back up so index points to last hex char */
if (state.cx.getLanguageVersion() == Context.VERSION_1_2) index--; /* back up so index points to last hex char */ else { /* ecma 2 requires pairs of hex digits. */ index = ocp; num = 'x'; }
RENode parseAtom(CompilerState state) { int num = 0, len; RENode ren = null; RENode ren2; char c; byte op; boolean skipCommon = false; boolean doFlat = false; char[] source = state.source; int index = state.index; int ocp = index; if (index == source.length) { state.index = index; return new RENode(state, REOP_EMPTY, null); } switch (source[index]) { /* handle /|a/ by returning an empty node for the leftside */ case '|': return new RENode(state, REOP_EMPTY, null); case '(': op = REOP_END; if (source[index + 1] == '?') { switch (source[index + 2]) { case ':' : op = REOP_LPARENNON; break; case '=' : op = REOP_ASSERT; break; case '!' : op = REOP_ASSERT_NOT; break; } } if (op == REOP_END) { op = REOP_LPAREN; num = state.parenCount++; /* \1 is numbered 0, etc. */ state.index = index + 1; } else state.index = index + 3; ren2 = parseRegExp(state); if (ren2 == null) return null; index = state.index; if (index >= source.length || source[index] != ')') { reportError("msg.unterm.paren", tail(source, ocp)); return null; } index++; ren = new RENode(state, op, ren2); ren.flags = (byte) (ren2.flags & (RENode.ANCHORED | RENode.NONEMPTY)); ren.num = num; if ((op == REOP_LPAREN) || (op == REOP_LPARENNON)) { /* Assume RPAREN ops immediately succeed LPAREN ops */ ren2 = new RENode(state, (byte)(op + 1), null); setNext(state, ren, ren2); ren2.num = num; } break; case '.': ++index; op = REOP_DOT; if ((index < source.length) && (source[index] == '*')) { index++; op = REOP_DOTSTAR; if ((index < source.length) && (source[index] == '?')) { index++; op = REOP_DOTSTARMIN; } } ren = new RENode(state, op, null); if (ren.op == REOP_DOT) ren.flags = RENode.SINGLE | RENode.NONEMPTY; break; case '[': /* A char class must have at least one char in it. */ if (++index == source.length) { reportError("msg.unterm.class", tail(source, ocp)); return null; } c = source[index]; ren = new RENode(state, REOP_CCLASS, new Integer(index)); /* A negated class must have at least one char in it after the ^. */ if (c == '^' && ++index == source.length) { reportError("msg.unterm.class", tail(source, ocp)); return null; } for (;;) { if (++index == source.length) { reportError("msg.unterm.paren", tail(source, ocp)); return null; } c = source[index]; if (c == ']') break; if (c == '\\' && index+1 != source.length) index++; } ren.kid2 = index++; /* Since we rule out [] and [^], we can set the non-empty flag. */ ren.flags = RENode.SINGLE | RENode.NONEMPTY; break; case '\\': if (++index == source.length) { Context.reportError(ScriptRuntime.getMessage("msg.trail.backslash", null)); return null; } c = source[index]; switch (c) { case 'f': case 'n': case 'r': case 't': case 'v': c = getEscape(c); ren = new RENode(state, REOP_FLAT1, null); break; case 'd': ren = new RENode(state, REOP_DIGIT, null); break; case 'D': ren = new RENode(state, REOP_NONDIGIT, null); break; case 'w': ren = new RENode(state, REOP_ALNUM, null); break; case 'W': ren = new RENode(state, REOP_NONALNUM, null); break; case 's': ren = new RENode(state, REOP_SPACE, null); break; case 'S': ren = new RENode(state, REOP_NONSPACE, null); break; case '0': state.index = index; num = doOctal(state); index = state.index; ren = new RENode(state, REOP_FLAT1, null); c = (char) num; break; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': num = unDigit(c); while (++index < source.length && isDigit(c = source[index])) num = 10 * num - unDigit(c); if (num > 9 || num > state.parenCount) { state.index = ocp; num = doOctal(state); index = state.index; ren = new RENode(state, REOP_FLAT1, null); c = (char) num; break; } index--; ren = new RENode(state, REOP_BACKREF, null); ren.num = num - 1; /* \1 is numbered 0, etc. */ /* Avoid common chr- and flags-setting code after switch. */ ren.flags = RENode.NONEMPTY; skipCommon = true; break; case 'x': ocp = index; if (++index < source.length && isHex(c = source[index])) { num = unHex(c); if (++index < source.length && isHex(c = source[index])) { num <<= 4; num += unHex(c); } else { index--; /* back up so index points to last hex char */ } } else { index = ocp; /* \xZZ is xZZ (Perl does \0ZZ!) */ num = 'x'; } ren = new RENode(state, REOP_FLAT1, null); c = (char)num; break; case 'c': c = source[++index]; if (!('A' <= c && c <= 'Z') && !('a' <= c && c <= 'z')) { index -= 2; ocp = index; doFlat = true; skipCommon = true; break; } c = Character.toUpperCase(c); c = (char) (c ^ 64); // JS_TOCTRL ren = new RENode(state, REOP_FLAT1, null); break; case 'u': if (index+4 < source.length && isHex(source[index+1]) && isHex(source[index+2]) && isHex(source[index+3]) && isHex(source[index+4])) { num = (((((unHex(source[index+1]) << 4) + unHex(source[index+2])) << 4) + unHex(source[index+3])) << 4) + unHex(source[index+4]); c = (char) num; index += 4; ren = new RENode(state, REOP_FLAT1, null); break; } /* Unlike Perl \\xZZ, we take \\uZZZ to be literal-u then ZZZ. */ ocp = index; doFlat = true; skipCommon = true; break; default: ocp = index; doFlat = true; skipCommon = true; break; } /* Common chr- and flags-setting code for escape opcodes. */ if (ren != null && !skipCommon) { ren.chr = c; ren.flags = RENode.SINGLE | RENode.NONEMPTY; } skipCommon = false; if (!doFlat) { /* Skip to next unparsed char. */ index++; break; } /* fall through since doFlat was true */ doFlat = false; default: while (++index != source.length && metachars.indexOf(source[index]) == -1) ; len = (int)(index - ocp); if (index != source.length && len > 1 && closurechars.indexOf(source[index]) != -1) { index--; len--; } if (len > REOP_FLATLEN_MAX) { len = REOP_FLATLEN_MAX; index = ocp + len; } ren = new RENode(state, len == 1 ? REOP_FLAT1 : REOP_FLAT, new Integer(ocp)); ren.flags = RENode.NONEMPTY; if (len > 1) { ren.kid2 = index; } else { ren.flags |= RENode.SINGLE; ren.chr = source[ocp]; } break; } state.index = index; return ren; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/acce0c553dd80ad4bc28e5cf2ca74e3e5990631c/NativeRegExp.java/clean/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2438, 907, 1109, 3641, 12, 9213, 1119, 919, 13, 288, 3639, 509, 818, 273, 374, 16, 562, 31, 3639, 2438, 907, 1654, 273, 446, 31, 3639, 2438, 907, 1654, 22, 31, 3639, 1149, 276, 31, 3639, 1160, 1061, 31, 3639, 1250, 2488, 6517, 273, 629, 31, 3639, 1250, 741, 16384, 273, 629, 31, 3639, 1149, 8526, 1084, 273, 919, 18, 3168, 31, 3639, 509, 770, 273, 919, 18, 1615, 31, 3639, 509, 320, 4057, 273, 770, 31, 3639, 309, 261, 1615, 422, 1084, 18, 2469, 13, 288, 5411, 919, 18, 1615, 273, 770, 31, 5411, 327, 394, 2438, 907, 12, 2019, 16, 2438, 3665, 67, 13625, 16, 446, 1769, 3639, 289, 3639, 1620, 261, 3168, 63, 1615, 5717, 288, 5411, 1748, 1640, 342, 96, 69, 19, 635, 5785, 392, 1008, 756, 364, 326, 2002, 5564, 1195, 1850, 648, 6699, 4278, 5411, 327, 394, 2438, 907, 12, 2019, 16, 2438, 3665, 67, 13625, 16, 446, 1769, 1850, 648, 7321, 30, 27573, 1061, 273, 2438, 3665, 67, 4415, 31, 5411, 309, 261, 3168, 63, 1615, 397, 404, 65, 422, 6787, 13, 288, 7734, 1620, 261, 3168, 63, 1615, 397, 576, 5717, 288, 10792, 648, 3921, 294, 13491, 1061, 273, 2438, 3665, 67, 48, 15111, 3993, 31, 13491, 898, 31, 10792, 648, 5214, 294, 13491, 1061, 273, 2438, 3665, 67, 8423, 11539, 31, 13491, 898, 31, 10792, 648, 15502, 294, 13491, 1061, 273, 2438, 3665, 67, 8423, 11539, 67, 4400, 31, 13491, 898, 31, 7734, 289, 5411, 289, 5411, 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, 2438, 907, 1109, 3641, 12, 9213, 1119, 919, 13, 288, 3639, 509, 818, 273, 374, 16, 562, 31, 3639, 2438, 907, 1654, 273, 446, 31, 3639, 2438, 907, 1654, 22, 31, 3639, 1149, 276, 31, 3639, 1160, 1061, 31, 3639, 1250, 2488, 6517, 273, 629, 31, 3639, 1250, 741, 16384, 273, 629, 31, 3639, 1149, 8526, 1084, 273, 919, 18, 3168, 31, 3639, 509, 770, 273, 919, 18, 1615, 31, 3639, 509, 320, 4057, 273, 770, 31, 3639, 309, 261, 1615, 422, 1084, 18, 2469, 13, 288, 5411, 919, 18, 1615, 273, 770, 31, 5411, 327, 394, 2438, 907, 12, 2019, 16, 2438, 3665, 67, 13625, 16, 446, 1769, 3639, 289, 3639, 1620, 261, 3168, 63, 1615, 5717, 2 ]
} catch (Exception e) { e.printStackTrace();
return e.getStatus();
protected IStatus run(IProgressMonitor monitor) { if (cproject == null || Thread.currentThread().isInterrupted()) { return Status.CANCEL_STATUS; } vbin = (BinaryContainer)cproject.getBinaryContainer(); vlib = (ArchiveContainer)cproject.getArchiveContainer(); vlib.removeChildren(); vbin.removeChildren(); try { project.accept(new Visitor(BinaryRunner.this)); } catch (CoreException e) { //e.printStackTrace(); } catch (Exception e) { // What is wrong ? e.printStackTrace(); } if (!Thread.currentThread().isInterrupted()) { fireEvents(cproject, vbin); fireEvents(cproject, vlib); } // Tell the listeners we are done. synchronized(BinaryRunner.this) { BinaryRunner.this.notifyAll(); BinaryRunner.this.runner = null; } return Status.OK_STATUS; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/84c89baed2d5075ab2dc5a5810d04c445f608a68/BinaryRunner.java/clean/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 71, 4406, 422, 446, 747, 4884, 18, 2972, 3830, 7675, 291, 24485, 10756, 288, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 97, 9506, 202, 90, 4757, 273, 261, 5905, 2170, 13, 71, 4406, 18, 588, 5905, 2170, 5621, 9506, 202, 90, 2941, 273, 261, 7465, 2170, 13, 71, 4406, 18, 588, 7465, 2170, 5621, 9506, 202, 90, 2941, 18, 4479, 4212, 5621, 9506, 202, 90, 4757, 18, 4479, 4212, 5621, 9506, 202, 698, 288, 6862, 202, 4406, 18, 9436, 12, 2704, 17360, 12, 5905, 9709, 18, 2211, 10019, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 759, 73, 18, 1188, 6332, 5621, 9506, 202, 97, 1044, 261, 503, 425, 13, 288, 6862, 202, 759, 18734, 353, 7194, 692, 6862, 202, 73, 18, 1188, 6332, 5621, 9506, 202, 97, 9506, 202, 430, 16051, 3830, 18, 2972, 3830, 7675, 291, 24485, 10756, 288, 6862, 202, 12179, 3783, 12, 71, 4406, 16, 331, 4757, 1769, 6862, 202, 12179, 3783, 12, 71, 4406, 16, 331, 2941, 1769, 9506, 202, 97, 9506, 202, 759, 29860, 326, 4679, 732, 854, 2731, 18, 9506, 202, 22043, 12, 5905, 9709, 18, 2211, 13, 288, 6862, 202, 5905, 9709, 18, 2211, 18, 12336, 1595, 5621, 6862, 202, 5905, 9709, 18, 2211, 18, 18156, 273, 446, 31, 9506, 202, 97, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 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, 1875, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 71, 4406, 422, 446, 747, 4884, 18, 2972, 3830, 7675, 291, 24485, 10756, 288, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 97, 9506, 202, 90, 4757, 273, 261, 5905, 2170, 13, 71, 4406, 18, 588, 5905, 2170, 5621, 9506, 202, 90, 2941, 273, 261, 7465, 2170, 13, 71, 4406, 18, 588, 7465, 2170, 5621, 9506, 202, 90, 2941, 18, 4479, 4212, 5621, 9506, 202, 90, 4757, 18, 4479, 4212, 5621, 9506, 202, 698, 288, 6862, 202, 4406, 18, 9436, 12, 2704, 17360, 12, 5905, 9709, 18, 2211, 10019, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 2 ]
writer.write("M END"); writer.newLine(); writer.flush(); writer.close();
}
public static void writeMolecule(Molecule molecule) throws Exception { int Bonorder, stereo; String line = ""; int index = -1; int rows = 4; String title = (String)molecule.getProperty(CDKConstants.TITLE); if (title == null) title = ""; do { index = title.indexOf("\n",index + 1); rows--; } while (index != -1); writer.write(title); for(int i = 0; i < rows; i++) { writer.newLine(); } line += formatMDLInt(molecule.getAtomCount(), 3); line += formatMDLInt(molecule.getBondCount(), 3); line += " 0 0 0 0 0 0 0 0999 V2000"; writer.write(line); writer.newLine(); // write Atom block for (int f = 0; f < molecule.getAtomCount(); f++) { Atom atom = molecule.getAtomAt(f); line = ""; if (atom.getPoint3D() != null) { line += formatMDLFloat((float) atom.getX3D()); line += formatMDLFloat((float) atom.getY3D()); line += formatMDLFloat((float) atom.getZ3D()) + " "; } else if (atom.getPoint2D() != null) { line += formatMDLFloat((float) atom.getX2D()); line += formatMDLFloat((float) atom.getY2D()); line += " 0.0000 "; } else { // if no coordinates available, then output a number // of zeros line += formatMDLFloat((float)0.0); line += formatMDLFloat((float)0.0); line += formatMDLFloat((float)0.0) + " "; } line += formatMDLString(molecule.getAtomAt(f).getSymbol(), 3); line += " 0 0 0 0 0 0 0 0 0 0 0 0"; writer.write(line); writer.newLine(); } // write Bond block for (int g = 0; g < molecule.getElectronContainerCount(); g++) { if (molecule.getElectronContainerAt(g) instanceof Bond) { Bond bond = (Bond)molecule.getElectronContainerAt(g); if (bond.getAtoms().length != 2) { System.out.println("keine 2 Atome"); } else { line = ""; line += formatMDLInt(molecule.getAtomNumber(bond.getAtomAt(0)) + 1,3); line += formatMDLInt(molecule.getAtomNumber(bond.getAtomAt(1)) + 1,3); line += formatMDLInt((int)bond.getOrder(),3); line += " "; switch(bond.getStereo()){ case 1: line += "1"; break; case -1: line += "6"; break; default: line += "0"; } line += " 0 0 0 "; writer.write(line); writer.newLine(); } } } // write formal atomic charges for (int atomNumber = 1; atomNumber < molecule.getAtomCount(); atomNumber++) { Atom atom = molecule.getAtomAt(atomNumber-1); int charge = atom.getFormalCharge(); if (charge != 0) { writer.write("M CHG 1 "); writer.write(formatMDLInt(atomNumber,3)); writer.write(" "); writer.write(formatMDLInt(charge,3)); writer.newLine(); } } // close molecule writer.write("M END"); writer.newLine(); writer.flush(); writer.close(); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/14f2bb4c40b48c30b0ab39b9c10ae35ca78216ae/MDLWriter.java/buggy/src/org/openscience/cdk/io/MDLWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1045, 29669, 12, 29669, 13661, 13, 1216, 1185, 202, 95, 202, 202, 474, 605, 265, 1019, 16, 29558, 31, 202, 202, 780, 980, 273, 1408, 31, 202, 202, 474, 770, 273, 300, 21, 31, 202, 202, 474, 2595, 273, 1059, 31, 202, 202, 780, 2077, 273, 261, 780, 13, 81, 10545, 18, 588, 1396, 12, 39, 3398, 2918, 18, 14123, 1769, 202, 202, 430, 261, 2649, 422, 446, 13, 2077, 273, 1408, 31, 202, 202, 2896, 202, 202, 95, 1082, 202, 1615, 273, 2077, 18, 31806, 31458, 82, 3113, 1615, 397, 404, 1769, 1082, 202, 3870, 413, 31, 202, 202, 97, 202, 202, 17523, 261, 1615, 480, 300, 21, 1769, 1082, 202, 6299, 18, 2626, 12, 2649, 1769, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 2595, 31, 277, 27245, 1082, 202, 95, 9506, 202, 6299, 18, 2704, 1670, 5621, 1082, 202, 97, 1082, 565, 980, 1011, 740, 6188, 48, 1702, 12, 81, 10545, 18, 588, 3641, 1380, 9334, 890, 1769, 1082, 565, 980, 1011, 740, 6188, 48, 1702, 12, 81, 10545, 18, 588, 9807, 1380, 9334, 890, 1769, 1082, 565, 980, 1011, 315, 225, 374, 225, 374, 225, 374, 225, 374, 225, 374, 225, 374, 225, 374, 225, 374, 11984, 776, 17172, 14432, 1082, 202, 6299, 18, 2626, 12, 1369, 1769, 1082, 202, 6299, 18, 2704, 1670, 5621, 5411, 368, 1045, 7149, 1203, 1082, 565, 364, 261, 474, 284, 273, 374, 31, 284, 411, 13661, 18, 588, 3641, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1045, 29669, 12, 29669, 13661, 13, 1216, 1185, 202, 95, 202, 202, 474, 605, 265, 1019, 16, 29558, 31, 202, 202, 780, 980, 273, 1408, 31, 202, 202, 474, 770, 273, 300, 21, 31, 202, 202, 474, 2595, 273, 1059, 31, 202, 202, 780, 2077, 273, 261, 780, 13, 81, 10545, 18, 588, 1396, 12, 39, 3398, 2918, 18, 14123, 1769, 202, 202, 430, 261, 2649, 422, 446, 13, 2077, 273, 1408, 31, 202, 202, 2896, 202, 202, 95, 1082, 202, 1615, 273, 2077, 18, 31806, 31458, 82, 3113, 1615, 397, 404, 1769, 1082, 202, 3870, 413, 31, 202, 202, 97, 202, 202, 17523, 261, 1615, 480, 300, 21, 1769, 1082, 202, 6299, 18, 2 ]
LogService.log(LogService.DEBUG, "RDBMCoreStylesheetDescriptionStore::getName() : no \"description\" element was found under the \"stylesheetdescription\" node!");
LogService.log(LogService.DEBUG, "RDBMUserLayoutStore::getName() : no \"description\" element was found under the \"stylesheetdescription\" node!");
private String getDescription (Document descr) { NodeList descriptions = descr.getElementsByTagName("description"); Node description = null; for (int i = descriptions.getLength() - 1; i >= 0; i--) { description = descriptions.item(i); if (description.getParentNode().getNodeName().equals("stylesheetdescription")) break; else description = null; } if (description != null) { return this.getTextChildNodeValue(description); } else { LogService.log(LogService.DEBUG, "RDBMCoreStylesheetDescriptionStore::getName() : no \"description\" element was found under the \"stylesheetdescription\" node!"); return null; } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/4527a20fd7a468af6fc839c07129679e1de8693e/RDBMUserLayoutStore.java/clean/source/org/jasig/portal/RDBMUserLayoutStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 11056, 261, 2519, 18426, 13, 288, 565, 16781, 15550, 273, 18426, 18, 588, 3471, 10401, 2932, 3384, 8863, 565, 2029, 2477, 273, 446, 31, 565, 364, 261, 474, 277, 273, 15550, 18, 588, 1782, 1435, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 1377, 2477, 273, 15550, 18, 1726, 12, 77, 1769, 1377, 309, 261, 3384, 18, 588, 3054, 907, 7675, 588, 18948, 7675, 14963, 2932, 19403, 3384, 6, 3719, 3639, 898, 31, 1377, 469, 3639, 2477, 273, 446, 31, 565, 289, 565, 309, 261, 3384, 480, 446, 13, 288, 1377, 327, 225, 333, 18, 588, 1528, 25550, 620, 12, 3384, 1769, 565, 289, 565, 469, 288, 1377, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 315, 54, 2290, 49, 1299, 3744, 2257, 2866, 17994, 1435, 294, 1158, 1239, 3384, 2412, 930, 1703, 1392, 3613, 326, 1239, 19403, 3384, 2412, 756, 4442, 1769, 1377, 327, 225, 446, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0,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, 22398, 316, 326, 981, 30, 282, 3238, 514, 11056, 261, 2519, 18426, 13, 288, 565, 16781, 15550, 273, 18426, 18, 588, 3471, 10401, 2932, 3384, 8863, 565, 2029, 2477, 273, 446, 31, 565, 364, 261, 474, 277, 273, 15550, 18, 588, 1782, 1435, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 1377, 2477, 273, 15550, 18, 1726, 12, 77, 1769, 1377, 309, 261, 3384, 18, 588, 3054, 907, 7675, 588, 18948, 7675, 14963, 2932, 19403, 3384, 6, 3719, 3639, 898, 31, 1377, 469, 3639, 2477, 273, 446, 31, 565, 289, 565, 309, 261, 3384, 480, 446, 13, 288, 1377, 327, 225, 333, 18, 588, 1528, 25550, 620, 12, 3384, 1769, 565, 289, 565, 469, 288, 1377, 1827, 1179, 18, 1330, 12, 2 ]
bignumClass.defineMethod("+", CallbackFactory.getMethod(RubyBignum.class, "op_plus", RubyObject.class)); bignumClass.defineMethod("-", CallbackFactory.getMethod(RubyBignum.class, "op_minus", RubyObject.class)); bignumClass.defineMethod("*", CallbackFactory.getMethod(RubyBignum.class, "op_mul", RubyObject.class)); bignumClass.defineMethod("/", CallbackFactory.getMethod(RubyBignum.class, "op_div", RubyObject.class)); bignumClass.defineMethod("%", CallbackFactory.getMethod(RubyBignum.class, "op_mod", RubyObject.class)); bignumClass.defineMethod("**", CallbackFactory.getMethod(RubyBignum.class, "op_pow", RubyObject.class));
bignumClass.defineMethod("+", CallbackFactory.getMethod(RubyBignum.class, "op_plus", RubyObject.class)); bignumClass.defineMethod("-", CallbackFactory.getMethod(RubyBignum.class, "op_minus", RubyObject.class)); bignumClass.defineMethod("*", CallbackFactory.getMethod(RubyBignum.class, "op_mul", RubyObject.class)); bignumClass.defineMethod("/", CallbackFactory.getMethod(RubyBignum.class, "op_div", RubyObject.class)); bignumClass.defineMethod("%", CallbackFactory.getMethod(RubyBignum.class, "op_mod", RubyObject.class)); bignumClass.defineMethod("**", CallbackFactory.getMethod(RubyBignum.class, "op_pow", RubyObject.class));
public static RubyClass createBignumClass(Ruby ruby) { RubyClass bignumClass = ruby.defineClass("Bignum", ruby.getClasses().getIntegerClass()); bignumClass.defineMethod("to_s", CallbackFactory.getMethod(RubyBignum.class, "to_s")); bignumClass.defineMethod("hash", CallbackFactory.getMethod(RubyBignum.class, "hash")); bignumClass.defineMethod("+", CallbackFactory.getMethod(RubyBignum.class, "op_plus", RubyObject.class)); bignumClass.defineMethod("-", CallbackFactory.getMethod(RubyBignum.class, "op_minus", RubyObject.class)); bignumClass.defineMethod("*", CallbackFactory.getMethod(RubyBignum.class, "op_mul", RubyObject.class)); bignumClass.defineMethod("/", CallbackFactory.getMethod(RubyBignum.class, "op_div", RubyObject.class)); bignumClass.defineMethod("%", CallbackFactory.getMethod(RubyBignum.class, "op_mod", RubyObject.class)); bignumClass.defineMethod("**", CallbackFactory.getMethod(RubyBignum.class, "op_pow", RubyObject.class)); bignumClass.defineMethod("==", CallbackFactory.getMethod(RubyBignum.class, "op_equal", RubyObject.class)); bignumClass.defineMethod("<=>", CallbackFactory.getMethod(RubyBignum.class, "op_cmp", RubyObject.class)); bignumClass.defineMethod(">", CallbackFactory.getMethod(RubyBignum.class, "op_gt", RubyObject.class)); bignumClass.defineMethod(">=", CallbackFactory.getMethod(RubyBignum.class, "op_ge", RubyObject.class)); bignumClass.defineMethod("<", CallbackFactory.getMethod(RubyBignum.class, "op_lt", RubyObject.class)); bignumClass.defineMethod("<=", CallbackFactory.getMethod(RubyBignum.class, "op_le", RubyObject.class)); return bignumClass; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/1cc89bd397c0f049e6fa3045916fd6d9a3cdada8/RubyBignum.java/buggy/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 38, 724, 379, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 324, 724, 379, 797, 273, 22155, 18, 11255, 797, 2932, 38, 724, 379, 3113, 22155, 18, 588, 4818, 7675, 588, 4522, 797, 10663, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 869, 67, 87, 7923, 1769, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 2816, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 2816, 7923, 1769, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 15, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 10103, 3113, 19817, 921, 18, 1106, 10019, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 17, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 19601, 3113, 19817, 921, 18, 1106, 10019, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 14, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 16411, 3113, 19817, 921, 18, 1106, 10019, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 19, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 556, 67, 2892, 3113, 19817, 921, 18, 1106, 10019, 3639, 324, 724, 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, 19817, 797, 752, 38, 724, 379, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 324, 724, 379, 797, 273, 22155, 18, 11255, 797, 2932, 38, 724, 379, 3113, 22155, 18, 588, 4818, 7675, 588, 4522, 797, 10663, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 869, 67, 87, 7923, 1769, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 2816, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 38, 724, 379, 18, 1106, 16, 315, 2816, 7923, 1769, 3639, 324, 724, 379, 797, 18, 11255, 1305, 2932, 15, 3113, 8444, 1733, 18, 588, 2 ]
public static void main(String[] args) { { String src = "\"Tim Brennan\" <first@domain.com>"; String concat = ZimbraAnalyzer.getAllTokensConcatenated(LuceneFields.L_H_FROM, src); System.out.println("SRC="+src+" OUT=\""+concat+"\""); } { String src = "dharma@dharma.com"; String concat = ZimbraAnalyzer.getAllTokensConcatenated(LuceneFields.L_H_FROM, src); System.out.println("SRC="+src+" OUT=\""+concat+"\""); } MultiTokenFilter.sPrintNewTokens = true; ZimbraAnalyzer la = new ZimbraAnalyzer(); String str = "tim (tim@foo.com),image/jpeg, bugzilla-daemon@eric.example.zimbra.com, zug zug [zug@gug.com], Foo.gub, \"My Mom\" <mmm@nnnn.com>,asd foo bar aaa/bbb ccc/ddd/eee fff@ggg.com hhh@iiii"; { System.out.print("AddressTokenFilter:\n-------------------------"); StringReader reader = new StringReader(str); TokenStream filter1 = la.tokenStream(LuceneFields.L_H_FROM, reader);// int i = 1; Token tok = null; do { try { tok = filter1.next(); } catch (IOException e) {} if (tok!=null) { System.out.println(" "+tok.termText()); } } while(tok != null); } { System.out.print("\nATTACHMENTS: MimeTypeTokenFilter:\n-------------------------"); StringReader reader = new StringReader(str); TokenStream filter1 = la.tokenStream(LuceneFields.L_ATTACHMENTS, reader); // int i = 1; Token tok = null; do { try { tok = filter1.next(); } catch (IOException e) {} if (tok!=null) { System.out.println(" "+tok.termText()); } } while(tok != null); } { System.out.print("\nTYPE: MimeTypeTokenFilter:\n-------------------------"); StringReader reader = new StringReader(str); TokenStream filter1 = la.tokenStream(LuceneFields.L_MIMETYPE, reader); // int i = 1; Token tok = null; do { try { tok = filter1.next(); } catch (IOException e) {} if (tok!=null) { System.out.println(" "+tok.termText()); } } while(tok != null); } { str = "123 26 1000000 100000000 1,000,000,000 1,000,000,000,000,000"; System.out.println("\nMimeTypeTokenFilter:\n-------------------------"); StringReader reader = new StringReader(str); TokenStream filter1 = la.tokenStream(LuceneFields.L_SIZE, reader); // int i = 1; Token tok = null; do { try { tok = filter1.next(); } catch (IOException e) {} if (tok!=null) { System.out.println(" "+tok.termText()); } } while(tok != null); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d5df6c2e9ed76583fcc9e310bfffa18b6787fc2b/ZimbraAnalyzer.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/ZimbraAnalyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 202, 95, 3639, 288, 5411, 514, 1705, 273, 7023, 10178, 605, 1187, 13569, 2412, 411, 3645, 36, 4308, 18, 832, 2984, 31, 5411, 514, 3835, 273, 2285, 381, 15397, 12803, 18, 588, 1595, 5157, 21432, 690, 12, 19763, 2314, 18, 48, 67, 44, 67, 11249, 16, 1705, 1769, 13491, 2332, 18, 659, 18, 8222, 2932, 28413, 1546, 15, 4816, 9078, 8210, 13186, 15, 16426, 9078, 8530, 1769, 3639, 289, 7734, 288, 5411, 514, 1705, 273, 315, 19153, 297, 2540, 36, 19153, 297, 2540, 18, 832, 14432, 5411, 514, 3835, 273, 2285, 381, 15397, 12803, 18, 588, 1595, 5157, 21432, 690, 12, 19763, 2314, 18, 48, 67, 44, 67, 11249, 16, 1705, 1769, 13491, 2332, 18, 659, 18, 8222, 2932, 28413, 1546, 15, 4816, 9078, 8210, 13186, 15, 16426, 9078, 8530, 1769, 3639, 289, 11794, 202, 5002, 1345, 1586, 18, 87, 5108, 1908, 5157, 273, 638, 31, 377, 202, 62, 381, 15397, 12803, 7125, 273, 394, 2285, 381, 15397, 12803, 5621, 377, 202, 780, 609, 273, 315, 8584, 261, 8584, 36, 11351, 18, 832, 3631, 2730, 19, 14423, 16, 7934, 15990, 17, 21511, 36, 3036, 18, 8236, 18, 94, 381, 15397, 18, 832, 16, 998, 637, 998, 637, 306, 94, 637, 36, 75, 637, 18, 832, 6487, 23077, 18, 75, 373, 16, 1239, 12062, 490, 362, 2412, 411, 7020, 81, 36, 9074, 9074, 18, 832, 20401, 345, 72, 8431, 4653, 279, 7598, 19, 9897, 70, 276, 952, 19, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 202, 95, 3639, 288, 5411, 514, 1705, 273, 7023, 10178, 605, 1187, 13569, 2412, 411, 3645, 36, 4308, 18, 832, 2984, 31, 5411, 514, 3835, 273, 2285, 381, 15397, 12803, 18, 588, 1595, 5157, 21432, 690, 12, 19763, 2314, 18, 48, 67, 44, 67, 11249, 16, 1705, 1769, 13491, 2332, 18, 659, 18, 8222, 2932, 28413, 1546, 15, 4816, 9078, 8210, 13186, 15, 16426, 9078, 8530, 1769, 3639, 289, 7734, 288, 5411, 514, 1705, 273, 315, 19153, 297, 2540, 36, 19153, 297, 2540, 18, 832, 14432, 5411, 514, 3835, 273, 2285, 381, 15397, 12803, 18, 588, 1595, 5157, 21432, 690, 12, 19763, 2314, 18, 48, 67, 44, 67, 11249, 2 ]
if (!uctx.isAt(NS_STREAM_SASL, CHALLENGE_ELEMENT_NAME)) throw new XMPPException("Expecting <challenge> tag, but found: " + uctx.getName());
private void authDigestMD5(UnmarshallingContext uctx, XMPPStreamWriter writer, XMPPSessionContext sessCtx, XMPPStreamContext streamCtx) throws XMPPException, IOException, JiBXException { int idx = writer.getNamespaces().length; // send <auth> writer.startTagNamespaces(idx, "auth", new int[] { idx }, new String[] { "" }); writer.addAttribute(0, "mechanism", DIGEST_MD5); writer.closeEmptyTag(); writer.flush(); // server sends us challenge uctx.next(); parseAndThrowFailure(uctx, streamCtx); if (!uctx.isAt(NS_STREAM_SASL, CHALLENGE_ELEMENT_NAME)) throw new XMPPException("Expecting <challenge> tag, but found: " + uctx.getName()); String challengeStr = parseElementText(uctx, CHALLENGE_ELEMENT_NAME, streamCtx); if (log.isInfoEnabled()) log.info("Received challenge string: " + challengeStr); DigestMD5SaslClient client = new DigestMD5SaslClient(); client.unwrapChallenge(challengeStr); String response = client.getAuthResponse(sessCtx, streamCtx); // send response if (log.isInfoEnabled()) log.info("Sending response: " + response); writer.startTagNamespaces(idx, RESPONSE_ELEMENT_NAME, new int[] { idx }, new String[] { "" }); writer.closeStartTag(); writer.writeTextContent(response); writer.endTag(idx, RESPONSE_ELEMENT_NAME); writer.flush(); // check remote response uctx.next(); parseAndThrowFailure(uctx, streamCtx); if (!uctx.isAt(NS_STREAM_SASL, CHALLENGE_ELEMENT_NAME)) throw new XMPPException("Expecting <challenge> tag, but found: " + uctx.getName()); // the received string is rspauth, which can be ignored parseElementText(uctx, CHALLENGE_ELEMENT_NAME, streamCtx); // send final response if (log.isInfoEnabled()) log.info("Authentication accepted, sending final acknowledgement"); writer.startTagNamespaces(idx, RESPONSE_ELEMENT_NAME, new int[] { idx }, new String[] { "" }); writer.closeEmptyTag(); writer.flush(); // receive final success or failure uctx.next(); parseAndThrowFailure(uctx, streamCtx); if (!uctx.isAt(NS_STREAM_SASL, "success")) throw new XMPPException("Expecting <success> tag, but found: " + uctx.getName()); parseElementText(uctx, "success", streamCtx); }
13024 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13024/463997893b38a33cb272ae9f93a5debb63f72221/SASLHandshakeStream.java/clean/feridian/trunk/src/xmpp/com/echomine/xmpp/stream/SASLHandshakeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1357, 9568, 6188, 25, 12, 984, 12201, 310, 1042, 582, 5900, 16, 23216, 29421, 2633, 16, 23216, 2157, 1042, 8451, 6442, 16, 23216, 1228, 1042, 1407, 6442, 13, 1216, 23216, 503, 16, 1860, 16, 804, 17632, 60, 503, 288, 3639, 509, 2067, 273, 2633, 18, 588, 13180, 7675, 2469, 31, 3639, 368, 1366, 411, 1944, 34, 3639, 2633, 18, 1937, 1805, 13180, 12, 3465, 16, 315, 1944, 3113, 394, 509, 8526, 288, 2067, 19879, 394, 514, 8526, 288, 1408, 15549, 3639, 2633, 18, 1289, 1499, 12, 20, 16, 315, 3501, 10641, 3113, 24313, 11027, 67, 6188, 25, 1769, 3639, 2633, 18, 4412, 1921, 1805, 5621, 3639, 2633, 18, 11330, 5621, 3639, 368, 1438, 9573, 584, 12948, 3639, 582, 5900, 18, 4285, 5621, 3639, 1109, 1876, 8282, 5247, 12, 853, 92, 16, 1407, 6442, 1769, 3639, 309, 16051, 853, 92, 18, 291, 861, 12, 3156, 67, 13693, 67, 55, 3033, 48, 16, 6469, 1013, 7011, 41, 67, 10976, 67, 1985, 3719, 5411, 604, 394, 23216, 503, 2932, 24439, 411, 25092, 34, 1047, 16, 1496, 1392, 30, 315, 397, 582, 5900, 18, 17994, 10663, 3639, 514, 12948, 1585, 273, 1109, 1046, 1528, 12, 853, 92, 16, 6469, 1013, 7011, 41, 67, 10976, 67, 1985, 16, 1407, 6442, 1769, 3639, 309, 261, 1330, 18, 291, 966, 1526, 10756, 5411, 613, 18, 1376, 2932, 8872, 12948, 533, 30, 315, 397, 12948, 1585, 1769, 3639, 15864, 6188, 25, 55, 345, 80, 1227, 1004, 273, 394, 15864, 6188, 25, 55, 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, 1357, 9568, 6188, 25, 12, 984, 12201, 310, 1042, 582, 5900, 16, 23216, 29421, 2633, 16, 23216, 2157, 1042, 8451, 6442, 16, 23216, 1228, 1042, 1407, 6442, 13, 1216, 23216, 503, 16, 1860, 16, 804, 17632, 60, 503, 288, 3639, 509, 2067, 273, 2633, 18, 588, 13180, 7675, 2469, 31, 3639, 368, 1366, 411, 1944, 34, 3639, 2633, 18, 1937, 1805, 13180, 12, 3465, 16, 315, 1944, 3113, 394, 509, 8526, 288, 2067, 19879, 394, 514, 8526, 288, 1408, 15549, 3639, 2633, 18, 1289, 1499, 12, 20, 16, 315, 3501, 10641, 3113, 24313, 11027, 67, 6188, 25, 1769, 3639, 2633, 18, 4412, 1921, 1805, 5621, 3639, 2633, 18, 11330, 5621, 3639, 368, 1438, 9573, 584, 12948, 2 ]
} else if (myRole2 == ChildRole.ARGUMENT_LIST) {
} else if (myRole2 == ChildRole.ARGUMENT_LIST) {
public void visitNewExpression(PsiNewExpression expression) { if (myRole2 == ChildRole.ARRAY_INITIALIZER) { createSpaceInCode(mySettings.SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE); } else if (myRole1 == ChildRole.NEW_KEYWORD) { createSpaceInCode(true); } else if (myRole2 == ChildRole.ARGUMENT_LIST) { createSpaceInCode(mySettings.SPACE_BEFORE_METHOD_CALL_PARENTHESES); } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/1533398430214d8ae562ff3d8dcc5898351f8c45/JavaSpacePropertyProcessor.java/buggy/source/com/intellij/psi/formatter/java/JavaSpacePropertyProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3757, 1908, 2300, 12, 52, 7722, 1908, 2300, 2652, 13, 288, 565, 309, 261, 4811, 2996, 22, 422, 7451, 2996, 18, 8552, 67, 12919, 15154, 654, 13, 288, 1377, 752, 3819, 382, 1085, 12, 4811, 2628, 18, 6616, 67, 19152, 67, 8552, 67, 12919, 15154, 654, 67, 12995, 9254, 1769, 565, 289, 469, 309, 261, 4811, 2996, 21, 422, 7451, 2996, 18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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3757, 1908, 2300, 12, 52, 7722, 1908, 2300, 2652, 13, 288, 565, 309, 261, 4811, 2996, 22, 422, 7451, 2996, 18, 8552, 67, 12919, 15154, 654, 13, 288, 1377, 752, 3819, 382, 1085, 12, 4811, 2628, 18, 6616, 67, 19152, 67, 8552, 67, 12919, 15154, 654, 67, 12995, 9254, 1769, 565, 289, 469, 309, 261, 4811, 2996, 21, 422, 7451, 2996, 18, 12917, 67, 28813, 13, 288, 1377, 752, 3819, 382, 1085, 12, 3767, 1769, 565, 289, 469, 309, 261, 4811, 2996, 22, 422, 7451, 2996, 18, 18311, 67, 7085, 13, 288, 1377, 752, 3819, 382, 1085, 12, 4811, 2628, 18, 6616, 67, 19152, 67, 5327, 67, 13730, 67, 14943, 3900, 1090, 55, 1769, 565, 289, 2 ]
hm.setName(new QName("H1"));
hm.setName("H1");
public void testInvalidPhaseFirst1() { try { ArrayList phases = new ArrayList(); Phase p1 = new Phase("PhaseA"); phases.add(p1); Phase p2 = new Phase("PhaseB"); phases.add(p2); MessageContext msg = new MessageContext(); msg.setConfigurationContext( new ConfigurationContext(new AxisConfiguration())); PhaseHolder ph = new PhaseHolder(phases); HandlerDescription hm = new HandlerDescription(); hm.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers"); Handler h1 = new PhaseRuleHandlers(); h1.init(hm); ((PhaseRuleHandlers) h1).setName(new QName("PhaseFirstHnadler")); hm.setHandler(h1); hm.setName(new QName("H1")); PhaseRule rule = new PhaseRule(); rule.setPhaseName("PhaseA"); rule.setPhaseFirst(true); rule.setBefore("H2"); hm.setRules(rule); ph.addHandler(hm); HandlerDescription hm1 = new HandlerDescription(); hm1.setClassName("org.apache.axis2.phaserule.PhaseRuleHandlers"); Handler h2 = new PhaseRuleHandlers(); ((PhaseRuleHandlers) h2).setName(new QName("Second Handler")); h2.init(hm1); hm1.setHandler(h2); hm1.setName(new QName("H2")); PhaseRule rule1 = new PhaseRule(); rule1.setPhaseName("PhaseA"); hm1.setRules(rule1); ph.addHandler(hm1); fail( "Handler with PhaseFirst can not have any before or after proprty error in "); } catch (AxisFault axisFault) { return; } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/a70530656847db6d283f1f8d5116721a654dda7b/InvalidPhaseFirstRulesTest.java/buggy/modules/kernel/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1941, 11406, 3759, 21, 1435, 288, 3639, 775, 288, 5411, 2407, 24642, 273, 394, 2407, 5621, 5411, 19459, 293, 21, 273, 394, 19459, 2932, 11406, 37, 8863, 5411, 24642, 18, 1289, 12, 84, 21, 1769, 5411, 19459, 293, 22, 273, 394, 19459, 2932, 11406, 38, 8863, 5411, 24642, 18, 1289, 12, 84, 22, 1769, 5411, 2350, 1042, 1234, 273, 394, 2350, 1042, 5621, 5411, 1234, 18, 542, 1750, 1042, 12, 10792, 394, 4659, 1042, 12, 2704, 15509, 1750, 1435, 10019, 5411, 19459, 6064, 1844, 273, 394, 19459, 6064, 12, 844, 3304, 1769, 5411, 4663, 3291, 16349, 273, 394, 4663, 3291, 5621, 5411, 16349, 18, 542, 3834, 2932, 3341, 18, 19211, 18, 4890, 22, 18, 844, 14558, 725, 18, 11406, 2175, 6919, 8863, 5411, 4663, 366, 21, 273, 394, 19459, 2175, 6919, 5621, 5411, 366, 21, 18, 2738, 12, 76, 81, 1769, 5411, 14015, 11406, 2175, 6919, 13, 366, 21, 2934, 542, 461, 12, 2704, 16723, 2932, 11406, 3759, 44, 82, 361, 749, 7923, 1769, 5411, 16349, 18, 542, 1503, 12, 76, 21, 1769, 5411, 16349, 18, 542, 461, 2932, 44, 21, 8863, 5411, 19459, 2175, 1720, 273, 394, 19459, 2175, 5621, 5411, 1720, 18, 542, 11406, 461, 2932, 11406, 37, 8863, 5411, 1720, 18, 542, 11406, 3759, 12, 3767, 1769, 5411, 1720, 18, 542, 4649, 2932, 44, 22, 8863, 5411, 16349, 18, 542, 4478, 12, 5345, 1769, 5411, 1844, 18, 1289, 1503, 12, 76, 81, 1769, 5411, 4663, 3291, 16349, 21, 273, 394, 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, 1941, 11406, 3759, 21, 1435, 288, 3639, 775, 288, 5411, 2407, 24642, 273, 394, 2407, 5621, 5411, 19459, 293, 21, 273, 394, 19459, 2932, 11406, 37, 8863, 5411, 24642, 18, 1289, 12, 84, 21, 1769, 5411, 19459, 293, 22, 273, 394, 19459, 2932, 11406, 38, 8863, 5411, 24642, 18, 1289, 12, 84, 22, 1769, 5411, 2350, 1042, 1234, 273, 394, 2350, 1042, 5621, 5411, 1234, 18, 542, 1750, 1042, 12, 10792, 394, 4659, 1042, 12, 2704, 15509, 1750, 1435, 10019, 5411, 19459, 6064, 1844, 273, 394, 19459, 6064, 12, 844, 3304, 1769, 5411, 4663, 3291, 16349, 273, 394, 4663, 3291, 5621, 5411, 16349, 18, 542, 3834, 2932, 3341, 18, 19211, 18, 4890, 22, 18, 844, 2 ]
if (e.findChild(child.getId()) == null) {
if (e.findDirectChild(child.getId()) == null) {
private void addDeletedChildrenDifferences(DirectoryEntry e, Difference d) { for (Entry child : myChildren) { if (e.findChild(child.getId()) == null) { d.addChild(child.asDeletedDifference()); } } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/893a33aa63e98f34f4a43ab236b0fef2c82e3aae/DirectoryEntry.java/clean/LocalVcs/src/com/intellij/localvcs/DirectoryEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 527, 7977, 4212, 10428, 2980, 12, 2853, 1622, 425, 16, 29474, 302, 13, 288, 565, 364, 261, 1622, 1151, 294, 3399, 4212, 13, 288, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 7977, 4212, 10428, 2980, 12, 2853, 1622, 425, 16, 29474, 302, 13, 288, 565, 364, 261, 1622, 1151, 294, 3399, 4212, 13, 288, 1377, 309, 261, 73, 18, 4720, 5368, 1763, 12, 3624, 18, 26321, 10756, 422, 446, 13, 288, 3639, 302, 18, 1289, 1763, 12, 3624, 18, 345, 7977, 16220, 10663, 1377, 289, 565, 289, 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 ]
_optionFrom = new Destination();
Destination optionFrom = new Destination();
public void readPacket(byte buffer[], int offset, int length) throws IllegalArgumentException { if (buffer.length - offset < length) throw new IllegalArgumentException("len=" + buffer.length + " off=" + offset + " length=" + length); if (length < 22) // min header size throw new IllegalArgumentException("Too small: len=" + buffer.length); int cur = offset; _sendStreamId = DataHelper.fromLong(buffer, cur, 4); cur += 4; _receiveStreamId = DataHelper.fromLong(buffer, cur, 4); cur += 4; _sequenceNum = DataHelper.fromLong(buffer, cur, 4); cur += 4; _ackThrough = DataHelper.fromLong(buffer, cur, 4); cur += 4; int numNacks = (int)DataHelper.fromLong(buffer, cur, 1); cur++; if (length < 22 + numNacks*4) throw new IllegalArgumentException("Too small with " + numNacks + " nacks: " + length); if (numNacks > 0) { _nacks = new long[numNacks]; for (int i = 0; i < numNacks; i++) { _nacks[i] = DataHelper.fromLong(buffer, cur, 4); cur += 4; } } else { _nacks = null; } _resendDelay = (int)DataHelper.fromLong(buffer, cur, 1); cur++; _flags = (int)DataHelper.fromLong(buffer, cur, 2); cur += 2; int optionSize = (int)DataHelper.fromLong(buffer, cur, 2); cur += 2; if (length < 22 + numNacks*4 + optionSize) throw new IllegalArgumentException("Too small with " + numNacks + " nacks and " + optionSize + " options: " + length); int payloadBegin = cur + optionSize; int payloadSize = length - payloadBegin; if ( (payloadSize < 0) || (payloadSize > MAX_PAYLOAD_SIZE) ) throw new IllegalArgumentException("length: " + length + " offset: " + offset + " begin: " + payloadBegin); // skip ahead to the payload _payload = new ByteArray(new byte[payloadSize]); //_cache.acquire(); System.arraycopy(buffer, payloadBegin, _payload.getData(), 0, payloadSize); _payload.setValid(payloadSize); _payload.setOffset(0); // ok now lets go back and deal with the options if (isFlagSet(FLAG_DELAY_REQUESTED)) { _optionDelay = (int)DataHelper.fromLong(buffer, cur, 2); cur += 2; } if (isFlagSet(FLAG_FROM_INCLUDED)) { _optionFrom = new Destination(); try { cur += _optionFrom.readBytes(buffer, cur); } catch (DataFormatException dfe) { throw new IllegalArgumentException("Bad from field: " + dfe.getMessage()); } } if (isFlagSet(FLAG_MAX_PACKET_SIZE_INCLUDED)) { _optionMaxSize = (int)DataHelper.fromLong(buffer, cur, 2); cur += 2; } if (isFlagSet(FLAG_SIGNATURE_INCLUDED)) { _optionSignature = new Signature(); byte buf[] = new byte[Signature.SIGNATURE_BYTES]; System.arraycopy(buffer, cur, buf, 0, Signature.SIGNATURE_BYTES); _optionSignature.setData(buf); cur += Signature.SIGNATURE_BYTES; } }
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/900420719ee2a88d69d78ef9add09f2cb910daf4/Packet.java/clean/apps/streaming/java/src/net/i2p/client/streaming/Packet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 6667, 12, 7229, 1613, 63, 6487, 509, 1384, 16, 509, 769, 13, 1216, 2754, 288, 3639, 309, 261, 4106, 18, 2469, 300, 1384, 411, 769, 13, 2398, 604, 394, 2754, 2932, 1897, 1546, 397, 1613, 18, 2469, 397, 315, 3397, 1546, 397, 1384, 397, 315, 769, 1546, 397, 769, 1769, 3639, 309, 261, 2469, 411, 11201, 13, 368, 1131, 1446, 963, 5411, 604, 394, 2754, 2932, 10703, 5264, 30, 562, 1546, 397, 1613, 18, 2469, 1769, 3639, 509, 662, 273, 1384, 31, 3639, 389, 4661, 1228, 548, 273, 1910, 2276, 18, 2080, 3708, 12, 4106, 16, 662, 16, 1059, 1769, 3639, 662, 1011, 1059, 31, 3639, 389, 18149, 1228, 548, 273, 1910, 2276, 18, 2080, 3708, 12, 4106, 16, 662, 16, 1059, 1769, 3639, 662, 1011, 1059, 31, 3639, 389, 6178, 2578, 273, 1910, 2276, 18, 2080, 3708, 12, 4106, 16, 662, 16, 1059, 1769, 3639, 662, 1011, 1059, 31, 3639, 389, 484, 14287, 273, 1910, 2276, 18, 2080, 3708, 12, 4106, 16, 662, 16, 1059, 1769, 3639, 662, 1011, 1059, 31, 3639, 509, 818, 50, 22098, 273, 261, 474, 13, 751, 2276, 18, 2080, 3708, 12, 4106, 16, 662, 16, 404, 1769, 3639, 662, 9904, 31, 3639, 309, 261, 2469, 411, 11201, 397, 818, 50, 22098, 14, 24, 13, 5411, 604, 394, 2754, 2932, 10703, 5264, 598, 315, 397, 818, 50, 22098, 397, 315, 290, 22098, 30, 315, 397, 769, 1769, 3639, 309, 261, 2107, 50, 22098, 405, 374, 13, 288, 5411, 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, 855, 6667, 12, 7229, 1613, 63, 6487, 509, 1384, 16, 509, 769, 13, 1216, 2754, 288, 3639, 309, 261, 4106, 18, 2469, 300, 1384, 411, 769, 13, 2398, 604, 394, 2754, 2932, 1897, 1546, 397, 1613, 18, 2469, 397, 315, 3397, 1546, 397, 1384, 397, 315, 769, 1546, 397, 769, 1769, 3639, 309, 261, 2469, 411, 11201, 13, 368, 1131, 1446, 963, 5411, 604, 394, 2754, 2932, 10703, 5264, 30, 562, 1546, 397, 1613, 18, 2469, 1769, 3639, 509, 662, 273, 1384, 31, 3639, 389, 4661, 1228, 548, 273, 1910, 2276, 18, 2080, 3708, 12, 4106, 16, 662, 16, 1059, 1769, 3639, 662, 1011, 1059, 31, 3639, 389, 18149, 1228, 548, 273, 1910, 2276, 18, 2080, 2 ]
public org.quickfix.field.EncodedIssuerLen getEncodedIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedIssuerLen value = new org.quickfix.field.EncodedIssuerLen();
public quickfix.field.EncodedIssuerLen getEncodedIssuerLen() throws FieldNotFound { quickfix.field.EncodedIssuerLen value = new quickfix.field.EncodedIssuerLen();
public org.quickfix.field.EncodedIssuerLen getEncodedIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedIssuerLen value = new org.quickfix.field.EncodedIssuerLen(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralAssignment.java/buggy/src/java/src/quickfix/fix44/CollateralAssignment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 16667, 2891, 28799, 16667, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 16667, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 16667, 2891, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10397, 16667, 2891, 28799, 16667, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 16667, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 16667, 2891, 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, -100, -100, -100, -100 ]
if (searchItem2.isHistory())
if (item2.isHistory())
public int compare(Object o1, Object o2) { AbstractSearchItem searchItem1 = ((AbstractSearchItem) o1); AbstractSearchItem searchItem2 = ((AbstractSearchItem) o2); if ((searchItem1.isHistory() && searchItem2.isHistory()) || (!searchItem1.isHistory() && !searchItem2 .isHistory())) return getItemsComparator().compare(o1, o2); if (searchItem1.isHistory()) return -1; if (searchItem2.isHistory()) return +1; return 0; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f6a6b077cb5b91dfa306af0b33ea1a4ed7445674/FilteredItemsSelectionDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 9506, 202, 7469, 2979, 1180, 1623, 1180, 21, 273, 14015, 7469, 2979, 1180, 13, 320, 21, 1769, 9506, 202, 7469, 2979, 1180, 1623, 1180, 22, 273, 14015, 7469, 2979, 1180, 13, 320, 22, 1769, 9506, 202, 430, 14015, 3072, 1180, 21, 18, 291, 5623, 1435, 597, 1623, 1180, 22, 18, 291, 5623, 10756, 25083, 202, 20081, 16051, 3072, 1180, 21, 18, 291, 5623, 1435, 597, 401, 3072, 1180, 22, 6862, 9506, 202, 18, 291, 5623, 1435, 3719, 6862, 202, 2463, 15515, 5559, 7675, 9877, 12, 83, 21, 16, 320, 22, 1769, 9506, 202, 430, 261, 3072, 1180, 21, 18, 291, 5623, 10756, 6862, 202, 2463, 300, 21, 31, 9506, 202, 430, 261, 3072, 1180, 22, 18, 291, 5623, 10756, 6862, 202, 2463, 397, 21, 31, 9506, 202, 2463, 374, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1875, 202, 482, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 9506, 202, 7469, 2979, 1180, 1623, 1180, 21, 273, 14015, 7469, 2979, 1180, 13, 320, 21, 1769, 9506, 202, 7469, 2979, 1180, 1623, 1180, 22, 273, 14015, 7469, 2979, 1180, 13, 320, 22, 1769, 9506, 202, 430, 14015, 3072, 1180, 21, 18, 291, 5623, 1435, 597, 1623, 1180, 22, 18, 291, 5623, 10756, 25083, 202, 20081, 16051, 3072, 1180, 21, 18, 291, 5623, 1435, 597, 401, 3072, 1180, 22, 6862, 9506, 202, 18, 291, 5623, 1435, 3719, 6862, 202, 2463, 15515, 5559, 7675, 9877, 12, 83, 21, 16, 320, 22, 1769, 9506, 202, 430, 261, 3072, 1180, 21, 18, 291, 5623, 10756, 6862, 202, 2 ]
int id = getNewestExtension(e.getId(), e.getVersion(), aTargetApp, aTargetAppVersion); if (id != -1)
int row = getNewestExtension(e.getId(), e.getVersion(), aTargetApp, aTargetAppVersion); if (row != -1)
public Extension[] getExtensionsToUpdate(Extension[] aExtensions, String aTargetApp, String aTargetAppVersion) { Vector results = new Vector(); for (int i = 0; i < aExtensions.length; ++i) { Extension e = aExtensions[i]; int id = getNewestExtension(e.getId(), e.getVersion(), aTargetApp, aTargetAppVersion); if (id != -1) { e.setRow(id); e.setVersion(getProperty(id, "version")); e.setXpiURL(getProperty(id, "xpiurl")); results.add(e); } } return (Extension[])results.toArray(); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/1c2b923fe976b6ffd381ab5fd5050f3e8e6a0a0b/VersionCheck.java/clean/toolkit/mozapps/extensions/service/VersionCheck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10021, 8526, 336, 7513, 21267, 12, 3625, 8526, 279, 7513, 16, 514, 279, 2326, 3371, 16, 514, 279, 2326, 3371, 1444, 13, 225, 288, 565, 5589, 1686, 273, 394, 5589, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 279, 7513, 18, 2469, 31, 965, 77, 13, 377, 288, 1377, 10021, 425, 273, 279, 7513, 63, 77, 15533, 1377, 509, 612, 273, 12654, 395, 3625, 12, 73, 18, 26321, 9334, 425, 18, 588, 1444, 9334, 279, 2326, 3371, 16, 279, 2326, 3371, 1444, 1769, 1377, 309, 261, 350, 480, 300, 21, 13, 4202, 288, 3639, 425, 18, 542, 1999, 12, 350, 1769, 3639, 425, 18, 542, 1444, 12, 588, 1396, 12, 350, 16, 315, 1589, 7923, 1769, 3639, 425, 18, 542, 60, 7259, 1785, 12, 588, 1396, 12, 350, 16, 315, 92, 7259, 718, 7923, 1769, 3639, 1686, 18, 1289, 12, 73, 1769, 1377, 289, 565, 289, 565, 327, 261, 3625, 63, 5717, 4717, 18, 31447, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 279, 2326, 3371, 16, 514, 279, 2326, 3371, 1444, 13, 225, 288, 565, 5589, 1686, 273, 394, 5589, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 279, 7513, 18, 2469, 31, 965, 77, 13, 377, 288, 1377, 10021, 425, 273, 279, 7513, 63, 77, 15533, 1377, 509, 612, 273, 12654, 395, 3625, 12, 73, 18, 26321, 9334, 425, 18, 588, 1444, 9334, 279, 2326, 3371, 16, 279, 2326, 3371, 1444, 1769, 1377, 309, 261, 350, 480, 300, 21, 13, 4202, 288, 3639, 425, 18, 542, 1999, 12, 350, 1769, 3639, 425, 18, 542, 1444, 12, 588, 1396, 12, 350, 16, 315, 1589, 2 ]
if (p!=_programmerManager && p!=null && log.isDebugEnabled()) log.debug("ProgrammerManager instance is being replaced: "+p);
if (p!=_programmerManager && _programmerManager!=null && log.isDebugEnabled()) log.debug("ProgrammerManager instance is being replaced: "+p); if (p!=_programmerManager && _programmerManager==null && log.isDebugEnabled()) log.debug("ProgrammerManager instance is being installed: "+p);
static public void setProgrammerManager(ProgrammerManager p) { if (p!=_programmerManager && p!=null && log.isDebugEnabled()) log.debug("ProgrammerManager instance is being replaced: "+p); _programmerManager = p; }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/c615ca4377f66fa72366a2288d2b584f27703377/InstanceManager.java/buggy/jmri/InstanceManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1071, 918, 444, 9459, 6592, 1318, 12, 9459, 6592, 1318, 293, 13, 288, 3639, 309, 261, 84, 5, 33, 67, 12890, 6592, 1318, 597, 389, 12890, 6592, 1318, 5, 33, 2011, 597, 613, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 9459, 6592, 1318, 791, 353, 3832, 8089, 30, 13773, 84, 1769, 309, 261, 84, 5, 33, 67, 12890, 6592, 1318, 597, 389, 12890, 6592, 1318, 631, 2011, 597, 613, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 9459, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 444, 9459, 6592, 1318, 12, 9459, 6592, 1318, 293, 13, 288, 3639, 309, 261, 84, 5, 33, 67, 12890, 6592, 1318, 597, 389, 12890, 6592, 1318, 5, 33, 2011, 597, 613, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 9459, 6592, 1318, 791, 353, 3832, 8089, 30, 13773, 84, 1769, 309, 261, 84, 5, 33, 67, 12890, 6592, 1318, 597, 389, 12890, 6592, 1318, 631, 2011, 597, 613, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 9459, 6592, 1318, 791, 353, 3832, 5876, 30, 13773, 84, 1769, 3639, 389, 12890, 6592, 1318, 273, 293, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
getSelectionProvider());
getViewer());
protected void createActions() { super.createActions(); propertiesAction = new ActionProblemProperties(this, getSelectionProvider()); resolveMarkerAction = new ActionResolveMarker(this, getSelectionProvider()); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cd30df30dfb88f9bda2fa203f31e3dd26ff697b7/ProblemView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 6100, 1435, 288, 202, 202, 9565, 18, 2640, 6100, 5621, 202, 202, 4738, 1803, 273, 394, 4382, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1117, 918, 752, 6100, 1435, 288, 202, 202, 9565, 18, 2640, 6100, 5621, 202, 202, 4738, 1803, 273, 394, 4382, 13719, 2297, 12, 2211, 16, 9506, 202, 588, 6233, 2249, 10663, 202, 202, 10828, 7078, 1803, 273, 394, 4382, 8460, 7078, 12, 2211, 16, 9506, 202, 588, 6233, 2249, 10663, 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 ]
assertNull("No errors should be found.", ctx.getValidationError().getValue());
assertNoErrorsFound();
public void testByteToBytePrimitiveConverter() { ctx.bindValue(BeansObservables.observeValue(dataObject, "byteVal"), BeansObservables.observeValue(dataObject, "bytePrimitiveVal"), null); dataObject.setBytePrimitiveVal((byte) 110); assertEquals("byte value does not match", 110, dataObject.getBytePrimitiveVal(), .001); assertEquals("Byte value does not match", new Byte((byte) 110), dataObject.getByteVal()); assertNull("No errors should be found.", ctx.getValidationError().getValue()); dataObject.setByteVal(new Byte((byte) 70)); assertEquals("byte value does not match", 70, dataObject.getBytePrimitiveVal(), .001); assertEquals("Byte value does not match", new Byte((byte) 70), dataObject.getByteVal()); assertNull("No errors should be found.", ctx.getValidationError().getValue()); dataObject.setByteVal(null); assertEquals("byte value does not match", 70, dataObject.getBytePrimitiveVal(), .001); assertNull("Byte value does not match", dataObject.getByteVal()); assertNotNull("Errors should be found.", ctx.getValidationError().getValue()); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/646de6c1228ca0820a97e225df84d75e3993e272/DefaultBindSupportFactoryBytePrimitiveTest.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/internal/databinding/provisional/factories/DefaultBindSupportFactoryBytePrimitiveTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3216, 774, 3216, 9840, 5072, 1435, 288, 3639, 1103, 18, 4376, 620, 12, 14495, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 315, 7229, 3053, 6, 3631, 4823, 634, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 7734, 315, 7229, 9840, 3053, 6, 3631, 446, 1769, 3639, 31796, 18, 542, 3216, 9840, 3053, 12443, 7229, 13, 20168, 1769, 3639, 1815, 8867, 2932, 7229, 460, 1552, 486, 845, 3113, 20168, 16, 31796, 18, 588, 3216, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 8867, 2932, 3216, 460, 1552, 486, 845, 3113, 394, 3506, 12443, 7229, 13, 20168, 3631, 31796, 18, 588, 3216, 3053, 10663, 3639, 1815, 2279, 4229, 2043, 5621, 3639, 31796, 18, 542, 3216, 3053, 12, 2704, 3506, 12443, 7229, 13, 16647, 10019, 3639, 1815, 8867, 2932, 7229, 460, 1552, 486, 845, 3113, 16647, 16, 31796, 18, 588, 3216, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 8867, 2932, 3216, 460, 1552, 486, 845, 3113, 394, 3506, 12443, 7229, 13, 16647, 3631, 31796, 18, 588, 3216, 3053, 10663, 3639, 1815, 2279, 4229, 2043, 5621, 3639, 31796, 18, 542, 3216, 3053, 12, 2011, 1769, 3639, 1815, 8867, 2932, 7229, 460, 1552, 486, 845, 3113, 16647, 16, 31796, 18, 588, 3216, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 2041, 2932, 3216, 460, 1552, 486, 845, 3113, 31796, 18, 588, 3216, 3053, 10663, 3639, 25395, 2932, 4229, 1410, 506, 1392, 1199, 16, 1103, 18, 588, 12101, 7675, 24805, 10663, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3216, 774, 3216, 9840, 5072, 1435, 288, 3639, 1103, 18, 4376, 620, 12, 14495, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 315, 7229, 3053, 6, 3631, 4823, 634, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 7734, 315, 7229, 9840, 3053, 6, 3631, 446, 1769, 3639, 31796, 18, 542, 3216, 9840, 3053, 12443, 7229, 13, 20168, 1769, 3639, 1815, 8867, 2932, 7229, 460, 1552, 486, 845, 3113, 20168, 16, 31796, 18, 588, 3216, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 8867, 2932, 3216, 460, 1552, 486, 845, 3113, 394, 3506, 12443, 7229, 13, 20168, 3631, 31796, 18, 588, 3216, 3053, 10663, 3639, 1815, 2279, 4229, 2043, 5621, 3639, 31796, 2 ]
c.untranslateInsets(box);
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line, InlineBlockBox pendingBlockBox) { InlineBlockBox box = new InlineBlockBox(); box.element = content.getElement(); // use the prev_align to calculate the x if (prev_align != null && !prev_align.break_after) { box.x = prev_align.x + prev_align.width; } else { box.x = 0; } box.y = 0;// it's relative to the line //can't do VerticalAlign here, it depends on the layout of the element tree c.translate(box.x + curr_line.x, box.y + curr_line.y); BlockBox block; if (pendingBlockBox != null) block = pendingBlockBox.sub_block; else block = (BlockBox) Boxing.layout(c, content); box.sub_block = block; block.setParent(box); // set up the extents box.width = block.width; //box.height = margin.top + border.top + padding.top + bounds.height + padding.bottom + border.bottom + margin.bottom; box.height = block.height; box.break_after = false; // if it won't fit on this line, then put it on the next one // the box will be discarded and recalculated if (box.width > avail && prev_align != null && !prev_align.break_after) { box.break_before = true; box.x = 0; } /*if (block.component != null && !box.break_before) {//It will be discarded if break_before is true! Point origin = c.getOriginOffset(); block.component.setLocation((int) origin.getX(), (int) origin.getY()); //c.getCanvas().add(block.component); }*/ c.untranslateInsets(box); c.translate(-box.x - curr_line.x, -box.y - curr_line.y); return box; }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/ea25c36d8670e0a2297b9a25e4765c46f98952c5/LineBreaker.java/buggy/src/java/org/xhtmlrenderer/layout/LineBreaker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 16355, 3514, 2103, 5729, 72, 10870, 3514, 12, 1042, 276, 16, 3697, 913, 16, 509, 15783, 16, 16355, 3514, 2807, 67, 7989, 16, 5377, 3514, 4306, 67, 1369, 16, 16355, 1768, 3514, 4634, 1768, 3514, 13, 288, 3639, 16355, 1768, 3514, 3919, 273, 394, 16355, 1768, 3514, 5621, 3639, 3919, 18, 2956, 273, 913, 18, 21336, 5621, 3639, 368, 999, 326, 2807, 67, 7989, 358, 4604, 326, 619, 3639, 309, 261, 10001, 67, 7989, 480, 446, 597, 401, 10001, 67, 7989, 18, 8820, 67, 5205, 13, 288, 5411, 3919, 18, 92, 273, 2807, 67, 7989, 18, 92, 397, 2807, 67, 7989, 18, 2819, 31, 3639, 289, 469, 288, 5411, 3919, 18, 92, 273, 374, 31, 3639, 289, 3639, 3919, 18, 93, 273, 374, 31, 759, 518, 1807, 3632, 358, 326, 980, 3639, 368, 4169, 1404, 741, 27394, 10044, 2674, 16, 518, 10935, 603, 326, 3511, 434, 326, 930, 2151, 3639, 276, 18, 13929, 12, 2147, 18, 92, 397, 4306, 67, 1369, 18, 92, 16, 3919, 18, 93, 397, 4306, 67, 1369, 18, 93, 1769, 3639, 3914, 3514, 1203, 31, 3639, 309, 261, 9561, 1768, 3514, 480, 446, 13, 5411, 1203, 273, 4634, 1768, 3514, 18, 1717, 67, 2629, 31, 3639, 469, 5411, 1203, 273, 261, 1768, 3514, 13, 8549, 310, 18, 6741, 12, 71, 16, 913, 1769, 3639, 3919, 18, 1717, 67, 2629, 273, 1203, 31, 3639, 1203, 18, 542, 3054, 12, 2147, 1769, 3639, 368, 444, 731, 326, 24070, 3639, 3919, 18, 2819, 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, 16355, 3514, 2103, 5729, 72, 10870, 3514, 12, 1042, 276, 16, 3697, 913, 16, 509, 15783, 16, 16355, 3514, 2807, 67, 7989, 16, 5377, 3514, 4306, 67, 1369, 16, 16355, 1768, 3514, 4634, 1768, 3514, 13, 288, 3639, 16355, 1768, 3514, 3919, 273, 394, 16355, 1768, 3514, 5621, 3639, 3919, 18, 2956, 273, 913, 18, 21336, 5621, 3639, 368, 999, 326, 2807, 67, 7989, 358, 4604, 326, 619, 3639, 309, 261, 10001, 67, 7989, 480, 446, 597, 401, 10001, 67, 7989, 18, 8820, 67, 5205, 13, 288, 5411, 3919, 18, 92, 273, 2807, 67, 7989, 18, 92, 397, 2807, 67, 7989, 18, 2819, 31, 3639, 289, 469, 288, 5411, 3919, 18, 92, 273, 374, 31, 3639, 2 ]
String tempstring = getDoc(meta_id,meta_id,host,req,res) ;
String tempstring = getDoc(meta_id,meta_id,req,res) ;
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String host = req.getHeader("host") ; IMCServiceInterface imcref = IMCServiceRMI.getIMCServiceInterfaceByHost(host) ; HttpSession session = req.getSession( true ); String htmlStr = "" ; int meta_id ; int parent_meta_id ; res.setContentType( "text/html" ); ServletOutputStream out = res.getOutputStream(); try { meta_id = Integer.parseInt( req.getParameter( "meta_id" ) ) ; } catch ( NumberFormatException ex ) { meta_id = imcref.getDefaultHomePage() ; log.debug("Exception occured" + ex ); } String tempstring = getDoc(meta_id,meta_id,host,req,res) ; if ( tempstring != null ) { byte[] tempbytes = tempstring.getBytes("8859_1") ; res.setContentLength(tempbytes.length) ; out.write(tempbytes) ; } out.flush() ; out.close() ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/GetDoc.java/buggy/servlets/GetDoc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23611, 12, 9984, 1111, 16, 12446, 400, 262, 202, 15069, 16517, 16, 1860, 288, 202, 780, 1479, 273, 1111, 18, 588, 1864, 2932, 2564, 7923, 274, 202, 3445, 39, 18348, 709, 71, 1734, 273, 6246, 39, 1179, 54, 7492, 18, 588, 3445, 39, 18348, 858, 2594, 12, 2564, 13, 274, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 638, 11272, 202, 780, 1729, 1585, 273, 1408, 274, 202, 474, 2191, 67, 350, 274, 202, 474, 982, 67, 3901, 67, 350, 274, 202, 455, 18, 542, 8046, 12, 315, 955, 19, 2620, 6, 11272, 202, 4745, 4632, 596, 273, 400, 18, 588, 4632, 5621, 202, 698, 288, 202, 565, 2191, 67, 350, 273, 2144, 18, 2670, 1702, 12, 1111, 18, 588, 1662, 12, 315, 3901, 67, 350, 6, 262, 262, 274, 202, 97, 1044, 261, 12100, 431, 262, 288, 202, 565, 2191, 67, 350, 273, 709, 71, 1734, 18, 588, 1868, 8684, 1964, 1435, 274, 202, 565, 613, 18, 4148, 2932, 503, 16206, 6, 397, 431, 11272, 202, 97, 202, 780, 1906, 1080, 273, 17999, 12, 3901, 67, 350, 16, 3901, 67, 350, 16, 2564, 16, 3658, 16, 455, 13, 274, 202, 430, 261, 1906, 1080, 480, 446, 262, 288, 202, 565, 1160, 8526, 1906, 3890, 273, 1906, 1080, 18, 588, 2160, 2932, 17258, 67, 21, 7923, 274, 202, 565, 400, 18, 542, 1350, 1782, 12, 5814, 3890, 18, 2469, 13, 274, 202, 565, 596, 18, 2626, 12, 5814, 3890, 13, 274, 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, 1071, 918, 23611, 12, 9984, 1111, 16, 12446, 400, 262, 202, 15069, 16517, 16, 1860, 288, 202, 780, 1479, 273, 1111, 18, 588, 1864, 2932, 2564, 7923, 274, 202, 3445, 39, 18348, 709, 71, 1734, 273, 6246, 39, 1179, 54, 7492, 18, 588, 3445, 39, 18348, 858, 2594, 12, 2564, 13, 274, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 638, 11272, 202, 780, 1729, 1585, 273, 1408, 274, 202, 474, 2191, 67, 350, 274, 202, 474, 982, 67, 3901, 67, 350, 274, 202, 455, 18, 542, 8046, 12, 315, 955, 19, 2620, 6, 11272, 202, 4745, 4632, 596, 273, 400, 18, 588, 4632, 5621, 202, 698, 288, 202, 565, 2191, 67, 350, 273, 2144, 18, 2 ]
link.append( "&" + URLEncoder.encode( (String) entry.getKey( ), "UTF-8" ) + "=" + URLEncoder.encode( (String) entry.getValue( ), "UTF-8" ) );
String key = (String) entry.getKey( ); Object valueObj = entry.getValue( ); if ( valueObj != null ) { String value = valueObj.toString( ); link.append( "&" + URLEncoder.encode( key, "UTF-8" ) + "=" + URLEncoder.encode( value, "UTF-8" ) ); }
private void handleHyperlinkAction(IArea area) { IContent content = area.getContent(); if( null != content ) { IHyperlinkAction hlAction = content.getHyperlinkAction(); if ( null != hlAction ) try { switch (hlAction.getType()) { case IHyperlinkAction.ACTION_BOOKMARK: writer.addAnnotation( new PdfAnnotation( writer, layoutPointX2PDF(area.getAbsoluteX()), layoutPointY2PDF(area.getAbsoluteY()+area.getHeight()), layoutPointX2PDF(area.getAbsoluteX()+area.getWidth()), layoutPointY2PDF(area.getAbsoluteY()), createPdfAction( hlAction.getHyperlink(), hlAction.getBookmark(), hlAction.getTargetWindow(), IHyperlinkAction.ACTION_BOOKMARK)) ); break; case IHyperlinkAction.ACTION_DRILLTHROUGH: String baseURL = null; if(context!=null) { baseURL = context.getBaseURL(); } StringBuffer link = new StringBuffer( ); String reportName = hlAction.getReportName( ); if ( reportName != null && !reportName.equals( "" ) )//$NON-NLS-1$ { String format = hlAction.getFormat(); if ( "pdf".equalsIgnoreCase( format ) ) //$NON-NLS-1$ { link.append( baseURL.replaceFirst( "frameset", "run" ) ); //$NON-NLS-1$ //$NON-NLS-2$ } else if ( "html".equalsIgnoreCase( format ) ) //$NON-NLS-1$ { link.append( baseURL ); } link.append( "?__report=" ); //$NON-NLS-1$ try { link.append( URLEncoder.encode( reportName, "UTF-8" ) ); //$NON-NLS-1$ } catch ( UnsupportedEncodingException e1 ) { //It should not happen. Does nothing } if(format !=null && format.length()>0) { link.append( "&__format=" + format );//$NON-NLS-1$ } //Adds the parameters if ( hlAction.getParameterBindings( ) != null ) { Iterator paramsIte = hlAction.getParameterBindings( ).entrySet( ).iterator( ); while ( paramsIte.hasNext( ) ) { Map.Entry entry = (Map.Entry) paramsIte.next( ); try { link.append( "&" + URLEncoder.encode( (String) entry.getKey( ), "UTF-8" ) + "=" + URLEncoder.encode( (String) entry.getValue( ), "UTF-8" ) );//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } catch ( UnsupportedEncodingException e ) { //Does nothing } } } } if ( hlAction.getBookmark() != null ) { link.append( "&__bookmark=" ); //$NON-NLS-1$ link.append( hlAction.getBookmark() ); } writer.addAnnotation( new PdfAnnotation( writer, layoutPointX2PDF(area.getAbsoluteX()), layoutPointY2PDF(area.getAbsoluteY()+area.getHeight()), layoutPointX2PDF(area.getAbsoluteX()+area.getWidth()), layoutPointY2PDF(area.getAbsoluteY()), createPdfAction(link.toString( ), null, hlAction.getTargetWindow(), IHyperlinkAction.ACTION_DRILLTHROUGH ))); break; case IHyperlinkAction.ACTION_HYPERLINK: writer.addAnnotation( new PdfAnnotation( writer, layoutPointX2PDF(area.getAbsoluteX()), layoutPointY2PDF(area.getAbsoluteY()+area.getHeight()), layoutPointX2PDF(area.getAbsoluteX()+area.getWidth()), layoutPointY2PDF(area.getAbsoluteY()), createPdfAction(hlAction.getHyperlink(), null, hlAction.getTargetWindow(), IHyperlinkAction.ACTION_HYPERLINK)) ); break; } } catch (Exception e) { logger.log(Level.WARNING, e.getMessage(), e); } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c1b1cfc91269140d90991c3d28a2f216b1459d3c/PDFEmitter.java/clean/engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 15996, 1232, 1803, 12, 45, 5484, 5091, 13, 202, 95, 202, 202, 45, 1350, 913, 273, 5091, 18, 588, 1350, 5621, 202, 202, 430, 12, 446, 480, 913, 262, 202, 202, 95, 1082, 202, 45, 15996, 1232, 1803, 16043, 1803, 273, 913, 18, 588, 15996, 1232, 1803, 5621, 1082, 202, 430, 261, 446, 480, 16043, 1803, 262, 1082, 202, 698, 1082, 202, 95, 9506, 202, 9610, 261, 25356, 1803, 18, 588, 559, 10756, 9506, 202, 95, 9506, 202, 3593, 467, 15996, 1232, 1803, 18, 12249, 67, 28163, 12693, 30, 4405, 202, 6299, 18, 1289, 3257, 12, 394, 9989, 3257, 12, 2633, 16, 6862, 1082, 202, 6741, 2148, 60, 22, 17508, 12, 5036, 18, 588, 10368, 60, 1435, 3631, 6862, 1082, 202, 6741, 2148, 61, 22, 17508, 12, 5036, 18, 588, 10368, 61, 1435, 15, 5036, 18, 588, 2686, 1435, 3631, 6862, 1082, 202, 6741, 2148, 60, 22, 17508, 12, 5036, 18, 588, 10368, 60, 1435, 15, 5036, 18, 588, 2384, 1435, 3631, 6862, 1082, 202, 6741, 2148, 61, 22, 17508, 12, 5036, 18, 588, 10368, 61, 1435, 3631, 6862, 1082, 202, 2640, 18562, 1803, 12, 6862, 6862, 202, 25356, 1803, 18, 588, 15996, 1232, 9334, 17322, 202, 25356, 1803, 18, 588, 22966, 9334, 17322, 202, 25356, 1803, 18, 588, 2326, 3829, 9334, 467, 15996, 1232, 1803, 18, 12249, 67, 28163, 12693, 3719, 11272, 6862, 202, 8820, 31, 6862, 6862, 202, 3593, 467, 15996, 1232, 1803, 18, 12249, 67, 40, 2259, 4503, 2455, 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, 1640, 15996, 1232, 1803, 12, 45, 5484, 5091, 13, 202, 95, 202, 202, 45, 1350, 913, 273, 5091, 18, 588, 1350, 5621, 202, 202, 430, 12, 446, 480, 913, 262, 202, 202, 95, 1082, 202, 45, 15996, 1232, 1803, 16043, 1803, 273, 913, 18, 588, 15996, 1232, 1803, 5621, 1082, 202, 430, 261, 446, 480, 16043, 1803, 262, 1082, 202, 698, 1082, 202, 95, 9506, 202, 9610, 261, 25356, 1803, 18, 588, 559, 10756, 9506, 202, 95, 9506, 202, 3593, 467, 15996, 1232, 1803, 18, 12249, 67, 28163, 12693, 30, 4405, 202, 6299, 18, 1289, 3257, 12, 394, 9989, 3257, 12, 2633, 16, 6862, 1082, 202, 6741, 2148, 60, 22, 17508, 12, 5036, 18, 588, 2 ]
this.state = state; if (peer != null)
if (this.state != state)
setState(boolean state){ this.state = state; if (peer != null) { CheckboxPeer cp = (CheckboxPeer) peer; cp.setState (state); }}
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/15fe13942e812b00a55e12bceb3e4a03322501fe/Checkbox.java/buggy/java/awt/Checkbox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 12947, 12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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12947, 12, 6494, 919, 15329, 225, 333, 18, 2019, 273, 919, 31, 225, 309, 261, 12210, 480, 446, 13, 565, 288, 1377, 29213, 6813, 3283, 273, 261, 21272, 6813, 13, 4261, 31, 1377, 3283, 18, 542, 1119, 261, 2019, 1769, 565, 10523, 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 ]
setLayoutsForNormalMessage(verticalSpacing,horizontalSpacing);
setLayoutsForNormalMessage(verticalSpacing,horizontalSpacing);
private void layoutForNewMessage(){ int verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); int horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); if (errorMessage == null) { setImageLabelVisible(false); setLayoutsForNormalMessage(verticalSpacing,horizontalSpacing); } else { messageImageLabel.setImage(errorMsgImage); messageImageLabel.setVisible(true); fillerLabel.setVisible(true); FormData data = new FormData(); data.left = new FormAttachment(0, 0); data.top = new FormAttachment(titleLabel, verticalSpacing); messageImageLabel.setLayoutData(data); data = new FormData(); data.top = new FormAttachment(messageImageLabel, 0); data.left = new FormAttachment(0, 0); data.bottom = new FormAttachment(messageLabel, 0, SWT.BOTTOM); data.right = new FormAttachment(messageImageLabel, 0, SWT.RIGHT); fillerLabel.setLayoutData(data); FormData messageLabelData = new FormData(); messageLabelData.top = new FormAttachment(titleLabel,verticalSpacing); messageLabelData.right = new FormAttachment(titleImage); messageLabelData.left = new FormAttachment(messageImageLabel,0); if(titleImageLargest) messageLabelData.bottom = new FormAttachment(titleImage,0,SWT.BOTTOM); messageLabel.setLayoutData(messageLabelData); } //Do not layout before the dialog area has been created //to avoid incomplete calculations. if(dialogArea != null) getShell().layout(true); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/646e5b2f39c90ae76691f3abe324fd16360140ff/TitleAreaDialog.java/clean/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/dialogs/TitleAreaDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 3511, 1290, 1908, 1079, 1435, 95, 202, 202, 474, 9768, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 474, 10300, 18006, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 3118, 2226, 1360, 1769, 202, 202, 430, 261, 1636, 1079, 422, 446, 13, 288, 202, 202, 542, 2040, 2224, 6207, 12, 5743, 1769, 202, 202, 542, 3744, 28388, 5506, 1079, 12, 17824, 18006, 16, 18396, 18006, 1769, 9506, 202, 97, 469, 288, 202, 202, 2150, 2040, 2224, 18, 542, 2040, 12, 1636, 3332, 2040, 1769, 202, 202, 2150, 2040, 2224, 18, 542, 6207, 12, 3767, 1769, 202, 202, 5935, 264, 2224, 18, 542, 6207, 12, 3767, 1769, 202, 202, 30079, 501, 273, 394, 2748, 751, 5621, 202, 202, 892, 18, 4482, 273, 394, 2748, 6803, 12, 20, 16, 374, 1769, 202, 202, 892, 18, 3669, 273, 394, 2748, 6803, 12, 2649, 2224, 16, 9768, 18006, 1769, 202, 202, 2150, 2040, 2224, 18, 542, 3744, 751, 12, 892, 1769, 9506, 202, 892, 273, 394, 2748, 751, 5621, 202, 202, 892, 18, 3669, 273, 394, 2748, 6803, 12, 2150, 2040, 2224, 16, 374, 1769, 202, 202, 892, 18, 4482, 273, 394, 2748, 6803, 12, 20, 16, 374, 1769, 202, 202, 892, 18, 9176, 273, 394, 2748, 6803, 12, 2150, 2224, 16, 374, 16, 348, 8588, 18, 28891, 1769, 202, 202, 892, 18, 4083, 273, 394, 2748, 6803, 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, 3238, 918, 3511, 1290, 1908, 1079, 1435, 95, 202, 202, 474, 9768, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 474, 10300, 18006, 273, 1765, 14457, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 44, 20344, 67, 3118, 2226, 1360, 1769, 202, 202, 430, 261, 1636, 1079, 422, 446, 13, 288, 202, 202, 542, 2040, 2224, 6207, 12, 5743, 1769, 202, 202, 542, 3744, 28388, 5506, 1079, 12, 17824, 18006, 16, 18396, 18006, 1769, 9506, 202, 97, 469, 288, 202, 202, 2150, 2040, 2224, 18, 542, 2040, 12, 1636, 3332, 2040, 1769, 202, 202, 2150, 2040, 2224, 18, 542, 6207, 12, 3767, 1769, 202, 202, 2 ]
if (res.getURI().toString().endsWith(IModuleConstants.WTPMODULE_FILE_NAME)) { if (resourcesToRemove == null) { resourcesToRemove = new ArrayList(); }
if (res.getURI().toString().endsWith(IModuleConstants.WTPMODULE_FILE_NAME))
public Collection getLoadedMofResources() { Collection resources = super.getLoadedMofResources(); Collection resourcesToRemove = null; Iterator iterator = resources.iterator(); while (iterator.hasNext()) { Resource res = (Resource) iterator.next(); if (res.getURI().toString().endsWith(IModuleConstants.WTPMODULE_FILE_NAME)) { if (resourcesToRemove == null) { resourcesToRemove = new ArrayList(); } resourcesToRemove.add(res); } } resources.removeAll(resourcesToRemove); return resources; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/30413306787c5b2eda6bc4ecd26e35a3c7cf7747/ComponentLoadStrategyImpl.java/buggy/plugins/org.eclipse.jst.j2ee/archiveops/org/eclipse/jst/j2ee/internal/archive/operations/ComponentLoadStrategyImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2200, 336, 8835, 49, 792, 3805, 1435, 288, 202, 202, 2532, 2703, 273, 2240, 18, 588, 8835, 49, 792, 3805, 5621, 202, 202, 2532, 2703, 12765, 273, 446, 31, 202, 202, 3198, 2775, 273, 2703, 18, 9838, 5621, 202, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 288, 1082, 202, 1420, 400, 273, 261, 1420, 13, 2775, 18, 4285, 5621, 1082, 202, 430, 261, 455, 18, 588, 3098, 7675, 10492, 7675, 5839, 1190, 12, 45, 3120, 2918, 18, 8588, 52, 12194, 67, 3776, 67, 1985, 3719, 288, 9506, 202, 430, 261, 4683, 12765, 422, 446, 13, 288, 6862, 202, 4683, 12765, 273, 394, 2407, 5621, 9506, 202, 97, 9506, 202, 4683, 12765, 18, 1289, 12, 455, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 4683, 18, 4479, 1595, 12, 4683, 12765, 1769, 202, 202, 2463, 2703, 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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 2134, 10756, 288, 1082, 202, 1420, 400, 273, 261, 1420, 13, 2775, 18, 4285, 5621, 1082, 202, 430, 261, 455, 18, 588, 3098, 7675, 10492, 7675, 5839, 1190, 12, 45, 3120, 2918, 18, 8588, 52, 12194, 67, 3776, 67, 1985, 3719, 288, 9506, 202, 430, 261, 4683, 12765, 422, 446, 13, 288, 6862, 202, 4683, 12765, 273, 394, 2407, 5621, 9506, 202, 97, 9506, 202, 4683, 12765, 18, 1289, 12, 455, 2 ]
public MultiPutCompletionCallback(PutCompletionCallback cb, ClientPut parent, boolean dontTellParent) {
public MultiPutCompletionCallback(PutCompletionCallback cb, ClientPutter parent, boolean dontTellParent) {
public MultiPutCompletionCallback(PutCompletionCallback cb, ClientPut parent, boolean dontTellParent) { this.cb = cb; this.waitingFor = new LinkedList(); this.parent = parent; finished = false; if(!dontTellParent) parent.setCurrentState(this); }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/d32229c02576d531c915059f111c468591f30e84/MultiPutCompletionCallback.java/buggy/src/freenet/client/async/MultiPutCompletionCallback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5991, 6426, 11238, 2428, 12, 6426, 11238, 2428, 2875, 16, 2445, 6426, 982, 16, 1250, 14046, 21009, 3054, 13, 288, 202, 202, 2211, 18, 7358, 273, 2875, 31, 202, 202, 2211, 18, 20241, 1290, 273, 394, 10688, 5621, 202, 202, 2211, 18, 2938, 273, 982, 31, 202, 202, 13527, 273, 629, 31, 202, 202, 430, 12, 5, 72, 1580, 21009, 3054, 13, 1082, 202, 2938, 18, 542, 3935, 1119, 12, 2211, 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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0, 0, 0, 0, 0, 0, 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, 5991, 6426, 11238, 2428, 12, 6426, 11238, 2428, 2875, 16, 2445, 6426, 982, 16, 1250, 14046, 21009, 3054, 13, 288, 202, 202, 2211, 18, 7358, 273, 2875, 31, 202, 202, 2211, 18, 20241, 1290, 273, 394, 10688, 5621, 202, 202, 2211, 18, 2938, 273, 982, 31, 202, 202, 13527, 273, 629, 31, 202, 202, 430, 12, 5, 72, 1580, 21009, 3054, 13, 1082, 202, 2938, 18, 542, 3935, 1119, 12, 2211, 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 ]
public boolean getTransacted() throws JMSException
public boolean getTransacted()
public boolean getTransacted() throws JMSException { log.warn("getTransacted should not be handled at the server endpoint"); return false; }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/94a6482a38ef64a86c769088d0412f76dd6472c5/ServerSessionDelegate.java/buggy/src/main/org/jboss/jms/server/endpoint/ServerSessionDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 336, 1429, 25487, 1435, 282, 288, 1377, 613, 18, 8935, 2932, 588, 1429, 25487, 1410, 486, 506, 7681, 622, 326, 1438, 2494, 8863, 1377, 327, 629, 31, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 336, 1429, 25487, 1435, 282, 288, 1377, 613, 18, 8935, 2932, 588, 1429, 25487, 1410, 486, 506, 7681, 622, 326, 1438, 2494, 8863, 1377, 327, 629, 31, 282, 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 ]
throws IOException, SQLException {
throws IOException, SQLException {
private void executeSQL70(String sql, String procName, ParamInfo[] parameters, boolean noMetaData) throws IOException, SQLException { if (procName == null && parameters != null && parameters.length > 0) { // Use sp_executesql approach procName = "sp_executesql"; ParamInfo params[] = new ParamInfo[parameters.length+2]; System.arraycopy(parameters, 0, params, 2, parameters.length); params[0] = new ParamInfo(); params[0].jdbcType = java.sql.Types.VARCHAR; params[0].bufferSize = 4000; params[0].isSet = true; params[0].isUnicode = true; params[0].value = Support.substituteParamMarkers(sql, parameters); TdsData.getNativeType(connection, params[0]); StringBuffer paramDef = new StringBuffer(80); for (int i = 0; i < parameters.length; i++) { paramDef.append("@P"); paramDef.append(i); paramDef.append(' '); paramDef.append(parameters[i].sqlType); if (i+1 < parameters.length) paramDef.append(','); } params[1] = new ParamInfo(); params[1].jdbcType = java.sql.Types.VARCHAR; params[1].bufferSize = 4000; params[1].isSet = true; params[1].isUnicode = true; params[1].value = paramDef.toString(); TdsData.getNativeType(connection, params[1]); parameters = params; } if (procName != null && procName.length() > 0) { // RPC call out.setPacketType(RPC_PKT); Integer shortcut; if (tdsVersion == TdsCore.TDS80 && (shortcut = (Integer)tds8SpNames.get(procName))!= null) { // Use the shortcut form of procedure name for TDS8 out.write((short)-1); out.write((short)shortcut.shortValue()); } else { out.write((short)procName.length()); out.write(procName); } out.write((short)(noMetaData? 512: 0)); for (int i = nextParam+1; i < parameters.length; i++) { if (parameters[i].name != null) { out.write((byte)parameters[i].name.length()); out.write(parameters[i].name); } else { out.write((byte)0); } out.write((byte)(parameters[i].isOutput? 1: 0)); TdsData.writeParam(out, connection.getCharSet(), connection.isWideChar(), connection.getCollation(), parameters[i]); } out.flush(); } else if (sql.length() > 0) { // Simple query out.setPacketType(QUERY_PKT); out.write(sql); out.flush(); } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/bcae017a911f64ecf6c496a9f07e1c36b5e0afe1/TdsCore.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1836, 3997, 7301, 12, 780, 1847, 16, 17311, 514, 5418, 461, 16, 17311, 3014, 966, 8526, 1472, 16, 17311, 1250, 1158, 6998, 13, 3639, 1216, 1860, 16, 6483, 565, 288, 3639, 309, 261, 9381, 461, 422, 446, 597, 1472, 480, 446, 597, 1472, 18, 2469, 405, 374, 13, 288, 5411, 368, 2672, 1694, 67, 4177, 993, 1217, 17504, 5411, 5418, 461, 273, 315, 1752, 67, 4177, 993, 1217, 14432, 5411, 3014, 966, 859, 8526, 273, 394, 3014, 966, 63, 3977, 18, 2469, 15, 22, 15533, 5411, 2332, 18, 1126, 3530, 12, 3977, 16, 374, 16, 859, 16, 576, 16, 1472, 18, 2469, 1769, 5411, 859, 63, 20, 65, 273, 394, 3014, 966, 5621, 5411, 859, 63, 20, 8009, 24687, 559, 273, 2252, 18, 4669, 18, 2016, 18, 7716, 7305, 31, 5411, 859, 63, 20, 8009, 4106, 1225, 273, 1059, 3784, 31, 5411, 859, 63, 20, 8009, 291, 694, 273, 638, 31, 5411, 859, 63, 20, 8009, 291, 16532, 273, 638, 31, 5411, 859, 63, 20, 8009, 1132, 273, 13619, 18, 1717, 17207, 786, 21644, 12, 4669, 16, 1472, 1769, 5411, 399, 2377, 751, 18, 588, 9220, 559, 12, 4071, 16, 859, 63, 20, 19226, 5411, 6674, 579, 3262, 273, 394, 6674, 12, 3672, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1472, 18, 2469, 31, 277, 27245, 288, 7734, 579, 3262, 18, 6923, 2932, 36, 52, 8863, 7734, 579, 3262, 18, 6923, 12, 77, 1769, 7734, 579, 3262, 18, 6923, 2668, 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, 1836, 3997, 7301, 12, 780, 1847, 16, 17311, 514, 5418, 461, 16, 17311, 3014, 966, 8526, 1472, 16, 17311, 1250, 1158, 6998, 13, 3639, 1216, 1860, 16, 6483, 565, 288, 3639, 309, 261, 9381, 461, 422, 446, 597, 1472, 480, 446, 597, 1472, 18, 2469, 405, 374, 13, 288, 5411, 368, 2672, 1694, 67, 4177, 993, 1217, 17504, 5411, 5418, 461, 273, 315, 1752, 67, 4177, 993, 1217, 14432, 5411, 3014, 966, 859, 8526, 273, 394, 3014, 966, 63, 3977, 18, 2469, 15, 22, 15533, 5411, 2332, 18, 1126, 3530, 12, 3977, 16, 374, 16, 859, 16, 576, 16, 1472, 18, 2469, 1769, 5411, 859, 63, 20, 65, 273, 394, 3014, 966, 5621, 5411, 859, 63, 2 ]
Platform.run(new SafeRunnable(IDEWorkbenchMessages.ErrorClosing) { public void run() { ArrayList dirtyEditors = new ArrayList();
Platform.run(new SafeRunnable(IDEWorkbenchMessages.ErrorClosing) { public void run() { ArrayList dirtyEditors = new ArrayList();
public static boolean saveAllEditors(IResource[] resourceRoots, boolean confirm) { final IResource[] finalResources = resourceRoots; final boolean finalConfirm = confirm; final boolean[] result = new boolean[1]; result[0] = true; if (resourceRoots.length == 0) { return result[0]; } Platform.run(new SafeRunnable(IDEWorkbenchMessages.ErrorClosing) { public void run() { //Collect dirtyEditors ArrayList dirtyEditors = new ArrayList(); IWorkbenchWindow[] windows = PlatformUI.getWorkbench() .getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchWindow window = windows[i]; IWorkbenchPage[] pages = window.getPages(); for (int j = 0; j < pages.length; j++) { IWorkbenchPage page = pages[j]; IEditorPart[] dirty = page.getDirtyEditors(); for (int k = 0; k < dirty.length; k++) { IEditorPart part = dirty[k]; IFile file = ResourceUtil.getFile(part.getEditorInput()); if (file != null) { for (int l = 0; l < finalResources.length; l++) { IResource resource = finalResources[l]; if (resource.getFullPath() .isPrefixOf( file.getFullPath())) { dirtyEditors.add(part); break; } } } } } } if (dirtyEditors.size() > 0) { IWorkbenchWindow w = Workbench.getInstance() .getActiveWorkbenchWindow(); if (w == null) { w = windows[0]; } result[0] = EditorManager.saveAll(dirtyEditors, finalConfirm, false, false, w); } } }); return result[0]; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/be19b74812a3e7768b9a976b33c1d42b68c8e0cf/IDE.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 1923, 1595, 4666, 1383, 12, 45, 1420, 8526, 1058, 17540, 16, 5411, 1250, 6932, 13, 288, 3639, 727, 467, 1420, 8526, 727, 3805, 273, 1058, 17540, 31, 3639, 727, 1250, 727, 11269, 273, 6932, 31, 3639, 727, 1250, 8526, 563, 273, 394, 1250, 63, 21, 15533, 3639, 563, 63, 20, 65, 273, 638, 31, 3639, 309, 261, 3146, 17540, 18, 2469, 422, 374, 13, 288, 1082, 202, 2463, 563, 63, 20, 15533, 202, 202, 97, 3639, 11810, 18, 2681, 12, 2704, 14060, 20013, 12, 10385, 2421, 22144, 5058, 18, 668, 15745, 13, 288, 10792, 1071, 918, 1086, 1435, 288, 13491, 368, 10808, 9603, 4666, 1383, 13491, 2407, 9603, 4666, 1383, 273, 394, 2407, 5621, 13491, 467, 2421, 22144, 3829, 8526, 9965, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 27573, 263, 588, 2421, 22144, 10399, 5621, 13491, 364, 261, 474, 277, 273, 374, 31, 277, 411, 9965, 18, 2469, 31, 277, 27245, 288, 18701, 467, 2421, 22144, 3829, 2742, 273, 9965, 63, 77, 15533, 18701, 467, 2421, 22144, 1964, 8526, 4689, 273, 2742, 18, 588, 5716, 5621, 18701, 364, 261, 474, 525, 273, 374, 31, 525, 411, 4689, 18, 2469, 31, 525, 27245, 288, 27573, 467, 2421, 22144, 1964, 1363, 273, 4689, 63, 78, 15533, 27573, 467, 6946, 1988, 8526, 9603, 273, 1363, 18, 588, 10785, 4666, 1383, 5621, 27573, 364, 261, 474, 417, 273, 374, 31, 417, 411, 9603, 18, 2469, 31, 417, 27245, 288, 4766, 565, 467, 6946, 1988, 1087, 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, 760, 1250, 1923, 1595, 4666, 1383, 12, 45, 1420, 8526, 1058, 17540, 16, 5411, 1250, 6932, 13, 288, 3639, 727, 467, 1420, 8526, 727, 3805, 273, 1058, 17540, 31, 3639, 727, 1250, 727, 11269, 273, 6932, 31, 3639, 727, 1250, 8526, 563, 273, 394, 1250, 63, 21, 15533, 3639, 563, 63, 20, 65, 273, 638, 31, 3639, 309, 261, 3146, 17540, 18, 2469, 422, 374, 13, 288, 1082, 202, 2463, 563, 63, 20, 15533, 202, 202, 97, 3639, 11810, 18, 2681, 12, 2704, 14060, 20013, 12, 10385, 2421, 22144, 5058, 18, 668, 15745, 13, 288, 10792, 1071, 918, 1086, 1435, 288, 13491, 368, 10808, 9603, 4666, 1383, 13491, 2407, 9603, 4666, 1383, 273, 394, 2407, 5621, 13491, 2 ]
ungroupPrimitive(pre, false);
ivRenderer.ungroupPrimitive(pre, false);
public void fillPolygon(PolygonRenderEvent pre) throws ChartException { groupPrimitive(pre, false); super.fillPolygon(pre); ungroupPrimitive(pre, false); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/2d20506054849c42d48678ae5d0e59f9c37d95e8/SVGRendererImpl.java/clean/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 11787, 12, 11787, 3420, 1133, 675, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 202, 9565, 18, 5935, 11787, 12, 1484, 1769, 202, 202, 318, 1655, 9840, 12, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3636, 11787, 12, 11787, 3420, 1133, 675, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 1484, 16, 629, 1769, 202, 202, 9565, 18, 5935, 11787, 12, 1484, 1769, 202, 202, 318, 1655, 9840, 12, 1484, 16, 629, 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 ]
}
}
protected Object readResolve() throws InvalidObjectException { String name = this.getName(); if (name == null) { // text.18=Not a valid {0}, subclass should override readResolve() throw new InvalidObjectException(Messages.getString( "text.18", "MessageFormat.Field")); //$NON-NLS-1$ //$NON-NLS-2$ } if (name.equals(ARGUMENT.getName())) { return ARGUMENT; } // text.18=Not a valid {0}, subclass should override readResolve() throw new InvalidObjectException(Messages.getString( "text.18", "MessageFormat.Field")); //$NON-NLS-1$ //$NON-NLS-2$ }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/019def355790934e1681619028e65dda09efed65/MessageFormat.java/clean/modules/text/src/main/java/java/text/MessageFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 1033, 855, 8460, 1435, 1216, 17354, 503, 288, 1082, 202, 780, 508, 273, 333, 18, 17994, 5621, 1082, 202, 430, 261, 529, 422, 446, 13, 288, 7734, 368, 977, 18, 2643, 33, 1248, 279, 923, 288, 20, 5779, 10177, 1410, 3849, 855, 8460, 1435, 7734, 604, 394, 17354, 503, 12, 5058, 18, 588, 780, 12, 13491, 315, 955, 18, 2643, 3113, 315, 1079, 1630, 18, 974, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 289, 5411, 309, 261, 529, 18, 14963, 12, 18311, 18, 17994, 1435, 3719, 288, 7734, 327, 23654, 31, 5411, 289, 5411, 368, 977, 18, 2643, 33, 1248, 279, 923, 288, 20, 5779, 10177, 1410, 3849, 855, 8460, 1435, 5411, 604, 394, 17354, 503, 12, 5058, 18, 588, 780, 12, 10792, 315, 955, 18, 2643, 3113, 315, 1079, 1630, 18, 974, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 1033, 855, 8460, 1435, 1216, 17354, 503, 288, 1082, 202, 780, 508, 273, 333, 18, 17994, 5621, 1082, 202, 430, 261, 529, 422, 446, 13, 288, 7734, 368, 977, 18, 2643, 33, 1248, 279, 923, 288, 20, 5779, 10177, 1410, 3849, 855, 8460, 1435, 7734, 604, 394, 17354, 503, 12, 5058, 18, 588, 780, 12, 13491, 315, 955, 18, 2643, 3113, 315, 1079, 1630, 18, 974, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 289, 5411, 309, 261, 529, 18, 14963, 12, 18311, 18, 17994, 1435, 3719, 288, 7734, 327, 23654, 31, 5411, 289, 5411, 368, 977, 18, 2643, 33, 1248, 279, 923, 288, 20, 5779, 10177, 2 ]
}
}
private String createUserInfoString(Properties params, String newUserId) { String sqlStr = "" ; sqlStr += newUserId + ", " ; sqlStr += "'" + params.getProperty("login_name") + "', " ; sqlStr += "'" + params.getProperty("password1") + "', "; sqlStr += "'" + params.getProperty("first_name") + "', "; sqlStr += "'" + params.getProperty("last_name") + "', "; sqlStr += "'" + params.getProperty("title") + "', "; sqlStr += "'" + params.getProperty("company") + "', "; sqlStr += "'" + params.getProperty("address") + "', "; sqlStr += "'" + params.getProperty("city") + "', "; sqlStr += "'" + params.getProperty("zip") + "', "; sqlStr += "'" + params.getProperty("country") + "', " ; sqlStr += "'" + params.getProperty("country_council") + "', "; sqlStr += "'" + params.getProperty("email") + "', "; // Default values for admin_mode, last_page, archive_mode, lang_id sqlStr += "0" + ", "; sqlStr += "1001" + ", "; sqlStr += "0" + ", "; sqlStr += "1" + ", " ; // 1 stands for sweden sqlStr += "2" + ", " ; // usertype. 0=special, 1=default, 2=conferenceuser sqlStr += "1" ; // 1 stands for active // this.log("Userinfostring:" + sqlStr) ; return sqlStr ; } // End of createUserInfoString
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ConfLogin.java/buggy/servlets/conf/ConfLogin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 752, 21015, 780, 12, 2297, 859, 16, 514, 394, 10502, 13, 288, 202, 202, 780, 1847, 1585, 273, 1408, 274, 202, 202, 4669, 1585, 1011, 394, 10502, 397, 3104, 315, 274, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 5819, 67, 529, 7923, 397, 14912, 315, 225, 274, 202, 202, 4669, 1585, 1011, 5862, 397, 859, 18, 588, 1396, 2932, 3664, 21, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 3645, 67, 529, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 2722, 67, 529, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 2649, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 16840, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 2867, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 14240, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 4450, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 9082, 7923, 397, 14912, 315, 274, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 752, 21015, 780, 12, 2297, 859, 16, 514, 394, 10502, 13, 288, 202, 202, 780, 1847, 1585, 273, 1408, 274, 202, 202, 4669, 1585, 1011, 394, 10502, 397, 3104, 315, 274, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 5819, 67, 529, 7923, 397, 14912, 315, 225, 274, 202, 202, 4669, 1585, 1011, 5862, 397, 859, 18, 588, 1396, 2932, 3664, 21, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 3645, 67, 529, 7923, 397, 14912, 13636, 202, 202, 4669, 1585, 1011, 202, 6, 4970, 397, 859, 18, 588, 1396, 2932, 2722, 67, 529, 7923, 397, 14912, 13636, 202, 2 ]
writeEclipseProject( projectBaseDir, outputDir, project, executedProject, referencedProjects, map );
writeEclipseProject( projectBaseDir, outputDir, project, executedProject, referencedProjects );
public void write( File outputDir, MavenProject project, MavenProject executedProject, List reactorProjects ) throws EclipsePluginException { Map map = new HashMap(); assertNotEmpty( project.getGroupId(), "groupId" ); assertNotEmpty( project.getArtifactId(), "artifactId" ); map.put( "project.artifactId", project.getArtifactId() ); File projectBaseDir = project.getFile().getParentFile(); List referencedProjects = writeEclipseClasspath( projectBaseDir, outputDir, project, executedProject, map, reactorProjects ); writeEclipseProject( projectBaseDir, outputDir, project, executedProject, referencedProjects, map ); writeEclipseSettings( projectBaseDir, outputDir, project, executedProject ); log.info( "Wrote Eclipse project for " + project.getArtifactId() + " to " + outputDir.getAbsolutePath() ); }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/76ade2159aba8d04fc2fe68271e7f14bea341ccb/EclipseWriter.java/clean/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 12, 1387, 21412, 16, 17176, 4109, 1984, 16, 17176, 4109, 7120, 4109, 16, 987, 19178, 15298, 262, 3639, 1216, 20840, 10472, 3773, 503, 565, 288, 3639, 1635, 852, 273, 394, 4317, 5621, 3639, 1815, 18431, 12, 1984, 18, 588, 8722, 9334, 315, 27547, 6, 11272, 3639, 1815, 18431, 12, 1984, 18, 588, 7581, 548, 9334, 315, 17706, 548, 6, 11272, 3639, 852, 18, 458, 12, 315, 4406, 18, 17706, 548, 3113, 1984, 18, 588, 7581, 548, 1435, 11272, 7734, 1387, 1984, 2171, 1621, 273, 1984, 18, 29925, 7675, 588, 3054, 812, 5621, 3639, 987, 8042, 15298, 273, 1045, 23057, 10472, 17461, 12, 1984, 2171, 1621, 16, 21412, 16, 1984, 16, 7120, 4109, 16, 852, 16, 19178, 15298, 11272, 7734, 1045, 23057, 10472, 4109, 12, 1984, 2171, 1621, 16, 21412, 16, 1984, 16, 7120, 4109, 16, 8042, 15298, 11272, 3639, 1045, 23057, 10472, 2628, 12, 1984, 2171, 1621, 16, 21412, 16, 1984, 16, 7120, 4109, 11272, 3639, 613, 18, 1376, 12, 315, 59, 21436, 20840, 10472, 1984, 364, 315, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 358, 315, 397, 21412, 18, 588, 10368, 743, 1435,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176, 4109, 7120, 4109, 16, 987, 19178, 15298, 262, 3639, 1216, 20840, 10472, 3773, 503, 565, 288, 3639, 1635, 852, 273, 394, 4317, 5621, 3639, 1815, 18431, 12, 1984, 18, 588, 8722, 9334, 315, 27547, 6, 11272, 3639, 1815, 18431, 12, 1984, 18, 588, 7581, 548, 9334, 315, 17706, 548, 6, 11272, 3639, 852, 18, 458, 12, 315, 4406, 18, 17706, 548, 3113, 1984, 18, 588, 7581, 548, 1435, 11272, 7734, 1387, 1984, 2171, 1621, 273, 1984, 18, 29925, 7675, 588, 3054, 812, 5621, 3639, 987, 8042, 15298, 273, 1045, 23057, 10472, 17461, 12, 1984, 2171, 1621, 16, 21412, 16, 1984, 16, 7120, 4109, 16, 852, 16, 2 ]
fInterfaceEntry.setValue(curr);
fInterfaceEntry.setValue(basedOn, true);
public void updateFields() { if (fAttribute == null) return; String curr = fAttribute.getName(); fName.setValue(curr != null ? curr : ""); //$NON-NLS-1$ fDeprecated.select(fAttribute.isDeprecated() ? 0 : 1); fTranslatable.select(fAttribute.isTranslatable() ? 0 : 1); boolean isStringType = fAttribute.getType().getName().equals(STRING_TYPE); int kind = fAttribute.getKind(); fType.select(isStringType ? 1 + kind : 0); fUse.select(fAttribute.getUse()); Object value = fAttribute.getValue(); fValue.setValue(value != null ? value.toString() : ""); //$NON-NLS-1$ if (kind == IMetaAttribute.JAVA) { curr = fAttribute.getBasedOn(); if (curr != null && curr.length() > 0) { int index = curr.indexOf(":"); //$NON-NLS-1$ if (index == -1) { String className = curr.substring(curr.lastIndexOf(".") + 1); //$NON-NLS-1$ if (className.length() > 1 && className.charAt(0) == 'I') fInterfaceEntry.setValue(curr); else fClassEntry.setValue(curr); } else { fClassEntry.setValue(curr.substring(0, index)); fInterfaceEntry.setValue(curr.substring(index + 1)); } } } boolean editable = fAttribute.getSchema().isEditable(); updateParts(isStringType && kind == IMetaAttribute.STRING, kind == IMetaAttribute.JAVA, editable); fValue.setEditable(editable && fAttribute.getUse() == 2); fName.setEditable(editable); fDeprecated.setEnabled(editable); fType.setEnabled(editable); fUse.setEnabled(editable); fTypeLabel.setEnabled(editable); fUseLabel.setEnabled(editable); fDepLabel.setEnabled(editable); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/68c688b827eefb4f1b6bd71d5c1e862e0e06ef83/SchemaAttributeDetails.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/schema/SchemaAttributeDetails.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 2314, 1435, 288, 202, 202, 430, 261, 74, 1499, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 780, 4306, 273, 284, 1499, 18, 17994, 5621, 202, 202, 74, 461, 18, 542, 620, 12, 17016, 480, 446, 692, 4306, 294, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 74, 13534, 18, 4025, 12, 74, 1499, 18, 291, 13534, 1435, 692, 374, 294, 404, 1769, 202, 202, 74, 24299, 18, 4025, 12, 74, 1499, 18, 291, 24299, 1435, 692, 374, 294, 404, 1769, 9506, 202, 6494, 9962, 559, 273, 284, 1499, 18, 588, 559, 7675, 17994, 7675, 14963, 12, 5804, 67, 2399, 1769, 202, 202, 474, 3846, 273, 284, 1499, 18, 588, 5677, 5621, 202, 202, 74, 559, 18, 4025, 12, 291, 780, 559, 692, 404, 397, 3846, 294, 374, 1769, 9506, 202, 74, 3727, 18, 4025, 12, 74, 1499, 18, 588, 3727, 10663, 202, 202, 921, 460, 273, 284, 1499, 18, 24805, 5621, 202, 202, 74, 620, 18, 542, 620, 12, 1132, 480, 446, 692, 460, 18, 10492, 1435, 294, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 261, 9224, 422, 467, 2781, 1499, 18, 27264, 13, 288, 1082, 202, 17016, 273, 284, 1499, 18, 588, 9802, 1398, 5621, 1082, 202, 430, 261, 17016, 480, 446, 597, 4306, 18, 2469, 1435, 405, 374, 13, 288, 9506, 202, 474, 770, 273, 4306, 18, 31806, 2932, 2773, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 2314, 1435, 288, 202, 202, 430, 261, 74, 1499, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 780, 4306, 273, 284, 1499, 18, 17994, 5621, 202, 202, 74, 461, 18, 542, 620, 12, 17016, 480, 446, 692, 4306, 294, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 74, 13534, 18, 4025, 12, 74, 1499, 18, 291, 13534, 1435, 692, 374, 294, 404, 1769, 202, 202, 74, 24299, 18, 4025, 12, 74, 1499, 18, 291, 24299, 1435, 692, 374, 294, 404, 1769, 9506, 202, 6494, 9962, 559, 273, 284, 1499, 18, 588, 559, 7675, 17994, 7675, 14963, 12, 5804, 67, 2399, 1769, 202, 202, 474, 3846, 273, 284, 1499, 18, 588, 2 ]
if (highlights.size() == 0)
if (size == 0)
public void paint(Graphics g) { // Check if there are any highlights. if (highlights.size() == 0) return; Shape bounds = textComponent.getBounds(); for (int index = 0; index < highlights.size(); ++index) { HighlightEntry entry = (HighlightEntry) highlights.get(index); entry.painter.paint(g, entry.p0, entry.p1, bounds, textComponent); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/DefaultHighlighter.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultHighlighter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 12, 17558, 314, 13, 225, 288, 565, 368, 2073, 309, 1915, 854, 1281, 8839, 87, 18, 565, 309, 261, 1467, 422, 374, 13, 1377, 327, 31, 3639, 12383, 4972, 273, 977, 1841, 18, 588, 5694, 5621, 3639, 364, 261, 474, 770, 273, 374, 31, 770, 411, 8839, 87, 18, 1467, 5621, 965, 1615, 13, 1377, 288, 202, 16205, 1622, 1241, 273, 261, 16205, 1622, 13, 8839, 87, 18, 588, 12, 1615, 1769, 202, 4099, 18, 84, 11606, 18, 84, 1598, 12, 75, 16, 1241, 18, 84, 20, 16, 1241, 18, 84, 21, 16, 4972, 16, 977, 1841, 1769, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 12574, 12, 17558, 314, 13, 225, 288, 565, 368, 2073, 309, 1915, 854, 1281, 8839, 87, 18, 565, 309, 261, 1467, 422, 374, 13, 1377, 327, 31, 3639, 12383, 4972, 273, 977, 1841, 18, 588, 5694, 5621, 3639, 364, 261, 474, 770, 273, 374, 31, 770, 411, 8839, 87, 18, 1467, 5621, 965, 1615, 13, 1377, 288, 202, 16205, 1622, 1241, 273, 261, 16205, 1622, 13, 8839, 87, 18, 588, 12, 1615, 1769, 202, 4099, 18, 84, 11606, 18, 84, 1598, 12, 75, 16, 1241, 18, 84, 20, 16, 1241, 18, 84, 21, 16, 4972, 16, 977, 1841, 1769, 1377, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ILink[] retVal = (ILink[])iUpdate.saveAndReturnArray(arg0); collectCounts( retVal, new PojoOptions(arg1) ); return retVal;
IObject[] retVal = iUpdate.saveAndReturnArray(arg0); ILink[] links = new ILink[retVal.length]; System.arraycopy(retVal, 0, links, 0, retVal.length); collectCounts( links, new PojoOptions(arg1) ); return links;
public ILink[] link(ILink[] arg0, Map arg1) { ILink[] retVal = (ILink[])iUpdate.saveAndReturnArray(arg0); collectCounts( retVal, new PojoOptions(arg1) ); return retVal; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/e1b76ed719977cee99d8f5cc8eb06bcf7b7eee4c/PojosImpl.java/clean/components/server/src/ome/logic/PojosImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 2098, 8526, 1692, 12, 45, 2098, 8526, 1501, 20, 16, 1635, 1501, 21, 13, 565, 288, 3639, 467, 2098, 8526, 12197, 273, 261, 45, 2098, 63, 5717, 77, 1891, 18, 5688, 1876, 990, 1076, 12, 3175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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2098, 8526, 1692, 12, 45, 2098, 8526, 1501, 20, 16, 1635, 1501, 21, 13, 565, 288, 3639, 467, 2098, 8526, 12197, 273, 261, 45, 2098, 63, 5717, 77, 1891, 18, 5688, 1876, 990, 1076, 12, 3175, 20, 1769, 3639, 3274, 9211, 12, 12197, 16, 394, 453, 10007, 1320, 12, 3175, 21, 13, 11272, 3639, 327, 12197, 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 ]
if (!subtype.supertypesKnown())
/* if (subtype.getState() == )
public boolean isSubtype(XObjectType subtype, XObjectType supertype) throws ClassNotFoundException { if (Debug.VERIFY_INTEGRITY) { if (!inheritanceGraph.containsVertex(subtype)) throw new IllegalStateException("Inheritance graph does not contain node " + subtype.getSignature()); if (!inheritanceGraph.containsVertex(supertype)) throw new IllegalStateException("Inheritance graph does not contain node " + supertype.getSignature()); } // TODO: precompute subtypes and store in a table of bit vectors // based on type ids. That would be really fast. // For now, we do a slow traversal of the inheritance graph. if (!supertype.isInterface()) { // Check superclasses: this works for both class instance // and array types. while (true) { if (subtype.equals(supertype)) return true; if (!subtype.supertypesKnown()) throw new ClassNotFoundException("Unknown superclass for class " + subtype.getSignature()); XObjectType directSuperclass = getSuperclass(subtype); if (directSuperclass == null) { // No superclass: we must have reached java.lang.Object, // which terminates the search. if (Debug.CHECK_ASSERTIONS && !subtype.getSignature().equals("Ljava/lang/Object;")) throw new IllegalStateException("Class " + subtype.getSignature() + " has no supertypes, but is not java.lang.Object"); return false; } subtype = directSuperclass; } } else { // Breadth first search through superinterfaces // and interfaces implemented by superclasses // FIXME: This is a lot of work: should definitely come up with a way to // cache the result LinkedList<XObjectType> work = new LinkedList<XObjectType>(); work.add(subtype); HashSet<XObjectType> visited = new HashSet<XObjectType>(); LinkedList<XObjectType> missingClassList = new LinkedList<XObjectType>(); while (!work.isEmpty()) { XObjectType type = work.removeFirst(); if (visited.add(type)) continue; if (type.equals(supertype)) return true; if (type.supertypesKnown()) { for (Iterator<XObjectType> i = inheritanceGraph.successorIterator(type); i.hasNext(); ) work.add(i.next()); } else { missingClassList.add(type); } } // Search terminated without finding the superinterface. // If no part of the class hierarchy was unknown, // then we have a definitive answer. Otherwise, // throw an exception. if (missingClassList.isEmpty()) return false; else throw new ClassNotFoundException("Class not found: " + missingClassList); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/7b5f378504f46d5a926323cfe540db720c15a378/XTypeRepository.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/type/XTypeRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 16523, 723, 12, 60, 17610, 12308, 16, 1139, 17610, 2240, 723, 13, 1216, 10403, 288, 202, 202, 430, 261, 2829, 18, 23756, 67, 706, 1448, 6997, 4107, 13, 288, 1082, 202, 430, 16051, 6018, 1359, 4137, 18, 12298, 6475, 12, 21974, 3719, 9506, 202, 12849, 394, 5477, 2932, 28255, 2667, 1552, 486, 912, 756, 315, 397, 12308, 18, 588, 5374, 10663, 1082, 202, 430, 16051, 6018, 1359, 4137, 18, 12298, 6475, 12, 9565, 723, 3719, 9506, 202, 12849, 394, 5477, 2932, 28255, 2667, 1552, 486, 912, 756, 315, 397, 2240, 723, 18, 588, 5374, 10663, 202, 202, 97, 202, 202, 759, 2660, 30, 675, 9200, 720, 2352, 471, 1707, 316, 279, 1014, 434, 2831, 10046, 202, 202, 759, 2511, 603, 618, 3258, 18, 225, 12466, 4102, 506, 8654, 4797, 18, 202, 202, 759, 2457, 2037, 16, 732, 741, 279, 11816, 15940, 434, 326, 16334, 2667, 18, 202, 202, 430, 16051, 9565, 723, 18, 291, 1358, 10756, 288, 1082, 202, 759, 2073, 2240, 4701, 30, 333, 6330, 364, 3937, 667, 791, 1082, 202, 759, 471, 526, 1953, 18, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 430, 261, 21974, 18, 14963, 12, 9565, 723, 3719, 6862, 202, 2463, 638, 31, 9506, 202, 430, 16051, 21974, 18, 2859, 1051, 989, 11925, 10756, 6862, 202, 12849, 394, 10403, 2932, 4874, 12098, 364, 667, 315, 397, 12308, 18, 588, 5374, 10663, 9506, 202, 60, 17610, 2657, 28471, 273, 20021, 12, 21974, 1769, 9506, 202, 430, 261, 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, 1250, 16523, 723, 12, 60, 17610, 12308, 16, 1139, 17610, 2240, 723, 13, 1216, 10403, 288, 202, 202, 430, 261, 2829, 18, 23756, 67, 706, 1448, 6997, 4107, 13, 288, 1082, 202, 430, 16051, 6018, 1359, 4137, 18, 12298, 6475, 12, 21974, 3719, 9506, 202, 12849, 394, 5477, 2932, 28255, 2667, 1552, 486, 912, 756, 315, 397, 12308, 18, 588, 5374, 10663, 1082, 202, 430, 16051, 6018, 1359, 4137, 18, 12298, 6475, 12, 9565, 723, 3719, 9506, 202, 12849, 394, 5477, 2932, 28255, 2667, 1552, 486, 912, 756, 315, 397, 2240, 723, 18, 588, 5374, 10663, 202, 202, 97, 202, 202, 759, 2660, 30, 675, 9200, 720, 2352, 471, 1707, 316, 279, 1014, 434, 2831, 10046, 2 ]
double dMaxAxis = ( dStep > 1 ) ? Math.floor( dAbsMax / dStep ) : Math.round( dAbsMax / dStep ); dMaxAxis *= dStep; if ( dMaxAxis == dAbsMax ) { dMaxAxis += dStep; if ( dMaxValue == 0 )
dMaxAxis = ( ( dStep > 1 ) ? Math.floor( dAbsMax / dStep ) : Math.round( dAbsMax / dStep ) ) * dStep; if ( dMaxAxis == dAbsMax )
public final void updateAxisMinMax( Object oMinValue, Object oMaxValue ) { if ( ( iType & LOGARITHMIC ) == LOGARITHMIC ) { if ( ( iType & PERCENT ) == PERCENT ) { oMaximum = new Double( 100 ); oMinimum = new Double( 1 ); oStep = new Double( 10 ); bMaximumFixed = true; bMinimumFixed = true; bStepFixed = true; return; } final double dMinValue = asDouble( oMinValue ).doubleValue( ); final double dMaxValue = asDouble( oMaxValue ).doubleValue( ); final double dAbsMax = Math.abs( dMaxValue ); final double dAbsMin = Math.abs( dMinValue ); final double dStep = asDouble( oStep ).doubleValue( ); final double dStepLog = Math.log( dStep ); int iPow = (int) Math.floor( Math.log( dAbsMax ) / dStepLog ) + 1; double dMaxAxis = Math.pow( dStep, iPow ); iPow = (int) Math.floor( Math.log( dAbsMin ) / dStepLog ) - 1; double dMinAxis = Math.pow( dStep, iPow + 1 ); if ( !bMaximumFixed ) { oMaximum = new Double( dMaxAxis ); } if ( !bMinimumFixed ) { oMinimum = new Double( dMinAxis ); } } else if ( ( iType & DATE_TIME ) == DATE_TIME ) { int iUnit = asInteger( oUnit ); int iStep = asInteger( oStep ); CDateTime cdtMinValue = asDateTime( oMinValue ); CDateTime cdtMaxValue = asDateTime( oMaxValue ); if ( !bMinimumFixed ) { oMinimum = cdtMinValue.backward( iUnit, iStep ); } ( (CDateTime) oMinimum ).clearBelow( iUnit ); if ( !bMaximumFixed ) { oMaximum = cdtMaxValue.forward( iUnit, iStep ); } ( (CDateTime) oMaximum ).clearBelow( iUnit ); } else { final double dMinValue = asDouble( oMinValue ).doubleValue( ); final double dMaxValue = asDouble( oMaxValue ).doubleValue( ); final double dAbsMax = Math.abs( dMaxValue ); final double dAbsMin = Math.abs( dMinValue ); final double dStep = asDouble( oStep ).doubleValue( ); double dMinAxis = ( dStep > 1 ) ? Math.floor( dAbsMin / dStep ) : Math.round( dAbsMin / dStep ); dMinAxis *= dStep; if ( dMinAxis == dAbsMin ) { dMinAxis += dStep; if ( dMinValue < 0 ) { dMinAxis = -dMinAxis; } else if ( dMinValue == 0 ) { dMinAxis = 0; } } else { if ( dMinValue < 0 ) { dMinAxis = -( dMinAxis + dStep ); } else if ( dMinAxis >= dMinValue && dMinAxis != 0 ) { dMinAxis -= dStep; } } double dMaxAxis = ( dStep > 1 ) ? Math.floor( dAbsMax / dStep ) : Math.round( dAbsMax / dStep ); dMaxAxis *= dStep; if ( dMaxAxis == dAbsMax ) { dMaxAxis += dStep; if ( dMaxValue == 0 ) { dMaxAxis = 0; } } else if ( dMinAxis != dMaxValue ) { if ( dMaxValue < 0 ) { dMaxAxis = -( dMaxAxis - dStep ); } else if ( dMaxValue > 0 ) { if ( dMaxAxis < dMaxValue ) { dMaxAxis += dStep; } } } if ( dMinValue < 0 && dMaxValue < 0 ) { if ( dMaxAxis <= dMaxValue - dStep ) { dMaxAxis += 2 * dStep; } } if ( dMinValue > 0 && dMaxValue > 0 ) { if ( dMinAxis >= dMinValue + dStep ) { dMinAxis -= 2 * dStep; } } // handle special case for min/max are both zero if ( dMinValue == 0 && dMaxValue == 0 ) { if ( dMinAxis >= 0 ) { dMinAxis = -1; } if ( dMaxAxis <= 0 ) { dMaxAxis = 1; } } // To make sure the boundary is always 100, -100 in percent type if ( ( iType & PERCENT ) == PERCENT ) { if ( dMaxAxis > 0 ) { dMaxAxis = 100; } if ( dMinAxis < 0 ) { dMinAxis = -100; } } if ( !bMaximumFixed ) { oMaximum = new Double( dMaxAxis ); } if ( !bMinimumFixed ) { oMinimum = new Double( dMinAxis ); } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/dc626a374fa0c6b97bab401a4f404d0bef266013/AutoScale.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1089, 6558, 17454, 12, 1033, 320, 2930, 620, 16, 1033, 320, 2747, 620, 262, 202, 95, 202, 202, 430, 261, 261, 277, 559, 473, 2018, 985, 6379, 22972, 262, 422, 2018, 985, 6379, 22972, 262, 202, 202, 95, 1082, 202, 430, 261, 261, 277, 559, 473, 10950, 19666, 262, 422, 10950, 19666, 262, 1082, 202, 95, 9506, 202, 83, 13528, 273, 394, 3698, 12, 2130, 11272, 9506, 202, 83, 13042, 273, 394, 3698, 12, 404, 11272, 9506, 202, 83, 4160, 273, 394, 3698, 12, 1728, 11272, 9506, 202, 70, 13528, 7505, 273, 638, 31, 9506, 202, 70, 13042, 7505, 273, 638, 31, 9506, 202, 70, 4160, 7505, 273, 638, 31, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 6385, 1645, 302, 2930, 620, 273, 487, 5265, 12, 320, 2930, 620, 262, 18, 9056, 620, 12, 11272, 1082, 202, 6385, 1645, 302, 2747, 620, 273, 487, 5265, 12, 320, 2747, 620, 262, 18, 9056, 620, 12, 11272, 1082, 202, 6385, 1645, 302, 9382, 2747, 273, 2361, 18, 5113, 12, 302, 2747, 620, 11272, 1082, 202, 6385, 1645, 302, 9382, 2930, 273, 2361, 18, 5113, 12, 302, 2930, 620, 11272, 1082, 202, 6385, 1645, 302, 4160, 273, 487, 5265, 12, 320, 4160, 262, 18, 9056, 620, 12, 11272, 1082, 202, 6385, 1645, 302, 4160, 1343, 273, 2361, 18, 1330, 12, 302, 4160, 11272, 1082, 202, 474, 277, 28289, 273, 261, 474, 13, 2361, 18, 74, 5807, 12, 2361, 18, 1330, 12, 302, 9382, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1089, 6558, 17454, 12, 1033, 320, 2930, 620, 16, 1033, 320, 2747, 620, 262, 202, 95, 202, 202, 430, 261, 261, 277, 559, 473, 2018, 985, 6379, 22972, 262, 422, 2018, 985, 6379, 22972, 262, 202, 202, 95, 1082, 202, 430, 261, 261, 277, 559, 473, 10950, 19666, 262, 422, 10950, 19666, 262, 1082, 202, 95, 9506, 202, 83, 13528, 273, 394, 3698, 12, 2130, 11272, 9506, 202, 83, 13042, 273, 394, 3698, 12, 404, 11272, 9506, 202, 83, 4160, 273, 394, 3698, 12, 1728, 11272, 9506, 202, 70, 13528, 7505, 273, 638, 31, 9506, 202, 70, 13042, 7505, 273, 638, 31, 9506, 202, 70, 4160, 7505, 273, 638, 31, 9506, 202, 2463, 31, 2 ]
libList.addAll( getPreferenceLibraries( ) );
libList.addAll( getPreferenceLibraries( libList ) );
public LibraryHandle[] getLibraries( ) { ArrayList libList = new ArrayList( ); try { libList.addAll( getProjectLibraryList( ) ); } catch ( CoreException e1 ) { } libList.addAll( getPreferenceLibraries( ) ); return (LibraryHandle[]) libList.toArray( new LibraryHandle[libList.size( )] ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/6aceb6d2c8c073886ed784b102a8175be0bb1fb7/LibraryProvider.java/clean/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/adapters/LibraryProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 18694, 3259, 8526, 336, 31909, 12, 262, 202, 95, 202, 202, 19558, 2561, 682, 273, 394, 2407, 12, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2941, 682, 18, 1289, 1595, 12, 11080, 9313, 682, 12, 262, 11272, 202, 202, 97, 202, 202, 14683, 261, 30015, 425, 21, 262, 202, 202, 95, 202, 202, 97, 202, 202, 2941, 682, 18, 1289, 1595, 12, 336, 9624, 31909, 12, 262, 11272, 202, 202, 2463, 261, 9313, 3259, 63, 5717, 2561, 682, 18, 31447, 12, 394, 18694, 3259, 63, 2941, 682, 18, 1467, 12, 262, 65, 11272, 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,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, 1595, 12, 11080, 9313, 682, 12, 262, 11272, 202, 202, 97, 202, 202, 14683, 261, 30015, 425, 21, 262, 202, 202, 95, 202, 202, 97, 202, 202, 2941, 682, 18, 1289, 1595, 12, 336, 9624, 31909, 12, 262, 11272, 202, 202, 2463, 261, 9313, 3259, 63, 5717, 2561, 682, 18, 31447, 12, 394, 18694, 3259, 63, 2941, 682, 18, 1467, 12, 262, 65, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(storeByIfAlias.equals("true")) { if((aliasVal != null) && !aliasVal.equals("")) { ifRepository = m_rrdPath + File.separator + domain + File.separator + aliasVal; if(ds.performUpdate(collectionName, ipaddr.getHostAddress(), ifRepository, ds.getName(), dsVal)) { log().warn("updateRRDs: ds.performUpdate() failed for node/ifindex/domain/alias: " + nodeId + "/" + ifIndex + "/" + domain + "/" + aliasVal + " datasource: " + ds.getName()); rrdError = true; } } }
private boolean updateRRDs(String collectionName, NetworkInterface iface, SnmpNodeCollector nodeCollector, SnmpIfCollector ifCollector) throws CollectionError { // Log4j category // InetAddress ipaddr = getInetAddress(iface); // Retrieve SNMP storage attribute String snmpStorage = getSnmpStorage(iface); // Get primary interface index from NodeInfo object NodeInfo nodeInfo = getNodeInfo(iface); int primaryIfIndex = nodeInfo.getPrimarySnmpIfIndex(); // Retrieve interface map attribute // Map ifMap = getIfMap(iface); // Write relevant collected SNMP statistics to RRD database // // First the node level RRD info will be updated. // Secondly the interface level RRD info will be updated. // boolean rrdError = false; // ----------------------------------------------------------- // Node data // ----------------------------------------------------------- if (nodeCollector != null) { log().debug("updateRRDs: processing node-level collection..."); // Build path to node RRD repository. createRRD() will make the // appropriate directories if they do not already exist. // String nodeRepository = m_rrdPath + File.separator + String.valueOf(nodeInfo.getNodeId()); SNMPCollectorEntry nodeEntry = nodeCollector.getEntry(); // Iterate over the node datasource list and issue RRD update // commands to update each datasource which has a corresponding // value in the collected SNMP data // Iterator iter = nodeInfo.getDsList().iterator(); while (iter.hasNext()) { DataSource ds = (DataSource) iter.next(); try { String dsVal = getRRDValue(ds, nodeEntry); if (dsVal == null) { // Do nothing, no update is necessary if (log().isDebugEnabled()) log().debug("updateRRDs: Skipping update, no data retrieved for nodeId: " + nodeInfo.getNodeId() + " datasource: " + ds.getName()); } else { //createRRD(collectionName, ipaddr, nodeRepository, ds); if(ds.performUpdate(collectionName, ipaddr.getHostAddress(), nodeRepository, ds.getName(), dsVal)) { log().warn("updateRRDs: ds.performUpdate() failed for node: " + nodeInfo.getNodeId() + " datasource: " + ds.getName()); rrdError = true; } } } catch (IllegalArgumentException e) { log().warn("getRRDValue: " + e.getMessage()); // Set rrdError flag rrdError = true; log().warn("updateRRDs: call to getRRDValue() failed for node: " + nodeInfo.getNodeId() + " datasource: " + ds.getName()); } } // end while(more datasources) } // end if(nodeCollector != null) // ----------------------------------------------------------- // Interface-specific data // ----------------------------------------------------------- if (ifCollector != null) { // Retrieve list of SNMP collector entries generated for the // remote node's interfaces. // List snmpCollectorEntries = ifCollector.getEntries(); if (snmpCollectorEntries == null || snmpCollectorEntries.size() == 0) { log().warn("updateRRDs: No data retrieved for the interface " + ipaddr.getHostAddress()); } // Iterate over the SNMP collector entries // Iterator iter = snmpCollectorEntries.iterator(); while (iter.hasNext()) { SNMPCollectorEntry ifEntry = (SNMPCollectorEntry) iter.next(); int ifIndex = ifEntry.getIfIndex().intValue(); // Are we storing SNMP data for all interfaces or primary // interface only? // If only storing for primary interface only proceed if current // ifIndex is equal to the ifIndex of the primary SNMP interface if (snmpStorage.equals(SNMP_STORAGE_PRIMARY)) { if (ifIndex != primaryIfIndex) { if (log().isDebugEnabled()) log().debug("updateRRDs: only storing SNMP data for primary interface (" + primaryIfIndex + "), skipping ifIndex: " + ifIndex); continue; } } // Use ifIndex to lookup the IfInfo object from the interface // map // IfInfo ifInfo = (IfInfo) ifMap.get(new Integer(ifIndex)); if (ifInfo == null) { // no data needed for this interface continue; } if (ifInfo.getCollType() == null){ log().warn("updateRRDs: No SNMP info for ifIndex: " + ifIndex); continue; } if (snmpStorage.equals(SNMP_STORAGE_SELECT)) { if (ifInfo.getCollType() == null || ifInfo.getCollType().equals("N")) { if (log().isDebugEnabled()) log().debug("updateRRDs: selectively storing SNMP data for primary interface (" + primaryIfIndex + "), skipping ifIndex: " + ifIndex + " because collType = "+ifInfo.getCollType()); continue; } } if (ifInfo.getDsList() == null) throw new RuntimeException("Data Source list not available for primary IP addr " + ipaddr.getHostAddress() + " and ifIndex " + ifInfo.getIndex()); // Iterate over the interface datasource list and issue RRD // update // commands to update each datasource which has a corresponding // value in the collected SNMP data // Iterator i = ifInfo.getDsList().iterator(); while (i.hasNext()) { DataSource ds = (DataSource) i.next(); // Build path to interface RRD repository. createRRD() will // make the // appropriate directories if they do not already exist. // String ifRepository = m_rrdPath + File.separator + String.valueOf(nodeInfo.getNodeId()) + File.separator + ifInfo.getLabel(); try { String dsVal = getRRDValue(ds, ifEntry); // Build RRD update command // if (dsVal == null) { // Do nothing, no update is necessary if (log().isDebugEnabled()) log().debug("updateRRDs: Skipping update, no data retrieved for node/ifindex: " + nodeInfo.getNodeId() + "/" + ifIndex + " datasource: " + ds.getName()); } else { // Call createRRD() to create RRD if it doesn't // already exist // //createRRD(collectionName, ipaddr, ifRepository, ds); if(ds.performUpdate(collectionName, ipaddr.getHostAddress(), ifRepository, ds.getName(), dsVal)) { log().warn("updateRRDs: ds.performUpdate() failed for node/ifindex: " + nodeInfo.getNodeId() + "/" + ifIndex + " datasource: " + ds.getName()); rrdError = true; } } } catch (IllegalArgumentException e) { log().warn("buildRRDUpdateCmd: " + e.getMessage()); // Set rrdError flag rrdError = true; log().warn("updateRRDs: call to buildRRDUpdateCmd() failed for node/ifindex: " + nodeInfo.getNodeId() + "/" + ifIndex + " datasource: " + ds.getName()); } } // end while(more datasources) } // end while(more SNMP collector entries) } // end if(ifCollector != null) return rrdError; }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/224237ac87b88a783f6d9a507528b47bf0f2b5ef/SnmpCollector.java/buggy/src/services/org/opennms/netmgt/collectd/SnmpCollector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 12, 2233, 858, 2047, 2936, 18, 14963, 2932, 3767, 6, 3719, 288, 309, 12443, 4930, 3053, 480, 446, 13, 597, 401, 4930, 3053, 18, 14963, 2932, 6, 3719, 288, 309, 3305, 273, 312, 67, 523, 72, 743, 397, 1387, 18, 11287, 397, 2461, 397, 1387, 18, 11287, 397, 2308, 3053, 31, 309, 12, 2377, 18, 16092, 1891, 12, 5548, 461, 16, 2359, 4793, 18, 588, 2594, 1887, 9334, 309, 3305, 16, 3780, 18, 17994, 9334, 3780, 3053, 3719, 288, 613, 7675, 8935, 2932, 2725, 17950, 22831, 30, 3780, 18, 16092, 1891, 1435, 2535, 364, 756, 19, 430, 1615, 19, 4308, 19, 4930, 30, 315, 397, 11507, 397, 4016, 397, 309, 1016, 397, 4016, 397, 2461, 397, 4016, 397, 2308, 3053, 397, 315, 9181, 30, 315, 397, 3780, 18, 17994, 10663, 8354, 72, 668, 273, 638, 31, 289, 289, 289, 225, 309, 12, 2233, 858, 2047, 2936, 18, 14963, 2932, 3767, 6, 3719, 288, 309, 12443, 4930, 3053, 480, 446, 13, 597, 401, 4930, 3053, 18, 14963, 2932, 6, 3719, 288, 309, 3305, 273, 312, 67, 523, 72, 743, 397, 1387, 18, 11287, 397, 2461, 397, 1387, 18, 11287, 397, 2308, 3053, 31, 309, 12, 2377, 18, 16092, 1891, 12, 5548, 461, 16, 2359, 4793, 18, 588, 2594, 1887, 9334, 309, 3305, 16, 3780, 18, 17994, 9334, 3780, 3053, 3719, 288, 613, 7675, 8935, 2932, 2725, 17950, 22831, 30, 3780, 18, 16092, 1891, 1435, 2535, 364, 756, 19, 430, 1615, 19, 4308, 19, 4930, 30, 315, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 12, 2233, 858, 2047, 2936, 18, 14963, 2932, 3767, 6, 3719, 288, 309, 12443, 4930, 3053, 480, 446, 13, 597, 401, 4930, 3053, 18, 14963, 2932, 6, 3719, 288, 309, 3305, 273, 312, 67, 523, 72, 743, 397, 1387, 18, 11287, 397, 2461, 397, 1387, 18, 11287, 397, 2308, 3053, 31, 309, 12, 2377, 18, 16092, 1891, 12, 5548, 461, 16, 2359, 4793, 18, 588, 2594, 1887, 9334, 309, 3305, 16, 3780, 18, 17994, 9334, 3780, 3053, 3719, 288, 613, 7675, 8935, 2932, 2725, 17950, 22831, 30, 3780, 18, 16092, 1891, 1435, 2535, 364, 756, 19, 430, 1615, 19, 4308, 19, 4930, 30, 315, 397, 11507, 397, 4016, 397, 309, 1016, 397, 4016, 397, 2461, 397, 4016, 397, 2 ]
public static int sub_n (int[] dest, int[] X, int[] Y, int size) { int cy = 0; for (int i = 0; i < size; i++) { int y = Y[i]; int x = X[i]; y += cy; /* add previous carry to subtrahend */ // Invert the high-order bit, because: // (unsigned) X > (unsigned) y iff // (int) (x^0x80000000) > (int) (y^0x80000000). cy = (y^0x80000000) < (cy^0x80000000) ? 1 : 0; y = x - y; cy += (y^0x80000000) > (x ^ 0x80000000) ? 1 : 0; dest[i] = y; } return cy; }
37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/7acadb672b61196e62c8342f649887d92b6e82b1/MPN.java/clean/gnu/math/MPN.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 720, 67, 82, 261, 474, 8526, 1570, 16, 509, 8526, 1139, 16, 509, 8526, 1624, 16, 509, 963, 13, 225, 288, 282, 509, 6143, 273, 374, 31, 282, 364, 261, 474, 277, 273, 374, 31, 225, 277, 411, 963, 31, 225, 277, 27245, 565, 288, 202, 474, 677, 273, 1624, 63, 77, 15533, 202, 474, 619, 273, 1139, 63, 77, 15533, 202, 93, 1011, 6143, 31, 202, 20308, 527, 2416, 9331, 358, 720, 2033, 25710, 1195, 202, 759, 657, 1097, 326, 3551, 17, 1019, 2831, 16, 2724, 30, 202, 759, 261, 22297, 13, 1139, 405, 261, 22297, 13, 677, 21437, 202, 759, 261, 474, 13, 261, 92, 66, 20, 92, 28, 17877, 13, 405, 261, 474, 13, 261, 93, 66, 20, 92, 28, 17877, 2934, 202, 2431, 273, 261, 93, 66, 20, 92, 28, 17877, 13, 411, 261, 2431, 66, 20, 92, 28, 17877, 13, 692, 404, 294, 374, 31, 202, 93, 273, 619, 300, 677, 31, 202, 2431, 1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0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 720, 67, 82, 261, 474, 8526, 1570, 16, 509, 8526, 1139, 16, 509, 8526, 1624, 16, 509, 963, 13, 225, 288, 282, 509, 6143, 273, 374, 31, 282, 364, 261, 474, 277, 273, 374, 31, 225, 277, 411, 963, 31, 225, 277, 27245, 565, 288, 202, 474, 677, 273, 1624, 63, 77, 15533, 202, 474, 619, 273, 1139, 63, 77, 15533, 202, 93, 1011, 6143, 31, 202, 20308, 527, 2416, 9331, 358, 720, 2033, 25710, 1195, 202, 759, 657, 1097, 326, 3551, 17, 1019, 2831, 16, 2724, 30, 202, 759, 261, 22297, 13, 1139, 405, 261, 22297, 13, 677, 21437, 202, 759, 261, 474, 13, 261, 92, 66, 20, 92, 28, 17877, 13, 405, 261, 2 ]
public void widgetDefaultSelected(SelectionEvent e) {}
public void widgetDefaultSelected(SelectionEvent e) { }
public void widgetDefaultSelected(SelectionEvent e) {}
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f1213ea5e2cf811886d1cddc204b0d844e76584d/BugzillaQueryDialog.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaQueryDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 3604, 1868, 7416, 12, 6233, 1133, 425, 13, 2618, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4697, 202, 482, 918, 3604, 1868, 7416, 12, 6233, 1133, 425, 13, 2618, 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 ]
setAttribute("class", newValue); }
setAttribute("class", newValue); }
public void setClassName(String newValue) { setAttribute("class", newValue); }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/a0ba982304fe9f3700209293da4d2533e292e5d2/WMLDoElementImpl.java/buggy/src/org/apache/wml/dom/WMLDoElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 3834, 12, 780, 6129, 13, 288, 565, 4730, 2932, 1106, 3113, 6129, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 3834, 12, 780, 6129, 13, 288, 565, 4730, 2932, 1106, 3113, 6129, 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, -100, -100 ]
btnShowOutside.setEnabled( bEnabled && ( getScale( ).eIsSet( ComponentPackage.eINSTANCE.getScale_Min( ) ) || getScale( ).eIsSet( ComponentPackage.eINSTANCE.getScale_Max( ) ) ) );
protected void setState( boolean bEnabled ) { btnStepSize.setEnabled( bEnabled ); txtStepSize.setEnabled( bEnabled && btnStepSize.getSelection( ) ); btnStepNumber.setEnabled( bEnabled && getValueType( ) == TextEditorComposite.TYPE_NUMBERIC ); spnStepNumber.setEnabled( bEnabled && btnStepNumber.getSelection( ) && getValueType( ) == TextEditorComposite.TYPE_NUMBERIC ); lblMin.setEnabled( bEnabled ); txtScaleMin.setEnabled( bEnabled ); lblMax.setEnabled( bEnabled ); txtScaleMax.setEnabled( bEnabled );// btnShowOutside.setEnabled( bEnabled ); lblUnit.setEnabled( bEnabled && btnStepSize.getSelection( ) && getValueType( ) == TextEditorComposite.TYPE_DATETIME ); cmbScaleUnit.setEnabled( bEnabled && btnStepSize.getSelection( ) && getValueType( ) == TextEditorComposite.TYPE_DATETIME ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ef47316cc8da932313b60f0c39d77f4ad11077af/AbstractScaleSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/AbstractScaleSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2930, 12, 262, 262, 747, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2747, 12, 262, 262, 262, 11272, 918, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2930, 12, 262, 262, 747, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2747, 12, 262, 262, 262, 11272, 12947, 12, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2930, 12, 262, 262, 747, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2747, 12, 262, 262, 262, 11272, 1250, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2930, 12, 262, 262, 747, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2747, 12, 262, 262, 262, 11272, 324, 1526, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 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, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2930, 12, 262, 262, 747, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2747, 12, 262, 262, 262, 11272, 918, 10638, 5706, 28018, 18, 542, 1526, 12, 324, 1526, 597, 261, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2930, 12, 262, 262, 747, 1322, 1869, 12, 262, 18, 73, 15737, 12, 5435, 2261, 18, 73, 13341, 18, 588, 5587, 67, 2747, 12, 262, 262, 262, 11272, 12947, 12, 10638, 2 ]
ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false);
ResolvedType rt = resolveGenericTypeFor(ty,allowMissing); if (rt.isMissing()) return rt; ReferenceType genericType = (ReferenceType)rt;
private final ResolvedType resolveToReferenceType(UnresolvedType ty) { if (ty.isParameterizedType()) { // ======= parameterized types ================ ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false); currentlyResolvingBaseType = genericType; ReferenceType parameterizedType = TypeFactory.createParameterizedType(genericType, ty.typeParameters, this); currentlyResolvingBaseType = null; return parameterizedType; } else if (ty.isGenericType()) { // ======= generic types ====================== ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false); return genericType; } else if (ty.isGenericWildcard()) { // ======= generic wildcard types ============= return resolveGenericWildcardFor(ty); } else { // ======= simple and raw types =============== String erasedSignature = ty.getErasureSignature(); ReferenceType simpleOrRawType = new ReferenceType(erasedSignature, this); if (ty.needsModifiableDelegate()) simpleOrRawType.setNeedsModifiableDelegate(true); ReferenceTypeDelegate delegate = resolveDelegate(simpleOrRawType); // 117854// if (delegate == null) return ResolvedType.MISSING; if (delegate == null) return new MissingResolvedTypeWithKnownSignature(ty.getSignature(),erasedSignature,this);//ResolvedType.MISSING; if (delegate.isGeneric() && behaveInJava5Way) { // ======== raw type =========== simpleOrRawType.typeKind = TypeKind.RAW; ReferenceType genericType = makeGenericTypeFrom(delegate,simpleOrRawType); // name = ReferenceType.fromTypeX(UnresolvedType.forRawTypeNames(ty.getName()),this); simpleOrRawType.setDelegate(delegate); genericType.setDelegate(delegate); simpleOrRawType.setGenericType(genericType); return simpleOrRawType; } else { // ======== simple type ========= simpleOrRawType.setDelegate(delegate); return simpleOrRawType; } } }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/2883a55829716132efcf288acec08bf3ab6826a7/World.java/clean/weaver/src/org/aspectj/weaver/World.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 22776, 559, 2245, 774, 2404, 559, 12, 984, 11792, 559, 13806, 13, 288, 202, 202, 430, 261, 4098, 18, 291, 1662, 13091, 10756, 288, 1082, 202, 759, 422, 894, 33, 17629, 1953, 422, 26678, 1082, 202, 2404, 559, 28753, 273, 261, 2404, 559, 13, 10828, 30982, 1290, 12, 4098, 16, 5743, 1769, 1082, 202, 2972, 715, 2903, 6282, 2171, 559, 273, 28753, 31, 1082, 202, 2404, 559, 1569, 13091, 273, 4697, 202, 559, 1733, 18, 2640, 1662, 13091, 12, 13540, 559, 16, 13806, 18, 20490, 16, 333, 1769, 1082, 202, 2972, 715, 2903, 6282, 2171, 559, 273, 446, 31, 1082, 202, 2463, 1569, 13091, 31, 6862, 202, 97, 469, 309, 261, 4098, 18, 291, 30982, 10756, 288, 1082, 202, 759, 422, 894, 33, 5210, 1953, 28562, 894, 1082, 202, 2404, 559, 28753, 273, 261, 2404, 559, 13, 10828, 30982, 1290, 12, 4098, 16, 5743, 1769, 1082, 202, 2463, 28753, 31, 6862, 202, 97, 469, 309, 261, 4098, 18, 291, 7014, 12121, 10756, 288, 1082, 202, 759, 422, 894, 33, 5210, 8531, 1953, 422, 1432, 12275, 1082, 202, 2463, 2245, 7014, 12121, 1290, 12, 4098, 1769, 377, 202, 97, 469, 288, 1082, 202, 759, 422, 894, 33, 4143, 471, 1831, 1953, 422, 14468, 33, 1082, 202, 780, 6445, 8905, 5374, 273, 13806, 18, 588, 29228, 3619, 5374, 5621, 377, 202, 202, 2404, 559, 4143, 1162, 4809, 559, 273, 394, 6268, 559, 12, 264, 8905, 5374, 16, 333, 1769, 377, 202, 202, 430, 261, 4098, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 22776, 559, 2245, 774, 2404, 559, 12, 984, 11792, 559, 13806, 13, 288, 202, 202, 430, 261, 4098, 18, 291, 1662, 13091, 10756, 288, 1082, 202, 759, 422, 894, 33, 17629, 1953, 422, 26678, 1082, 202, 2404, 559, 28753, 273, 261, 2404, 559, 13, 10828, 30982, 1290, 12, 4098, 16, 5743, 1769, 1082, 202, 2972, 715, 2903, 6282, 2171, 559, 273, 28753, 31, 1082, 202, 2404, 559, 1569, 13091, 273, 4697, 202, 559, 1733, 18, 2640, 1662, 13091, 12, 13540, 559, 16, 13806, 18, 20490, 16, 333, 1769, 1082, 202, 2972, 715, 2903, 6282, 2171, 559, 273, 446, 31, 1082, 202, 2463, 1569, 13091, 31, 6862, 202, 97, 469, 309, 261, 4098, 18, 291, 30982, 10756, 2 ]
RubyClass superClass = getSuperClassFromNode(context, iVisited.getSuperNode(), self);
Node superNode = iVisited.getSuperNode(); RubyClass superClass = superNode == null ? null : (RubyClass) evalInternal(context, superNode, self);
private static IRubyObject evalInternal(ThreadContext context, Node node, IRubyObject self) { IRuby runtime = context.getRuntime(); bigloop: do { if (node == null) return runtime.getNil(); switch (node.nodeId) { case NodeTypes.ALIASNODE: { AliasNode iVisited = (AliasNode) node; if (context.getRubyClass() == null) { throw runtime.newTypeError("no class to make alias"); } context.getRubyClass().defineAlias(iVisited.getNewName(), iVisited.getOldName()); context.getRubyClass().callMethod(context, "method_added", runtime.newSymbol(iVisited.getNewName())); return runtime.getNil(); } case NodeTypes.ANDNODE: { BinaryOperatorNode iVisited = (BinaryOperatorNode) node; IRubyObject result = evalInternal(context, iVisited.getFirstNode(), self); if (!result.isTrue()) return result; node = iVisited.getSecondNode(); continue bigloop; } case NodeTypes.ARGSCATNODE: { ArgsCatNode iVisited = (ArgsCatNode) node; IRubyObject args = evalInternal(context, iVisited.getFirstNode(), self); IRubyObject secondArgs = splatValue(evalInternal(context, iVisited.getSecondNode(), self)); RubyArray list = args instanceof RubyArray ? (RubyArray) args : runtime.newArray(args); return list.concat(secondArgs); } // case NodeTypes.ARGSNODE: // EvaluateVisitor.argsNodeVisitor.execute(this, node); // break; // case NodeTypes.ARGUMENTNODE: // EvaluateVisitor.argumentNodeVisitor.execute(this, node); // break; case NodeTypes.ARRAYNODE: { ArrayNode iVisited = (ArrayNode) node; IRubyObject[] array = new IRubyObject[iVisited.size()]; int i = 0; for (Iterator iterator = iVisited.iterator(); iterator.hasNext();) { Node next = (Node) iterator.next(); array[i++] = evalInternal(context, next, self); } return runtime.newArray(array); } // case NodeTypes.ASSIGNABLENODE: // EvaluateVisitor.assignableNodeVisitor.execute(this, node); // break; case NodeTypes.BACKREFNODE: { BackRefNode iVisited = (BackRefNode) node; IRubyObject backref = context.getBackref(); switch (iVisited.getType()) { case '~': return backref; case '&': return RubyRegexp.last_match(backref); case '`': return RubyRegexp.match_pre(backref); case '\'': return RubyRegexp.match_post(backref); case '+': return RubyRegexp.match_last(backref); } break; } case NodeTypes.BEGINNODE: { BeginNode iVisited = (BeginNode) node; node = iVisited.getBodyNode(); continue bigloop; } case NodeTypes.BIGNUMNODE: { BignumNode iVisited = (BignumNode) node; return RubyBignum.newBignum(runtime, iVisited.getValue()); } // case NodeTypes.BINARYOPERATORNODE: // EvaluateVisitor.binaryOperatorNodeVisitor.execute(this, node); // break; // case NodeTypes.BLOCKARGNODE: // EvaluateVisitor.blockArgNodeVisitor.execute(this, node); // break; case NodeTypes.BLOCKNODE: { BlockNode iVisited = (BlockNode) node; IRubyObject result = runtime.getNil(); for (Iterator iter = iVisited.iterator(); iter.hasNext();) { result = evalInternal(context, (Node) iter.next(), self); } return result; } case NodeTypes.BLOCKPASSNODE: { BlockPassNode iVisited = (BlockPassNode) node; IRubyObject proc = evalInternal(context, iVisited.getBodyNode(), self); if (proc.isNil()) { context.setNoBlock(); try { return evalInternal(context, iVisited.getIterNode(), self); } finally { context.clearNoBlock(); } } // If not already a proc then we should try and make it one. if (!(proc instanceof RubyProc)) { proc = proc.convertToType("Proc", "to_proc", false); if (!(proc instanceof RubyProc)) { throw runtime.newTypeError("wrong argument type " + proc.getMetaClass().getName() + " (expected Proc)"); } } // TODO: Add safety check for taintedness Block block = (Block) context.getCurrentBlock(); if (block != null) { IRubyObject blockObject = block.getBlockObject(); // The current block is already associated with the proc. No need to create new // block for it. Just eval! if (blockObject != null && blockObject == proc) { try { context.setBlockAvailable(); return evalInternal(context, iVisited.getIterNode(), self); } finally { context.clearBlockAvailable(); } } } context.preBlockPassEval(((RubyProc) proc).getBlock()); try { return evalInternal(context, iVisited.getIterNode(), self); } finally { context.postBlockPassEval(); } } case NodeTypes.BREAKNODE: { BreakNode iVisited = (BreakNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); JumpException je = new JumpException(JumpException.JumpType.BreakJump); je.setPrimaryData(result); je.setSecondaryData(node); throw je; } case NodeTypes.CALLNODE: { CallNode iVisited = (CallNode) node; context.beginCallArgs(); IRubyObject receiver = null; IRubyObject[] args = null; try { receiver = evalInternal(context, iVisited.getReceiverNode(), self); args = setupArgs(context, iVisited.getArgsNode(), self); } finally { context.endCallArgs(); } assert receiver.getMetaClass() != null : receiver.getClass().getName(); // If reciever is self then we do the call the same way as vcall CallType callType = (receiver == self ? CallType.VARIABLE : CallType.NORMAL); return receiver.callMethod(context, iVisited.getName(), args, callType); } case NodeTypes.CASENODE: { CaseNode iVisited = (CaseNode) node; IRubyObject expression = null; if (iVisited.getCaseNode() != null) { expression = evalInternal(context, iVisited.getCaseNode(), self); } context.pollThreadEvents(); IRubyObject result = runtime.getNil(); Node firstWhenNode = iVisited.getFirstWhenNode(); while (firstWhenNode != null) { if (!(firstWhenNode instanceof WhenNode)) { node = firstWhenNode; continue bigloop; } WhenNode whenNode = (WhenNode) firstWhenNode; if (whenNode.getExpressionNodes() instanceof ArrayNode) { for (Iterator iter = ((ArrayNode) whenNode.getExpressionNodes()).iterator(); iter .hasNext();) { Node tag = (Node) iter.next(); context.setPosition(tag.getPosition()); if (isTrace(runtime)) { callTraceFunction(context, "line", self); } // Ruby grammar has nested whens in a case body because of // productions case_body and when_args. if (tag instanceof WhenNode) { RubyArray expressions = (RubyArray) evalInternal(context, ((WhenNode) tag) .getExpressionNodes(), self); for (int j = 0; j < expressions.getLength(); j++) { IRubyObject condition = expressions.entry(j); if ((expression != null && condition.callMethod(context, "===", expression) .isTrue()) || (expression == null && condition.isTrue())) { node = ((WhenNode) firstWhenNode).getBodyNode(); continue bigloop; } } continue; } result = evalInternal(context, tag, self); if ((expression != null && result.callMethod(context, "===", expression).isTrue()) || (expression == null && result.isTrue())) { node = whenNode.getBodyNode(); continue bigloop; } } } else { result = evalInternal(context, whenNode.getExpressionNodes(), self); if ((expression != null && result.callMethod(context, "===", expression).isTrue()) || (expression == null && result.isTrue())) { node = ((WhenNode) firstWhenNode).getBodyNode(); continue bigloop; } } context.pollThreadEvents(); firstWhenNode = whenNode.getNextCase(); } return runtime.getNil(); } case NodeTypes.CLASSNODE: { ClassNode iVisited = (ClassNode) node; RubyClass superClass = getSuperClassFromNode(context, iVisited.getSuperNode(), self); Node classNameNode = iVisited.getCPath(); String name = ((INameNode) classNameNode).getName(); RubyModule enclosingClass = getEnclosingModule(context, classNameNode, self); RubyClass rubyClass = enclosingClass.defineOrGetClassUnder(name, superClass); if (context.getWrapper() != null) { rubyClass.extendObject(context.getWrapper()); rubyClass.includeModule(context.getWrapper()); } return evalClassDefinitionBody(context, iVisited.getScope(), iVisited.getBodyNode(), rubyClass, self); } case NodeTypes.CLASSVARASGNNODE: { ClassVarAsgnNode iVisited = (ClassVarAsgnNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); RubyModule rubyClass = (RubyModule) context.peekCRef().getValue(); if (rubyClass == null) { rubyClass = self.getMetaClass(); } else if (rubyClass.isSingleton()) { rubyClass = (RubyModule) rubyClass.getInstanceVariable("__attached__"); } rubyClass.setClassVar(iVisited.getName(), result); return result; } case NodeTypes.CLASSVARDECLNODE: { ClassVarDeclNode iVisited = (ClassVarDeclNode) node; // FIXME: shouldn't we use cref here? if (context.getRubyClass() == null) { throw runtime.newTypeError("no class/module to define class variable"); } IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); ((RubyModule) context.peekCRef().getValue()).setClassVar(iVisited.getName(), result); return runtime.getNil(); } case NodeTypes.CLASSVARNODE: { ClassVarNode iVisited = (ClassVarNode) node; RubyModule rubyClass = (RubyModule) context.peekCRef().getValue(); if (rubyClass == null) { rubyClass = self.getMetaClass(); } else if (rubyClass.isSingleton()) { rubyClass = (RubyModule)rubyClass.getInstanceVariable("__attached__"); } return rubyClass.getClassVar(iVisited.getName()); } case NodeTypes.COLON2NODE: { Colon2Node iVisited = (Colon2Node) node; Node leftNode = iVisited.getLeftNode(); // TODO: Made this more colon3 friendly because of cpath production // rule in grammar (it is convenient to think of them as the same thing // at a grammar level even though evaluation is). if (leftNode == null) { return runtime.getObject().getConstantFrom(iVisited.getName()); } else { IRubyObject result = evalInternal(context, iVisited.getLeftNode(), self); if (result instanceof RubyModule) { return ((RubyModule) result).getConstantFrom(iVisited.getName()); } else { return result.callMethod(context, iVisited.getName()); } } } case NodeTypes.COLON3NODE: { Colon3Node iVisited = (Colon3Node) node; return runtime.getObject().getConstantFrom(iVisited.getName()); } case NodeTypes.CONSTDECLNODE: { ConstDeclNode iVisited = (ConstDeclNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); IRubyObject module; if (iVisited.getPathNode() != null) { module = evalInternal(context, iVisited.getPathNode(), self); } else { // FIXME: why do we check RubyClass and then use CRef? if (context.getRubyClass() == null) { // TODO: wire into new exception handling mechanism throw runtime.newTypeError("no class/module to define constant"); } module = (RubyModule) context.peekCRef().getValue(); } // FIXME: shouldn't we use the result of this set in setResult? ((RubyModule) module).setConstant(iVisited.getName(), result); return result; } case NodeTypes.CONSTNODE: { ConstNode iVisited = (ConstNode) node; return context.getConstant(iVisited.getName()); } case NodeTypes.DASGNNODE: { DAsgnNode iVisited = (DAsgnNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); // System.out.println("DSetting: " + iVisited.getName() + " at index " + iVisited.getIndex() + " and at depth " + iVisited.getDepth() + " and set " + result); context.getCurrentScope().setValue(iVisited.getIndex(), result, iVisited.getDepth()); return result; } case NodeTypes.DEFINEDNODE: { DefinedNode iVisited = (DefinedNode) node; String def = new DefinedVisitor(runtime).getDefinition(iVisited.getExpressionNode()); if (def != null) { return runtime.newString(def); } else { return runtime.getNil(); } } case NodeTypes.DEFNNODE: { DefnNode iVisited = (DefnNode) node; RubyModule containingClass = context.getRubyClass(); if (containingClass == null) { throw runtime.newTypeError("No class to add method."); } String name = iVisited.getName(); if (containingClass == runtime.getObject() && name.equals("initialize")) { runtime.getWarnings().warn("redefining Object#initialize may cause infinite loop"); } Visibility visibility = context.getCurrentVisibility(); if (name.equals("initialize") || visibility.isModuleFunction()) { visibility = Visibility.PRIVATE; } DefaultMethod newMethod = new DefaultMethod(containingClass, iVisited.getScope(), iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), visibility, context.peekCRef()); if (iVisited.getBodyNode() != null) { iVisited.getBodyNode().accept(new CreateJumpTargetVisitor(newMethod)); } containingClass.addMethod(name, newMethod); if (context.getCurrentVisibility().isModuleFunction()) { containingClass.getSingletonClass().addMethod( name, new WrapperCallable(containingClass.getSingletonClass(), newMethod, Visibility.PUBLIC)); containingClass.callMethod(context, "singleton_method_added", runtime.newSymbol(name)); } // 'class << state.self' and 'class << obj' uses defn as opposed to defs if (containingClass.isSingleton()) { ((MetaClass) containingClass).getAttachedObject().callMethod( context, "singleton_method_added", runtime.newSymbol(iVisited.getName())); } else { containingClass.callMethod(context, "method_added", runtime.newSymbol(name)); } return runtime.getNil(); } case NodeTypes.DEFSNODE: { DefsNode iVisited = (DefsNode) node; IRubyObject receiver = evalInternal(context, iVisited.getReceiverNode(), self); if (runtime.getSafeLevel() >= 4 && !receiver.isTaint()) { throw runtime.newSecurityError("Insecure; can't define singleton method."); } if (receiver.isFrozen()) { throw runtime.newFrozenError("object"); } if (!receiver.singletonMethodsAllowed()) { throw runtime.newTypeError("can't define singleton method \"" + iVisited.getName() + "\" for " + receiver.getType()); } RubyClass rubyClass = receiver.getSingletonClass(); if (runtime.getSafeLevel() >= 4) { ICallable method = (ICallable) rubyClass.getMethods().get(iVisited.getName()); if (method != null) { throw runtime.newSecurityError("Redefining method prohibited."); } } DefaultMethod newMethod = new DefaultMethod(rubyClass, iVisited.getScope(), iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), Visibility.PUBLIC, context.peekCRef()); if (iVisited.getBodyNode() != null) { iVisited.getBodyNode().accept(new CreateJumpTargetVisitor(newMethod)); } rubyClass.addMethod(iVisited.getName(), newMethod); receiver.callMethod(context, "singleton_method_added", runtime.newSymbol(iVisited.getName())); return runtime.getNil(); } case NodeTypes.DOTNODE: { DotNode iVisited = (DotNode) node; return RubyRange.newRange(runtime, evalInternal(context, iVisited.getBeginNode(), self), evalInternal(context, iVisited .getEndNode(), self), iVisited.isExclusive()); } case NodeTypes.DREGEXPNODE: { DRegexpNode iVisited = (DRegexpNode) node; StringBuffer sb = new StringBuffer(); for (Iterator iterator = iVisited.iterator(); iterator.hasNext();) { Node iterNode = (Node) iterator.next(); sb.append(evalInternal(context, iterNode, self).toString()); } return RubyRegexp.newRegexp(runtime, sb.toString(), iVisited.getOptions(), null); } case NodeTypes.DSTRNODE: { DStrNode iVisited = (DStrNode) node; StringBuffer sb = new StringBuffer(); for (Iterator iterator = iVisited.iterator(); iterator.hasNext();) { Node iterNode = (Node) iterator.next(); sb.append(evalInternal(context, iterNode, self).toString()); } return runtime.newString(sb.toString()); } case NodeTypes.DSYMBOLNODE: { DSymbolNode iVisited = (DSymbolNode) node; StringBuffer sb = new StringBuffer(); for (Iterator iterator = iVisited.getNode().iterator(); iterator.hasNext();) { Node iterNode = (Node) iterator.next(); sb.append(evalInternal(context, iterNode, self).toString()); } return runtime.newSymbol(sb.toString()); } case NodeTypes.DVARNODE: { DVarNode iVisited = (DVarNode) node; // System.out.println("DGetting: " + iVisited.getName() + " at index " + iVisited.getIndex() + " and at depth " + iVisited.getDepth()); IRubyObject obj = context.getCurrentScope().getValue(iVisited.getIndex(), iVisited.getDepth()); // FIXME: null check is removable once we figure out how to assign to unset named block args return obj == null ? runtime.getNil() : obj; } case NodeTypes.DXSTRNODE: { DXStrNode iVisited = (DXStrNode) node; StringBuffer sb = new StringBuffer(); for (Iterator iterator = iVisited.iterator(); iterator.hasNext();) { Node iterNode = (Node) iterator.next(); sb.append(evalInternal(context, iterNode, self).toString()); } return self.callMethod(context, "`", runtime.newString(sb.toString())); } case NodeTypes.ENSURENODE: { EnsureNode iVisited = (EnsureNode) node; // save entering the try if there's nothing to ensure if (iVisited.getEnsureNode() != null) { IRubyObject result = runtime.getNil(); try { result = evalInternal(context, iVisited.getBodyNode(), self); } finally { evalInternal(context, iVisited.getEnsureNode(), self); } return result; } node = iVisited.getBodyNode(); continue bigloop; } case NodeTypes.EVSTRNODE: { EvStrNode iVisited = (EvStrNode) node; node = iVisited.getBody(); continue bigloop; } case NodeTypes.FALSENODE: { context.pollThreadEvents(); return runtime.getFalse(); } case NodeTypes.FCALLNODE: { FCallNode iVisited = (FCallNode) node; context.beginCallArgs(); IRubyObject[] args; try { args = setupArgs(context, iVisited.getArgsNode(), self); } finally { context.endCallArgs(); } return self.callMethod(context, iVisited.getName(), args, CallType.FUNCTIONAL); } case NodeTypes.FIXNUMNODE: { FixnumNode iVisited = (FixnumNode) node; return runtime.newFixnum(iVisited.getValue()); } case NodeTypes.FLIPNODE: { FlipNode iVisited = (FlipNode) node; IRubyObject result = runtime.getNil(); if (iVisited.isExclusive()) { if (!context.getCurrentScope().getValue(iVisited.getIndex(), iVisited.getDepth()).isTrue()) { result = evalInternal(context, iVisited.getBeginNode(), self).isTrue() ? runtime.getFalse() : runtime.getTrue(); context.getCurrentScope().setValue(iVisited.getIndex(), result, iVisited.getDepth()); return result; } else { if (evalInternal(context, iVisited.getEndNode(), self).isTrue()) { context.getCurrentScope().setValue(iVisited.getIndex(), runtime.getFalse(), iVisited.getDepth()); } return runtime.getTrue(); } } else { if (!context.getCurrentScope().getValue(iVisited.getIndex(), iVisited.getDepth()).isTrue()) { if (evalInternal(context, iVisited.getBeginNode(), self).isTrue()) { context.getCurrentScope().setValue( iVisited.getIndex(), evalInternal(context, iVisited.getEndNode(), self).isTrue() ? runtime.getFalse() : runtime.getTrue(), iVisited.getDepth()); return runtime.getTrue(); } else { return runtime.getFalse(); } } else { if (evalInternal(context, iVisited.getEndNode(), self).isTrue()) { context.getCurrentScope().setValue(iVisited.getIndex(), runtime.getFalse(), iVisited.getDepth()); } return runtime.getTrue(); } } } case NodeTypes.FLOATNODE: { FloatNode iVisited = (FloatNode) node; return RubyFloat.newFloat(runtime, iVisited.getValue()); } case NodeTypes.FORNODE: { ForNode iVisited = (ForNode) node; // For nodes do not have to create an addition scope so we just pass null context.preForLoopEval(Block.createBlock(iVisited.getVarNode(), null, iVisited.getCallable(), self)); try { while (true) { try { ISourcePosition position = context.getPosition(); context.beginCallArgs(); IRubyObject recv = null; try { recv = evalInternal(context, iVisited.getIterNode(), self); } finally { context.setPosition(position); context.endCallArgs(); } return recv.callMethod(context, "each", IRubyObject.NULL_ARRAY, CallType.NORMAL); } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.RETRY: // do nothing, allow loop to retry break; default: throw je; } } } } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.BREAK: IRubyObject breakValue = (IRubyObject) je.getPrimaryData(); return breakValue == null ? runtime.getNil() : breakValue; default: throw je; } } finally { context.postForLoopEval(); } } case NodeTypes.GLOBALASGNNODE: { GlobalAsgnNode iVisited = (GlobalAsgnNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); runtime.getGlobalVariables().set(iVisited.getName(), result); return result; } case NodeTypes.GLOBALVARNODE: { GlobalVarNode iVisited = (GlobalVarNode) node; return runtime.getGlobalVariables().get(iVisited.getName()); } case NodeTypes.HASHNODE: { HashNode iVisited = (HashNode) node; Map hash = null; if (iVisited.getListNode() != null) { hash = new HashMap(iVisited.getListNode().size() / 2); for (Iterator iterator = iVisited.getListNode().iterator(); iterator.hasNext();) { // insert all nodes in sequence, hash them in the final instruction // KEY IRubyObject key = evalInternal(context, (Node) iterator.next(), self); IRubyObject value = evalInternal(context, (Node) iterator.next(), self); hash.put(key, value); } } if (hash == null) { return RubyHash.newHash(runtime); } return RubyHash.newHash(runtime, hash, runtime.getNil()); } case NodeTypes.IFNODE: { IfNode iVisited = (IfNode) node; IRubyObject result = evalInternal(context, iVisited.getCondition(), self); if (result.isTrue()) { node = iVisited.getThenBody(); continue bigloop; } else { node = iVisited.getElseBody(); continue bigloop; } } case NodeTypes.INSTASGNNODE: { InstAsgnNode iVisited = (InstAsgnNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); self.setInstanceVariable(iVisited.getName(), result); return result; } case NodeTypes.INSTVARNODE: { InstVarNode iVisited = (InstVarNode) node; IRubyObject variable = self.getInstanceVariable(iVisited.getName()); return variable == null ? runtime.getNil() : variable; } // case NodeTypes.ISCOPINGNODE: // EvaluateVisitor.iScopingNodeVisitor.execute(this, node); // break; case NodeTypes.ITERNODE: { IterNode iVisited = (IterNode) node; context.preIterEval(Block.createBlock(iVisited.getVarNode(), new DynamicScope(iVisited.getScope(), context.getCurrentScope()), iVisited.getCallable(), self)); try { while (true) { try { context.setBlockAvailable(); return evalInternal(context, iVisited.getIterNode(), self); } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.RETRY: // allow loop to retry break; default: throw je; } } finally { context.clearBlockAvailable(); } } } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.BREAK: IRubyObject breakValue = (IRubyObject) je.getPrimaryData(); return breakValue == null ? runtime.getNil() : breakValue; default: throw je; } } finally { context.postIterEval(); } } case NodeTypes.LOCALASGNNODE: { LocalAsgnNode iVisited = (LocalAsgnNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); // System.out.println("LSetting: " + iVisited.getName() + " at index " + iVisited.getIndex() + " and at depth " + iVisited.getDepth() + " and set " + result); context.getCurrentScope().setValue(iVisited.getIndex(), result, iVisited.getDepth()); return result; } case NodeTypes.LOCALVARNODE: { LocalVarNode iVisited = (LocalVarNode) node; //System.out.println("DGetting: " + iVisited.getName() + " at index " + iVisited.getIndex() + " and at depth " + iVisited.getDepth()); IRubyObject result = context.getCurrentScope().getValue(iVisited.getIndex(), iVisited.getDepth()); return result == null ? runtime.getNil() : result; } case NodeTypes.MATCH2NODE: { Match2Node iVisited = (Match2Node) node; IRubyObject recv = evalInternal(context, iVisited.getReceiverNode(), self); IRubyObject value = evalInternal(context, iVisited.getValueNode(), self); return ((RubyRegexp) recv).match(value); } case NodeTypes.MATCH3NODE: { Match3Node iVisited = (Match3Node) node; IRubyObject recv = evalInternal(context, iVisited.getReceiverNode(), self); IRubyObject value = evalInternal(context, iVisited.getValueNode(), self); if (value instanceof RubyString) { return ((RubyRegexp) recv).match(value); } else { return value.callMethod(context, "=~", recv); } } case NodeTypes.MATCHNODE: { MatchNode iVisited = (MatchNode) node; return ((RubyRegexp) evalInternal(context, iVisited.getRegexpNode(), self)).match2(); } case NodeTypes.MODULENODE: { ModuleNode iVisited = (ModuleNode) node; Node classNameNode = iVisited.getCPath(); String name = ((INameNode) classNameNode).getName(); RubyModule enclosingModule = getEnclosingModule(context, classNameNode, self); if (enclosingModule == null) { throw runtime.newTypeError("no outer class/module"); } RubyModule module; if (enclosingModule == runtime.getObject()) { module = runtime.getOrCreateModule(name); } else { module = enclosingModule.defineModuleUnder(name); } return evalClassDefinitionBody(context, iVisited.getScope(), iVisited.getBodyNode(), module, self); } case NodeTypes.MULTIPLEASGNNODE: { MultipleAsgnNode iVisited = (MultipleAsgnNode) node; return AssignmentVisitor.assign(context, self, iVisited, evalInternal(context, iVisited.getValueNode(), self), false); } case NodeTypes.NEWLINENODE: { NewlineNode iVisited = (NewlineNode) node; // something in here is used to build up ruby stack trace... context.setPosition(iVisited.getPosition()); if (isTrace(runtime)) { callTraceFunction(context, "line", self); } // TODO: do above but not below for additional newline nodes node = iVisited.getNextNode(); continue bigloop; } case NodeTypes.NEXTNODE: { NextNode iVisited = (NextNode) node; context.pollThreadEvents(); IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); // now used as an interpreter event JumpException je = new JumpException(JumpException.JumpType.NextJump); je.setPrimaryData(result); je.setSecondaryData(iVisited); //state.setCurrentException(je); throw je; } case NodeTypes.NILNODE: return runtime.getNil(); case NodeTypes.NOTNODE: { NotNode iVisited = (NotNode) node; IRubyObject result = evalInternal(context, iVisited.getConditionNode(), self); return result.isTrue() ? runtime.getFalse() : runtime.getTrue(); } case NodeTypes.NTHREFNODE: { NthRefNode iVisited = (NthRefNode) node; return RubyRegexp.nth_match(iVisited.getMatchNumber(), context.getBackref()); } case NodeTypes.OPASGNANDNODE: { BinaryOperatorNode iVisited = (BinaryOperatorNode) node; // add in reverse order IRubyObject result = evalInternal(context, iVisited.getFirstNode(), self); if (!result.isTrue()) return result; node = iVisited.getSecondNode(); continue bigloop; } case NodeTypes.OPASGNNODE: { OpAsgnNode iVisited = (OpAsgnNode) node; IRubyObject receiver = evalInternal(context, iVisited.getReceiverNode(), self); IRubyObject value = receiver.callMethod(context, iVisited.getVariableName()); if (iVisited.getOperatorName().equals("||")) { if (value.isTrue()) { return value; } value = evalInternal(context, iVisited.getValueNode(), self); } else if (iVisited.getOperatorName().equals("&&")) { if (!value.isTrue()) { return value; } value = evalInternal(context, iVisited.getValueNode(), self); } else { value = value.callMethod(context, iVisited.getOperatorName(), evalInternal(context, iVisited.getValueNode(), self)); } receiver.callMethod(context, iVisited.getVariableName() + "=", value); context.pollThreadEvents(); return value; } case NodeTypes.OPASGNORNODE: { OpAsgnOrNode iVisited = (OpAsgnOrNode) node; String def = new DefinedVisitor(runtime).getDefinition(iVisited.getFirstNode()); IRubyObject result = runtime.getNil(); if (def != null) { result = evalInternal(context, iVisited.getFirstNode(), self); } if (!result.isTrue()) { result = evalInternal(context, iVisited.getSecondNode(), self); } return result; } case NodeTypes.OPELEMENTASGNNODE: { OpElementAsgnNode iVisited = (OpElementAsgnNode) node; IRubyObject receiver = evalInternal(context, iVisited.getReceiverNode(), self); IRubyObject[] args = setupArgs(context, iVisited.getArgsNode(), self); IRubyObject firstValue = receiver.callMethod(context, "[]", args); if (iVisited.getOperatorName().equals("||")) { if (firstValue.isTrue()) { return firstValue; } firstValue = evalInternal(context, iVisited.getValueNode(), self); } else if (iVisited.getOperatorName().equals("&&")) { if (!firstValue.isTrue()) { return firstValue; } firstValue = evalInternal(context, iVisited.getValueNode(), self); } else { firstValue = firstValue.callMethod(context, iVisited.getOperatorName(), evalInternal(context, iVisited .getValueNode(), self)); } IRubyObject[] expandedArgs = new IRubyObject[args.length + 1]; System.arraycopy(args, 0, expandedArgs, 0, args.length); expandedArgs[expandedArgs.length - 1] = firstValue; return receiver.callMethod(context, "[]=", expandedArgs); } case NodeTypes.OPTNNODE: { OptNNode iVisited = (OptNNode) node; IRubyObject result = runtime.getNil(); while (RubyKernel.gets(runtime.getTopSelf(), IRubyObject.NULL_ARRAY).isTrue()) { loop: while (true) { // Used for the 'redo' command try { result = evalInternal(context, iVisited.getBodyNode(), self); break; } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.REDO: // do nothing, this iteration restarts break; case JumpType.NEXT: // recheck condition break loop; case JumpType.BREAK: // end loop return (IRubyObject) je.getPrimaryData(); default: throw je; } } } } return result; } case NodeTypes.ORNODE: { OrNode iVisited = (OrNode) node; IRubyObject result = evalInternal(context, iVisited.getFirstNode(), self); if (!result.isTrue()) { result = evalInternal(context, iVisited.getSecondNode(), self); } return result; } // case NodeTypes.POSTEXENODE: // EvaluateVisitor.postExeNodeVisitor.execute(this, node); // break; case NodeTypes.REDONODE: { context.pollThreadEvents(); // now used as an interpreter event JumpException je = new JumpException(JumpException.JumpType.RedoJump); je.setSecondaryData(node); throw je; } case NodeTypes.REGEXPNODE: { RegexpNode iVisited = (RegexpNode) node; // FIXME: don't pass null return RubyRegexp.newRegexp(runtime, iVisited.getPattern(), null); } case NodeTypes.RESCUEBODYNODE: { RescueBodyNode iVisited = (RescueBodyNode) node; node = iVisited.getBodyNode(); continue bigloop; } case NodeTypes.RESCUENODE: { RescueNode iVisited = (RescueNode)node; RescuedBlock : while (true) { try { // Execute rescue block IRubyObject result = evalInternal(context, iVisited.getBodyNode(), self); // If no exception is thrown execute else block if (iVisited.getElseNode() != null) { if (iVisited.getRescueNode() == null) { runtime.getWarnings().warn(iVisited.getElseNode().getPosition(), "else without rescue is useless"); } result = evalInternal(context, iVisited.getElseNode(), self); } return result; } catch (RaiseException raiseJump) { RubyException raisedException = raiseJump.getException(); // TODO: Rubicon TestKernel dies without this line. A cursory glance implies we // falsely set $! to nil and this sets it back to something valid. This should // get fixed at the same time we address bug #1296484. runtime.getGlobalVariables().set("$!", raisedException); RescueBodyNode rescueNode = iVisited.getRescueNode(); while (rescueNode != null) { Node exceptionNodes = rescueNode.getExceptionNodes(); ListNode exceptionNodesList; if (exceptionNodes instanceof SplatNode) { exceptionNodesList = (ListNode) evalInternal(context, exceptionNodes, self); } else { exceptionNodesList = (ListNode) exceptionNodes; } if (isRescueHandled(context, raisedException, exceptionNodesList, self)) { try { return evalInternal(context, rescueNode, self); } catch (JumpException je) { if (je.getJumpType() == JumpException.JumpType.RetryJump) { // should be handled in the finally block below //state.runtime.getGlobalVariables().set("$!", state.runtime.getNil()); //state.threadContext.setRaisedException(null); continue RescuedBlock; } else { throw je; } } } rescueNode = rescueNode.getOptRescueNode(); } // no takers; bubble up throw raiseJump; } finally { // clear exception when handled or retried runtime.getGlobalVariables().set("$!", runtime.getNil()); } } } case NodeTypes.RETRYNODE: { context.pollThreadEvents(); JumpException je = new JumpException(JumpException.JumpType.RetryJump); throw je; } case NodeTypes.RETURNNODE: { ReturnNode iVisited = (ReturnNode) node; IRubyObject result = evalInternal(context, iVisited.getValueNode(), self); JumpException je = new JumpException(JumpException.JumpType.ReturnJump); je.setPrimaryData(iVisited.getTarget()); je.setSecondaryData(result); je.setTertiaryData(iVisited); throw je; } case NodeTypes.ROOTNODE: { RootNode iVisited = (RootNode) node; DynamicScope scope = iVisited.getScope(); // Serialization killed our dynamic scope. We can just create an empty one // since serialization cannot serialize an eval (which is the only thing // which is capable of having a non-empty dynamic scope). if (scope == null) { scope = new DynamicScope(iVisited.getStaticScope(), null); } // Each root node has a top-level scope that we need to push context.preRootNode(scope); // FIXME: Wire up BEGIN and END nodes try { return eval(context, iVisited.getBodyNode(), self); } finally { context.postRootNode(); } } case NodeTypes.SCLASSNODE: { SClassNode iVisited = (SClassNode) node; IRubyObject receiver = evalInternal(context, iVisited.getReceiverNode(), self); RubyClass singletonClass; if (receiver.isNil()) { singletonClass = runtime.getNilClass(); } else if (receiver == runtime.getTrue()) { singletonClass = runtime.getClass("True"); } else if (receiver == runtime.getFalse()) { singletonClass = runtime.getClass("False"); } else { if (runtime.getSafeLevel() >= 4 && !receiver.isTaint()) { throw runtime.newSecurityError("Insecure: can't extend object."); } singletonClass = receiver.getSingletonClass(); } if (context.getWrapper() != null) { singletonClass.extendObject(context.getWrapper()); singletonClass.includeModule(context.getWrapper()); } return evalClassDefinitionBody(context, iVisited.getScope(), iVisited.getBodyNode(), singletonClass, self); } case NodeTypes.SELFNODE: return self; case NodeTypes.SPLATNODE: { SplatNode iVisited = (SplatNode) node; return splatValue(evalInternal(context, iVisited.getValue(), self)); } //// case NodeTypes.STARNODE: //// EvaluateVisitor.starNodeVisitor.execute(this, node); //// break; case NodeTypes.STRNODE: { StrNode iVisited = (StrNode) node; return runtime.newString(iVisited.getValue()); } case NodeTypes.SUPERNODE: { SuperNode iVisited = (SuperNode) node; if (context.getFrameLastClass() == null) { throw runtime.newNameError("Superclass method '" + context.getFrameLastFunc() + "' disabled."); } context.beginCallArgs(); IRubyObject[] args = null; try { args = setupArgs(context, iVisited.getArgsNode(), self); } finally { context.endCallArgs(); } return context.callSuper(args); } case NodeTypes.SVALUENODE: { SValueNode iVisited = (SValueNode) node; return aValueSplat(evalInternal(context, iVisited.getValue(), self)); } case NodeTypes.SYMBOLNODE: { SymbolNode iVisited = (SymbolNode) node; return runtime.newSymbol(iVisited.getName()); } case NodeTypes.TOARYNODE: { ToAryNode iVisited = (ToAryNode) node; return aryToAry(evalInternal(context, iVisited.getValue(), self)); } case NodeTypes.TRUENODE: { context.pollThreadEvents(); return runtime.getTrue(); } case NodeTypes.UNDEFNODE: { UndefNode iVisited = (UndefNode) node; if (context.getRubyClass() == null) { throw runtime .newTypeError("No class to undef method '" + iVisited.getName() + "'."); } context.getRubyClass().undef(iVisited.getName()); return runtime.getNil(); } case NodeTypes.UNTILNODE: { UntilNode iVisited = (UntilNode) node; IRubyObject result = runtime.getNil(); while (!(result = evalInternal(context, iVisited.getConditionNode(), self)).isTrue()) { loop: while (true) { // Used for the 'redo' command try { result = evalInternal(context, iVisited.getBodyNode(), self); break loop; } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.REDO: continue; case JumpType.NEXT: break loop; case JumpType.BREAK: return (IRubyObject) je.getPrimaryData(); default: throw je; } } } } return result; } case NodeTypes.VALIASNODE: { VAliasNode iVisited = (VAliasNode) node; runtime.getGlobalVariables().alias(iVisited.getNewName(), iVisited.getOldName()); return runtime.getNil(); } case NodeTypes.VCALLNODE: { VCallNode iVisited = (VCallNode) node; return self.callMethod(context, iVisited.getName(), IRubyObject.NULL_ARRAY, CallType.VARIABLE); } case NodeTypes.WHENNODE: assert false; return null; case NodeTypes.WHILENODE: { WhileNode iVisited = (WhileNode) node; IRubyObject result = runtime.getNil(); boolean firstTest = iVisited.evaluateAtStart(); while (!firstTest || (result = evalInternal(context, iVisited.getConditionNode(), self)).isTrue()) { firstTest = true; loop: while (true) { // Used for the 'redo' command try { evalInternal(context, iVisited.getBodyNode(), self); break loop; } catch (JumpException je) { switch (je.getJumpType().getTypeId()) { case JumpType.REDO: continue; case JumpType.NEXT: break loop; case JumpType.BREAK: return result; default: throw je; } } } } return result; } case NodeTypes.XSTRNODE: { XStrNode iVisited = (XStrNode) node; return self.callMethod(context, "`", runtime.newString(iVisited.getValue())); } case NodeTypes.YIELDNODE: { YieldNode iVisited = (YieldNode) node; IRubyObject result = evalInternal(context, iVisited.getArgsNode(), self); if (iVisited.getArgsNode() == null) { result = null; } return context.yieldCurrentBlock(result, null, null, iVisited.getCheckState()); } case NodeTypes.ZARRAYNODE: { return runtime.newArray(); } case NodeTypes.ZSUPERNODE: { if (context.getFrameLastClass() == null) { throw runtime.newNameError("superclass method '" + context.getFrameLastFunc() + "' disabled"); } return context.callSuper(context.getFrameArgs()); } } } while (true); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/8bc77fd935108392c0bf8a671462f28f423e48c1/EvaluationState.java/buggy/src/org/jruby/evaluator/EvaluationState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 15908, 10340, 921, 5302, 3061, 12, 3830, 1042, 819, 16, 2029, 756, 16, 15908, 10340, 921, 365, 13, 288, 3639, 15908, 10340, 3099, 273, 819, 18, 588, 5576, 5621, 7734, 5446, 6498, 30, 741, 288, 3639, 309, 261, 2159, 422, 446, 13, 327, 3099, 18, 588, 12616, 5621, 5411, 1620, 261, 2159, 18, 2159, 548, 13, 288, 5411, 648, 2029, 2016, 18, 23784, 8744, 30, 288, 7734, 11873, 907, 277, 30019, 273, 261, 2936, 907, 13, 756, 31, 10792, 309, 261, 2472, 18, 588, 54, 10340, 797, 1435, 422, 446, 13, 288, 10792, 604, 3099, 18, 2704, 19030, 2932, 2135, 667, 358, 1221, 2308, 8863, 7734, 289, 10792, 819, 18, 588, 54, 10340, 797, 7675, 11255, 2936, 12, 77, 30019, 18, 588, 1908, 461, 9334, 277, 30019, 18, 588, 7617, 461, 10663, 7734, 819, 18, 588, 54, 10340, 797, 7675, 1991, 1305, 12, 2472, 16, 315, 2039, 67, 9665, 3113, 3099, 18, 2704, 5335, 12, 77, 30019, 18, 588, 1908, 461, 1435, 10019, 10792, 327, 3099, 18, 588, 12616, 5621, 5411, 289, 5411, 648, 2029, 2016, 18, 4307, 8744, 30, 288, 7734, 7896, 5592, 907, 277, 30019, 273, 261, 5905, 5592, 907, 13, 756, 31, 10792, 15908, 10340, 921, 563, 273, 5302, 3061, 12, 2472, 16, 277, 30019, 18, 588, 3759, 907, 9334, 365, 1769, 7734, 309, 16051, 2088, 18, 291, 5510, 10756, 327, 563, 31, 7734, 756, 273, 277, 30019, 18, 588, 8211, 907, 5621, 7734, 1324, 5446, 6498, 31, 5411, 289, 5411, 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, 760, 15908, 10340, 921, 5302, 3061, 12, 3830, 1042, 819, 16, 2029, 756, 16, 15908, 10340, 921, 365, 13, 288, 3639, 15908, 10340, 3099, 273, 819, 18, 588, 5576, 5621, 7734, 5446, 6498, 30, 741, 288, 3639, 309, 261, 2159, 422, 446, 13, 327, 3099, 18, 588, 12616, 5621, 5411, 1620, 261, 2159, 18, 2159, 548, 13, 288, 5411, 648, 2029, 2016, 18, 23784, 8744, 30, 288, 7734, 11873, 907, 277, 30019, 273, 261, 2936, 907, 13, 756, 31, 10792, 309, 261, 2472, 18, 588, 54, 10340, 797, 1435, 422, 446, 13, 288, 10792, 604, 3099, 18, 2704, 19030, 2932, 2135, 667, 358, 1221, 2308, 8863, 7734, 289, 10792, 819, 18, 588, 54, 10340, 797, 7675, 11255, 2 ]
public final String getAdditionalProposalInfo() {
public String getAdditionalProposalInfo() {
public final String getAdditionalProposalInfo() { return CorrectionMessages.SerialVersionDefaultProposal_message_default_info; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/defab6f01a6fe3bcba1834b4f9e8fc6b930b0039/SerialVersionDefaultProposal.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionDefaultProposal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 514, 26660, 14592, 966, 1435, 288, 202, 202, 2463, 9557, 9329, 5058, 18, 6342, 1444, 1868, 14592, 67, 2150, 67, 1886, 67, 1376, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 514, 26660, 14592, 966, 1435, 288, 202, 202, 2463, 9557, 9329, 5058, 18, 6342, 1444, 1868, 14592, 67, 2150, 67, 1886, 67, 1376, 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 ]
}else if(username.startsWith("P")){ if (RootDomainObject.getInstance().getUsers().size() == 1) { istUsername = ist + "0000001"; } else { User user = Collections.max(RootDomainObject.getInstance().getUsers(), User.USER_UID_COMPARATOR); Integer maxIstNumber = Integer.valueOf(user.getUserUId().replaceFirst("[a-zA-Z]+", "")); istUsername = ist + (maxIstNumber + 1); }
} else if (username.startsWith("P")) { if (RootDomainObject.getInstance().getUsers().size() == 1) { istUsername = ist + "0000001"; } else { User user = Collections.max(RootDomainObject.getInstance().getUsers(), User.USER_UID_COMPARATOR); Integer maxIstNumber = Integer.valueOf(user.getUserUId().replaceFirst("[a-zA-Z]+", "")); istUsername = ist + (maxIstNumber + 1); }
public static String updateIstUsername(Person person) { if (person.getIstUsername() == null) { String ist = "ist"; String istUsername = null; String username = person.getUsername().toUpperCase().trim(); if(username.startsWith("D") && person.getTeacher() != null) { istUsername = ist + sumNumber(username.substring(1), 10000); }else if(username.startsWith("F") && person.getEmployee() != null) { istUsername = ist + sumNumber(username.substring(1), 20000); }else if(username.startsWith("B") && person.getGrantOwner() != null) { istUsername = ist + sumNumber(username.substring(1), 30000); }else if(username.startsWith("M") && person.getStudentByType(DegreeType.MASTER_DEGREE) != null) { istUsername = ist + sumNumber(username.substring(1), 40000); }else if(username.startsWith("L") && person.getStudentByType(DegreeType.DEGREE) != null) { istUsername = ist + sumNumber(username.substring(1), 100000); }else if(username.startsWith("C")) { return person.getIstUsername(); }else if(username.startsWith("P")){ if (RootDomainObject.getInstance().getUsers().size() == 1) { istUsername = ist + "0000001"; } else { User user = Collections.max(RootDomainObject.getInstance().getUsers(), User.USER_UID_COMPARATOR); Integer maxIstNumber = Integer.valueOf(user.getUserUId().replaceFirst("[a-zA-Z]+", "")); istUsername = ist + (maxIstNumber + 1); } } return istUsername; } return person.getIstUsername(); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/d4c0a4e8af0c27b7ad53aa4e3bbfad7ff69089cb/UsernameUtils.java/buggy/src/net/sourceforge/fenixedu/util/UsernameUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 1089, 45, 334, 8575, 12, 8346, 6175, 13, 288, 3639, 309, 261, 12479, 18, 588, 45, 334, 8575, 1435, 422, 446, 13, 288, 5411, 514, 19165, 273, 315, 376, 14432, 5411, 514, 19165, 8575, 273, 446, 31, 2398, 514, 2718, 273, 6175, 18, 588, 8575, 7675, 869, 8915, 7675, 5290, 5621, 13491, 309, 12, 5053, 18, 17514, 1190, 2932, 40, 7923, 597, 6175, 18, 588, 56, 13798, 264, 1435, 480, 446, 13, 288, 7734, 19165, 8575, 273, 19165, 397, 2142, 1854, 12, 5053, 18, 28023, 12, 21, 3631, 12619, 1769, 5411, 289, 12107, 309, 12, 5053, 18, 17514, 1190, 2932, 42, 7923, 597, 6175, 18, 588, 41, 27520, 1435, 480, 446, 13, 288, 7734, 19165, 8575, 273, 19165, 397, 2142, 1854, 12, 5053, 18, 28023, 12, 21, 3631, 576, 2787, 1769, 5411, 289, 12107, 309, 12, 5053, 18, 17514, 1190, 2932, 38, 7923, 597, 6175, 18, 588, 9021, 5541, 1435, 480, 446, 13, 288, 7734, 19165, 8575, 273, 19165, 397, 2142, 1854, 12, 5053, 18, 28023, 12, 21, 3631, 890, 2787, 1769, 5411, 289, 12107, 309, 12, 5053, 18, 17514, 1190, 2932, 49, 7923, 597, 6175, 18, 588, 19943, 319, 14145, 12, 22885, 559, 18, 28045, 67, 1639, 43, 9719, 13, 480, 446, 13, 288, 7734, 19165, 8575, 273, 19165, 397, 2142, 1854, 12, 5053, 18, 28023, 12, 21, 3631, 1059, 2787, 1769, 5411, 289, 12107, 309, 12, 5053, 18, 17514, 1190, 2932, 48, 7923, 597, 6175, 18, 588, 19943, 319, 14145, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 1089, 45, 334, 8575, 12, 8346, 6175, 13, 288, 3639, 309, 261, 12479, 18, 588, 45, 334, 8575, 1435, 422, 446, 13, 288, 5411, 514, 19165, 273, 315, 376, 14432, 5411, 514, 19165, 8575, 273, 446, 31, 2398, 514, 2718, 273, 6175, 18, 588, 8575, 7675, 869, 8915, 7675, 5290, 5621, 13491, 309, 12, 5053, 18, 17514, 1190, 2932, 40, 7923, 597, 6175, 18, 588, 56, 13798, 264, 1435, 480, 446, 13, 288, 7734, 19165, 8575, 273, 19165, 397, 2142, 1854, 12, 5053, 18, 28023, 12, 21, 3631, 12619, 1769, 5411, 289, 12107, 309, 12, 5053, 18, 17514, 1190, 2932, 42, 7923, 597, 6175, 18, 588, 41, 27520, 1435, 480, 446, 13, 288, 7734, 19165, 2 ]
Object second = contentList.size() > 1 ? contentList.get(0) : null;
Object second = contentList.size() > 1 ? contentList.get(1) : null;
private static int pushPseudoClasses(LayoutContext c, List contentList) { int result = 0; Object first = contentList.size() > 0 ? contentList.get(0) : null; Object second = contentList.size() > 1 ? contentList.get(0) : null; if (first instanceof FirstLineStyle) { c.getFirstLinesTracker().addStyle(((FirstLineStyle)first).getStyle()); result++; } else if (first instanceof FirstLetterStyle) { c.getFirstLettersTracker().addStyle(((FirstLetterStyle)first).getStyle()); result++; } else if (second instanceof FirstLetterStyle) { c.getFirstLettersTracker().addStyle(((FirstLetterStyle)second).getStyle()); result++; } return result; }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/ceb21dee5f070c3ac63d70ae7b6eb22a7c0b4641/InlineBoxing.java/buggy/src/java/org/xhtmlrenderer/layout/InlineBoxing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 1817, 26716, 4818, 12, 3744, 1042, 276, 16, 987, 913, 682, 13, 288, 3639, 509, 563, 273, 374, 31, 7734, 1033, 1122, 273, 913, 682, 18, 1467, 1435, 405, 374, 692, 913, 682, 18, 588, 12, 20, 13, 294, 446, 31, 3639, 1033, 2205, 273, 913, 682, 18, 1467, 1435, 405, 404, 692, 913, 682, 18, 588, 12, 21, 13, 294, 446, 31, 7734, 309, 261, 3645, 1276, 5783, 1670, 2885, 13, 288, 5411, 276, 18, 588, 3759, 5763, 8135, 7675, 1289, 2885, 12443, 12, 3759, 1670, 2885, 13, 3645, 2934, 588, 2885, 10663, 5411, 563, 9904, 31, 3639, 289, 469, 309, 261, 3645, 1276, 5783, 13938, 2885, 13, 288, 5411, 276, 18, 588, 3759, 24181, 5432, 8135, 7675, 1289, 2885, 12443, 12, 3759, 13938, 2885, 13, 3645, 2934, 588, 2885, 10663, 5411, 563, 9904, 31, 3639, 289, 469, 309, 261, 8538, 1276, 5783, 13938, 2885, 13, 288, 5411, 276, 18, 588, 3759, 24181, 5432, 8135, 7675, 1289, 2885, 12443, 12, 3759, 13938, 2885, 13, 8538, 2934, 588, 2885, 10663, 5411, 563, 9904, 31, 3639, 289, 7734, 327, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 760, 509, 1817, 26716, 4818, 12, 3744, 1042, 276, 16, 987, 913, 682, 13, 288, 3639, 509, 563, 273, 374, 31, 7734, 1033, 1122, 273, 913, 682, 18, 1467, 1435, 405, 374, 692, 913, 682, 18, 588, 12, 20, 13, 294, 446, 31, 3639, 1033, 2205, 273, 913, 682, 18, 1467, 1435, 405, 404, 692, 913, 682, 18, 588, 12, 21, 13, 294, 446, 31, 7734, 309, 261, 3645, 1276, 5783, 1670, 2885, 13, 288, 5411, 276, 18, 588, 3759, 5763, 8135, 7675, 1289, 2885, 12443, 12, 3759, 1670, 2885, 13, 3645, 2934, 588, 2885, 10663, 5411, 563, 9904, 31, 3639, 289, 469, 309, 261, 3645, 1276, 5783, 13938, 2885, 13, 288, 5411, 276, 18, 588, 3759, 2 ]
while (!(o instanceof NativeJavaObject)) {
while (!(o instanceof Wrapper)) {
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { // Find a method that matches the types given. if (methods.length == 0) { throw new RuntimeException("No methods defined for call"); } Method meth = (Method) findFunction(methods, args); if (meth == null) { Class c = methods[0].getDeclaringClass(); String sig = c.getName() + "." + names[0] + "(" + scriptSignature(args) + ")"; Object errArgs[] = { sig }; throw Context.reportRuntimeError( Context.getMessage("msg.java.no_such_method", errArgs)); } // OPT: already retrieved in findFunction, so we should inline that // OPT: or pass it back somehow Class paramTypes[] = meth.getParameterTypes(); // First, we marshall the args. for (int i = 0; i < args.length; i++) { args[i] = NativeJavaObject.coerceType(paramTypes[i], args[i]); } Object javaObject; if (Modifier.isStatic(meth.getModifiers())) { javaObject = null; // don't need an object } else { Scriptable o = thisObj; while (!(o instanceof NativeJavaObject)) { o = o.getPrototype(); if (o == null) { Object errArgs[] = { names[0] }; throw Context.reportRuntimeError( Context.getMessage("msg.nonjava.method", errArgs)); } } javaObject = ((NativeJavaObject) o).unwrap(); } try { if (debug) { printDebug("Calling ", meth, args); } Object retval = meth.invoke(javaObject, args); Class staticType = meth.getReturnType(); if (debug) { Class actualType = (retval == null) ? null : retval.getClass(); System.err.println(" ----- Returned " + retval + " actual = " + actualType + " expect = " + staticType); } Object wrapped = NativeJavaObject.wrap(scope, retval, staticType); if (debug) { Class actualType = (wrapped == null) ? null : wrapped.getClass(); System.err.println(" ----- Wrapped as " + wrapped + " class = " + actualType); } if (wrapped == Undefined.instance) return wrapped; if (wrapped == null && staticType == Void.TYPE) return Undefined.instance; return wrapped; } catch (IllegalAccessException accessEx) { throw Context.reportRuntimeError(accessEx.getMessage()); } catch (InvocationTargetException e) { throw JavaScriptException.wrapException(scope, e); } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/d550dceb7967b70d2a42d6bb767e6fd8437b9fb0/NativeJavaMethod.java/clean/js/rhino/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 2985, 7917, 273, 261, 1305, 13, 1104, 2083, 12, 5163, 16, 833, 1769, 3639, 309, 261, 27305, 422, 446, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 4585, 397, 1257, 63, 20, 65, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 31, 5411, 1033, 393, 2615, 8526, 273, 288, 3553, 289, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 7734, 1772, 18, 24906, 2932, 3576, 18, 6290, 18, 2135, 67, 87, 2648, 67, 2039, 3113, 393, 2615, 10019, 3639, 289, 3639, 368, 16456, 30, 1818, 10295, 316, 1104, 2083, 16, 1427, 732, 1410, 6370, 716, 3639, 368, 16456, 30, 578, 1342, 518, 1473, 28578, 3639, 1659, 21265, 8526, 273, 7917, 18, 588, 1662, 2016, 5621, 3639, 368, 5783, 16, 732, 1833, 326, 833, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 833, 63, 77, 65, 273, 16717, 5852, 921, 18, 2894, 2765, 559, 12, 891, 2016, 63, 77, 6487, 833, 63, 77, 19226, 3639, 289, 3639, 1033, 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, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 4163, 279, 707, 716, 1885, 326, 1953, 864, 18, 3639, 309, 261, 5163, 18, 2469, 422, 374, 13, 288, 5411, 604, 394, 3235, 2932, 2279, 2590, 2553, 364, 745, 8863, 3639, 289, 3639, 2985, 7917, 273, 261, 1305, 13, 1104, 2083, 12, 5163, 16, 833, 1769, 3639, 309, 261, 27305, 422, 446, 13, 288, 5411, 1659, 276, 273, 2590, 63, 20, 8009, 588, 3456, 14682, 5621, 5411, 514, 3553, 273, 276, 18, 17994, 1435, 397, 4585, 397, 1257, 63, 20, 65, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 2 ]
CheckedOutChildItem coChild) {
CheckedOutChildItem coChild) throws IOException {
private void ProcessWorkItemSubstitution(RdrTree tree, CheckedOutChildItem coChild) { String childId = coChild.getItem().getID() ; _log.debug("Processing worklet substitution for workitem: " + childId); // select appropriate worklet RdrConclusion result = new RdrConclusion(tree.search(coChild.getDatalist())); String wSelected = result.getTarget(1); if (wSelected != null) { _log.debug("Rule search returned worklet: " + wSelected); coChild.setWorkletName(wSelected) ; coChild.setExType(XTYPE_SELECTION); // load spec & launch case as substitute for checked out workitem if (uploadWorklet(wSelected)) { String caseID = launchWorklet(coChild, true) ; if (caseID != null) _casesStarted.put(caseID, childId) ; // save the search results (if later rule append is needed) coChild.setSearchPair(tree.getLastPair()); coChild.saveSearchResults() ; // remember this handling (if not a replace) if (_handledWorkItems.containsKey(childId)) { if (_persisting) _dbMgr.persist(coChild, DBManager.DB_UPDATE); } else { _handledWorkItems.put(childId, coChild) ; if (_persisting) { _dbMgr.persist(coChild, DBManager.DB_INSERT); coChild.ObjectPersisted(); } } } else _log.warn("could not launch worklet: " + wSelected) ; } else _log.warn("Rule search did not find a worklet to select " + "for workItem: " + coChild.getItem().toXML()) ; }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/a8a31ec637f6e697e10398e6cbebb2c8c4221780/WorkletService.java/clean/yawl/src/au/edu/qut/yawl/worklet/WorkletService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4389, 25553, 23798, 12, 54, 3069, 2471, 2151, 16, 4766, 2398, 23975, 1182, 1763, 1180, 1825, 1763, 13, 1216, 1860, 288, 4202, 514, 1151, 548, 273, 1825, 1763, 18, 588, 1180, 7675, 588, 734, 1435, 274, 4202, 389, 1330, 18, 4148, 2932, 7798, 1440, 1810, 12785, 364, 26409, 30, 315, 397, 1151, 548, 1769, 540, 368, 2027, 5505, 1440, 1810, 3639, 534, 3069, 442, 15335, 563, 273, 394, 534, 3069, 442, 15335, 12, 3413, 18, 3072, 12, 2894, 1763, 18, 588, 40, 3145, 376, 1435, 10019, 3639, 514, 341, 7416, 273, 225, 563, 18, 588, 2326, 12, 21, 1769, 540, 309, 261, 91, 7416, 480, 446, 13, 288, 2398, 389, 1330, 18, 4148, 2932, 2175, 1623, 2106, 1440, 1810, 30, 315, 397, 341, 7416, 1769, 2398, 1825, 1763, 18, 542, 2421, 1810, 461, 12, 91, 7416, 13, 274, 5411, 1825, 1763, 18, 542, 424, 559, 12, 60, 2399, 67, 1090, 15445, 1769, 2398, 368, 1262, 857, 473, 8037, 648, 487, 14811, 364, 5950, 596, 26409, 5411, 309, 261, 6327, 2421, 1810, 12, 91, 7416, 3719, 288, 7734, 514, 648, 734, 273, 8037, 2421, 1810, 12, 2894, 1763, 16, 638, 13, 274, 9079, 309, 261, 3593, 734, 480, 446, 13, 389, 22186, 9217, 18, 458, 12, 3593, 734, 16, 1151, 548, 13, 274, 7734, 368, 1923, 326, 1623, 1686, 261, 430, 5137, 1720, 714, 353, 3577, 13, 7734, 1825, 1763, 18, 542, 2979, 4154, 12, 3413, 18, 588, 3024, 4154, 10663, 7734, 1825, 1763, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4389, 25553, 23798, 12, 54, 3069, 2471, 2151, 16, 4766, 2398, 23975, 1182, 1763, 1180, 1825, 1763, 13, 1216, 1860, 288, 4202, 514, 1151, 548, 273, 1825, 1763, 18, 588, 1180, 7675, 588, 734, 1435, 274, 4202, 389, 1330, 18, 4148, 2932, 7798, 1440, 1810, 12785, 364, 26409, 30, 315, 397, 1151, 548, 1769, 540, 368, 2027, 5505, 1440, 1810, 3639, 534, 3069, 442, 15335, 563, 273, 394, 534, 3069, 442, 15335, 12, 3413, 18, 3072, 12, 2894, 1763, 18, 588, 40, 3145, 376, 1435, 10019, 3639, 514, 341, 7416, 273, 225, 563, 18, 588, 2326, 12, 21, 1769, 540, 309, 261, 91, 7416, 480, 446, 13, 288, 2398, 389, 1330, 18, 4148, 2932, 2175, 1623, 2 ]
.addSourceLine(this));
.addInt(valueOfConstantArgumentToShift) .addSourceLine(this) );
public void sawOpcode(int seen) { if ((seen == IFEQ || seen == IFNE) && getPrevOpcode(1) == IMUL && ( getPrevOpcode(2) == SIPUSH || getPrevOpcode(2) == BIPUSH )) bugReporter.reportBug(new BugInstance(this, "TESTING", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if (seen == I2S && getPrevOpcode(1) == IUSHR && (!constantArgumentToShift || valueOfConstantArgumentToShift % 16 != 0) || seen == I2B && getPrevOpcode(1) == IUSHR && (!constantArgumentToShift || valueOfConstantArgumentToShift % 8 != 0) ) bugReporter.reportBug(new BugInstance(this, "ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); constantArgumentToShift = false; if ( (seen == IUSHR || seen == ISHR || seen == ISHL )) { if (stack.getStackDepth() <= 1) { // don't understand; lie so other detectors won't get concerned constantArgumentToShift = true; valueOfConstantArgumentToShift = 8; } else { Object rightHandSide = stack.getStackItem(0).getConstant(); Object leftHandSide = stack.getStackItem(1).getConstant(); if (rightHandSide != null && rightHandSide instanceof Integer) { constantArgumentToShift = true; valueOfConstantArgumentToShift = ((Integer)rightHandSide).intValue(); if (valueOfConstantArgumentToShift < 0 || valueOfConstantArgumentToShift >= 32) bugReporter.reportBug(new BugInstance(this, "TESTING", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } if (leftHandSide != null && leftHandSide instanceof Integer && ((Integer)leftHandSide).intValue() > 0) { // boring; lie so other detectors won't get concerned constantArgumentToShift = true; valueOfConstantArgumentToShift = 8; } } } if (seen == INVOKEVIRTUAL && stack.getStackDepth() > 0 && getClassConstantOperand().equals("java/util/Date") && getNameConstantOperand().equals("setDate") && getSigConstantOperand().equals("(I)V")) { OpcodeStack.Item item = stack.getStackItem(0); Object o = item.getConstant(); if (o != null && o instanceof Integer) { int v = ((Integer)o).intValue(); if (v < 0 || v > 11) bugReporter.reportBug(new BugInstance(this, "TESTING", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } } if (seen == INVOKEVIRTUAL && stack.getStackDepth() > 1 && getClassConstantOperand().equals("java/util/Calendar") && getNameConstantOperand().equals("set") && getSigConstantOperand().equals("(III)V") || seen == INVOKESPECIAL && stack.getStackDepth() > 1 && getClassConstantOperand().equals("java/util/GregorianCalendar") && getNameConstantOperand().equals("<init>") && getSigConstantOperand().equals("(III)V") ) { OpcodeStack.Item item = stack.getStackItem(1); Object o = item.getConstant(); if (o != null && o instanceof Integer) { int v = ((Integer)o).intValue(); if (v < 0 || v > 11) bugReporter.reportBug(new BugInstance(this, "TESTING", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } } if (isRegisterStore() && (seen == ISTORE || seen == ISTORE_0 || seen == ISTORE_1 || seen == ISTORE_2 || seen == ISTORE_3) && getRegisterOperand() == prevOpcodeIncrementedRegister) { bugReporter.reportBug(new BugInstance(this, "DLS_OVERWRITTEN_INCREMENT", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); } if (seen == IINC) { prevOpcodeIncrementedRegister = getRegisterOperand(); } else prevOpcodeIncrementedRegister = -1; stack.sawOpcode(this,seen); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/63d52d3e476f72569b3e320f94f0b539c7ca5549/FindPuzzlers.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindPuzzlers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19821, 22808, 12, 474, 5881, 13, 288, 202, 202, 430, 14015, 15156, 422, 467, 8090, 53, 747, 5881, 422, 11083, 5407, 13, 597, 336, 9958, 22808, 12, 21, 13, 422, 6246, 1506, 1082, 202, 10, 10, 261, 336, 9958, 22808, 12, 22, 13, 422, 348, 2579, 57, 2664, 9506, 202, 20081, 336, 9958, 22808, 12, 22, 13, 422, 605, 2579, 57, 2664, 9506, 202, 3719, 9506, 7934, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 2211, 16, 315, 16961, 1360, 3113, 1806, 59, 67, 19804, 13, 4766, 3639, 263, 1289, 797, 1876, 1305, 12, 2211, 13, 4766, 3639, 263, 1289, 1830, 1670, 12, 2211, 10019, 202, 202, 430, 261, 15156, 422, 467, 22, 55, 597, 336, 9958, 22808, 12, 21, 13, 422, 467, 57, 2664, 54, 9506, 202, 10, 10, 16051, 14384, 1379, 774, 10544, 747, 4323, 6902, 1379, 774, 10544, 738, 2872, 480, 374, 13, 1082, 202, 20081, 1082, 565, 5881, 422, 467, 22, 38, 597, 336, 9958, 22808, 12, 21, 13, 422, 467, 57, 2664, 54, 9506, 202, 10, 10, 16051, 14384, 1379, 774, 10544, 747, 4323, 6902, 1379, 774, 10544, 738, 1725, 480, 374, 13, 9506, 262, 9506, 7934, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 2211, 16, 315, 2871, 9053, 67, 4740, 1146, 2782, 67, 2124, 21049, 67, 11847, 67, 23191, 3113, 1806, 59, 67, 19804, 13, 4766, 3639, 263, 1289, 797, 1876, 1305, 12, 2211, 13, 4766, 3639, 263, 1289, 1830, 1670, 12, 2211, 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, 19821, 22808, 12, 474, 5881, 13, 288, 202, 202, 430, 14015, 15156, 422, 467, 8090, 53, 747, 5881, 422, 11083, 5407, 13, 597, 336, 9958, 22808, 12, 21, 13, 422, 6246, 1506, 1082, 202, 10, 10, 261, 336, 9958, 22808, 12, 22, 13, 422, 348, 2579, 57, 2664, 9506, 202, 20081, 336, 9958, 22808, 12, 22, 13, 422, 605, 2579, 57, 2664, 9506, 202, 3719, 9506, 7934, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 2211, 16, 315, 16961, 1360, 3113, 1806, 59, 67, 19804, 13, 4766, 3639, 263, 1289, 797, 1876, 1305, 12, 2211, 13, 4766, 3639, 263, 1289, 1830, 1670, 12, 2211, 10019, 202, 202, 430, 261, 15156, 422, 467, 22, 55, 2 ]
PageLayout layout = new PageLayout(container, getViewFactory(), editorArea);
PageLayout layout = new PageLayout(container, getViewFactory(), editorArea, descriptor);
private void loadPredefinedPersp( PerspectiveDescriptor persp) throws WorkbenchException{ // Create layout engine. IPerspectiveFactory factory = null; try { factory = persp.createFactory(); } catch (CoreException e) { throw new WorkbenchException(WorkbenchMessages.format("Perspective.unableToLoad", new Object[] {persp.getId()})); //$NON-NLS-1$ } // Create layout factory. RootLayoutContainer container = new RootLayoutContainer(page); PageLayout layout = new PageLayout(container, getViewFactory(), editorArea); // Run layout engine. factory.createInitialLayout(layout); PerspectiveExtensionReader extender = new PerspectiveExtensionReader(); extender.extendLayout(descriptor.getId(), layout); // Retrieve fast view width ratios stored in the page layout. mapFastViewToWidthRatio.putAll(layout.getFastViewToWidthRatioMap()); // Create action sets. createInitialActionSets(layout.getActionSets()); alwaysOnActionSets.addAll(visibleActionSets); newWizardActionIds = layout.getNewWizardActionIds(); showViewActionIds = layout.getShowViewActionIds(); perspectiveActionIds = layout.getPerspectiveActionIds(); showInPartIds = layout.getShowInPartIds(); // Create fast views fastViews = layout.getFastViews(); // Create presentation. presentation = new PerspectivePresentation(page, container); // Hide editor area if requested by factory if (!layout.isEditorAreaVisible()) hideEditorArea(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cceda37fd01115237f9c214b2ab3550ca51ca170/Perspective.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1262, 1386, 2178, 14781, 84, 12, 202, 14781, 16772, 3187, 13508, 84, 13, 202, 15069, 4147, 22144, 503, 95, 202, 759, 1788, 3511, 4073, 18, 202, 2579, 414, 16772, 1733, 3272, 273, 446, 31, 202, 698, 288, 202, 202, 6848, 273, 13508, 84, 18, 2640, 1733, 5621, 202, 97, 1044, 261, 25341, 425, 13, 288, 202, 202, 12849, 394, 4147, 22144, 503, 12, 2421, 22144, 5058, 18, 2139, 2932, 14781, 16772, 18, 18828, 26883, 3113, 394, 1033, 8526, 288, 10422, 84, 18, 26321, 1435, 6792, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 202, 759, 1788, 3511, 3272, 18, 202, 2375, 3744, 2170, 1478, 273, 394, 7450, 3744, 2170, 12, 2433, 1769, 202, 1964, 3744, 3511, 273, 394, 3460, 3744, 12, 3782, 16, 8893, 1733, 9334, 4858, 5484, 1769, 202, 759, 1939, 3511, 4073, 18, 202, 6848, 18, 2640, 4435, 3744, 12, 6741, 1769, 202, 14781, 16772, 3625, 2514, 2133, 264, 273, 394, 453, 414, 16772, 3625, 2514, 5621, 202, 408, 2345, 18, 14313, 3744, 12, 12628, 18, 26321, 9334, 3511, 1769, 202, 759, 10708, 4797, 1476, 1835, 25706, 4041, 316, 326, 1363, 3511, 18, 202, 1458, 12305, 1767, 774, 2384, 8541, 18, 458, 1595, 12, 6741, 18, 588, 12305, 1767, 774, 2384, 8541, 863, 10663, 202, 759, 1788, 1301, 1678, 18, 202, 2640, 4435, 1803, 2785, 12, 6741, 18, 588, 1803, 2785, 10663, 202, 17737, 1398, 1803, 2785, 18, 1289, 1595, 12, 8613, 1803, 2785, 1769, 202, 2704, 27130, 1803, 2673, 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, 3238, 918, 1262, 1386, 2178, 14781, 84, 12, 202, 14781, 16772, 3187, 13508, 84, 13, 202, 15069, 4147, 22144, 503, 95, 202, 759, 1788, 3511, 4073, 18, 202, 2579, 414, 16772, 1733, 3272, 273, 446, 31, 202, 698, 288, 202, 202, 6848, 273, 13508, 84, 18, 2640, 1733, 5621, 202, 97, 1044, 261, 25341, 425, 13, 288, 202, 202, 12849, 394, 4147, 22144, 503, 12, 2421, 22144, 5058, 18, 2139, 2932, 14781, 16772, 18, 18828, 26883, 3113, 394, 1033, 8526, 288, 10422, 84, 18, 26321, 1435, 6792, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 202, 759, 1788, 3511, 3272, 18, 202, 2375, 3744, 2170, 1478, 273, 394, 7450, 3744, 2170, 12, 2433, 1769, 202, 1964, 3744, 2 ]
public boolean compare(LoggingEvent event);
public boolean compare(LoggingEvent event) throws NullPointerException;
public boolean compare(LoggingEvent event);
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/8acc917ec83aec6c952479c92955658c205b87c6/Comparator.java/buggy/src/java/org/apache/log4j/lbel/comparator/Comparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 3400, 12, 7735, 1133, 871, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 3400, 12, 7735, 1133, 871, 1769, 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, -100, -100, -100, -100 ]
} else { for (int i = 0; i < tokens.length; i++) { if (tokens[i].equalsIgnoreCase(token.getToken())) return true; }
else { for (int i = 0; i < tokens.length; i++) { if (regExp){ if (token.getToken()!=null) if (Pattern.matches("(?u)".concat(tokens[i]), token.getToken())) return true; } else { if (tokens[i].equalsIgnoreCase(token.getToken())) return true; } }
boolean matchToken(AnalyzedToken token) { if (caseSensitive) { for (int i = 0; i < tokens.length; i++) { if (tokens[i].equals(token.getToken())) // if (token.getToken()!=null) // if (Pattern.matches(tokens[i], token.getToken())) return true; } } else { for (int i = 0; i < tokens.length; i++) { if (tokens[i].equalsIgnoreCase(token.getToken())) // TODO: test according to token element attribs // ie. if regexp="yes" or not // if (token.getToken()!=null) // if (Pattern.matches(tokens[i], token.getToken())) return true; } } return false; }
10628 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10628/4ecdeb547ad0f16c74e1c06685eb9578e219c43b/StringElement.java/buggy/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/rules/patterns/StringElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1250, 845, 1345, 12, 979, 18409, 1345, 1147, 13, 288, 565, 309, 261, 3593, 14220, 13, 288, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2430, 18, 2469, 31, 277, 27245, 288, 3639, 309, 261, 7860, 63, 77, 8009, 14963, 12, 2316, 18, 588, 1345, 1435, 3719, 1850, 368, 309, 261, 2316, 18, 588, 1345, 1435, 5, 33, 2011, 13, 1850, 368, 309, 261, 3234, 18, 8436, 12, 7860, 63, 77, 6487, 1147, 18, 588, 1345, 1435, 3719, 1850, 327, 638, 31, 1377, 289, 565, 289, 469, 288, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2430, 18, 2469, 31, 277, 27245, 288, 3639, 309, 261, 7860, 63, 77, 8009, 14963, 5556, 12, 2316, 18, 588, 1345, 1435, 3719, 1850, 368, 2660, 30, 1842, 4888, 358, 1147, 930, 11460, 1850, 368, 9228, 18, 309, 7195, 1546, 9707, 6, 578, 486, 1850, 368, 309, 261, 2316, 18, 588, 1345, 1435, 5, 33, 2011, 13, 1850, 368, 309, 261, 3234, 18, 8436, 12, 7860, 63, 77, 6487, 1147, 18, 588, 1345, 1435, 3719, 1850, 327, 638, 31, 1377, 289, 565, 289, 565, 327, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1250, 845, 1345, 12, 979, 18409, 1345, 1147, 13, 288, 565, 309, 261, 3593, 14220, 13, 288, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2430, 18, 2469, 31, 277, 27245, 288, 3639, 309, 261, 7860, 63, 77, 8009, 14963, 12, 2316, 18, 588, 1345, 1435, 3719, 1850, 368, 309, 261, 2316, 18, 588, 1345, 1435, 5, 33, 2011, 13, 1850, 368, 309, 261, 3234, 18, 8436, 12, 7860, 63, 77, 6487, 1147, 18, 588, 1345, 1435, 3719, 1850, 327, 638, 31, 1377, 289, 565, 289, 469, 288, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2430, 18, 2469, 31, 277, 27245, 288, 3639, 309, 261, 7860, 63, 77, 8009, 14963, 5556, 12, 2316, 2 ]
public org.quickfix.field.RegistRejReasonCode getRegistRejReasonCode() throws FieldNotFound { org.quickfix.field.RegistRejReasonCode value = new org.quickfix.field.RegistRejReasonCode();
public quickfix.field.RegistRejReasonCode getRegistRejReasonCode() throws FieldNotFound { quickfix.field.RegistRejReasonCode value = new quickfix.field.RegistRejReasonCode();
public org.quickfix.field.RegistRejReasonCode getRegistRejReasonCode() throws FieldNotFound { org.quickfix.field.RegistRejReasonCode value = new org.quickfix.field.RegistRejReasonCode(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/RegistrationInstructionsResponse.java/buggy/src/java/src/quickfix/fix44/RegistrationInstructionsResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1617, 376, 426, 78, 8385, 1085, 336, 1617, 376, 426, 78, 8385, 1085, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1617, 376, 426, 78, 8385, 1085, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1617, 376, 426, 78, 8385, 1085, 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, 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 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, 1617, 376, 426, 78, 8385, 1085, 336, 1617, 376, 426, 78, 8385, 1085, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1617, 376, 426, 78, 8385, 1085, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1617, 376, 426, 78, 8385, 1085, 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 ]
if (jj_scan_token(ORASSIGN)) return true;
if (jj_scan_token(RSIGNEDSHIFTASSIGN)) return true;
final private boolean jj_3R_241() { if (jj_scan_token(ORASSIGN)) return true; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 3247, 21, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 54, 21049, 23191, 23289, 3719, 327, 638, 31, 565, 327, 629, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 3238, 1250, 10684, 67, 23, 54, 67, 3247, 21, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 54, 21049, 23191, 23289, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean addChild(Area childArea) {
public void addChild(Area childArea) {
public boolean addChild(Area childArea) { if (curBlockArea != null) { curBlockArea.addBlock((Block) childArea); return false; } return false; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/a62f977d812bb273863a574255920ca141eec969/ListItemLayoutManager.java/buggy/src/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7384, 12, 5484, 1151, 5484, 13, 288, 3639, 309, 261, 1397, 1768, 5484, 480, 446, 13, 288, 5411, 662, 1768, 5484, 18, 1289, 1768, 12443, 1768, 13, 1151, 5484, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7384, 12, 5484, 1151, 5484, 13, 288, 3639, 309, 261, 1397, 1768, 5484, 480, 446, 13, 288, 5411, 662, 1768, 5484, 18, 1289, 1768, 12443, 1768, 13, 1151, 5484, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 327, 629, 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 ]
case ts.IF: {
case TokenStream.IF: {
private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case ts.IF: { skipsemi = true; source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { source.append((char)ts.RC); source.append((char)ts.ELSE); source.append((char)ts.LC); source.append((char)ts.EOL); ifFalse = statement(ts, source); } source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case ts.SWITCH: { skipsemi = true; source.append((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); source.append((char)ts.LP); nf.addChildToBack(pn, expr(ts, source, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); source.append((char)ts.LC); source.append((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case ts.CASE: source.append((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, source, false)); source.append((char)ts.COLON); source.append((char)ts.EOL); break; case ts.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); source.append((char)ts.DEFAULT); source.append((char)ts.COLON); source.append((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts, source)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } source.append((char)ts.RC); source.append((char)ts.EOL); break; } case ts.WHILE: { skipsemi = true; source.append((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case ts.DO: { source.append((char)ts.DO); source.append((char)ts.LC); source.append((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts, source); source.append((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); source.append((char)ts.WHILE); Object cond = condition(ts, source); pn = nf.createDoWhile(body, cond, lineno); break; } case ts.FOR: { skipsemi = true; source.append((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); source.append((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, source, true); } else { init = expr(ts, source, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); source.append((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, source, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, source, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, source, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case ts.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; source.append((char)ts.TRY); source.append((char)ts.LC); source.append((char)ts.EOL); tryblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); boolean sawDefaultCatch = false; int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { if (sawDefaultCatch) { reportError(ts, "msg.catch.unreachable"); } source.append((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); source.append((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); source.addString(ts.NAME, varName); Object catchCond = null; if (ts.matchToken(ts.IF)) { source.append((char)ts.IF); catchCond = expr(ts, source, false); } else { sawDefaultCatch = true; } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); source.append((char)ts.LC); source.append((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts, source), ts.getLineno())); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); source.append((char)ts.RC); source.append((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { source.append((char)ts.FINALLY); source.append((char)ts.LC); source.append((char)ts.EOL); finallyblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case ts.THROW: { int lineno = ts.getLineno(); source.append((char)ts.THROW); pn = nf.createThrow(expr(ts, source, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case ts.BREAK: { int lineno = ts.getLineno(); source.append((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case ts.CONTINUE: { int lineno = ts.getLineno(); source.append((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case ts.WITH: { skipsemi = true; source.append((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); source.append((char)ts.LP); Object obj = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case ts.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case ts.RETURN: { Object retExpr = null; int lineno = 0; source.append((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { lineno = ts.getLineno(); retExpr = expr(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case ts.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case ts.ERROR: // Fall thru, to have a node for error recovery to work on case ts.EOL: case ts.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, source, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. source.append((char)ts.COLON); source.append((char)ts.EOL); return pn; } if (lastExprType == ts.FUNCTION) nf.setFunctionExpressionStatement(pn); pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { source.append((char)ts.SEMI); source.append((char)ts.EOL); } return pn; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/8024efa9963a32d478db0d09899ffa61e921aa3e/Parser.java/clean/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3155, 1228, 18, 5501, 30, 288, 5411, 2488, 307, 9197, 273, 638, 31, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5501, 1769, 5411, 509, 7586, 273, 3742, 18, 588, 48, 267, 5764, 5621, 5411, 1033, 6941, 273, 2269, 12, 3428, 16, 1084, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5842, 1769, 5411, 1033, 309, 5510, 273, 3021, 12, 3428, 16, 1084, 1769, 5411, 1033, 309, 8381, 273, 446, 31, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 2247, 1090, 3719, 288, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 11529, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2247, 1090, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3155, 1228, 18, 5501, 30, 288, 2 ]
state.error(XmlErrorCodes.FACET_FIXED, null, facet);
state.error(XmlErrorCodes.FACET_FIXED, new Object[] { facetName }, facet);
static void resolveFacets(SchemaTypeImpl sImpl, XmlObject restriction, SchemaTypeImpl baseImpl) { StscState state = StscState.get(); boolean[] seenFacet = new boolean[SchemaType.LAST_FACET + 1]; XmlAnySimpleType[] myFacets = baseImpl.getBasicFacets(); // makes a copy boolean[] fixedFacets = baseImpl.getFixedFacets(); int wsr = SchemaType.WS_UNSPECIFIED; List enumeratedValues = null; List patterns = null; if (restriction != null) { XmlCursor cur = restriction.newCursor(); for (boolean more = cur.toFirstChild(); more; more = cur.toNextSibling()) { int code = translateFacetCode(cur.getName()); if (code == -1) continue; Facet facet = (Facet)cur.getObject(); if (!facetAppliesToType(code, baseImpl)) { state.error(XmlErrorCodes.FACETS_APPLICABLE, new Object[] { facet.newCursor().getName().getLocalPart(), QNameHelper.pretty(baseImpl.getName()) }, facet); continue; } if (seenFacet[code] && !isMultipleFacet(code)) { state.error(XmlErrorCodes.DATATYPE_SINGLE_FACET_VALUE, null, facet); continue; } seenFacet[code] = true; switch (code) { case SchemaType.FACET_LENGTH: if (myFacets[SchemaType.FACET_MIN_LENGTH] != null || myFacets[SchemaType.FACET_MAX_LENGTH] != null) { state.error(XmlErrorCodes.DATATYPE_LENGTH, null, facet); continue; } XmlInteger len = StscTranslator.buildNnInteger(facet.getValue()); if (len == null) { // KHK: s4s state.error("Must be a nonnegative integer", XmlErrorCodes.FACET_VALUE_MALFORMED, facet); continue; } if (fixedFacets[code] && !myFacets[code].valueEquals(len)) { state.error(XmlErrorCodes.FACET_FIXED, null, facet); continue; } myFacets[code] = len; break; case SchemaType.FACET_MIN_LENGTH: case SchemaType.FACET_MAX_LENGTH: if (myFacets[SchemaType.FACET_LENGTH] != null) { state.error(XmlErrorCodes.DATATYPE_LENGTH, null, facet); continue; } XmlInteger mlen = StscTranslator.buildNnInteger(facet.getValue()); if (mlen == null) { state.error("Must be a nonnegative integer", XmlErrorCodes.FACET_VALUE_MALFORMED, facet); continue; } if (fixedFacets[code] && !myFacets[code].valueEquals(mlen)) { state.error(XmlErrorCodes.FACET_FIXED, null, facet); continue; } if (myFacets[SchemaType.FACET_MAX_LENGTH] != null) { if (mlen.compareValue(myFacets[SchemaType.FACET_MAX_LENGTH]) > 0) { state.error(XmlErrorCodes.DATATYPE_MAX_LENGTH_RESTRICTION, null, facet); continue; } } if (myFacets[SchemaType.FACET_MIN_LENGTH] != null) { if (mlen.compareValue(myFacets[SchemaType.FACET_MIN_LENGTH]) < 0) { state.error(XmlErrorCodes.DATATYPE_MIN_LENGTH_RESTRICTION, null, facet); continue; } } myFacets[code] = mlen; break; case SchemaType.FACET_TOTAL_DIGITS: XmlPositiveInteger dig = StscTranslator.buildPosInteger(facet.getValue()); if (dig == null) { state.error("Must be a positive integer", XmlErrorCodes.FACET_VALUE_MALFORMED, facet); break; } if (fixedFacets[code] && !myFacets[code].valueEquals(dig)) { state.error(XmlErrorCodes.FACET_FIXED, null, facet); continue; } if (myFacets[SchemaType.FACET_TOTAL_DIGITS] != null) { if (dig.compareValue(myFacets[SchemaType.FACET_TOTAL_DIGITS]) > 0) state.error(XmlErrorCodes.DATATYPE_TOTAL_DIGITS_RESTRICTION, null, facet); } myFacets[code] = dig; break; case SchemaType.FACET_FRACTION_DIGITS: XmlNonNegativeInteger fdig = StscTranslator.buildNnInteger(facet.getValue()); if (fdig == null) { state.error("Must be a nonnegative integer", XmlErrorCodes.FACET_VALUE_MALFORMED, facet); break; } if (fixedFacets[code] && !myFacets[code].valueEquals(fdig)) { state.error(XmlErrorCodes.FACET_FIXED, null, facet); continue; } if (myFacets[SchemaType.FACET_FRACTION_DIGITS] != null) { if (fdig.compareValue(myFacets[SchemaType.FACET_FRACTION_DIGITS]) > 0) state.error(XmlErrorCodes.DATATYPE_FRACTION_DIGITS_RESTRICTION, null, facet); } myFacets[code] = fdig; break; case SchemaType.FACET_MIN_EXCLUSIVE: case SchemaType.FACET_MIN_INCLUSIVE: case SchemaType.FACET_MAX_INCLUSIVE: case SchemaType.FACET_MAX_EXCLUSIVE: if (seenFacet[other_similar_limit(code)]) { state.error("Cannot define both inclusive and exclusive limit in the same restriciton", XmlErrorCodes.FACET_DUPLICATED, facet); continue; } boolean ismin = (code == SchemaType.FACET_MIN_EXCLUSIVE || code == SchemaType.FACET_MIN_INCLUSIVE); boolean isexclusive = (code == SchemaType.FACET_MIN_EXCLUSIVE || code == SchemaType.FACET_MAX_EXCLUSIVE); XmlAnySimpleType limit; try { limit = baseImpl.newValue(facet.getValue()); } catch (XmlValueOutOfRangeException e) { // note: this guarantees that the limit is a valid number in the // base data type!! state.error("Must be valid value in base type", XmlErrorCodes.FACET_VALUE_MALFORMED, facet); // BUGBUG: if there are actual schemas that redefine min/maxExclusive, // they will need this rule relaxed for them!! continue; } if (fixedFacets[code] && !myFacets[code].valueEquals(limit)) { state.error(XmlErrorCodes.FACET_FIXED, null, facet); continue; } if (myFacets[code] != null) { int comparison = limit.compareValue(myFacets[code]); if (comparison == 2 || comparison == (ismin ? -1 : 1)) { state.error(ismin ? (isexclusive ? "Must be greater than or equal to previous minExclusive" : "Must be greater than or equal to previous minInclusive") : (isexclusive ? "Must be less than or equal to previous maxExclusive" : "Must be less than or equal to previous maxInclusive"), XmlErrorCodes.FACET_VALUE_MALFORMED, facet); continue; } } myFacets[code] = limit; myFacets[other_similar_limit(code)] = null; break; case SchemaType.FACET_WHITE_SPACE: wsr = translateWhitespaceCode(facet.getValue()); if (baseImpl.getWhiteSpaceRule() > wsr) { wsr = SchemaType.WS_UNSPECIFIED; state.error(XmlErrorCodes.DATATYPE_WHITESPACE_RESTRICTION, null, facet); continue; } myFacets[code] = StscState.build_wsstring(wsr).get(); break; case SchemaType.FACET_ENUMERATION: XmlObject enumval; try { enumval = baseImpl.newValue(facet.getValue()); // enumval.set(facet.getValue()); // ((XmlObjectBase)enumval).setImmutable(); } catch (XmlValueOutOfRangeException e) { state.error(XmlErrorCodes.DATATYPE_ENUM_RESTRICTION, null, facet); continue; } if (enumeratedValues == null) enumeratedValues = new ArrayList(); enumeratedValues.add(enumval); break; case SchemaType.FACET_PATTERN: RegularExpression p; try { p = new RegularExpression(facet.getValue().getStringValue(), "X"); } catch (org.apache.xmlbeans.impl.regex.ParseException e) { state.error(XmlErrorCodes.PATTERN_REGEX, new Object[] { facet.getValue().getStringValue(), e.getMessage() }, facet); continue; } if (patterns == null) patterns = new ArrayList(); patterns.add(p); break; } if (facet.getFixed()) fixedFacets[code] = true; } } // Store the array of basic facets sImpl.setBasicFacets(makeValueRefArray(myFacets), fixedFacets); // Update the numeric whitespace rule if (wsr == SchemaType.WS_UNSPECIFIED) wsr = baseImpl.getWhiteSpaceRule(); sImpl.setWhiteSpaceRule(wsr); // store away the enumerated values if (enumeratedValues != null) { sImpl.setEnumerationValues(makeValueRefArray((XmlAnySimpleType[]) enumeratedValues.toArray(new XmlAnySimpleType[enumeratedValues.size()]))); SchemaType beType = sImpl; if (sImpl.getBaseType().getBaseEnumType() != null) beType = sImpl.getBaseType().getBaseEnumType(); sImpl.setBaseEnumTypeRef(beType.getRef()); } else { sImpl.copyEnumerationValues(baseImpl); } // store the pattern list org.apache.xmlbeans.impl.regex.RegularExpression[] patternArray; if (patterns != null) patternArray = (org.apache.xmlbeans.impl.regex.RegularExpression[])patterns.toArray(EMPTY_REGEX_ARRAY); else patternArray = EMPTY_REGEX_ARRAY; sImpl.setPatternFacet((patternArray.length > 0 || baseImpl.hasPatternFacet())); sImpl.setPatterns(patternArray); }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/6c4d4638ca052ddcff4b45b81eaac174b510eb51/StscSimpleTypeResolver.java/clean/src/typeimpl/org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 2245, 6645, 2413, 12, 3078, 30639, 272, 2828, 16, 5714, 921, 9318, 16, 4611, 30639, 1026, 2828, 13, 565, 288, 3639, 934, 1017, 1119, 919, 273, 934, 1017, 1119, 18, 588, 5621, 3639, 1250, 8526, 5881, 11137, 273, 394, 1250, 63, 3078, 559, 18, 14378, 67, 11300, 56, 397, 404, 15533, 3639, 5714, 2961, 5784, 559, 8526, 3399, 6645, 2413, 273, 1026, 2828, 18, 588, 8252, 6645, 2413, 5621, 368, 7297, 279, 1610, 3639, 1250, 8526, 5499, 6645, 2413, 273, 1026, 2828, 18, 588, 7505, 6645, 2413, 5621, 3639, 509, 4945, 86, 273, 4611, 559, 18, 2651, 67, 2124, 13847, 13519, 31, 3639, 987, 3557, 690, 1972, 273, 446, 31, 3639, 987, 6884, 273, 446, 31, 3639, 309, 261, 23954, 480, 446, 13, 3639, 288, 5411, 5714, 6688, 662, 273, 9318, 18, 2704, 6688, 5621, 5411, 364, 261, 6494, 1898, 273, 662, 18, 869, 3759, 1763, 5621, 1898, 31, 1898, 273, 662, 18, 869, 2134, 10291, 10756, 5411, 288, 7734, 509, 981, 273, 4204, 11137, 1085, 12, 1397, 18, 17994, 10663, 7734, 309, 261, 710, 422, 300, 21, 13, 10792, 1324, 31, 7734, 31872, 11082, 273, 261, 11137, 13, 1397, 18, 588, 921, 5621, 7734, 309, 16051, 21568, 13029, 31616, 12, 710, 16, 1026, 2828, 3719, 7734, 288, 10792, 919, 18, 1636, 12, 4432, 668, 6295, 18, 11300, 8047, 67, 7215, 6065, 2782, 16, 13491, 394, 1033, 8526, 288, 11082, 18, 2704, 6688, 7675, 17994, 7675, 588, 2042, 1988, 9334, 16723, 2276, 18, 19073, 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, 760, 918, 2245, 6645, 2413, 12, 3078, 30639, 272, 2828, 16, 5714, 921, 9318, 16, 4611, 30639, 1026, 2828, 13, 565, 288, 3639, 934, 1017, 1119, 919, 273, 934, 1017, 1119, 18, 588, 5621, 3639, 1250, 8526, 5881, 11137, 273, 394, 1250, 63, 3078, 559, 18, 14378, 67, 11300, 56, 397, 404, 15533, 3639, 5714, 2961, 5784, 559, 8526, 3399, 6645, 2413, 273, 1026, 2828, 18, 588, 8252, 6645, 2413, 5621, 368, 7297, 279, 1610, 3639, 1250, 8526, 5499, 6645, 2413, 273, 1026, 2828, 18, 588, 7505, 6645, 2413, 5621, 3639, 509, 4945, 86, 273, 4611, 559, 18, 2651, 67, 2124, 13847, 13519, 31, 3639, 987, 3557, 690, 1972, 273, 446, 31, 3639, 987, 6884, 273, 446, 31, 2 ]
addSymbol.setEnabled(true); addSymbol.setFont(parent.getFont()); addSymbol.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(addSymbol); editSymbol = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(EDIT)); editSymbol.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { editSymbolListItem(); } }); editSymbol.setEnabled(true); editSymbol.setFont(parent.getFont()); editSymbol.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(editSymbol); removeSymbol = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(REMOVE)); removeSymbol.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleRemoveSymbol(); } }); removeSymbol.setFont(parent.getFont()); removeSymbol.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(removeSymbol); symbolUp = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(UP)); symbolUp.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleSymbolUp(); } }); symbolUp.setFont(parent.getFont()); symbolUp.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(symbolUp); symbolDown = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(DOWN)); symbolDown.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleSymbolDown(); } }); symbolDown.setFont(parent.getFont()); symbolDown.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(symbolDown);
manageSymbolsButton.setFont(parent.getFont()); manageSymbolsButton.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(manageSymbolsButton); return;
private void createSymbolListButtons(Composite parent) { // Create a composite for the buttons symbolButtonComp = ControlFactory.createComposite(parent, 1); symbolButtonComp.setFont(parent.getFont()); // Add the buttons addSymbol = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(NEW)); addSymbol.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleAddSymbol(); } }); addSymbol.setEnabled(true); addSymbol.setFont(parent.getFont()); addSymbol.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(addSymbol); editSymbol = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(EDIT)); editSymbol.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { editSymbolListItem(); } }); editSymbol.setEnabled(true); editSymbol.setFont(parent.getFont()); editSymbol.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(editSymbol); removeSymbol = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(REMOVE)); removeSymbol.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleRemoveSymbol(); } }); removeSymbol.setFont(parent.getFont()); removeSymbol.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(removeSymbol); symbolUp = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(UP)); symbolUp.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleSymbolUp(); } }); symbolUp.setFont(parent.getFont()); symbolUp.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(symbolUp); symbolDown = ControlFactory.createPushButton(symbolButtonComp, MakeUIPlugin.getResourceString(DOWN)); symbolDown.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { handleSymbolDown(); } }); symbolDown.setFont(parent.getFont()); symbolDown.setLayoutData(new GridData()); SWTUtil.setButtonDimensionHint(symbolDown); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e75bafa4a4e6c14b60634418bc08cee3200fcd49/BuildPathInfoBlock.java/clean/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildPathInfoBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 5335, 682, 14388, 12, 9400, 982, 13, 288, 202, 202, 759, 1788, 279, 9635, 364, 326, 9502, 202, 202, 7175, 3616, 2945, 273, 8888, 1733, 18, 2640, 9400, 12, 2938, 16, 404, 1769, 202, 202, 7175, 3616, 2945, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 759, 1436, 326, 9502, 202, 202, 1289, 5335, 273, 8888, 1733, 18, 2640, 7621, 3616, 12, 7175, 3616, 2945, 16, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 12917, 10019, 202, 202, 1289, 5335, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 4110, 986, 5335, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 1289, 5335, 18, 542, 1526, 12, 3767, 1769, 202, 202, 1289, 5335, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 1289, 5335, 18, 542, 3744, 751, 12, 2704, 7145, 751, 10663, 202, 202, 55, 8588, 1304, 18, 542, 3616, 8611, 7002, 12, 1289, 5335, 1769, 202, 202, 4619, 5335, 273, 8888, 1733, 18, 2640, 7621, 3616, 12, 7175, 3616, 2945, 16, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 10776, 10019, 202, 202, 4619, 5335, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 4619, 5335, 13575, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 4619, 5335, 18, 542, 1526, 12, 3767, 1769, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 5335, 682, 14388, 12, 9400, 982, 13, 288, 202, 202, 759, 1788, 279, 9635, 364, 326, 9502, 202, 202, 7175, 3616, 2945, 273, 8888, 1733, 18, 2640, 9400, 12, 2938, 16, 404, 1769, 202, 202, 7175, 3616, 2945, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 759, 1436, 326, 9502, 202, 202, 1289, 5335, 273, 8888, 1733, 18, 2640, 7621, 3616, 12, 7175, 3616, 2945, 16, 4344, 5370, 3773, 18, 588, 1420, 780, 12, 12917, 10019, 202, 202, 1289, 5335, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 4110, 986, 5335, 5621, 1082, 202, 97, 2 ]
protected void initialize(Folder f, InternetHeaders h) { folder = f; FolderBase fb = (FolderBase) f; ByteStringTable string_table = fb.getStringTable(); MessageIDTable id_table = fb.getMessageIDTable(); String hh[]; hh = h.getHeader("From"); author_name = (hh == null || hh.length == 0 ? -1 : string_table.intern(hh[0].trim())); // #### need an address parser here... recipient_name = -1;/* hh = h.getHeader("To"); // #### deal with multiple to fields recipient_name = (hh == null || hh.length == 0 ? -1 : string_table.intern(hh[0].trim())); if (recipient == -1) { // #### deal with multiple cc fields hh = h.getHeader("CC"); recipient_name = (hh == null || hh.length == 0 ? -1 : string_table.intern(hh[0].trim())); } if (recipient == -1) { hh = h.getHeader("Newsgroups"); recipient_name = (hh == null || hh.length == 0 ? -1 : string_table.intern(hh[0].trim())); } */ hh = h.getHeader("Subject"); if (hh != null && hh.length != 0) { // Much of this code is duplicated in MessageExtraFactory. Sigh. ### ByteBuf value = new ByteBuf(hh[0]); if (value.length() > 2 && (value.byteAt(0) == 'r' || value.byteAt(0) == 'R') && (value.byteAt(1) == 'e' || value.byteAt(1) == 'E')) { byte c = value.byteAt(2); if (c == ':') { value.remove(0, 3); // Skip over "Re:" value.trim(); // Remove any whitespace after colon flags |= FLAG_HAS_RE; // yes, we found it. } else if (c == '[' || c == '(') { int i = 3; // skip over "Re[" or "Re(" // Skip forward over digits after the "[" or "(". int length = value.length(); while (i < length && value.byteAt(i) >= '0' && value.byteAt(i) <= '9') { i++; } // Now ensure that the following thing is "]:" or "):" // Only if it is do we treat this all as a "Re"-ish thing. if (i < (length-1) && (value.byteAt(i) == ']' || value.byteAt(i) == ')') && value.byteAt(i+1) == ':') { value.remove(0, i+2); // Skip the whole thing. value.trim(); // Remove any whitespace after colon flags |= FLAG_HAS_RE; // yes, we found it. } } } subject = string_table.intern(value); } hh = h.getHeader("Date"); if (hh != null && hh.length != 0) sentDate = NetworkDate.parseLong(new ByteBuf(hh[0]), true); hh = h.getHeader("Message-ID"); if (hh != null && hh.length != 0) { ByteBuf value = new ByteBuf(hh[0]); value.trim(); int length = value.length(); if (length > 0 && value.byteAt(0) == '<' && value.byteAt(length-1) == '>') { value.remove(length-1, length); value.remove(0, 1); } message_id = id_table.intern(value.trim()); } // There must be a message ID on every message. if (message_id == -1) { // #### In previous versions, we did this by getting the MD5 hash // #### of the whole header block. We should do that here too... String id = grendel.util.MessageIDGenerator.generate("missing-id"); message_id = id_table.intern(new ByteBuf(id)); } hh = h.getHeader("References"); if (hh != null && hh.length != 0) { ByteBuf value = new ByteBuf(hh[0]); references = internReferences(id_table, value.trim()); } // Only examine the In-Reply-To header if there is no References header. if (references == null) { hh = h.getHeader("In-Reply-To"); if (hh != null && hh.length != 0) { ByteBuf value = new ByteBuf(hh[0]); references = internReferences(id_table, value.trim()); } } }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/142ac2d2574885f73cb7b993d3684a66a2343069/MessageBase.java/buggy/grendel/sources/grendel/storage/MessageBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 4046, 12, 3899, 284, 16, 21352, 3121, 366, 13, 288, 565, 3009, 273, 284, 31, 565, 12623, 2171, 12754, 273, 261, 3899, 2171, 13, 284, 31, 565, 17484, 1388, 533, 67, 2121, 273, 12754, 18, 588, 780, 1388, 5621, 565, 2350, 734, 1388, 612, 67, 2121, 273, 12754, 18, 24906, 734, 1388, 5621, 565, 514, 18629, 8526, 31, 565, 18629, 273, 366, 18, 588, 1864, 2932, 1265, 8863, 565, 2869, 67, 529, 273, 261, 21622, 422, 446, 747, 18629, 18, 2469, 422, 374, 692, 300, 21, 294, 10402, 533, 67, 2121, 18, 267, 798, 12, 21622, 63, 20, 8009, 5290, 1435, 10019, 225, 368, 11849, 7, 1608, 392, 1758, 2082, 2674, 2777, 565, 8027, 67, 529, 273, 300, 21, 31, 20308, 565, 18629, 273, 366, 18, 588, 1864, 2932, 774, 8863, 1377, 368, 11849, 7, 10490, 598, 3229, 358, 1466, 565, 8027, 67, 529, 273, 261, 21622, 422, 446, 747, 18629, 18, 2469, 422, 374, 692, 300, 21, 294, 5397, 533, 67, 2121, 18, 267, 798, 12, 21622, 63, 20, 8009, 5290, 1435, 10019, 565, 309, 261, 20367, 422, 300, 21, 13, 288, 1377, 368, 11849, 7, 10490, 598, 3229, 4946, 1466, 1377, 18629, 273, 366, 18, 588, 1864, 2932, 6743, 8863, 1377, 8027, 67, 529, 273, 261, 21622, 422, 446, 747, 18629, 18, 2469, 422, 374, 692, 300, 21, 294, 15604, 533, 67, 2121, 18, 267, 798, 12, 21622, 63, 20, 8009, 5290, 1435, 10019, 565, 289, 565, 309, 261, 20367, 422, 300, 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, 4046, 12, 3899, 284, 16, 21352, 3121, 366, 13, 288, 565, 3009, 273, 284, 31, 565, 12623, 2171, 12754, 273, 261, 3899, 2171, 13, 284, 31, 565, 17484, 1388, 533, 67, 2121, 273, 12754, 18, 588, 780, 1388, 5621, 565, 2350, 734, 1388, 612, 67, 2121, 273, 12754, 18, 24906, 734, 1388, 5621, 565, 514, 18629, 8526, 31, 565, 18629, 273, 366, 18, 588, 1864, 2932, 1265, 8863, 565, 2869, 67, 529, 273, 261, 21622, 422, 446, 747, 18629, 18, 2469, 422, 374, 692, 300, 21, 294, 10402, 533, 67, 2121, 18, 267, 798, 12, 21622, 63, 20, 8009, 5290, 1435, 10019, 225, 368, 11849, 7, 1608, 392, 1758, 2082, 2674, 2777, 565, 8027, 67, 529, 2 ]
public boolean equals(Object o) { if(! (o instanceof List) ) { return false; } List other = (List) o; if(other.size() != 3) { return false; } return other.get(0).equals(a) && other.get(1).equals(b) && other.get(2).equals(c); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/365aecac9853491ae1f369c4de4967e9df5bb78b/ListTools.java/clean/src/org/biojava/utils/ListTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 320, 13, 288, 1377, 309, 12, 5, 261, 83, 1276, 987, 13, 262, 288, 3639, 327, 629, 31, 1377, 289, 5411, 987, 1308, 273, 261, 682, 13, 320, 31, 1377, 309, 12, 3011, 18, 1467, 1435, 480, 890, 13, 288, 3639, 327, 629, 31, 1377, 289, 5411, 327, 1308, 18, 588, 12, 20, 2934, 14963, 12, 69, 13, 597, 1308, 18, 588, 12, 21, 2934, 14963, 12, 70, 13, 597, 1308, 18, 588, 12, 22, 2934, 14963, 12, 71, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 1606, 12, 921, 320, 13, 288, 1377, 309, 12, 5, 261, 83, 1276, 987, 13, 262, 288, 3639, 327, 629, 31, 1377, 289, 5411, 987, 1308, 273, 261, 682, 13, 320, 31, 1377, 309, 12, 3011, 18, 1467, 1435, 480, 890, 13, 288, 3639, 327, 629, 31, 1377, 289, 5411, 327, 1308, 18, 588, 12, 20, 2934, 14963, 12, 69, 13, 597, 1308, 18, 588, 12, 21, 2934, 14963, 12, 70, 13, 597, 1308, 18, 588, 12, 22, 2934, 14963, 12, 71, 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 ]
if (tdsPool == null) { tdsPool = new Vector(20); } if (allStatements == null) { allStatements = new Vector(2); } Tds tmpTds = this.allocateTds();
Tds tmpTds = this.allocateTds(false);
public TdsConnection(Properties props_) throws SQLException, TdsException { host = props_.getProperty(Tds.PROP_HOST); serverType = Integer.parseInt(props_.getProperty(Tds.PROP_SERVERTYPE)); port = Integer.parseInt(props_.getProperty(Tds.PROP_PORT)); database = props_.getProperty(Tds.PROP_DBNAME); String user = props_.getProperty(Tds.PROP_USER); String password = props_.getProperty(Tds.PROP_PASSWORD); initialProps = props_; warningChain = new SQLWarningChain(); if (user == null) { user = props_.getProperty(Tds.PROP_USER.toLowerCase()); if (user == null) { throw new SQLException("Need a username."); } props_.put(Tds.PROP_USER, user); } if (password == null) { password = props_.getProperty(Tds.PROP_PASSWORD.toLowerCase()); if (password == null) { throw new SQLException("Need a password."); } props_.put(Tds.PROP_PASSWORD, password); } if (tdsPool == null) { tdsPool = new Vector(20); } if (allStatements == null) { allStatements = new Vector(2); } Tds tmpTds = this.allocateTds(); tdsVer = tmpTds.getTdsVer(); database = tmpTds.getDatabase(); freeTds(tmpTds); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/e5015802a1f909ce24a5169163558bd26ddc487a/TdsConnection.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 399, 2377, 1952, 12, 2297, 3458, 67, 13, 3639, 1216, 6483, 16, 399, 2377, 503, 565, 288, 3639, 1479, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 8908, 1769, 3639, 1438, 559, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4370, 2399, 10019, 3639, 1756, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 6354, 10019, 3639, 2063, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 2290, 1985, 1769, 3639, 514, 729, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4714, 1769, 3639, 514, 2201, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 13784, 1769, 3639, 2172, 5047, 273, 3458, 67, 31, 3639, 3436, 3893, 273, 394, 3063, 6210, 3893, 5621, 3639, 309, 261, 1355, 422, 446, 13, 288, 5411, 729, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4714, 18, 869, 5630, 10663, 5411, 309, 261, 1355, 422, 446, 13, 288, 7734, 604, 394, 6483, 2932, 14112, 279, 2718, 1199, 1769, 5411, 289, 5411, 3458, 27799, 458, 12, 56, 2377, 18, 15811, 67, 4714, 16, 729, 1769, 3639, 289, 3639, 309, 261, 3664, 422, 446, 13, 288, 5411, 2201, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 13784, 18, 869, 5630, 10663, 5411, 309, 261, 3664, 422, 446, 13, 288, 7734, 604, 394, 6483, 2932, 14112, 279, 2201, 1199, 1769, 5411, 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, 399, 2377, 1952, 12, 2297, 3458, 67, 13, 3639, 1216, 6483, 16, 399, 2377, 503, 565, 288, 3639, 1479, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 8908, 1769, 3639, 1438, 559, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4370, 2399, 10019, 3639, 1756, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 6354, 10019, 3639, 2063, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 2290, 1985, 1769, 3639, 514, 729, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4714, 1769, 3639, 514, 2201, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 2 ]
if ( dYAxisLabelsThickness < scX.getEndShift( ) )
if ( startEndChanged || dYAxisLabelsThickness < scX.getEndShift( ) )
protected final double adjustHorizontal( double dBlockX, double dBlockWidth, AllAxes aax ) throws ChartException, IllegalArgumentException { final OneAxis axPH = aax.areAxesSwapped( ) ? aax.getPrimaryOrthogonal( ) : aax.getPrimaryBase( ); final OneAxis axPV = aax.areAxesSwapped( ) ? aax.getPrimaryBase( ) : aax.getPrimaryOrthogonal( ); final AutoScale scX = axPH.getScale( ); final AutoScale scY = axPV.getScale( ); final int iXLabelLocation = axPH.getLabelPosition( ); final int iYLabelLocation = axPV.getLabelPosition( ); final int iYTitleLocation = axPV.getTitlePosition( ); final Label laXAxisLabels = axPH.getLabel( ); final Label laYAxisLabels = axPV.getLabel( ); final Label laYAxisTitle = axPV.getTitle( ); final int iYTickStyle = axPV.getCombinedTickStyle( ); final IntersectionValue iv = axPV.getIntersectionValue( ); // COMPUTE THE THICKNESS OF THE AXIS INCLUDING AXIS LABEL BOUNDS AND // AXIS-PLOT SPACING final boolean bTicksLeft = ( iYTickStyle & TICK_LEFT ) == TICK_LEFT; final boolean bTicksRight = ( iYTickStyle & TICK_RIGHT ) == TICK_RIGHT; final double dAppliedYAxisPlotSpacing = ( iv.iType == IntersectionValue.MAX || iv.iType == IntersectionValue.MIN ) ? dYAxisPlotSpacing : 0; // UPDATE Y-AXIS ENDPOINTS DUE TO AXIS LABEL SHIFTS double dStart = scY.getStart( ), dEnd = scY.getEnd( ); scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( !scY.isStepFixed( ) ) { final Object[] oaMinMax = scY.getMinMax( ); while ( !scY.checkFit( ids, laYAxisLabels, iYLabelLocation ) ) { if ( !scY.zoomOut( ) ) { break; } scY.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scY.computeTicks( ids, laYAxisLabels, iYLabelLocation, VERTICAL, dStart, dEnd, true, aax ); if ( scY.getUnit( ) != null && asInteger( scY.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } double dYAxisLabelsThickness = scY.computeAxisLabelThickness( ids, axPV.getLabel( ), VERTICAL ); double dYAxisTitleThickness = 0; if ( laYAxisTitle.isVisible( ) ) { final String sPreviousValue = laYAxisTitle.getCaption( ).getValue( ); laYAxisTitle.getCaption( ) .setValue( rtc.externalizedMessage( sPreviousValue ) ); try { dYAxisTitleThickness = computeBox( ids, iYTitleLocation, laYAxisTitle, 0, 0 ).getWidth( ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } finally { laYAxisTitle.getCaption( ).setValue( sPreviousValue ); } } double dX = getLocation( scX, iv ), dX1 = dX, dX2 = dX; // COMPUTE VALUES FOR x1, x, x2 // x = HORIZONTAL LOCATION OF Y-AXIS ALONG PLOT // x1 = LEFT EDGE OF Y-AXIS BAND (DUE TO AXIS LABELS, TITLE, TICKS & // SPACING) // x2 = RIGHT EDGE OF Y-AXIS BAND (DUE TO AXIS LABELS, TITLE, TICKS & // SPACING) if ( iv.iType == IntersectionValue.MIN ) { if ( scX.getDirection( ) == BACKWARD ) { // switch if scale is backward. dX = getLocation( scX, IntersectionValue.MAX_VALUE ); } dX -= dAppliedYAxisPlotSpacing; dX1 = dX; dX2 = dX; if ( bTicksLeft ) { dX1 -= TICK_SIZE; } if ( iYLabelLocation == LEFT ) { dX1 -= dYAxisLabelsThickness; dX2 += Math.max( // IF LABELS ARE LEFT, THEN RIGHT SPACING IS // MAX(RT_TICK_SIZE, HORZ_SPACING) bTicksRight ? TICK_SIZE : 0, dAppliedYAxisPlotSpacing ); } else if ( iYLabelLocation == RIGHT ) { // IF LABELS ARE RIGHT, THEN RIGHT SPACING IS // MAX(RT_TICK_SIZE+AXIS_LBL_THCKNESS, HORZ_SPACING) dX2 += Math.max( ( bTicksRight ? TICK_SIZE : 0 ) + dYAxisLabelsThickness, dAppliedYAxisPlotSpacing ); } if ( iYTitleLocation == LEFT ) { dX1 -= dYAxisTitleThickness; } else if ( iYTitleLocation == RIGHT ) { dX2 += dYAxisTitleThickness; } // ENSURE THAT WE DON'T GO BEHIND THE LEFT PLOT BLOCK EDGE if ( dX1 < dBlockX ) { final double dDelta = ( dBlockX - dX1 ); dX1 = dBlockX; dX += dDelta; dX2 += dDelta; } final double dDeltaX1 = dX - dX1; final double dDeltaX2 = dX2 - dX; // COMPUTE THE Y-AXIS BAND THICKNESS AND ADJUST X2 FOR LABELS BELOW if ( iYLabelLocation == RIGHT ) { // Y-AXIS BAND IS (x1 -> (x+AxisPlotSpacing)) dX2 = ( dX + dAppliedYAxisPlotSpacing ); } dYAxisLabelsThickness = dX2 - dX1; // REUSE VARIABLE // CHECK IF X-AXIS THICKNESS REQUIRES A PLOT HEIGHT RESIZE AT THE // UPPER END scX.computeAxisStartEndShifts( ids, laXAxisLabels, HORIZONTAL, iXLabelLocation, aax ); if ( scX.getDirection( ) == BACKWARD ) { if ( dYAxisLabelsThickness > scX.getEndShift( ) ) { // REDUCE scX's STARTPOINT TO FIT THE Y-AXIS ON THE LEFT dEnd = dX2 - scX.getEndShift( ); } else { dEnd = scX.getEnd( ); } dStart = scX.getStart( ); } else { if ( dYAxisLabelsThickness > scX.getStartShift( ) ) { // REDUCE scX's STARTPOINT TO FIT THE Y-AXIS ON THE LEFT dStart = dX2 - scX.getStartShift( ); } else { dStart = scX.getStart( ); } dEnd = scX.getEnd( ); } scX.resetShifts( ); // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS LABELS IF // OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if ( !scX.zoomOut( ) ) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } // MOVE THE Y-AXIS TO THE LEFT EDGE OF THE PLOT IF SLACK SPACE // EXISTS if ( scX.getDirection( ) == BACKWARD ) { if ( dYAxisLabelsThickness < scX.getEndShift( ) ) { dX = scX.getEnd( ) - ( dX2 - dX ); } } else { if ( dYAxisLabelsThickness < scX.getStartShift( ) ) { dX = scX.getStart( ) - ( dX2 - dX ); } } dX -= insCA.getLeft( ); dX2 = dX + dDeltaX2; dX1 = dX - dDeltaX1; axPV.setTitleCoordinate( ( iYTitleLocation == LEFT ) ? dX1 - 1 : dX2 + 1 - dYAxisTitleThickness ); } else if ( iv.iType == IntersectionValue.MAX ) { if ( scX.getDirection( ) == BACKWARD ) { // switch if scale is backward. dX = getLocation( scX, IntersectionValue.MIN_VALUE ); } dX += dAppliedYAxisPlotSpacing; dX1 = dX; dX2 = dX; if ( bTicksRight ) { dX2 += TICK_SIZE; } if ( iYLabelLocation == RIGHT ) { dX2 += dYAxisLabelsThickness; dX1 -= Math.max( bTicksLeft ? TICK_SIZE : 0, dAppliedYAxisPlotSpacing ); } else if ( iYLabelLocation == LEFT ) { dX1 -= Math.max( ( bTicksLeft ? TICK_SIZE : 0 ) + dYAxisLabelsThickness, dAppliedYAxisPlotSpacing ); } if ( iYTitleLocation == RIGHT ) { dX2 += dYAxisTitleThickness; } else if ( iYTitleLocation == LEFT ) { dX1 -= dYAxisTitleThickness; } // ENSURE THAT WE DON'T GO AHEAD OF THE RIGHT PLOT BLOCK EDGE if ( dX2 > dBlockX + dBlockWidth ) { final double dDelta = dX2 - ( dBlockX + dBlockWidth ); dX2 = dBlockX + dBlockWidth; dX -= dDelta; dX1 -= dDelta; } final double dDeltaX1 = dX - dX1; final double dDeltaX2 = dX2 - dX; // COMPUTE THE Y-AXIS BAND THICKNESS AND ADJUST X1 IF Y-AXIS LABELS // ARE ON THE LEFT if ( iYLabelLocation == LEFT ) { // Y-AXIS BAND IS ((x-AxisPlotSpacing) -> x2) dX1 = ( dX - dAppliedYAxisPlotSpacing ); } dYAxisLabelsThickness = dX2 - dX1; // REUSE VARIABLE // CHECK IF X-AXIS THICKNESS REQUIRES A PLOT HEIGHT RESIZE AT THE // UPPER END scX.computeAxisStartEndShifts( ids, laXAxisLabels, HORIZONTAL, iXLabelLocation, aax ); if ( scX.getDirection( ) == BACKWARD ) { if ( dYAxisLabelsThickness > scX.getStartShift( ) ) { // REDUCE scX's ENDPOINT TO FIT THE Y-AXIS ON THE RIGHT dStart = dX1 + scX.getStartShift( ); } else { dStart = scX.getStart( ); } dEnd = scX.getEnd( ); } else { if ( dYAxisLabelsThickness > scX.getEndShift( ) ) { // REDUCE scX's ENDPOINT TO FIT THE Y-AXIS ON THE RIGHT dEnd = dX1 + scX.getEndShift( ); } else { dEnd = scX.getEnd( ); } dStart = scX.getStart( ); } scX.resetShifts( ); // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS LABELS IF // OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if ( !scX.zoomOut( ) ) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } // MOVE THE Y-AXIS TO THE LEFT EDGE OF THE PLOT IF SLACK SPACE // EXISTS if ( scX.getDirection( ) == BACKWARD ) { if ( dYAxisLabelsThickness < scX.getStartShift( ) ) { dX = scX.getStart( ) - ( dX1 - dX ); } } else { if ( dYAxisLabelsThickness < scX.getEndShift( ) ) { dX = scX.getEnd( ) - ( dX1 - dX ); } } dX += insCA.getRight( ); dX2 = dX + dDeltaX2; dX1 = dX - dDeltaX1; axPV.setTitleCoordinate( ( iYTitleLocation == LEFT ) ? dX1 - 1 : dX2 + 1 - dYAxisTitleThickness ); } else { double dDeltaX1 = 0, dDeltaX2 = 0; if ( iYTitleLocation == RIGHT ) { dX2 += dYAxisTitleThickness; } else if ( iYTitleLocation == LEFT ) { dX1 -= dYAxisTitleThickness; } if ( iYLabelLocation == LEFT ) { dX1 -= ( bTicksLeft ? TICK_SIZE : 0 ) + dYAxisLabelsThickness; dX2 += ( bTicksRight ? TICK_SIZE : 0 ); dDeltaX1 = dX - dX1; dDeltaX2 = dX2 - dX; // CHECK IF LEFT EDGE OF Y-AXIS BAND GOES BEHIND THE PLOT LEFT // EDGE if ( dX1 < dBlockX ) { final Object[] oaMinMax = scX.getMinMax( ); boolean bForceBreak = false; // A LOOP THAT ITERATIVELY ATTEMPTS TO ADJUST THE LEFT EDGE // OF THE Y-AXIS LABELS WITH THE LEFT EDGE OF THE PLOT // AND/OR // ENSURE THAT THE START POINT OF THE X-AXIS SCALE IS // SUITABLY POSITIONED do { // CANCEL OUT THE ENDPOINT LABEL SHIFT COMPUTATIONS FROM // THE X-AXIS scX.setEndPoints( scX.getStart( ) - scX.getStartShift( ), scX.getEnd( ) + scX.getEndShift( ) ); // RESTORE scX.resetShifts( ); // APPLY THE AXIS REDUCTION FORMULA W.R.T. X-AXIS // STARTPOINT double[] da = scX.getEndPoints( ); double dT_RI = dBlockX - dX1; // THRESHOLD - // REQUESTEDINTERSECTION if ( scX.getDirection( ) == BACKWARD ) { double dAMin_AMax = da[0] - da[1]; double dAMax_RI = Math.abs( da[0] - dX ); double dDelta = ( dT_RI / dAMax_RI ) * dAMin_AMax; dEnd = da[1] + dDelta; dStart = da[0]; if ( dEnd < dBlockX ) { dEnd = dBlockX; bForceBreak = true; } } else { double dAMin_AMax = da[1] - da[0]; double dAMax_RI = Math.abs( da[1] - dX ); double dDelta = ( dT_RI / dAMax_RI ) * dAMin_AMax; dStart = da[0] + dDelta; dEnd = da[1]; if ( dStart < dBlockX ) { dStart = dBlockX; bForceBreak = true; } } // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if ( !scX.zoomOut( ) ) { bForceBreak = true; break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { bForceBreak = true; break; } } dX = getLocation( scX, iv ); dX1 = dX - dDeltaX1; // RE-CALCULATE X-AXIS BAND LEFT // EDGE } while ( Math.abs( dX1 - dBlockX ) > 1 && !bForceBreak ); } else { // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR dStart = scX.getStart( ); dEnd = scX.getEnd( ); scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if ( !scX.zoomOut( ) ) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } dX = getLocation( scX, iv ); } dX1 = dX - dDeltaX1; dX2 = dX + dDeltaX2; } else if ( iYLabelLocation == RIGHT ) { dX2 += ( bTicksRight ? TICK_SIZE : 0 ) + dYAxisLabelsThickness; dX1 -= ( bTicksLeft ? TICK_SIZE : 0 ); dDeltaX1 = dX - dX1; dDeltaX2 = dX2 - dX; // CHECK IF RIGHT EDGE OF Y-AXIS BAND GOES BEHIND THE PLOT RIGHT // EDGE if ( dX2 > dBlockX + dBlockWidth ) { final Object[] oaMinMax = scX.getMinMax( ); boolean bForceBreak = false; // A LOOP THAT ITERATIVELY ATTEMPTS TO ADJUST THE RIGHT EDGE // OF THE Y-AXIS LABELS WITH THE RIGHT EDGE OF THE PLOT // AND/OR // ENSURE THAT THE START POINT OF THE X-AXIS SCALE IS // SUITABLY POSITIONED do { // CANCEL OUT THE ENDPOINT LABEL SHIFT COMPUTATIONS FROM // THE X-AXIS scX.setEndPoints( scX.getStart( ) - scX.getStartShift( ), scX.getEnd( ) + scX.getEndShift( ) ); // RESTORE scX.resetShifts( ); // APPLY THE AXIS REDUCTION FORMULA W.R.T. X-AXIS // ENDPOINT double[] da = scX.getEndPoints( ); double dT_RI = dX2 - ( dBlockX + dBlockWidth ); // THRESHOLD // - // REQUESTEDINTERSECTION if ( scX.getDirection( ) == BACKWARD ) { double dAMin_AMax = da[0] - da[1]; double dAMin_RI = Math.abs( dX - da[1] ); double dDelta = Math.abs( dT_RI / dAMin_RI ) * dAMin_AMax; dStart = da[0] - dDelta; dEnd = da[1]; if ( dStart > dBlockX + dBlockWidth ) { dStart = dBlockX + dBlockWidth; bForceBreak = true; } } else { double dAMin_AMax = da[1] - da[0]; double dAMin_RI = Math.abs( dX - da[0] ); double dDelta = ( dT_RI / dAMin_RI ) * dAMin_AMax; dEnd = da[1] - dDelta; dStart = da[0]; if ( dEnd > dBlockX + dBlockWidth ) { dEnd = dBlockX + dBlockWidth; bForceBreak = true; } } // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if ( !scX.zoomOut( ) ) { bForceBreak = true; break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { bForceBreak = true; break; } } } dX = getLocation( scX, iv ); dX2 = dX + dDeltaX2; // RE-CALCULATE X-AXIS BAND // RIGHT // EDGE } while ( Math.abs( dX2 - ( dBlockX + dBlockWidth ) ) > 1 && !bForceBreak ); } else { // LOOP THAT AUTO-RESIZES Y-AXIS AND RE-COMPUTES Y-AXIS // LABELS IF OVERLAPS OCCUR dStart = scX.getStart( ); dEnd = scX.getEnd( ); scX.setEndPoints( dStart, dEnd ); scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( !scX.isStepFixed( ) ) { final Object[] oaMinMax = scX.getMinMax( ); while ( !scX.checkFit( ids, laXAxisLabels, iXLabelLocation ) ) { if ( !scX.zoomOut( ) ) { break; } scX.updateAxisMinMax( oaMinMax[0], oaMinMax[1] ); int tickCount = scX.computeTicks( ids, laXAxisLabels, iXLabelLocation, HORIZONTAL, dStart, dEnd, true, aax ); if ( scX.getUnit( ) != null && asInteger( scX.getUnit( ) ) == Calendar.YEAR && tickCount <= 3 ) { break; } } } dX = getLocation( scX, iv ); } dX2 = dX + dDeltaX2; dX1 = dX - dDeltaX1; } axPV.setTitleCoordinate( ( iYTitleLocation == LEFT ) ? dX1 - 1 : dX2 + 1 - dYAxisTitleThickness ); } return dX; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/48591faaeb26460761e9a40eb903978ef98c0f90/PlotWithAxes.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWithAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1645, 5765, 14457, 12, 1645, 302, 1768, 60, 16, 1082, 202, 9056, 302, 1768, 2384, 16, 4826, 26494, 279, 651, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 6385, 6942, 6558, 1740, 8939, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 2171, 12, 11272, 202, 202, 6385, 6942, 6558, 1740, 30201, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 2171, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 60, 273, 1740, 8939, 18, 588, 5587, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 61, 273, 1740, 30201, 18, 588, 5587, 12, 11272, 202, 202, 6385, 509, 277, 60, 2224, 2735, 273, 1740, 8939, 18, 588, 2224, 2555, 12, 11272, 202, 202, 6385, 509, 277, 61, 2224, 2735, 273, 1740, 30201, 18, 588, 2224, 2555, 12, 11272, 202, 202, 6385, 509, 277, 61, 4247, 2735, 273, 1740, 30201, 18, 588, 4247, 2555, 12, 11272, 202, 202, 6385, 5287, 7125, 60, 6558, 5888, 273, 1740, 8939, 18, 588, 2224, 12, 11272, 202, 202, 6385, 5287, 7125, 61, 6558, 5888, 273, 1740, 30201, 18, 588, 2224, 12, 11272, 202, 202, 6385, 5287, 7125, 61, 6558, 4247, 273, 1740, 30201, 18, 588, 4247, 12, 11272, 202, 202, 6385, 509, 277, 61, 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, 727, 1645, 5765, 14457, 12, 1645, 302, 1768, 60, 16, 1082, 202, 9056, 302, 1768, 2384, 16, 4826, 26494, 279, 651, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 6385, 6942, 6558, 1740, 8939, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 2171, 12, 11272, 202, 202, 6385, 6942, 6558, 1740, 30201, 273, 279, 651, 18, 834, 26494, 12521, 1845, 12, 262, 692, 279, 651, 18, 588, 6793, 2171, 12, 262, 9506, 202, 30, 279, 651, 18, 588, 6793, 1162, 451, 28396, 12, 11272, 202, 202, 6385, 8064, 5587, 888, 60, 2 ]
Node fChild = getFirstChild(newNode); if (fChild == null) { return getNextSibling(newNode); } return fChild;
return getFirstChild(newNode);
Node getNextSibling(Node node) { if (node == null || node == fRoot) return null; Node newNode = node.getNextSibling(); if (newNode == null) { newNode = node.getParentNode(); if (newNode == null || node == fRoot) return null; int parentAccept = acceptNode(newNode); if (parentAccept==NodeFilter.FILTER_SKIP) { return getNextSibling(newNode); } return null; } int accept = acceptNode(newNode); if (accept == NodeFilter.FILTER_ACCEPT) return newNode; else if (accept == NodeFilter.FILTER_SKIP) { Node fChild = getFirstChild(newNode); if (fChild == null) { return getNextSibling(newNode); } return fChild; } else //if (accept == NodeFilter.REJECT_NODE) { return getNextSibling(newNode); } } // getNextSibling(Node node) {
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/079cb15134a802f2a8d736487e83c340a9e97178/TreeWalkerImpl.java/buggy/src/org/apache/xerces/dom/TreeWalkerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2029, 6927, 10291, 12, 907, 756, 13, 288, 7734, 309, 261, 2159, 422, 446, 747, 756, 422, 284, 2375, 13, 327, 446, 31, 7734, 2029, 10942, 273, 756, 18, 588, 2134, 10291, 5621, 3639, 309, 261, 2704, 907, 422, 446, 13, 288, 18701, 10942, 273, 756, 18, 588, 3054, 907, 5621, 18701, 309, 261, 2704, 907, 422, 446, 747, 756, 422, 284, 2375, 13, 225, 327, 446, 31, 11794, 509, 982, 5933, 273, 2791, 907, 12, 2704, 907, 1769, 18701, 309, 261, 2938, 5933, 631, 907, 1586, 18, 11126, 67, 22589, 13, 288, 7734, 327, 6927, 10291, 12, 2704, 907, 1769, 5411, 289, 18701, 327, 446, 31, 3639, 289, 7734, 509, 2791, 273, 2791, 907, 12, 2704, 907, 1769, 7734, 309, 261, 9436, 422, 2029, 1586, 18, 11126, 67, 21417, 13, 5411, 327, 10942, 31, 3639, 469, 540, 309, 261, 9436, 422, 2029, 1586, 18, 11126, 67, 22589, 13, 288, 5411, 2029, 284, 1763, 273, 225, 17315, 12, 2704, 907, 1769, 5411, 309, 261, 74, 1763, 422, 446, 13, 288, 7734, 327, 6927, 10291, 12, 2704, 907, 1769, 5411, 289, 5411, 327, 284, 1763, 31, 3639, 289, 3639, 469, 540, 368, 430, 261, 9436, 422, 2029, 1586, 18, 862, 5304, 67, 8744, 13, 540, 288, 5411, 327, 6927, 10291, 12, 2704, 907, 1769, 3639, 289, 5411, 289, 368, 6927, 10291, 12, 907, 756, 13, 288, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2029, 6927, 10291, 12, 907, 756, 13, 288, 7734, 309, 261, 2159, 422, 446, 747, 756, 422, 284, 2375, 13, 327, 446, 31, 7734, 2029, 10942, 273, 756, 18, 588, 2134, 10291, 5621, 3639, 309, 261, 2704, 907, 422, 446, 13, 288, 18701, 10942, 273, 756, 18, 588, 3054, 907, 5621, 18701, 309, 261, 2704, 907, 422, 446, 747, 756, 422, 284, 2375, 13, 225, 327, 446, 31, 11794, 509, 982, 5933, 273, 2791, 907, 12, 2704, 907, 1769, 18701, 309, 261, 2938, 5933, 631, 907, 1586, 18, 11126, 67, 22589, 13, 288, 7734, 327, 6927, 10291, 12, 2704, 907, 1769, 5411, 289, 18701, 327, 446, 31, 3639, 289, 7734, 509, 2791, 273, 2791, 907, 12, 2704, 907, 2 ]
String path = getParameter("hierarchyPath"); if (path == null) path = (String) env.get("PATH_TRANSLATED");
protected void buildData() { String path = getParameter("hierarchyPath"); if (path == null) path = (String) env.get("PATH_TRANSLATED"); initValues(); DefectAnalyzer.run(getPSPProperties(), path, this); int numRows = defectFixTimes.size(); data = new ResultSet(numRows, 1); data.setColName(0, "Defect Type"); data.setColName(1, "Total Fix Time (minutes)"); Iterator i = defectFixTimes.keySet().iterator(); String defectType; while (i.hasNext()) { defectType = (String) i.next(); data.setRowName(numRows, defectType); data.setData(numRows, 1, new DoubleData(getRow(defectType)[0])); numRows--; } data.sortBy(1, true); }
5494 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5494/998f093c13df18558108dcb7ea84a9b8e5c298dc/r5b.java/clean/pspdash/Templates/reports/psp/r5b.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 22633, 1435, 288, 3639, 514, 589, 273, 5575, 2932, 17937, 743, 8863, 3639, 309, 261, 803, 422, 446, 13, 589, 273, 261, 780, 13, 1550, 18, 588, 2932, 4211, 67, 25419, 6344, 8863, 3639, 1208, 1972, 5621, 3639, 10922, 386, 12803, 18, 2681, 12, 588, 52, 3118, 2297, 9334, 589, 16, 333, 1769, 3639, 509, 12934, 273, 26640, 8585, 10694, 18, 1467, 5621, 3639, 501, 273, 394, 10842, 12, 2107, 4300, 16, 404, 1769, 3639, 501, 18, 542, 31187, 12, 20, 16, 315, 3262, 386, 1412, 8863, 3639, 501, 18, 542, 31187, 12, 21, 16, 315, 5269, 12139, 2647, 261, 17916, 2225, 1769, 3639, 4498, 277, 273, 26640, 8585, 10694, 18, 856, 694, 7675, 9838, 5621, 3639, 514, 26640, 559, 31, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 26640, 559, 273, 261, 780, 13, 277, 18, 4285, 5621, 5411, 501, 18, 542, 1999, 461, 12, 2107, 4300, 16, 26640, 559, 1769, 5411, 501, 18, 542, 751, 12, 2107, 4300, 16, 404, 16, 394, 3698, 751, 12, 588, 1999, 12, 536, 386, 559, 25146, 20, 5717, 1769, 5411, 12934, 413, 31, 3639, 289, 3639, 501, 18, 3804, 858, 12, 21, 16, 638, 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, 4750, 918, 22633, 1435, 288, 3639, 514, 589, 273, 5575, 2932, 17937, 743, 8863, 3639, 309, 261, 803, 422, 446, 13, 589, 273, 261, 780, 13, 1550, 18, 588, 2932, 4211, 67, 25419, 6344, 8863, 3639, 1208, 1972, 5621, 3639, 10922, 386, 12803, 18, 2681, 12, 588, 52, 3118, 2297, 9334, 589, 16, 333, 1769, 3639, 509, 12934, 273, 26640, 8585, 10694, 18, 1467, 5621, 3639, 501, 273, 394, 10842, 12, 2107, 4300, 16, 404, 1769, 3639, 501, 18, 542, 31187, 12, 20, 16, 315, 3262, 386, 1412, 8863, 3639, 501, 18, 542, 31187, 12, 21, 16, 315, 5269, 12139, 2647, 261, 17916, 2225, 1769, 3639, 4498, 277, 273, 26640, 8585, 10694, 18, 856, 694, 7675, 9838, 5621, 2 ]
public void setReceiveStreamId(byte[] id) { _receiveStreamId = id; if ( (id != null) && (DataHelper.eq(id, STREAM_ID_UNKNOWN)) ) _receiveStreamId = null; }
public void setReceiveStreamId(long id) { _receiveStreamId = id; }
public void setReceiveStreamId(byte[] id) { _receiveStreamId = id; if ( (id != null) && (DataHelper.eq(id, STREAM_ID_UNKNOWN)) ) _receiveStreamId = null; }
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/aef33548b35848b46991ab14cf8ddde142c982e1/Packet.java/clean/apps/streaming/java/src/net/i2p/client/streaming/Packet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 11323, 1228, 548, 12, 7229, 8526, 612, 13, 288, 540, 389, 18149, 1228, 548, 273, 612, 31, 540, 309, 261, 261, 350, 480, 446, 13, 597, 261, 751, 2276, 18, 11253, 12, 350, 16, 19917, 67, 734, 67, 14737, 3719, 262, 5411, 389, 18149, 1228, 548, 273, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 11323, 1228, 548, 12, 7229, 8526, 612, 13, 288, 540, 389, 18149, 1228, 548, 273, 612, 31, 540, 309, 261, 261, 350, 480, 446, 13, 597, 261, 751, 2276, 18, 11253, 12, 350, 16, 19917, 67, 734, 67, 14737, 3719, 262, 5411, 389, 18149, 1228, 548, 273, 446, 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 ]
protected void redirectTo(final Page page) throws ServletException { String redirectUrl = page.urlFor(page, IRedirectListener.class); // Check if use serverside response for client side redirects ApplicationSettings settings = application.getSettings(); if ((settings.getRenderStrategy() == ApplicationSettings.REDIRECT_TO_BUFFER) && (application instanceof WebApplication)) { // remember the current response final Response currentResponse = getResponse(); try { // create the redirect response. // override the encodeURL so that it will use the real once encoding. final BufferedResponse redirectResponse = new BufferedResponse(redirectUrl) { public String encodeURL(String url) { return currentResponse.encodeURL(url); } }; redirectResponse.setCharacterEncoding(currentResponse.getCharacterEncoding()); // redirect the response to the buffer setResponse(redirectResponse); // test if the invoker page was the same as the page that is going to be renderd if (getInvokePage() == getResponsePage()) { // set it to null because it is already ended in the page.doRender() setInvokePage(null); } // render the page into the buffer page.doRender(); // re-assign the original response setResponse(currentResponse); final String responseRedirect = redirectResponse.getRedirectUrl(); if (redirectUrl != responseRedirect) { // if the redirectResponse has another redirect url set // then the rendering of this page caused a redirect to something else. // set this redirect then. redirectUrl = redirectResponse.getRedirectUrl(); } else if (redirectResponse.getContentLength() > 0) { // if no content is created then don't set it in the redirect buffer // (maybe access failed). // Set the encoding of the response (what the browser wants) redirectResponse.setCharacterEncoding(currentResponse.getCharacterEncoding()); // close it so that the reponse is fixed and encoded from here on. redirectResponse.close(); ((WebApplication)application).addRedirect( getWebRequest().getHttpServletRequest(), redirectUrl, redirectResponse); } } catch (RuntimeException ex) { // re-assign the original response setResponse(currentResponse); internalOnRuntimeException(page, ex); return; } } else { // redirect page can touch its models already (via for example the constructors) page.internalEndRequest(); } // Redirect to the url for the page response.redirect(redirectUrl); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/410494f9667dd87bc9d6b7242188f897126c5298/WebRequestCycle.java/clean/wicket/src/java/wicket/protocol/http/WebRequestCycle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 19200, 12, 6385, 3460, 1363, 13, 1216, 16517, 202, 95, 202, 202, 780, 25372, 273, 1363, 18, 718, 1290, 12, 2433, 16, 467, 5961, 2223, 18, 1106, 1769, 9506, 202, 759, 2073, 309, 999, 7084, 831, 766, 364, 1004, 4889, 18064, 202, 202, 3208, 2628, 1947, 273, 2521, 18, 588, 2628, 5621, 202, 202, 430, 14015, 4272, 18, 588, 3420, 4525, 1435, 422, 4257, 2628, 18, 25103, 67, 4296, 67, 11302, 13, 1875, 3639, 597, 261, 3685, 1276, 25555, 3719, 202, 202, 95, 1082, 565, 368, 11586, 326, 783, 766, 1082, 202, 6385, 2306, 783, 1064, 273, 6476, 5621, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 752, 326, 3136, 766, 18, 9506, 202, 759, 3849, 326, 2017, 1785, 1427, 716, 518, 903, 999, 326, 2863, 3647, 2688, 18, 9506, 202, 6385, 5987, 1064, 3136, 1064, 273, 394, 5987, 1064, 12, 7590, 1489, 13, 4697, 202, 95, 6862, 202, 482, 514, 2017, 1785, 12, 780, 880, 13, 4405, 202, 95, 25083, 202, 2463, 783, 1064, 18, 3015, 1785, 12, 718, 1769, 6862, 202, 97, 9506, 202, 20451, 9506, 202, 7590, 1064, 18, 542, 7069, 4705, 12, 2972, 1064, 18, 588, 7069, 4705, 10663, 9506, 202, 759, 3136, 326, 766, 358, 326, 1613, 9506, 202, 542, 1064, 12, 7590, 1064, 1769, 6862, 9506, 202, 759, 1842, 309, 326, 24920, 1363, 1703, 326, 1967, 487, 326, 1363, 716, 353, 8554, 358, 506, 1743, 72, 9506, 202, 430, 261, 588, 10969, 1964, 1435, 422, 6476, 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, 918, 19200, 12, 6385, 3460, 1363, 13, 1216, 16517, 202, 95, 202, 202, 780, 25372, 273, 1363, 18, 718, 1290, 12, 2433, 16, 467, 5961, 2223, 18, 1106, 1769, 9506, 202, 759, 2073, 309, 999, 7084, 831, 766, 364, 1004, 4889, 18064, 202, 202, 3208, 2628, 1947, 273, 2521, 18, 588, 2628, 5621, 202, 202, 430, 14015, 4272, 18, 588, 3420, 4525, 1435, 422, 4257, 2628, 18, 25103, 67, 4296, 67, 11302, 13, 1875, 3639, 597, 261, 3685, 1276, 25555, 3719, 202, 202, 95, 1082, 565, 368, 11586, 326, 783, 766, 1082, 202, 6385, 2306, 783, 1064, 273, 6476, 5621, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 752, 326, 3136, 766, 18, 9506, 202, 2 ]
DialRegion range = DialRegionImpl.create( );
DialRegion range = DialRegionImpl.create( );
public void widgetSelected( SelectionEvent e ) { if ( e.getSource( ).equals( btnAddRange ) ) { DialRegion range = DialRegionImpl.create( ); //$NON-NLS-1$ range.setStartValue( getTypedDataElement( "" ) ); //$NON-NLS-1$ range.setEndValue( getTypedDataElement( "" ) ); //$NON-NLS-1$ getDialForProcessing( ).getDialRegions( ).add( range ); range.eAdapters( ).addAll( getDialForProcessing( ).eAdapters( ) ); iRangeCount++; buildList( ); lstMarkers.select( lstMarkers.getItemCount( ) - 1 ); updateUIForSelection( ); if ( lstMarkers.getItemCount( ) == 1 ) { // Enable UI elements setState( true ); } refreshButtons( ); } else if ( e.getSource( ).equals( btnRemove ) ) { if ( lstMarkers.getSelection( ).length == 0 ) { return; } int iMarkerIndex = getMarkerIndex( ); getDialForProcessing( ).getDialRegions( ).remove( iMarkerIndex ); iRangeCount--; buildList( ); if ( lstMarkers.getItemCount( ) > 0 ) { lstMarkers.select( 0 ); updateUIForSelection( ); } else { setState( false ); resetUI( ); } refreshButtons( ); } else if ( e.getSource( ).equals( lstMarkers ) ) { updateUIForSelection( ); refreshButtons( ); } else if ( e.getSource( ).equals( btnStartFormatSpecifier ) || e.getSource( ).equals( btnEndFormatSpecifier ) ) { String sAxisTitle = ""; //$NON-NLS-1$ try { String sTitleString = getDialForProcessing( ).getLabel( ) .getCaption( ) .getValue( ); int iSeparatorIndex = sTitleString.indexOf( ExternalizedTextEditorComposite.SEPARATOR ); if ( iSeparatorIndex > 0 ) { sTitleString = sTitleString.substring( iSeparatorIndex ); } else if ( iSeparatorIndex == 0 ) { sTitleString = sTitleString.substring( ExternalizedTextEditorComposite.SEPARATOR.length( ) ); } sAxisTitle = new MessageFormat( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.ForAxis" ) ).format( new Object[]{sTitleString} ); //$NON-NLS-1$ //$NON-NLS-2$ } catch ( NullPointerException e1 ) { } FormatSpecifier formatspecifier = null; if ( ( (DialRegion) getDialForProcessing( ).getDialRegions( ) .get( getMarkerIndex( ) ) ).getFormatSpecifier( ) != null ) { formatspecifier = ( (DialRegion) getDialForProcessing( ).getDialRegions( ) .get( getMarkerIndex( ) ) ).getFormatSpecifier( ); } FormatSpecifierDialog editor = new FormatSpecifierDialog( cmpContent.getShell( ), formatspecifier, new MessageFormat( Messages.getString( "BaseAxisMarkerAttributeSheetImpl.Lbl.MarkerRange" ) ).format( new Object[]{new Integer( getMarkerIndex( ) + 1 ), sAxisTitle} ) ); //$NON-NLS-1$ if ( !editor.wasCancelled( ) ) { if ( editor.getFormatSpecifier( ) == null ) { ( (DialRegion) getDialForProcessing( ).getDialRegions( ) .get( getMarkerIndex( ) ) ).eUnset( ComponentPackage.eINSTANCE.getMarkerRange_FormatSpecifier( ) ); return; } ( (DialRegion) getDialForProcessing( ).getDialRegions( ) .get( getMarkerIndex( ) ) ).setFormatSpecifier( editor.getFormatSpecifier( ) ); } } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/9d8486a7f0171324b11e48825eceffef31458cf9/SeriesRegionSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/series/SeriesRegionSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 10638, 986, 2655, 262, 262, 202, 202, 95, 1082, 202, 11885, 5165, 1048, 273, 9402, 5165, 2828, 18, 2640, 12, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3676, 18, 542, 1685, 620, 12, 3181, 6140, 751, 1046, 12, 1408, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3676, 18, 542, 1638, 620, 12, 3181, 6140, 751, 1046, 12, 1408, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 588, 11885, 1290, 7798, 12, 262, 18, 588, 11885, 17344, 12, 262, 18, 1289, 12, 1048, 11272, 1082, 202, 3676, 18, 73, 26620, 12, 262, 18, 1289, 1595, 12, 2343, 649, 1290, 7798, 12, 262, 18, 73, 26620, 12, 262, 11272, 1082, 202, 77, 2655, 1380, 9904, 31, 1082, 202, 3510, 682, 12, 11272, 1082, 202, 16923, 21644, 18, 4025, 12, 9441, 21644, 18, 588, 30687, 12, 262, 300, 404, 11272, 1082, 202, 2725, 5370, 1290, 6233, 12, 11272, 1082, 202, 430, 261, 9441, 21644, 18, 588, 30687, 12, 262, 422, 404, 262, 1082, 202, 95, 9506, 202, 759, 9677, 6484, 2186, 9506, 202, 542, 1119, 12, 638, 11272, 1082, 202, 97, 1082, 202, 9144, 14388, 12, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 10638, 3288, 262, 262, 202, 202, 95, 1082, 202, 430, 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, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 10638, 986, 2655, 262, 262, 202, 202, 95, 1082, 202, 11885, 5165, 1048, 273, 9402, 5165, 2828, 18, 2640, 12, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3676, 18, 542, 1685, 620, 12, 3181, 6140, 751, 1046, 12, 1408, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3676, 18, 542, 1638, 620, 12, 3181, 6140, 751, 1046, 12, 1408, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 588, 11885, 1290, 7798, 12, 262, 18, 588, 11885, 17344, 12, 262, 18, 1289, 12, 1048, 11272, 2 ]
public ID3v24Frame(AbstractID3v2FrameBody body)
public ID3v24Frame()
public ID3v24Frame(AbstractID3v2FrameBody body) { this.frameBody = body; }
4849 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4849/8e6062659057068b4b85fb7b41c567e179db6f7c/ID3v24Frame.java/buggy/src/org/jaudiotagger/tag/id3/ID3v24Frame.java
[ 1, 8585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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1599, 23, 90, 3247, 3219, 1435, 565, 288, 3639, 333, 18, 3789, 2250, 273, 1417, 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 ]
result = re.executeRegExp(cx, funObj, reImpl,
result = re.executeRegExp(cx, scope, reImpl,
private static Object matchOrReplace(Context cx, Scriptable thisObj, Object[] args, Function funObj, RegExpImpl reImpl, GlobData data, boolean forceFlat) throws JavaScriptException { NativeRegExp re; String str = ScriptRuntime.toString(thisObj); data.str = str; Scriptable scope = ScriptableObject.getTopLevelScope(funObj); if (args.length == 0) re = new NativeRegExp(cx, scope, "", "", false); else if (args[0] instanceof NativeRegExp) { re = (NativeRegExp) args[0]; } else { String src = ScriptRuntime.toString(args[0]); String opt; if (data.optarg < args.length) { args[0] = src; opt = ScriptRuntime.toString(args[data.optarg]); } else { opt = null; } re = new NativeRegExp(cx, scope, src, opt, forceFlat); } data.regexp = re; data.global = (re.getFlags() & NativeRegExp.GLOB) != 0; int[] indexp = { 0 }; Object result = null; if (data.mode == GlobData.GLOB_SEARCH) { result = re.executeRegExp(cx, funObj, reImpl, str, indexp, NativeRegExp.TEST); if (result != null && result.equals(Boolean.TRUE)) result = new Integer(reImpl.leftContext.length); else result = new Integer(-1); } else if (data.global) { re.setLastIndex(0); for (int count = 0; indexp[0] <= str.length(); count++) { result = re.executeRegExp(cx, funObj, reImpl, str, indexp, NativeRegExp.TEST); if (result == null || !result.equals(Boolean.TRUE)) break; data.doGlobal(cx, funObj, count, reImpl); if (reImpl.lastMatch.length == 0) { if (indexp[0] == str.length()) break; indexp[0]++; } } } else { result = re.executeRegExp(cx, funObj, reImpl, str, indexp, ((data.mode == GlobData.GLOB_REPLACE) ? NativeRegExp.TEST : NativeRegExp.MATCH)); } return result; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/dbefc5595ba41854ec04751abfc8db52f70a5796/RegExpImpl.java/clean/src/org/mozilla/javascript/regexp/RegExpImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 845, 1162, 5729, 12, 1042, 9494, 16, 22780, 15261, 16, 29159, 1033, 8526, 833, 16, 4284, 9831, 2675, 16, 29159, 10679, 2828, 283, 2828, 16, 29159, 18901, 751, 501, 16, 1250, 2944, 16384, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 16717, 13673, 283, 31, 3639, 514, 609, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 501, 18, 701, 273, 609, 31, 3639, 22780, 2146, 273, 22780, 921, 18, 588, 27046, 3876, 12, 12125, 2675, 1769, 7734, 309, 261, 1968, 18, 2469, 422, 374, 13, 5411, 283, 273, 394, 16717, 13673, 12, 71, 92, 16, 2146, 16, 23453, 23453, 629, 1769, 3639, 469, 5411, 309, 261, 1968, 63, 20, 65, 1276, 16717, 13673, 13, 288, 7734, 283, 273, 261, 9220, 13673, 13, 833, 63, 20, 15533, 5411, 289, 469, 288, 7734, 514, 1705, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 20, 19226, 7734, 514, 2153, 31, 7734, 309, 261, 892, 18, 3838, 3175, 411, 833, 18, 2469, 13, 288, 10792, 833, 63, 20, 65, 273, 1705, 31, 10792, 2153, 273, 7739, 5576, 18, 10492, 12, 1968, 63, 892, 18, 3838, 3175, 19226, 7734, 289, 469, 288, 10792, 2153, 273, 446, 31, 7734, 289, 27573, 283, 273, 394, 16717, 13673, 12, 71, 92, 16, 2146, 16, 1705, 16, 2153, 16, 2944, 16384, 1769, 5411, 289, 3639, 501, 18, 17745, 273, 283, 31, 3639, 501, 18, 6347, 273, 261, 266, 18, 588, 5094, 1435, 473, 16717, 13673, 18, 43, 6038, 13, 480, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 845, 1162, 5729, 12, 1042, 9494, 16, 22780, 15261, 16, 29159, 1033, 8526, 833, 16, 4284, 9831, 2675, 16, 29159, 10679, 2828, 283, 2828, 16, 29159, 18901, 751, 501, 16, 1250, 2944, 16384, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 16717, 13673, 283, 31, 3639, 514, 609, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 501, 18, 701, 273, 609, 31, 3639, 22780, 2146, 273, 22780, 921, 18, 588, 27046, 3876, 12, 12125, 2675, 1769, 7734, 309, 261, 1968, 18, 2469, 422, 374, 13, 5411, 283, 273, 394, 16717, 13673, 12, 71, 92, 16, 2146, 16, 23453, 23453, 629, 1769, 3639, 469, 5411, 309, 261, 1968, 63, 20, 65, 1276, 16717, 13673, 2 ]
return "Module"+(moduleId==null ? ":Hash"+this.hashCode() : ":"+moduleId);
return "Module"+(moduleId==null ? ":Hash_"+this.hashCode() : ":Id_"+moduleId);
public String toString(){ return "Module"+(moduleId==null ? ":Hash"+this.hashCode() : ":"+moduleId); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/51a3c546dfc7a7a98b29771a459df19094fc5b51/Module.java/clean/components/common/src/ome/model/Module.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 95, 202, 2463, 315, 3120, 6, 15, 12, 2978, 548, 631, 2011, 692, 6398, 2310, 9548, 15, 2211, 18, 2816, 1085, 1435, 294, 6398, 548, 9548, 15, 2978, 548, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 95, 202, 2463, 315, 3120, 6, 15, 12, 2978, 548, 631, 2011, 692, 6398, 2310, 9548, 15, 2211, 18, 2816, 1085, 1435, 294, 6398, 548, 9548, 15, 2978, 548, 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 ]
path = convertPath(workspacePath, workspace, path);
path = convertPath(absolutePath, workspace, path);
public void modified(String path, int kind) { try { path = convertPath(workspacePath, workspace, path); } catch (IOException e) { } DebugLog.log("property '" + propertyName + "' set on '" + path + "'"); }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/1fe39573cdeaf22b25530fee4d0ee6c014e16733/PropsetCommand.java/buggy/javasvn/src/org/tmatesoft/svn/cli/command/PropsetCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 4358, 12, 780, 589, 16, 509, 3846, 13, 288, 6862, 202, 698, 288, 25083, 202, 803, 273, 1765, 743, 12, 14915, 743, 16, 6003, 16, 589, 1769, 6862, 202, 97, 6862, 202, 14683, 261, 14106, 425, 13, 288, 6862, 202, 97, 6862, 202, 2829, 1343, 18, 1330, 2932, 4468, 2119, 397, 5470, 397, 2491, 444, 603, 2119, 397, 589, 397, 5862, 1769, 9506, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 4358, 12, 780, 589, 16, 509, 3846, 13, 288, 6862, 202, 698, 288, 25083, 202, 803, 273, 1765, 743, 12, 14915, 743, 16, 6003, 16, 589, 1769, 6862, 202, 97, 6862, 202, 14683, 261, 14106, 425, 13, 288, 6862, 202, 97, 6862, 202, 2829, 1343, 18, 1330, 2932, 4468, 2119, 397, 5470, 397, 2491, 444, 603, 2119, 397, 589, 397, 5862, 1769, 9506, 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 ]
ExpectationMap map = new ExpectationMap("map");
ExpectationMap map = new ExpectationMap("map");
public void testExpectTwoEntries() { ExpectationMap map = new ExpectationMap("map"); map.addExpected("key", "value"); map.addExpected("key1", "value1"); assertEquals("two entries", "value", map.get("key")); assertEquals("two entries", "value1", map.get("key1")); map.verify(); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ExpectationMapTest.java/clean/jmock/core/src/test/jmock/expectation/ExpectationMapTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11988, 11710, 5400, 1435, 288, 202, 202, 11988, 367, 863, 852, 273, 394, 15510, 367, 863, 2932, 1458, 8863, 202, 202, 1458, 18, 1289, 6861, 2932, 856, 3113, 315, 1132, 8863, 202, 202, 1458, 18, 1289, 6861, 2932, 856, 21, 3113, 315, 1132, 21, 8863, 202, 202, 11231, 8867, 2932, 15415, 3222, 3113, 315, 1132, 3113, 852, 18, 588, 2932, 856, 7923, 1769, 202, 202, 11231, 8867, 2932, 15415, 3222, 3113, 315, 1132, 21, 3113, 852, 18, 588, 2932, 856, 21, 7923, 1769, 202, 202, 1458, 18, 8705, 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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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11988, 11710, 5400, 1435, 288, 202, 202, 11988, 367, 863, 852, 273, 394, 15510, 367, 863, 2932, 1458, 8863, 202, 202, 1458, 18, 1289, 6861, 2932, 856, 3113, 315, 1132, 8863, 202, 202, 1458, 18, 1289, 6861, 2932, 856, 21, 3113, 315, 1132, 21, 8863, 202, 202, 11231, 8867, 2932, 15415, 3222, 3113, 315, 1132, 3113, 852, 18, 588, 2932, 856, 7923, 1769, 202, 202, 11231, 8867, 2932, 15415, 3222, 3113, 315, 1132, 21, 3113, 852, 18, 588, 2932, 856, 21, 7923, 1769, 202, 202, 1458, 18, 8705, 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 ]
public static Box layout( Context c, Content content ) {
public static Box layout(Context c, Content content) {
public static Box layout( Context c, Content content ) { Box block = null; if ( content instanceof AnonymousBlockContent ) { return AnonymousBoxing.layout( c, content ); } else if ( content instanceof TableContent ) { return TableBoxing.layout( c, content ); } else { block = new BlockBox(); } block.element = content.getElement(); return layout( c, block, content ); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/8f81e5fe9f6f8593d3c596d30a3f100cb87dbf27/Boxing.java/buggy/src/java/org/xhtmlrenderer/layout/Boxing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 8549, 3511, 12, 1042, 276, 16, 3697, 913, 13, 288, 3639, 8549, 1203, 273, 446, 31, 3639, 309, 261, 913, 1276, 29775, 1768, 1350, 262, 288, 5411, 327, 29775, 3514, 310, 18, 6741, 12, 276, 16, 913, 11272, 3639, 289, 469, 309, 261, 913, 1276, 3555, 1350, 262, 288, 5411, 327, 3555, 3514, 310, 18, 6741, 12, 276, 16, 913, 11272, 3639, 289, 469, 288, 5411, 1203, 273, 394, 3914, 3514, 5621, 3639, 289, 3639, 1203, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 8549, 3511, 12, 1042, 276, 16, 3697, 913, 13, 288, 3639, 8549, 1203, 273, 446, 31, 3639, 309, 261, 913, 1276, 29775, 1768, 1350, 262, 288, 5411, 327, 29775, 3514, 310, 18, 6741, 12, 276, 16, 913, 11272, 3639, 289, 469, 309, 261, 913, 1276, 3555, 1350, 262, 288, 5411, 327, 3555, 3514, 310, 18, 6741, 12, 276, 16, 913, 11272, 3639, 289, 469, 288, 5411, 1203, 273, 394, 3914, 3514, 5621, 3639, 289, 3639, 1203, 18, 2956, 273, 913, 18, 21336, 5621, 3639, 327, 3511, 12, 276, 16, 1203, 16, 913, 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 ]
public void removeMouseListener(MouseListener listener){ ParameterCheck.nonNull(listener); myFactory.throwExceptionIfNotInitialized(); Assert.assert_it(-1 != nativeWebShell); Assert.assert_it(null != nativeEventThread); ParameterCheck.nonNull(listener); WCMouseListenerImpl mouseListenerWrapper = new WCMouseListenerImpl(listener); if (null == mouseListenerWrapper) { throw new NullPointerException("Can't instantiate WCMouseListenerImpl, out of memory."); } WCEventListenerWrapper listenerWrapper = new WCEventListenerWrapper(mouseListenerWrapper, MouseListener.class.getName()); if (null == listenerWrapper) { throw new NullPointerException("Can't instantiate WCEventListenerWrapper, out of memory."); } synchronized(myBrowserControl) { nativeEventThread.removeListener(listenerWrapper); }}
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/c51f266635955ea9a40fa057209a78cf7b0fb900/EventRegistrationImpl.java/clean/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1206, 9186, 2223, 12, 9186, 2223, 2991, 15329, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 565, 3399, 1733, 18, 12849, 503, 10288, 11459, 5621, 565, 5452, 18, 11231, 67, 305, 19236, 21, 480, 6448, 4079, 13220, 1769, 565, 5452, 18, 11231, 67, 305, 12, 2011, 480, 6448, 1133, 3830, 1769, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 565, 678, 39, 9186, 2223, 2828, 7644, 2223, 3611, 273, 540, 394, 678, 39, 9186, 2223, 2828, 12, 12757, 1769, 3639, 309, 261, 2011, 422, 7644, 2223, 3611, 13, 288, 3639, 604, 394, 10108, 2932, 2568, 1404, 10275, 678, 39, 9186, 2223, 2828, 16, 596, 434, 3778, 1199, 1769, 565, 289, 3639, 678, 39, 7375, 3611, 2991, 3611, 273, 540, 394, 678, 39, 7375, 3611, 12, 11697, 2223, 3611, 16, 4766, 282, 17013, 2223, 18, 1106, 18, 17994, 10663, 3639, 309, 261, 2011, 422, 2991, 3611, 13, 288, 3639, 604, 394, 10108, 2932, 2568, 1404, 10275, 678, 39, 7375, 3611, 16, 596, 434, 3778, 1199, 1769, 565, 289, 3639, 3852, 12, 4811, 9132, 3367, 13, 288, 3639, 6448, 1133, 3830, 18, 4479, 2223, 12, 12757, 3611, 1769, 565, 10523, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1206, 9186, 2223, 12, 9186, 2223, 2991, 15329, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 565, 3399, 1733, 18, 12849, 503, 10288, 11459, 5621, 565, 5452, 18, 11231, 67, 305, 19236, 21, 480, 6448, 4079, 13220, 1769, 565, 5452, 18, 11231, 67, 305, 12, 2011, 480, 6448, 1133, 3830, 1769, 565, 5498, 1564, 18, 5836, 2041, 12, 12757, 1769, 565, 678, 39, 9186, 2223, 2828, 7644, 2223, 3611, 273, 540, 394, 678, 39, 9186, 2223, 2828, 12, 12757, 1769, 3639, 309, 261, 2011, 422, 7644, 2223, 3611, 13, 288, 3639, 604, 394, 10108, 2932, 2568, 1404, 10275, 678, 39, 9186, 2223, 2828, 16, 596, 434, 3778, 1199, 1769, 565, 289, 3639, 678, 39, 7375, 3611, 2 ]
commandline = new CommandlineParser(args, System.out); if (commandline.isShowVersion()) { showVersion(); } if (! commandline.shouldRunInterpreter()) { return; } long now = -1; if (commandline.isBenchmarking()) { now = System.currentTimeMillis(); } int status = runInterpreter(commandline.getScriptSource(), commandline.displayedFileName()); if (commandline.isBenchmarking()) { System.out.println("Runtime: " + (System.currentTimeMillis() - now) + " ms"); } if (status != 0) { System.exit(status); }
Main main = new Main(); try { main.run(args); } catch (MainExitException mee) { main.err.println(mee.getMessage()); if (mee.isUsageError()) { main.printUsage(); } System.exit(mee.getStatus()); }
public static void main(String[] args) { commandline = new CommandlineParser(args, System.out); if (commandline.isShowVersion()) { showVersion(); } if (! commandline.shouldRunInterpreter()) { return; } long now = -1; if (commandline.isBenchmarking()) { now = System.currentTimeMillis(); } int status = runInterpreter(commandline.getScriptSource(), commandline.displayedFileName()); if (commandline.isBenchmarking()) { System.out.println("Runtime: " + (System.currentTimeMillis() - now) + " ms"); } // Only do an explicit exit if the interpreter has had an error. We // do not want to exit on non-errors since the interpreter may have // started background threads (ala samples/swing2.rb) if (status != 0) { System.exit(status); } }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/b4a189a27604d62c317938f16a124fb9dab1e94a/Main.java/clean/src/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 28305, 273, 394, 3498, 1369, 2678, 12, 1968, 16, 2332, 18, 659, 1769, 3639, 309, 261, 3076, 1369, 18, 291, 5706, 1444, 10756, 288, 5411, 2405, 1444, 5621, 3639, 289, 3639, 309, 16051, 28305, 18, 13139, 1997, 30010, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 1525, 2037, 273, 300, 21, 31, 3639, 309, 261, 3076, 1369, 18, 291, 30672, 310, 10756, 288, 5411, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 289, 3639, 509, 1267, 273, 1086, 30010, 12, 3076, 1369, 18, 588, 3651, 1830, 9334, 28305, 18, 5417, 329, 4771, 10663, 3639, 309, 261, 3076, 1369, 18, 291, 30672, 310, 10756, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 5576, 30, 315, 397, 261, 3163, 18, 2972, 28512, 1435, 300, 2037, 13, 397, 315, 4086, 8863, 3639, 289, 7734, 368, 5098, 741, 392, 5515, 2427, 309, 326, 16048, 711, 9323, 392, 555, 18, 225, 1660, 3639, 368, 741, 486, 2545, 358, 2427, 603, 1661, 17, 4324, 3241, 326, 16048, 2026, 1240, 3639, 368, 5746, 5412, 7403, 261, 287, 69, 5216, 19, 5328, 310, 22, 18, 6731, 13, 3639, 309, 261, 2327, 480, 374, 13, 288, 540, 202, 3163, 18, 8593, 12, 2327, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 28305, 273, 394, 3498, 1369, 2678, 12, 1968, 16, 2332, 18, 659, 1769, 3639, 309, 261, 3076, 1369, 18, 291, 5706, 1444, 10756, 288, 5411, 2405, 1444, 5621, 3639, 289, 3639, 309, 16051, 28305, 18, 13139, 1997, 30010, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 1525, 2037, 273, 300, 21, 31, 3639, 309, 261, 3076, 1369, 18, 291, 30672, 310, 10756, 288, 5411, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 289, 3639, 509, 1267, 273, 1086, 30010, 12, 3076, 1369, 18, 588, 3651, 1830, 9334, 28305, 18, 5417, 329, 4771, 10663, 3639, 309, 261, 3076, 1369, 18, 291, 30672, 310, 10756, 288, 5411, 2332, 18, 2 ]
catch (IOException e)
if (crls.size() > 0)
public static OutputStream replaceCertificatesAndCRLs( InputStream original, CertStore certsAndCrls, OutputStream out) throws CMSException, IOException { ASN1StreamParser in = new ASN1StreamParser(original, CMSUtils.getMaximumMemory()); ContentInfoParser contentInfo = new ContentInfoParser((ASN1SequenceParser)in.readObject()); SignedDataParser signedData = SignedDataParser.getInstance(contentInfo.getContent(DERTags.SEQUENCE)); BERSequenceGenerator sGen = new BERSequenceGenerator(out); sGen.addObject(CMSObjectIdentifiers.signedData); BERSequenceGenerator sigGen = new BERSequenceGenerator(sGen.getRawOutputStream(), 0, true); // version number sigGen.addObject(signedData.getVersion()); // digests sigGen.getRawOutputStream().write(signedData.getDigestAlgorithms().getDERObject().getEncoded()); // encap content info ContentInfoParser encapContentInfo = signedData.getEncapContentInfo(); BERSequenceGenerator eiGen = new BERSequenceGenerator(sigGen.getRawOutputStream()); eiGen.addObject(encapContentInfo.getContentType()); ASN1OctetStringParser octs = (ASN1OctetStringParser)encapContentInfo.getContent(DERTags.OCTET_STRING); if (octs != null) { BEROctetStringGenerator octGen = new BEROctetStringGenerator(eiGen.getRawOutputStream(), 0, true); byte[] inBuffer = new byte[4096]; byte[] outBuffer = new byte[4096]; InputStream inOctets = octs.getOctetStream(); OutputStream outOctets = octGen.getOctetOutputStream(outBuffer); int len; while ((len = inOctets.read(inBuffer, 0, inBuffer.length)) >= 0) { outOctets.write(inBuffer, 0, len); } outOctets.close(); } eiGen.close(); // // skip existing certs and CRLs // ASN1SetParser set = signedData.getCertificates(); if (set != null) { set.getDERObject(); } set = signedData.getCrls(); if (set != null) { set.getDERObject(); } // // replace the certs and crls in the SignedData object // ASN1EncodableVector v = new ASN1EncodableVector(); try { Iterator it = certsAndCrls.getCertificates(null).iterator(); while (it.hasNext()) { X509Certificate c = (X509Certificate)it.next(); v.add(makeObj(c.getEncoded())); } } catch (CertStoreException e) { throw new CMSException("error getting certs from certStore", e); } catch (IOException e) { throw new CMSException("error processing certs", e); } catch (CertificateEncodingException e) { throw new CMSException("error encoding certs", e); } if (v.size() > 0) { sigGen.getRawOutputStream().write(new DERTaggedObject(false, 0, new DERSet(v)).getEncoded()); } v = new ASN1EncodableVector(); try { Iterator it = certsAndCrls.getCRLs(null).iterator(); while (it.hasNext()) { X509CRL c = (X509CRL)it.next(); v.add(makeObj(c.getEncoded())); } } catch (CertStoreException e) { throw new CMSException("error getting crls from certStore", e); } catch (IOException e) { throw new CMSException("error processing crls", e); } catch (CRLException e) { throw new CMSException("error encoding crls", e); } if (v.size() > 0) { sigGen.getRawOutputStream().write(new DERTaggedObject(false, 1, new DERSet(v)).getEncoded()); } sigGen.getRawOutputStream().write(signedData.getSignerInfos().getDERObject().getEncoded()); sigGen.close(); sGen.close(); return out; }
14767 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14767/d74c96f6c68aa0013f206bac97a7dfe964bb6180/CMSSignedDataParser.java/clean/crypto/src/org/bouncycastle/cms/CMSSignedDataParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 8962, 1453, 14133, 1876, 29524, 87, 12, 3639, 5037, 282, 2282, 16, 3639, 11921, 2257, 377, 13870, 1876, 39, 1321, 87, 16, 3639, 8962, 225, 596, 13, 3639, 1216, 16621, 503, 16, 1860, 565, 288, 3639, 18598, 21, 1228, 2678, 316, 273, 394, 18598, 21, 1228, 2678, 12, 8830, 16, 16621, 1989, 18, 588, 13528, 6031, 10663, 3639, 3697, 966, 2678, 18569, 273, 394, 3697, 966, 2678, 12443, 22269, 21, 4021, 2678, 13, 267, 18, 896, 921, 10663, 3639, 16724, 751, 2678, 6726, 751, 273, 16724, 751, 2678, 18, 588, 1442, 12, 1745, 966, 18, 588, 1350, 12, 4179, 3453, 18, 25330, 10019, 3639, 605, 654, 4021, 3908, 272, 7642, 273, 394, 605, 654, 4021, 3908, 12, 659, 1769, 3639, 272, 7642, 18, 1289, 921, 12, 13802, 921, 12745, 18, 5679, 751, 1769, 3639, 605, 654, 4021, 3908, 3553, 7642, 273, 394, 605, 654, 4021, 3908, 12, 87, 7642, 18, 588, 4809, 4632, 9334, 374, 16, 638, 1769, 3639, 368, 1177, 1300, 3639, 3553, 7642, 18, 1289, 921, 12, 5679, 751, 18, 588, 1444, 10663, 3639, 368, 5403, 87, 3639, 3553, 7642, 18, 588, 4809, 4632, 7675, 2626, 12, 5679, 751, 18, 588, 9568, 29689, 7675, 588, 4179, 921, 7675, 588, 10397, 10663, 3639, 368, 2446, 438, 913, 1123, 3639, 3697, 966, 2678, 2446, 438, 31987, 273, 6726, 751, 18, 588, 4280, 438, 31987, 5621, 3639, 605, 654, 4021, 3908, 13247, 7642, 273, 394, 605, 654, 4021, 3908, 12, 7340, 7642, 18, 588, 4809, 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, 8962, 1453, 14133, 1876, 29524, 87, 12, 3639, 5037, 282, 2282, 16, 3639, 11921, 2257, 377, 13870, 1876, 39, 1321, 87, 16, 3639, 8962, 225, 596, 13, 3639, 1216, 16621, 503, 16, 1860, 565, 288, 3639, 18598, 21, 1228, 2678, 316, 273, 394, 18598, 21, 1228, 2678, 12, 8830, 16, 16621, 1989, 18, 588, 13528, 6031, 10663, 3639, 3697, 966, 2678, 18569, 273, 394, 3697, 966, 2678, 12443, 22269, 21, 4021, 2678, 13, 267, 18, 896, 921, 10663, 3639, 16724, 751, 2678, 6726, 751, 273, 16724, 751, 2678, 18, 588, 1442, 12, 1745, 966, 18, 588, 1350, 12, 4179, 3453, 18, 25330, 10019, 3639, 605, 654, 4021, 3908, 272, 7642, 273, 394, 605, 654, 4021, 3908, 2 ]
public org.quickfix.field.EncodedLegSecurityDescLen getEncodedLegSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedLegSecurityDescLen value = new org.quickfix.field.EncodedLegSecurityDescLen();
public quickfix.field.EncodedLegSecurityDescLen getEncodedLegSecurityDescLen() throws FieldNotFound { quickfix.field.EncodedLegSecurityDescLen value = new quickfix.field.EncodedLegSecurityDescLen();
public org.quickfix.field.EncodedLegSecurityDescLen getEncodedLegSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedLegSecurityDescLen value = new org.quickfix.field.EncodedLegSecurityDescLen(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReportRequestAck.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReportRequestAck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 4368, 4217, 2891, 28799, 8329, 4368, 4217, 2891, 1435, 1216,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10397, 8329, 4368, 4217, 2891, 28799, 8329, 4368, 4217, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 4368, 4217, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 8329, 4368, 4217, 2891, 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 ]
else if (DataConstants.NAVIGATABLE.equals(dataId)) { return createEditSourceDescriptor();
else if (DataConstants.NAVIGATABLE_ARRAY.equals(dataId)) { return getNavigatables();
public final Object getDataImpl(final String dataId) { if (myBuilder == null) return null; if (DataConstants.PSI_ELEMENT.equals(dataId)) { final PsiElement selectedElement = getSelectedElement(); return (selectedElement != null && selectedElement.isValid())? selectedElement : null; } if (DataConstantsEx.PSI_ELEMENT_ARRAY.equals(dataId)) { return filterInvalidElements(getSelectedElements()); } else if (DataConstantsEx.PASTE_TARGET_PSI_ELEMENT.equals(dataId)) { final Object element = myBuilder.getParentElement(); return (element instanceof PsiElement) && ((PsiElement)element).isValid() ? element : null; } else if (DataConstants.NAVIGATABLE.equals(dataId)) { return createEditSourceDescriptor(); } else if (DataConstantsEx.COPY_PROVIDER.equals(dataId)) { return myCopyPasteDelegator != null ? myCopyPasteDelegator.getCopyProvider() : null; } else if (DataConstantsEx.CUT_PROVIDER.equals(dataId)) { return myCopyPasteDelegator != null ? myCopyPasteDelegator.getCutProvider() : null; } else if (DataConstantsEx.PASTE_PROVIDER.equals(dataId)) { return myCopyPasteDelegator != null ? myCopyPasteDelegator.getPasteProvider() : null; } else if (DataConstantsEx.IDE_VIEW.equals(dataId)) { return myIdeView; } else if (DataConstantsEx.DELETE_ELEMENT_PROVIDER.equals(dataId)) { return myDeleteElementProvider; } return null; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/9d164aa16a71880806905dec3aae3dbc2083ba58/CommanderPanel.java/clean/source/com/intellij/ide/commander/CommanderPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 1033, 4303, 2828, 12, 6385, 514, 501, 548, 13, 288, 565, 309, 261, 4811, 1263, 422, 446, 13, 327, 446, 31, 565, 309, 261, 751, 2918, 18, 52, 2320, 67, 10976, 18, 14963, 12, 892, 548, 3719, 288, 1377, 727, 453, 7722, 1046, 3170, 1046, 273, 16625, 1046, 5621, 1377, 327, 261, 8109, 1046, 480, 446, 597, 3170, 1046, 18, 26810, 1435, 9945, 3170, 1046, 294, 446, 31, 565, 289, 565, 309, 261, 751, 2918, 424, 18, 52, 2320, 67, 10976, 67, 8552, 18, 14963, 12, 892, 548, 3719, 288, 1377, 327, 1034, 1941, 3471, 12, 588, 7416, 3471, 10663, 565, 289, 565, 469, 309, 261, 751, 2918, 424, 18, 4066, 882, 41, 67, 16374, 67, 52, 2320, 67, 10976, 18, 14963, 12, 892, 548, 3719, 288, 1377, 727, 1033, 930, 273, 3399, 1263, 18, 588, 3054, 1046, 5621, 1377, 327, 261, 2956, 1276, 453, 7722, 1046, 13, 597, 14015, 52, 7722, 1046, 13, 2956, 2934, 26810, 1435, 692, 930, 294, 446, 31, 565, 289, 565, 469, 309, 261, 751, 2918, 18, 50, 5856, 3047, 789, 2782, 18, 14963, 12, 892, 548, 3719, 288, 1377, 327, 752, 4666, 1830, 3187, 5621, 565, 289, 565, 469, 309, 261, 751, 2918, 424, 18, 24875, 67, 26413, 18, 14963, 12, 892, 548, 3719, 288, 1377, 327, 3399, 2951, 52, 14725, 15608, 639, 480, 446, 692, 3399, 2951, 52, 14725, 15608, 639, 18, 588, 2951, 2249, 1435, 294, 446, 31, 565, 289, 565, 469, 309, 261, 751, 2918, 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, 727, 1033, 4303, 2828, 12, 6385, 514, 501, 548, 13, 288, 565, 309, 261, 4811, 1263, 422, 446, 13, 327, 446, 31, 565, 309, 261, 751, 2918, 18, 52, 2320, 67, 10976, 18, 14963, 12, 892, 548, 3719, 288, 1377, 727, 453, 7722, 1046, 3170, 1046, 273, 16625, 1046, 5621, 1377, 327, 261, 8109, 1046, 480, 446, 597, 3170, 1046, 18, 26810, 1435, 9945, 3170, 1046, 294, 446, 31, 565, 289, 565, 309, 261, 751, 2918, 424, 18, 52, 2320, 67, 10976, 67, 8552, 18, 14963, 12, 892, 548, 3719, 288, 1377, 327, 1034, 1941, 3471, 12, 588, 7416, 3471, 10663, 565, 289, 565, 469, 309, 261, 751, 2918, 424, 18, 4066, 882, 41, 67, 16374, 67, 2 ]
paintImage(event, getImage(), getImageData()[0]);
paintImage(event, manager.getImage(), manager.getImageData()[0]);
public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setToolTipText(ProgressMessages.getString("AnimationItem.HoverHelp")); //$NON-NLS-1$ imageCanvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { paintImage(event, getImage(), getImageData()[0]); } }); imageCanvasGC = new GC(imageCanvas); imageCanvas.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { imageCanvasGC.dispose(); } }); imageCanvas.addMouseListener(new MouseListener() { /* (non-Javadoc) * @see org.eclipse.swt.events.MouseListener#mouseDoubleClick(org.eclipse.swt.events.MouseEvent) */ public void mouseDoubleClick(MouseEvent arg0) { ProgressUtil.openProgressView(window); } /* (non-Javadoc) * @see org.eclipse.swt.events.MouseListener#mouseDown(org.eclipse.swt.events.MouseEvent) */ public void mouseDown(MouseEvent arg0) { } /* (non-Javadoc) * @see org.eclipse.swt.events.MouseListener#mouseUp(org.eclipse.swt.events.MouseEvent) */ public void mouseUp(MouseEvent arg0) { } }); imageCanvas .getAccessible() .addAccessibleControlListener(new AccessibleControlAdapter() { /* (non-Javadoc) * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getValue(org.eclipse.swt.accessibility.AccessibleControlEvent) */ public void getValue(AccessibleControlEvent arg0) { if (animated) arg0.result = ProgressMessages.getString("AnimationItem.InProgressStatus"); //$NON-NLS-1$ else arg0.result = ProgressMessages.getString("AnimationItem.NotRunningStatus"); //$NON-NLS-1$ } }); imageCanvas.addHelpListener(new HelpListener() { /* (non-Javadoc) * @see org.eclipse.swt.events.HelpListener#helpRequested(org.eclipse.swt.events.HelpEvent) */ public void helpRequested(HelpEvent e) { // XXX Auto-generated method stub } }); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7225000c3d838bed4621bef6e5e44e099e80df1d/AnimationItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 2211, 18, 9342, 273, 982, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 1769, 202, 202, 759, 20966, 358, 2405, 326, 1316, 18, 202, 202, 2730, 12971, 273, 394, 20966, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 2730, 12971, 18, 542, 8199, 12, 1082, 202, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 10019, 202, 202, 2730, 12971, 18, 542, 29250, 1528, 12, 5491, 5058, 18, 588, 780, 2932, 10816, 1180, 18, 21184, 6696, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2730, 12971, 18, 1289, 12699, 2223, 12, 2704, 30001, 2223, 1435, 288, 1082, 202, 482, 918, 12574, 3367, 12, 12699, 1133, 871, 13, 288, 9506, 202, 84, 1598, 2040, 12, 2575, 16, 10567, 9334, 10567, 751, 1435, 63, 20, 19226, 1082, 202, 97, 202, 202, 22938, 202, 202, 2730, 12971, 15396, 273, 394, 15085, 12, 2730, 12971, 1769, 202, 202, 2730, 12971, 18, 1289, 1669, 4150, 2223, 12, 2704, 3035, 4150, 2223, 1435, 288, 1082, 202, 482, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 9506, 202, 2730, 12971, 15396, 18, 2251, 4150, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 2730, 12971, 18, 1289, 9186, 2223, 12, 2704, 17013, 2223, 1435, 288, 1082, 202, 20308, 261, 5836, 17, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 2211, 18, 9342, 273, 982, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 1769, 202, 202, 759, 20966, 358, 2405, 326, 1316, 18, 202, 202, 2730, 12971, 273, 394, 20966, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 2730, 12971, 18, 542, 8199, 12, 1082, 202, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 10019, 202, 202, 2730, 12971, 18, 542, 29250, 1528, 12, 5491, 5058, 18, 588, 780, 2932, 10816, 1180, 18, 21184, 6696, 7923, 1769, 4329, 3993, 17, 5106, 2 ]
return super.getColorProperty( Style.BORDER_RIGHT_COLOR_PROP );
return super.getColorProperty( IStyleModel.BORDER_RIGHT_COLOR_PROP );
public ColorHandle getBorderRightColor( ) { return super.getColorProperty( Style.BORDER_RIGHT_COLOR_PROP ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d802c33711e0d111551ae23575895cd060f085b6/StyleHandle.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/StyleHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5563, 3259, 2882, 1019, 4726, 2957, 12, 262, 202, 95, 202, 202, 2463, 2240, 18, 588, 2957, 1396, 12, 9767, 18, 38, 7954, 67, 11847, 67, 10989, 67, 15811, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 5563, 3259, 2882, 1019, 4726, 2957, 12, 262, 202, 95, 202, 202, 2463, 2240, 18, 588, 2957, 1396, 12, 9767, 18, 38, 7954, 67, 11847, 67, 10989, 67, 15811, 11272, 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 ]
throw new RuntimeException(t);
public void run() { try{ /* Disposing native font peer's resources */ Enumeration kEnum = fonts.keys(); while(kEnum.hasMoreElements()){ Object key = kEnum.nextElement(); FontPeerImpl delPeer = (FontPeerImpl)fonts.remove(key); delPeer.dispose(); } } catch (Throwable t){ } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9b00f971bab2256d913aec1b141462a929f6e182/FontManager.java/buggy/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/font/FontManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 293, 440, 933, 76, 492, 394, 3235, 12, 88, 1769, 918, 12849, 394, 3235, 12, 88, 1769, 1086, 1435, 12849, 394, 3235, 12, 88, 1769, 288, 12849, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 775, 95, 12849, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 1748, 12849, 394, 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, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 293, 440, 933, 76, 492, 394, 3235, 12, 88, 1769, 918, 12849, 394, 3235, 12, 88, 1769, 1086, 1435, 12849, 394, 3235, 12, 88, 1769, 288, 12849, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 12, 88, 1769, 604, 394, 3235, 2 ]
try{ mFileSource.commit(); } catch(java.io.IOException exp) { exp.printStackTrace(); } return(true); }
try { mFileSource.commit(); } catch(java.io.IOException exp) { exp.printStackTrace(); } return(true); }
public boolean saveFile() { DataSource mFileSource = mBroker.get(mFileSourceName); try{ mFileSource.commit(); } catch(java.io.IOException exp) { exp.printStackTrace(); }// mContext.remove("ClusterFileSource"); return(true); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/c88a5c06d548207353be75ae2f8ced073bf5c800/CreateClusteredSimDevicesPanel.java/clean/modules/vrjuggler/vrjconfig/wizards/cluster/org/vrjuggler/vrjconfig/wizards/cluster/CreateClusteredSimDevicesPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1923, 812, 1435, 225, 288, 565, 12806, 312, 812, 1830, 273, 312, 11194, 18, 588, 12, 81, 812, 1830, 461, 1769, 565, 775, 95, 1377, 312, 812, 1830, 18, 7371, 5621, 565, 289, 565, 1044, 12, 6290, 18, 1594, 18, 14106, 1329, 13, 565, 288, 1377, 1329, 18, 1188, 6332, 5621, 565, 289, 759, 565, 312, 1042, 18, 4479, 2932, 3629, 812, 1830, 8863, 565, 327, 12, 3767, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 1923, 812, 1435, 225, 288, 565, 12806, 312, 812, 1830, 273, 312, 11194, 18, 588, 12, 81, 812, 1830, 461, 1769, 565, 775, 95, 1377, 312, 812, 1830, 18, 7371, 5621, 565, 289, 565, 1044, 12, 6290, 18, 1594, 18, 14106, 1329, 13, 565, 288, 1377, 1329, 18, 1188, 6332, 5621, 565, 289, 759, 565, 312, 1042, 18, 4479, 2932, 3629, 812, 1830, 8863, 565, 327, 12, 3767, 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 ]
public int fatallyFailedBlocks() {
public synchronized int fatallyFailedBlocks() {
public int fatallyFailedBlocks() { return fatallyFailedBlocks; }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/SplitFileFetcherSegment.java/clean/src/freenet/client/async/SplitFileFetcherSegment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 284, 270, 1230, 2925, 6450, 1435, 288, 202, 202, 2463, 284, 270, 1230, 2925, 6450, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 284, 270, 1230, 2925, 6450, 1435, 288, 202, 202, 2463, 284, 270, 1230, 2925, 6450, 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 ]
public Cube split() { int dr = max[0]-min[0]+1; int dg = max[1]-min[1]+1; int db = max[2]-min[2]+1; int c0, c1, splitChannel; // Figure out which axis is the longest and split along // that axis (this tries to keep cubes square-ish). if (dr >= dg) { c0 = GRN; if (dr >= db) { splitChannel = RED; c1=BLU; } else { splitChannel = BLU; c1=RED; } } else if (dg >= db) { splitChannel = GRN; c0=RED; c1=BLU; } else { splitChannel = BLU; c0=RED; c1=GRN; } Cube ret; ret = splitChannel(splitChannel, c0, c1); if (ret != null ) return ret; ret = splitChannel(c0, splitChannel, c1); if (ret != null ) return ret; ret = splitChannel(c1, splitChannel, c0); if (ret != null) return ret; done = true; return null; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/dbab799ce6fcc45bdd6cc7b702f5c01af88a7883/IndexImage.java/buggy/sources/org/apache/batik/ext/awt/image/rendered/IndexImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7682, 1071, 282, 385, 4895, 282, 1416, 1435, 282, 288, 4766, 565, 509, 282, 5081, 282, 273, 282, 943, 63, 20, 65, 17, 1154, 63, 20, 3737, 21, 31, 4766, 565, 509, 282, 14938, 282, 273, 282, 943, 63, 21, 65, 17, 1154, 63, 21, 3737, 21, 31, 4766, 565, 509, 282, 1319, 282, 273, 282, 943, 63, 22, 65, 17, 1154, 63, 22, 3737, 21, 31, 4766, 565, 509, 282, 276, 20, 16, 282, 276, 21, 16, 282, 1416, 2909, 31, 4766, 565, 368, 282, 18818, 282, 596, 282, 1492, 282, 2654, 282, 353, 282, 326, 282, 12163, 282, 471, 282, 1416, 282, 7563, 4766, 565, 368, 282, 716, 282, 2654, 282, 261, 2211, 282, 9327, 282, 358, 282, 3455, 282, 276, 23317, 282, 8576, 17, 1468, 2934, 4766, 565, 309, 282, 261, 3069, 282, 1545, 282, 14938, 13, 282, 288, 4766, 7734, 276, 20, 282, 273, 282, 15228, 50, 31, 4766, 7734, 309, 282, 261, 3069, 282, 1545, 282, 1319, 13, 282, 288, 282, 1416, 2909, 282, 273, 282, 14411, 31, 282, 276, 21, 33, 38, 11778, 31, 282, 289, 4766, 7734, 469, 17311, 288, 282, 1416, 2909, 282, 273, 282, 605, 11778, 31, 282, 276, 21, 33, 5879, 31, 282, 289, 4766, 565, 289, 282, 469, 282, 309, 282, 261, 72, 75, 282, 1545, 282, 1319, 13, 282, 288, 4766, 7734, 1416, 2909, 282, 273, 282, 15228, 50, 31, 4766, 7734, 276, 20, 33, 5879, 31, 4766, 7734, 276, 21, 33, 38, 11778, 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, 7682, 1071, 282, 385, 4895, 282, 1416, 1435, 282, 288, 4766, 565, 509, 282, 5081, 282, 273, 282, 943, 63, 20, 65, 17, 1154, 63, 20, 3737, 21, 31, 4766, 565, 509, 282, 14938, 282, 273, 282, 943, 63, 21, 65, 17, 1154, 63, 21, 3737, 21, 31, 4766, 565, 509, 282, 1319, 282, 273, 282, 943, 63, 22, 65, 17, 1154, 63, 22, 3737, 21, 31, 4766, 565, 509, 282, 276, 20, 16, 282, 276, 21, 16, 282, 1416, 2909, 31, 4766, 565, 368, 282, 18818, 282, 596, 282, 1492, 282, 2654, 282, 353, 282, 326, 282, 12163, 282, 471, 282, 1416, 282, 7563, 4766, 565, 368, 282, 716, 282, 2654, 282, 261, 2211, 282, 9327, 282, 358, 2 ]
fail("Expected NoSuchObjectLocalException, but no exception was thrown");
public void testLocalLifeCycle() throws Exception { Connection c = ds.getConnection(); Statement s = c.createStatement(); ResultSet rs; // check that it is not there rs = s.executeQuery("SELECT ID FROM MOCK WHERE ID=2"); assertFalse(rs.next()); rs.close(); // add new MockLocalHome home = (MockLocalHome) kernel.getAttribute(CONTAINER_NAME, "EJBLocalHome"); MockLocal local = home.create(new Integer(2), "Hello"); rs = s.executeQuery("SELECT VALUE FROM MOCK WHERE ID=2"); assertTrue(rs.next()); assertEquals("Hello", rs.getString(1)); rs.close(); // find it local = home.findByPrimaryKey(new Integer(2)); assertEquals("Hello", local.getValue()); // check that it is actually in the database rs = s.executeQuery("SELECT ID FROM MOCK WHERE ID=2"); assertTrue(rs.next()); rs.close(); // remove it local.remove(); // verify it is really gone rs = s.executeQuery("SELECT ID FROM MOCK WHERE ID=2"); assertFalse(rs.next()); try { local.intMethod(33); // todo this does not throw an exception because we are not verifying that the row exists in ejbLoad and intMethod does not access any persistent data// fail("Expected NoSuchObjectLocalException, but no exception was thrown"); } catch(AssertionFailedError e) { throw e; } catch(NoSuchObjectLocalException e) { // expected } catch(Throwable e) { fail("Expected NoSuchObjectLocalException, but got " + e.getClass().getName()); } try { local.getValue(); // we don't have a load query so this is not an ObjectNotFoundException fail("Expected NotLoadedException, but no exception was thrown"); } catch(AssertionFailedError e) { throw e; } catch(NotLoadedException e) { // expected } catch(Throwable e) { e.printStackTrace(); fail("Expected NotLoadedException, but got " + e.getClass().getName()); } try { local = home.findByPrimaryKey(new Integer(2)); fail("Expected ObjectNotFoundException, but no exception was thrown"); } catch(AssertionFailedError e) { throw e; } catch(ObjectNotFoundException e) { // expected } catch(Throwable e) { fail("Expected ObjectNotFoundException, but got " + e.getClass().getName()); } rs.close(); s.close(); c.close(); }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/48cd38b5dec8d6372fec68aedf110bf034182afe/BasicCMPEntityContainerTest.java/buggy/openejb2/modules/core/src/test/org/openejb/entity/BasicCMPEntityContainerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 1071, 918, 1842, 2042, 15315, 13279, 1435, 1216, 1185, 288, 6870, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 4050, 276, 273, 3780, 18, 588, 1952, 5621, 6870, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 8056, 272, 273, 276, 18, 2640, 3406, 5621, 6870, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 10842, 3597, 31, 6870, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 1071, 918, 1842, 2042, 15315, 13279, 1435, 1216, 1185, 288, 6870, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 4050, 276, 273, 3780, 18, 588, 1952, 5621, 6870, 2932, 6861, 5823, 921, 2042, 503, 16, 1496, 1158, 1520, 1703, 6718, 8863, 2321, 2932, 6861, 2 ]