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
{ Portal portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(10); portal.sety(23); portal.setNumber(0); portal.setDestination("0_semos_city",1); zone.addPortal(portal); portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(11); portal.sety(23); portal.setNumber(1); portal.setDestination("0_semos_city",1); zone.addPortal(portal); portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(12); portal.sety(23); portal.setNumber(2); portal.setDestination("0_semos_city",1); zone.addPortal(portal); portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(13); portal.sety(23); portal.setNumber(3); portal.setDestination("0_semos_city",1); zone.addPortal(portal); SpeakerNPC npc=npcs.add(new SpeakerNPC("Ilisa") { protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); nodes.add(new Path.Node(9,5)); nodes.add(new Path.Node(14,5)); setPath(nodes,true); } protected void createDialog() { Behaviours.addGreeting(this); Behaviours.addJob(this, "I have healing abilities and I heal wounded players. I also sell potions and antidotes."); Behaviours.addHelp(this, "Ask me to #heal you and I will help you or ask me #offer and I will show my shop's stuff."); Behaviours.addSeller(this, new Behaviours.SellerBehaviour(shops.get("healing"))); Behaviours.addHealer(this, 0); Behaviours.addGoodbye(this); } }); zone.assignRPObjectID(npc); npc.put("class","welcomernpc"); npc.set(9,5); npc.initHP(100); zone.addNPC(npc); npc=npcs.add(new SpeakerNPC("Io Flotto") { protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); nodes.add(new Path.Node(8,18)); nodes.add(new Path.Node(8,19)); nodes.add(new Path.Node(15,19)); nodes.add(new Path.Node(15,18)); nodes.add(new Path.Node(16,18)); nodes.add(new Path.Node(16,13)); nodes.add(new Path.Node(15,13)); nodes.add(new Path.Node(15,12)); nodes.add(new Path.Node(12,12)); nodes.add(new Path.Node(8,12)); nodes.add(new Path.Node(8,13)); nodes.add(new Path.Node(7,13)); nodes.add(new Path.Node(7,18)); setPath(nodes,true); } protected void createDialog() { add(0,"hi",null,1,null, new SpeakerNPC.ChatAction() { public void fire(Player player,String text,SpeakerNPC engine) { if (!player.isQuestCompleted("Io")) { engine.say("I waited you, "+player.getName()+". How do I know your name? Easy, I'm Io Flotto, the telepath. Do you want me to show you the six basic elements of telepathy?"); player.setQuest("Io","done"); } else { engine.say("Hi again, "+player.getName()+". How can I #help you this time? Not that I don't already know..."); } } }); Behaviours.addHelp(this,"I'm a telepath and telekinetic. I can help you by sharing my mental skills with you... Do you want me to show you the six basic elements of telepathy? I already know the answer but I'm being polite..."); Behaviours.addJob(this,"I am committed to develop the unknown potential power of the mind. Up to this day I've made great advances in telepathy and telekinesis. However, I can't foresee the future yet and if finally we will be able to destroy Blordrough's dark legion"); add(1,new String[]{"quest","task"},null,1,"I do not have any task for you right now. If you need anything from me just say it. I think it's simply unkind reading one's mind without permission.",null); Behaviours.addGoodbye(this); } }); zone.assignRPObjectID(npc); npc.put("class","floattingladynpc"); npc.set(8,18); npc.initHP(100); zone.addNPC(npc); }
{ Portal portal = new Portal(); zone.assignRPObjectID(portal); portal.setx(10); portal.sety(23); portal.setNumber(0); portal.setDestination("0_semos_city", 1); zone.addPortal(portal); portal = new Portal(); zone.assignRPObjectID(portal); portal.setx(11); portal.sety(23); portal.setNumber(1); portal.setDestination("0_semos_city", 1); zone.addPortal(portal); portal = new Portal(); zone.assignRPObjectID(portal); portal.setx(12); portal.sety(23); portal.setNumber(2); portal.setDestination("0_semos_city", 1); zone.addPortal(portal); portal = new Portal(); zone.assignRPObjectID(portal); portal.setx(13); portal.sety(23); portal.setNumber(3); portal.setDestination("0_semos_city", 1); zone.addPortal(portal); SpeakerNPC npc = npcs.add(new SpeakerNPC("Ilisa") { protected void createPath() { List<Path.Node> nodes = new LinkedList<Path.Node>(); nodes.add(new Path.Node(9, 5)); nodes.add(new Path.Node(14, 5)); setPath(nodes, true); } protected void createDialog() { Behaviours.addGreeting(this); Behaviours .addJob( this, "I have healing abilities and I heal wounded people. I also sell potions and antidotes."); Behaviours .addHelp( this, "Ask me to #heal you and I will help you or ask me #offer and I will show my shop's stuff."); Behaviours.addSeller(this, new Behaviours.SellerBehaviour(shops .get("healing"))); Behaviours.addHealer(this, 0); Behaviours.addGoodbye(this); } }); zone.assignRPObjectID(npc); npc.put("class", "welcomernpc"); npc.set(9, 5); npc.initHP(100); zone.addNPC(npc); npc = npcs.add(new SpeakerNPC("Io Flotto") { protected void createPath() { List<Path.Node> nodes = new LinkedList<Path.Node>(); nodes.add(new Path.Node(8, 18)); nodes.add(new Path.Node(8, 19)); nodes.add(new Path.Node(15, 19)); nodes.add(new Path.Node(15, 18)); nodes.add(new Path.Node(16, 18)); nodes.add(new Path.Node(16, 13)); nodes.add(new Path.Node(15, 13)); nodes.add(new Path.Node(15, 12)); nodes.add(new Path.Node(12, 12)); nodes.add(new Path.Node(8, 12)); nodes.add(new Path.Node(8, 13)); nodes.add(new Path.Node(7, 13)); nodes.add(new Path.Node(7, 18)); setPath(nodes, true); } protected void createDialog() { add(0, "hi", null, 1, null, new SpeakerNPC.ChatAction() { public void fire(Player player, String text, SpeakerNPC engine) { if (!player.isQuestCompleted("Io")) { engine .say("I waited you, " + player.getName() + ". How do I know your name? Easy, I'm Io Flotto, the telepath. Do you want me to show you the six basic elements of telepathy?"); player.setQuest("Io", "done"); } else { engine .say("Hi again, " + player.getName() + ". How can I #help you this time? Not that I don't already know..."); } } }); Behaviours .addHelp( this, "I'm a telepath and telekinetic. I can help you by sharing my mental skills with you... Do you want me to show you the six basic elements of telepathy? I already know the answer but I'm being polite..."); Behaviours .addJob( this, "I am committed to develop the unknown potential power of the mind. Up to this day I've made great advances in telepathy and telekinesis. However, I can't foresee the future yet and if finally we will be able to destroy Blordrough's dark legion"); add( 1, new String[] { "quest", "task" }, null, 1, "I do not have any task for you right now. If you need anything from me just say it. I think it's simply unkind reading one's mind without permission.", null); Behaviours.addGoodbye(this); } }); zone.assignRPObjectID(npc); npc.put("class", "floattingladynpc"); npc.set(8, 18); npc.initHP(100); zone.addNPC(npc); }
private void buildSemosTempleArea(StendhalRPZone zone) { Portal portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(10); portal.sety(23); portal.setNumber(0); portal.setDestination("0_semos_city",1); zone.addPortal(portal); portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(11); portal.sety(23); portal.setNumber(1); portal.setDestination("0_semos_city",1); zone.addPortal(portal); portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(12); portal.sety(23); portal.setNumber(2); portal.setDestination("0_semos_city",1); zone.addPortal(portal); portal=new Portal(); zone.assignRPObjectID(portal); portal.setx(13); portal.sety(23); portal.setNumber(3); portal.setDestination("0_semos_city",1); zone.addPortal(portal); SpeakerNPC npc=npcs.add(new SpeakerNPC("Ilisa") { protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); nodes.add(new Path.Node(9,5)); nodes.add(new Path.Node(14,5)); setPath(nodes,true); } protected void createDialog() { Behaviours.addGreeting(this); Behaviours.addJob(this, "I have healing abilities and I heal wounded players. I also sell potions and antidotes."); Behaviours.addHelp(this, "Ask me to #heal you and I will help you or ask me #offer and I will show my shop's stuff."); Behaviours.addSeller(this, new Behaviours.SellerBehaviour(shops.get("healing"))); Behaviours.addHealer(this, 0); Behaviours.addGoodbye(this); } }); zone.assignRPObjectID(npc); npc.put("class","welcomernpc"); npc.set(9,5); npc.initHP(100); zone.addNPC(npc); npc=npcs.add(new SpeakerNPC("Io Flotto") { protected void createPath() { List<Path.Node> nodes=new LinkedList<Path.Node>(); nodes.add(new Path.Node(8,18)); nodes.add(new Path.Node(8,19)); nodes.add(new Path.Node(15,19)); nodes.add(new Path.Node(15,18)); nodes.add(new Path.Node(16,18)); nodes.add(new Path.Node(16,13)); nodes.add(new Path.Node(15,13)); nodes.add(new Path.Node(15,12)); nodes.add(new Path.Node(12,12)); nodes.add(new Path.Node(8,12)); nodes.add(new Path.Node(8,13)); nodes.add(new Path.Node(7,13)); nodes.add(new Path.Node(7,18)); setPath(nodes,true); } protected void createDialog() { add(0,"hi",null,1,null, new SpeakerNPC.ChatAction() { public void fire(Player player,String text,SpeakerNPC engine) { //A little trick to make NPC remember if it has met player before anc react accordingly //NPC_name quest doesn't exist anywhere else neither is used for any other purpose if (!player.isQuestCompleted("Io")) { engine.say("I waited you, "+player.getName()+". How do I know your name? Easy, I'm Io Flotto, the telepath. Do you want me to show you the six basic elements of telepathy?"); player.setQuest("Io","done"); } else { engine.say("Hi again, "+player.getName()+". How can I #help you this time? Not that I don't already know..."); } } }); Behaviours.addHelp(this,"I'm a telepath and telekinetic. I can help you by sharing my mental skills with you... Do you want me to show you the six basic elements of telepathy? I already know the answer but I'm being polite..."); Behaviours.addJob(this,"I am committed to develop the unknown potential power of the mind. Up to this day I've made great advances in telepathy and telekinesis. However, I can't foresee the future yet and if finally we will be able to destroy Blordrough's dark legion"); add(1,new String[]{"quest","task"},null,1,"I do not have any task for you right now. If you need anything from me just say it. I think it's simply unkind reading one's mind without permission.",null); Behaviours.addGoodbye(this); } }); zone.assignRPObjectID(npc); npc.put("class","floattingladynpc"); npc.set(8,18); npc.initHP(100); zone.addNPC(npc); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/d512245d8e26069d9f1c5a15fba078b322c3b0ac/Semos.java/buggy/src/games/stendhal/server/maps/Semos.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1361, 13185, 538, 1837, 1802, 5484, 12, 510, 409, 22314, 54, 52, 4226, 4157, 13, 565, 288, 565, 25478, 11899, 33, 2704, 25478, 5621, 565, 4157, 18, 6145, 54, 52, 22359, 12, 24386, 1769, 565, 11899, 18, 542, 92, 12, 2163, 1769, 565, 11899, 18, 542, 93, 12, 4366, 1769, 565, 11899, 18, 542, 1854, 12, 20, 1769, 565, 11899, 18, 542, 5683, 2932, 20, 67, 12000, 538, 67, 14240, 3113, 21, 1769, 565, 4157, 18, 1289, 24395, 12, 24386, 1769, 565, 11899, 33, 2704, 25478, 5621, 565, 4157, 18, 6145, 54, 52, 22359, 12, 24386, 1769, 565, 11899, 18, 542, 92, 12, 2499, 1769, 565, 11899, 18, 542, 93, 12, 4366, 1769, 565, 11899, 18, 542, 1854, 12, 21, 1769, 565, 11899, 18, 542, 5683, 2932, 20, 67, 12000, 538, 67, 14240, 3113, 21, 1769, 565, 4157, 18, 1289, 24395, 12, 24386, 1769, 565, 11899, 33, 2704, 25478, 5621, 565, 4157, 18, 6145, 54, 52, 22359, 12, 24386, 1769, 565, 11899, 18, 542, 92, 12, 2138, 1769, 565, 11899, 18, 542, 93, 12, 4366, 1769, 565, 11899, 18, 542, 1854, 12, 22, 1769, 565, 11899, 18, 542, 5683, 2932, 20, 67, 12000, 538, 67, 14240, 3113, 21, 1769, 565, 4157, 18, 1289, 24395, 12, 24386, 1769, 565, 11899, 33, 2704, 25478, 5621, 565, 4157, 18, 6145, 54, 52, 22359, 12, 24386, 1769, 565, 11899, 18, 542, 92, 12, 3437, 1769, 565, 11899, 18, 542, 93, 12, 4366, 1769, 565, 11899, 18, 542, 1854, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1361, 13185, 538, 1837, 1802, 5484, 12, 510, 409, 22314, 54, 52, 4226, 4157, 13, 565, 288, 565, 25478, 11899, 33, 2704, 25478, 5621, 565, 4157, 18, 6145, 54, 52, 22359, 12, 24386, 1769, 565, 11899, 18, 542, 92, 12, 2163, 1769, 565, 11899, 18, 542, 93, 12, 4366, 1769, 565, 11899, 18, 542, 1854, 12, 20, 1769, 565, 11899, 18, 542, 5683, 2932, 20, 67, 12000, 538, 67, 14240, 3113, 21, 1769, 565, 4157, 18, 1289, 24395, 12, 24386, 1769, 565, 11899, 33, 2704, 25478, 5621, 565, 4157, 18, 6145, 54, 52, 22359, 12, 24386, 1769, 565, 11899, 18, 542, 92, 12, 2499, 1769, 565, 11899, 18, 542, 93, 12, 4366, 1769, 565, 11899, 18, 2 ]
f.delete();
public void close() throws IOException { in.close(); // now it's safe to prepare temp file to be gc'ed f = null; }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/26873aa814f44ec19cdfbc6404e677cd51fb4a33/ValueHelper.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/value/ValueHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 1071, 284, 18, 3733, 5621, 918, 284, 18, 3733, 5621, 1746, 1435, 284, 18, 3733, 5621, 1216, 284, 18, 3733, 5621, 1860, 284, 18, 3733, 5621, 288, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 316, 18, 4412, 5621, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 1071, 284, 18, 3733, 5621, 918, 284, 18, 3733, 5621, 1746, 1435, 284, 18, 3733, 5621, 1216, 284, 18, 3733, 5621, 1860, 284, 18, 3733, 5621, 288, 284, 18, 3733, 5621, 225, 284, 18, 3733, 5621, 225, 284, 18, 2 ]
String phoneNumber = tiTelURL.getPhoneNumber();
int start = tiTelURL.toString().indexOf(':'); String phoneNumber = tiTelURL.toString().substring(start).trim();
protected javax.sip.address.TelURL createRiTelURLFromTiTelURL( TelURL tiTelURL) { TelURL telUrl = null; try { String phoneNumber = tiTelURL.getPhoneNumber(); telUrl = riAddressFactory.createTelURL(phoneNumber); telUrl.setGlobal(tiTelURL.isGlobal()); } catch (Exception ex) { throw new TiUnexpectedError(ex.getMessage()); } return telUrl; }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/0bdf3dc3da675395ca78ca02a0e7dae4d9e95631/AddressFactoryTest.java/buggy/src/test/tck/factory/AddressFactoryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6863, 18, 28477, 18, 2867, 18, 56, 292, 1785, 752, 54, 77, 56, 292, 1785, 1265, 56, 77, 56, 292, 1785, 12, 202, 202, 56, 292, 1785, 11374, 56, 292, 1785, 13, 288, 202, 202, 56, 292, 1785, 20666, 1489, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 780, 21132, 273, 11374, 56, 292, 1785, 18, 588, 16943, 5621, 1082, 202, 19261, 1489, 273, 12347, 1887, 1733, 18, 2640, 56, 292, 1785, 12, 10540, 1854, 1769, 1082, 202, 19261, 1489, 18, 542, 5160, 12, 9096, 56, 292, 1785, 18, 291, 5160, 10663, 202, 202, 97, 1044, 261, 503, 431, 13, 288, 1082, 202, 12849, 394, 399, 77, 7762, 668, 12, 338, 18, 24906, 10663, 202, 202, 97, 202, 202, 2463, 20666, 1489, 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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, 292, 1785, 13, 288, 202, 202, 56, 292, 1785, 20666, 1489, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 780, 21132, 273, 11374, 56, 292, 1785, 18, 588, 16943, 5621, 1082, 202, 19261, 1489, 273, 12347, 1887, 1733, 18, 2640, 56, 292, 1785, 12, 10540, 1854, 1769, 1082, 202, 19261, 1489, 18, 542, 5160, 12, 9096, 56, 292, 1785, 18, 291, 5160, 10663, 202, 202, 97, 1044, 261, 503, 431, 13, 288, 1082, 202, 12849, 394, 399, 77, 7762, 668, 12, 338, 18, 24906, 10663, 202, 2 ]
fPluginIdEntry.setEditable(isEditable());
fPluginIdEntry.setEditable(isEditable());
private void createPluginIDEntry(Composite client, FormToolkit toolkit, IActionBars actionBars) { fPluginIdEntry = new FormEntry(client, toolkit, "Plug-in Id:", null, true); fPluginIdEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars) { public void textValueChanged(FormEntry entry) { try { ((IFragment) getPluginBase()).setPluginId(entry .getValue()); } catch (CoreException e) { PDEPlugin.logException(e); } } public void linkActivated(HyperlinkEvent e) { } }); fPluginIdEntry.setEditable(isEditable()); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/d31a9651542b0f36656cd04a3038389b779eb239/GeneralInfoSection.java/clean/ui/org.eclipse.pde.ui/src_Forms/org/eclipse/pde/internal/ui/neweditor/plugin/GeneralInfoSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 3773, 734, 1622, 12, 9400, 1004, 16, 2748, 6364, 8691, 5226, 8691, 16, 467, 1803, 5190, 87, 1301, 5190, 87, 13, 288, 202, 202, 74, 3773, 548, 1622, 273, 394, 2748, 1622, 12, 2625, 16, 5226, 8691, 16, 315, 1749, 637, 17, 267, 3124, 2773, 16, 446, 16, 9506, 202, 3767, 1769, 202, 202, 74, 3773, 548, 1622, 18, 542, 1204, 1622, 2223, 12, 2704, 2748, 1622, 4216, 12, 2211, 16, 9506, 202, 1128, 5190, 87, 13, 288, 1082, 202, 482, 918, 977, 620, 5033, 12, 1204, 1622, 1241, 13, 288, 9506, 202, 698, 288, 6862, 202, 12443, 5501, 3520, 13, 16319, 2171, 1435, 2934, 542, 3773, 548, 12, 4099, 6862, 1082, 202, 18, 24805, 10663, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 52, 1639, 3773, 18, 1330, 503, 12, 73, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 482, 918, 1692, 28724, 12, 15996, 1232, 1133, 425, 13, 288, 1082, 202, 97, 202, 202, 22938, 202, 202, 74, 3773, 548, 1622, 18, 542, 15470, 12, 291, 15470, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 3773, 734, 1622, 12, 9400, 1004, 16, 2748, 6364, 8691, 5226, 8691, 16, 467, 1803, 5190, 87, 1301, 5190, 87, 13, 288, 202, 202, 74, 3773, 548, 1622, 273, 394, 2748, 1622, 12, 2625, 16, 5226, 8691, 16, 315, 1749, 637, 17, 267, 3124, 2773, 16, 446, 16, 9506, 202, 3767, 1769, 202, 202, 74, 3773, 548, 1622, 18, 542, 1204, 1622, 2223, 12, 2704, 2748, 1622, 4216, 12, 2211, 16, 9506, 202, 1128, 5190, 87, 13, 288, 1082, 202, 482, 918, 977, 620, 5033, 12, 1204, 1622, 1241, 13, 288, 9506, 202, 698, 288, 6862, 202, 12443, 5501, 3520, 13, 16319, 2171, 1435, 2934, 542, 3773, 548, 12, 4099, 6862, 1082, 202, 18, 2 ]
else if (myRootObjects.contains(child)) {
else if (myRootObjects.containsKey(child)) {
public final void register(Object parent, Object child) { checkIfValid(child); final ObjectNode parentNode = getNodeFor(parent); final ObjectNode childNode = getNodeFor(child); if (childNode != null && childNode.getParent() != parentNode && childNode.getParent() != null) { childNode.getParent().removeChild(childNode); parentNode.addChild(childNode); } else if (myRootObjects.contains(child)) { final ObjectNode parentless = getNodeFor(child); parentNode.addChild(parentless); myRootObjects.remove(child); } else { parentNode.addChild(child); } if (LOG.isDebugEnabled()) { LOG.debug("Registered: " + child + " for parent " + parent); } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/a1b18024366443cdf2c460037633a1ceb1550e67/ObjectTree.java/clean/util/src/com/intellij/openapi/util/objectTree/ObjectTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 1744, 12, 921, 982, 16, 1033, 1151, 13, 288, 565, 19130, 1556, 12, 3624, 1769, 565, 727, 1033, 907, 7234, 273, 5973, 1290, 12, 2938, 1769, 565, 727, 1033, 907, 9465, 273, 5973, 1290, 12, 3624, 1769, 565, 309, 261, 3624, 907, 480, 446, 597, 9465, 18, 588, 3054, 1435, 480, 7234, 597, 9465, 18, 588, 3054, 1435, 480, 446, 13, 288, 1377, 9465, 18, 588, 3054, 7675, 4479, 1763, 12, 3624, 907, 1769, 1377, 7234, 18, 1289, 1763, 12, 3624, 907, 1769, 565, 289, 565, 469, 309, 261, 4811, 2375, 4710, 18, 12298, 653, 12, 3624, 3719, 288, 1377, 727, 1033, 907, 982, 2656, 273, 5973, 1290, 12, 3624, 1769, 1377, 7234, 18, 1289, 1763, 12, 2938, 2656, 1769, 1377, 3399, 2375, 4710, 18, 4479, 12, 3624, 1769, 565, 289, 565, 469, 288, 1377, 7234, 18, 1289, 1763, 12, 3624, 1769, 565, 289, 565, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 1377, 2018, 18, 4148, 2932, 10868, 30, 315, 397, 1151, 397, 315, 364, 982, 315, 397, 982, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 918, 1744, 12, 921, 982, 16, 1033, 1151, 13, 288, 565, 19130, 1556, 12, 3624, 1769, 565, 727, 1033, 907, 7234, 273, 5973, 1290, 12, 2938, 1769, 565, 727, 1033, 907, 9465, 273, 5973, 1290, 12, 3624, 1769, 565, 309, 261, 3624, 907, 480, 446, 597, 9465, 18, 588, 3054, 1435, 480, 7234, 597, 9465, 18, 588, 3054, 1435, 480, 446, 13, 288, 1377, 9465, 18, 588, 3054, 7675, 4479, 1763, 12, 3624, 907, 1769, 1377, 7234, 18, 1289, 1763, 12, 3624, 907, 1769, 565, 289, 565, 469, 309, 261, 4811, 2375, 4710, 18, 12298, 653, 12, 3624, 3719, 288, 1377, 727, 1033, 907, 982, 2656, 273, 5973, 1290, 12, 3624, 1769, 1377, 7234, 18, 1289, 2 ]
if(log.isDebugEnabled())
if(log.isDebugEnabled()) {
public boolean obtainLock(Connection conn, String lockName) throws LockException { lockName = lockName.intern(); Log log = getLog(); if(log.isDebugEnabled()) log.debug( "Lock '" + lockName + "' is desired by: " + Thread.currentThread().getName()); if (!isLockOwner(conn, lockName)) { PreparedStatement ps = null; ResultSet rs = null; try { ps = conn.prepareStatement(selectWithLockSQL); ps.setString(1, lockName); if(log.isDebugEnabled()) log.debug( "Lock '" + lockName + "' is being obtained: " + Thread.currentThread().getName()); rs = ps.executeQuery(); if (!rs.next()) throw new SQLException(Util.rtp( "No row exists in table " + TABLE_PREFIX_SUBST + TABLE_LOCKS + " for lock named: " + lockName, tablePrefix)); } catch (SQLException sqle) { //Exception src = // (Exception)getThreadLocksObtainer().get(lockName); //if(src != null) // src.printStackTrace(); //else // System.err.println("--- ***************** NO OBTAINER!"); if(log.isDebugEnabled()) log.debug( "Lock '" + lockName + "' was not obtained by: " + Thread.currentThread().getName()); throw new LockException("Failure obtaining db row lock: " + sqle.getMessage(), sqle); } finally { if (rs != null) try { rs.close(); } catch (Exception ignore) { } if (ps != null) try { ps.close(); } catch (Exception ignore) { } } if(log.isDebugEnabled()) log.debug( "Lock '" + lockName + "' given to: " + Thread.currentThread().getName()); getThreadLocks().add(lockName); //getThreadLocksObtainer().put(lockName, new // Exception("Obtainer...")); } else if(log.isDebugEnabled()) log.debug( "Lock '" + lockName + "' Is already owned by: " + Thread.currentThread().getName()); return true; }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/StdRowLockSemaphore.java/buggy/src/java/org/quartz/impl/jdbcjobstore/StdRowLockSemaphore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 7161, 2531, 12, 1952, 1487, 16, 514, 2176, 461, 13, 5411, 1216, 3488, 503, 288, 3639, 2176, 461, 273, 2176, 461, 18, 267, 798, 5621, 3639, 1827, 613, 273, 9189, 5621, 7734, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 12, 7734, 315, 2531, 2119, 397, 2176, 461, 397, 2491, 353, 6049, 635, 30, 315, 13491, 397, 4884, 18, 2972, 3830, 7675, 17994, 10663, 3639, 309, 16051, 291, 2531, 5541, 12, 4646, 16, 2176, 461, 3719, 288, 5411, 16913, 4250, 273, 446, 31, 5411, 10842, 3597, 273, 446, 31, 5411, 775, 288, 7734, 4250, 273, 1487, 18, 9366, 3406, 12, 4025, 1190, 2531, 3997, 1769, 7734, 4250, 18, 542, 780, 12, 21, 16, 2176, 461, 1769, 27573, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 288, 10792, 613, 18, 4148, 12, 13491, 315, 2531, 2119, 397, 2176, 461, 397, 2491, 353, 3832, 12700, 30, 315, 27573, 397, 4884, 18, 2972, 3830, 7675, 17994, 10663, 7734, 3597, 273, 4250, 18, 8837, 1138, 5621, 7734, 309, 16051, 5453, 18, 4285, 10756, 13491, 604, 394, 6483, 12, 1304, 18, 3797, 84, 12, 27573, 315, 2279, 1027, 1704, 316, 1014, 315, 397, 7567, 67, 6307, 67, 8362, 882, 4766, 3639, 397, 7567, 67, 6589, 55, 397, 315, 364, 2176, 4141, 30, 315, 4766, 3639, 397, 2176, 461, 16, 1014, 2244, 10019, 5411, 289, 1044, 261, 23116, 4744, 298, 13, 288, 7734, 368, 503, 1705, 273, 7734, 368, 261, 503, 13, 588, 3830, 19159, 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, 1250, 7161, 2531, 12, 1952, 1487, 16, 514, 2176, 461, 13, 5411, 1216, 3488, 503, 288, 3639, 2176, 461, 273, 2176, 461, 18, 267, 798, 5621, 3639, 1827, 613, 273, 9189, 5621, 7734, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 12, 7734, 315, 2531, 2119, 397, 2176, 461, 397, 2491, 353, 6049, 635, 30, 315, 13491, 397, 4884, 18, 2972, 3830, 7675, 17994, 10663, 3639, 309, 16051, 291, 2531, 5541, 12, 4646, 16, 2176, 461, 3719, 288, 5411, 16913, 4250, 273, 446, 31, 5411, 10842, 3597, 273, 446, 31, 5411, 775, 288, 7734, 4250, 273, 1487, 18, 9366, 3406, 12, 4025, 1190, 2531, 3997, 1769, 7734, 4250, 18, 542, 780, 12, 2 ]
buildBorder( content, HTMLTags.ATTR_BORDER_TOP, style.getBorderTopWidth( ), style.getBorderTopStyle( ), style .getBorderTopColor( ) );
buildBorder( content, HTMLTags.ATTR_BORDER_TOP, style .getBorderTopWidth( ), style.getBorderTopStyle( ), style .getBorderTopColor( ) );
private static void buildBox( StringBuffer content, StyleDesign style ) { buildProperty( content, HTMLTags.ATTR_MARGIN_TOP, style.getMarginTop( ) ); buildProperty( content, HTMLTags.ATTR_MARGIN_RIGHT, style.getMarginRight( ) ); buildProperty( content, HTMLTags.ATTR_MARGIN_BOTTOM, style.getMarginBottom( ) ); buildProperty( content, HTMLTags.ATTR_MARGIN_LEFT, style.getMarginLeft( ) ); buildProperty( content, HTMLTags.ATTR_PADDING_TOP, style.getPaddingTop( ) ); buildProperty( content, HTMLTags.ATTR_PADDING_RIGHT, style.getPaddingRight( ) ); buildProperty( content, HTMLTags.ATTR_PADDING_BOTTOM, style.getPaddingBottom( ) ); buildProperty( content, HTMLTags.ATTR_PADDING_LEFT, style.getPaddingLeft( ) ); buildBorder( content, HTMLTags.ATTR_BORDER_TOP, style.getBorderTopWidth( ), style.getBorderTopStyle( ), style .getBorderTopColor( ) ); buildBorder( content, HTMLTags.ATTR_BORDER_RIGHT, style.getBorderRightWidth( ), style.getBorderRightStyle( ), style.getBorderRightColor( ) ); buildBorder( content, HTMLTags.ATTR_BORDER_BOTTOM, style.getBorderBottomWidth( ), style.getBorderBottomStyle( ), style.getBorderBottomColor( ) ); buildBorder( content, HTMLTags.ATTR_BORDER_LEFT, style.getBorderLeftWidth( ), style.getBorderLeftStyle( ), style .getBorderLeftColor( ) ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/778c80860c81c271b4b70edb2450e2750fe6c140/AttributeBuilder.java/clean/engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/AttributeBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 1361, 3514, 12, 6674, 913, 16, 9767, 15478, 2154, 262, 202, 95, 202, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 10462, 16, 2154, 18, 588, 9524, 3401, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 11847, 16, 2154, 18, 588, 9524, 4726, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 28891, 16, 2154, 18, 588, 9524, 10393, 12, 262, 11272, 202, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 10066, 16, 2154, 18, 588, 9524, 3910, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 52, 26710, 67, 10462, 16, 2154, 18, 588, 9485, 3401, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 52, 26710, 67, 11847, 16, 2154, 18, 588, 9485, 4726, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 52, 26710, 67, 28891, 16, 2154, 18, 588, 9485, 10393, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 52, 26710, 67, 10066, 16, 2154, 18, 588, 9485, 3910, 12, 262, 11272, 3196, 202, 3510, 8107, 12, 913, 16, 3982, 3453, 18, 12043, 67, 38, 7954, 67, 10462, 16, 9506, 202, 4060, 18, 588, 8107, 3401, 2384, 12, 262, 16, 2154, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 1361, 3514, 12, 6674, 913, 16, 9767, 15478, 2154, 262, 202, 95, 202, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 10462, 16, 2154, 18, 588, 9524, 3401, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 11847, 16, 2154, 18, 588, 9524, 4726, 12, 262, 11272, 3196, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 28891, 16, 2154, 18, 588, 9524, 10393, 12, 262, 11272, 202, 202, 3510, 1396, 12, 913, 16, 3982, 3453, 18, 12043, 67, 19772, 7702, 67, 10066, 16, 2154, 18, 588, 9524, 3910, 12, 262, 11272, 3196, 202, 2 ]
if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</title></head><body>Error: "+HTMLEncoder.encode(msg)+extra+"</body></html>");
if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, "/"+e.newURI.toString()); } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</title></head><body>Error: "+HTMLEncoder.encode(msg)+extra+"</body></html>"); }
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTable headers = new MultiValueTable(); headers.put("Location", "/"+httprequest.getParam("key")); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } RedirectException re = new RedirectException(); try { String querystring = uri.getQuery(); if (querystring == null) { re.newuri = new URI("/welcome/"); } else { // TODP possibly a proper URLEncode method querystring = querystring.replace(" ", "+"); re.newuri = new URI("/welcome/?"+querystring); } } catch (URISyntaxException e) { // HUH!?! } throw re; } if(ks.startsWith("/")) ks = ks.substring(1); FreenetURI key; try { key = new FreenetURI(ks); } catch (MalformedURLException e) { this.writeReply(ctx, 400, "text/html", "Invalid key", "<html><head><title>Invalid key</title></head><body>Expected a freenet key, but got "+HTMLEncoder.encode(ks)+"</body></html>"); return; } try { Logger.minor(this, "Fproxy fetching "+key); FetchResult result = fetch(key); // Now, is it safe? Bucket data = result.asBucket(); String typeName = result.getMimeType(); String reqParam = httprequest.getParam("type", null); if(reqParam != null) typeName = reqParam; Logger.minor(this, "Type: "+typeName+" ("+result.getMimeType()+" "+reqParam+")"); long now = System.currentTimeMillis(); String forceString = httprequest.getParam("force"); boolean force = false; if(forceString != null) { if(forceString.equals(getForceValue(key, now)) || forceString.equals(getForceValue(key, now-FORCE_GRAIN_INTERVAL))) force = true; } if(typeName.equals("application/x-msdownload")) { // Download to disk, this should be safe, and is set when we do "force download to disk" from a dangerous-content-warning page. force = true; } try { if(!force) data = ContentFilter.filter(data, ctx.getBucketFactory(), typeName); // Send the data, intact writeReply(ctx, 200, typeName, "OK", data); } catch (UnsafeContentTypeException e) { StringBuffer buf = new StringBuffer(); ctx.getPageMaker().makeHead(buf, "Potentially Dangerous Content"); buf.append("<h1>"); buf.append(e.getHTMLEncodedTitle()); buf.append("</h1>\n"); buf.append(e.getExplanation()); buf.append("<p>Your options are:</p><ul>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?type=text/plain\">Click here</a> to open the file as plain text (this should not be dangerous, but it may be garbled).</li>\n"); // FIXME: is this safe? See bug #131 buf.append("<li><a href=\"/"+key.toString(false)+"?type=application/x-msdownload\">Click here</a> to force your browser to download the file to disk.</li>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?force="+getForceValue(key, now)+"\">Click here</a> to open the file as "+HTMLEncoder.encode(typeName)+".</li>\n"); buf.append("<li><a href=\"/\">Click here</a> to go to the FProxy home page.</li>\n"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); } } catch (FetchException e) { String msg = e.getMessage(); String extra = ""; if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</title></head><body>Error: "+HTMLEncoder.encode(msg)+extra+"</body></html>"); } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/315e01325509f76afb76d8e34c18f27e04549674/FproxyToadlet.java/buggy/src/freenet/clients/http/FproxyToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1875, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 759, 780, 11654, 273, 2003, 18, 10492, 5621, 202, 202, 780, 11654, 273, 2003, 18, 588, 743, 5621, 9506, 202, 23891, 1062, 2293, 273, 394, 25238, 12, 1650, 1769, 9506, 202, 430, 261, 7904, 18, 14963, 2932, 4898, 3719, 288, 1082, 202, 430, 261, 2022, 1484, 456, 18, 291, 1662, 694, 2932, 856, 6, 3719, 288, 9506, 202, 5002, 620, 1388, 1607, 273, 394, 5991, 620, 1388, 5621, 6862, 9506, 202, 2485, 18, 458, 2932, 2735, 3113, 4016, 15, 2022, 1484, 456, 18, 588, 786, 2932, 856, 7923, 1769, 9506, 202, 5900, 18, 4661, 7817, 3121, 12, 23, 3103, 16, 315, 2043, 3113, 1607, 16, 446, 16, 374, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 5961, 503, 283, 273, 394, 9942, 503, 5621, 1082, 202, 698, 288, 9506, 202, 780, 20741, 273, 2003, 18, 588, 1138, 5621, 6862, 9506, 202, 430, 261, 2271, 1080, 422, 446, 13, 288, 6862, 202, 266, 18, 2704, 1650, 273, 394, 3699, 2932, 19, 91, 16312, 4898, 1769, 9506, 202, 97, 469, 288, 6862, 202, 759, 399, 1212, 52, 10016, 279, 5338, 1976, 5509, 707, 6862, 202, 2271, 1080, 273, 20741, 18, 2079, 2932, 3104, 13773, 8863, 6862, 202, 266, 18, 2704, 1650, 273, 394, 3699, 2932, 19, 91, 16312, 19, 7225, 15, 2271, 1080, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1875, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 759, 780, 11654, 273, 2003, 18, 10492, 5621, 202, 202, 780, 11654, 273, 2003, 18, 588, 743, 5621, 9506, 202, 23891, 1062, 2293, 273, 394, 25238, 12, 1650, 1769, 9506, 202, 430, 261, 7904, 18, 14963, 2932, 4898, 3719, 288, 1082, 202, 430, 261, 2022, 1484, 456, 18, 291, 1662, 694, 2932, 856, 6, 3719, 288, 9506, 202, 5002, 620, 1388, 1607, 273, 394, 5991, 620, 1388, 5621, 6862, 9506, 202, 2485, 18, 458, 2932, 2735, 3113, 4016, 15, 2022, 1484, 456, 18, 588, 786, 2932, 2 ]
reportGenericSchemaError("Duplicate attribute " +
reportGenericSchemaError("Duplicate attribute " +
boolean traverseAttrsAndAttrGrps(Element firstAttr, XSAttributeGroupDecl attrGrp, XSDocumentInfo schemaDoc, SchemaGrammar grammar ) { Element child=null; XSAttributeGroupDecl tempAttrGrp = null; XSAttributeUse tempAttrUse = null; String childName; for (child=firstAttr; child!=null; child=DOMUtil.getNextSiblingElement(child)) { childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_ATTRIBUTE)) { tempAttrUse = fSchemaHandler.fAttributeTraverser.traverseLocal(child, schemaDoc, grammar); if (attrGrp.getAttributeUse(tempAttrUse.fAttrDecl.fTargetNamespace, tempAttrUse.fAttrDecl.fName)==null) { attrGrp.addAttributeUse(tempAttrUse); } else { reportGenericSchemaError("Duplicate attribute " + tempAttrUse.fAttrDecl.fName + " found "); } } else if (childName.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP)) { //REVISIT: do we need to save some state at this point?? tempAttrGrp = fSchemaHandler.fAttributeGroupTraverser.traverseLocal( child, schemaDoc, grammar); if(tempAttrGrp == null ) break; XSAttributeUse[] attrUseS = tempAttrGrp.getAttributeUses(); XSAttributeUse existingAttrUse = null; for (int i=0; i<attrUseS.length; i++) { existingAttrUse = attrGrp.getAttributeUse(attrUseS[i].fAttrDecl.fTargetNamespace, attrUseS[i].fAttrDecl.fName); if (existingAttrUse == null) { attrGrp.addAttributeUse(attrUseS[i]); } else { reportGenericSchemaError("Duplicate attribute " + existingAttrUse.fAttrDecl.fName + " found "); } } if (tempAttrGrp.fAttributeWC != null) { if (attrGrp.fAttributeWC == null) { attrGrp.fAttributeWC = tempAttrGrp.fAttributeWC; } // perform intersection of attribute wildcard else { attrGrp.fAttributeWC = attrGrp.fAttributeWC. performIntersectionWith(tempAttrGrp.fAttributeWC); } } } else break; } // for if (child != null) { childName = DOMUtil.getLocalName(child); if (childName.equals(SchemaSymbols.ELT_ANYATTRIBUTE)) { XSWildcardDecl tempAttrWC = fSchemaHandler.fWildCardTraverser. traverseAnyAttribute(child, schemaDoc, grammar); if (attrGrp.fAttributeWC == null) { attrGrp.fAttributeWC = tempAttrWC; } // perform intersection of attribute wildcard else { attrGrp.fAttributeWC = attrGrp.fAttributeWC. performIntersectionWith(tempAttrWC); } child = DOMUtil.getNextSiblingElement(child); } if (child != null) { // Error - the element is not an attribute, attributeGroup or anyAttr return false; } } // Success return true; }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/4b0def86a1a96df8c8cbd5bf50c757023d94325b/XSDAbstractTraverser.java/clean/src/org/apache/xerces/impl/v2/XSDAbstractTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 10080, 8262, 1876, 3843, 20799, 1121, 12, 1046, 1122, 3843, 16, 1139, 55, 1499, 1114, 3456, 1604, 43, 13832, 16, 19694, 1139, 55, 2519, 966, 1963, 1759, 16, 4611, 18576, 6473, 262, 288, 3639, 3010, 1151, 33, 2011, 31, 3639, 1139, 55, 1499, 1114, 3456, 1906, 3843, 43, 13832, 273, 446, 31, 3639, 1139, 55, 1499, 3727, 1906, 3843, 3727, 273, 446, 31, 3639, 514, 27440, 31, 3639, 364, 261, 3624, 33, 3645, 3843, 31, 1151, 5, 33, 2011, 31, 1151, 33, 8168, 1304, 18, 588, 2134, 10291, 1046, 12, 3624, 3719, 288, 5411, 27440, 273, 4703, 1304, 18, 588, 29583, 12, 3624, 1769, 2398, 309, 261, 3624, 461, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 11616, 3719, 288, 7734, 1906, 3843, 3727, 273, 284, 3078, 1503, 18, 74, 1499, 15844, 264, 18, 2033, 2476, 2042, 12, 3624, 16, 28524, 9079, 1963, 1759, 16, 6473, 1769, 7734, 309, 261, 1747, 43, 13832, 18, 588, 1499, 3727, 12, 5814, 3843, 3727, 18, 74, 3843, 3456, 18, 74, 2326, 3402, 16, 4766, 5411, 1906, 3843, 3727, 18, 74, 3843, 3456, 18, 74, 461, 13, 631, 2011, 13, 288, 10792, 1604, 43, 13832, 18, 1289, 1499, 3727, 12, 5814, 3843, 3727, 1769, 7734, 289, 7734, 469, 288, 10792, 2605, 7014, 3078, 668, 2932, 11826, 1566, 315, 397, 4766, 2868, 1906, 3843, 3727, 18, 74, 3843, 3456, 18, 74, 461, 397, 315, 1392, 315, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 3624, 461, 18, 14963, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 10080, 8262, 1876, 3843, 20799, 1121, 12, 1046, 1122, 3843, 16, 1139, 55, 1499, 1114, 3456, 1604, 43, 13832, 16, 19694, 1139, 55, 2519, 966, 1963, 1759, 16, 4611, 18576, 6473, 262, 288, 3639, 3010, 1151, 33, 2011, 31, 3639, 1139, 55, 1499, 1114, 3456, 1906, 3843, 43, 13832, 273, 446, 31, 3639, 1139, 55, 1499, 3727, 1906, 3843, 3727, 273, 446, 31, 3639, 514, 27440, 31, 3639, 364, 261, 3624, 33, 3645, 3843, 31, 1151, 5, 33, 2011, 31, 1151, 33, 8168, 1304, 18, 588, 2134, 10291, 1046, 12, 3624, 3719, 288, 5411, 27440, 273, 4703, 1304, 18, 588, 29583, 12, 3624, 1769, 2398, 309, 261, 3624, 461, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 2 ]
} return false; }
} return false; }
private boolean duplicateInfoDegree( List executionDegreeList, InfoExecutionDegree infoExecutionDegree) { InfoDegree infoDegree = infoExecutionDegree.getInfoDegreeCurricularPlan().getInfoDegree(); Iterator iterator = executionDegreeList.iterator(); while (iterator.hasNext()) { InfoExecutionDegree infoExecutionDegree2 = (InfoExecutionDegree) iterator.next(); if (infoDegree.equals(infoExecutionDegree2.getInfoDegreeCurricularPlan().getInfoDegree()) && !(infoExecutionDegree.equals(infoExecutionDegree2))) return true; } return false; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/afceeee1d2f468ba1bde3402d087dd00fa1824eb/CreateGuideDispatchAction.java/buggy/src/ServidorApresentacao/Action/masterDegree/administrativeOffice/guide/CreateGuideDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6751, 966, 22885, 12, 9506, 202, 682, 4588, 22885, 682, 16, 9506, 202, 966, 3210, 22885, 1123, 3210, 22885, 13, 1082, 202, 95, 9506, 202, 966, 22885, 1123, 22885, 273, 1123, 3210, 22885, 18, 588, 966, 22885, 2408, 1512, 2490, 5365, 7675, 588, 966, 22885, 5621, 9506, 202, 3198, 2775, 273, 4588, 22885, 682, 18, 9838, 5621, 9506, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 9506, 202, 95, 6862, 202, 966, 3210, 22885, 1123, 3210, 22885, 22, 273, 261, 966, 3210, 22885, 13, 2775, 18, 4285, 5621, 6862, 202, 430, 261, 1376, 22885, 18, 14963, 12, 1376, 3210, 22885, 22, 18, 588, 966, 22885, 2408, 1512, 2490, 5365, 7675, 588, 966, 22885, 10756, 25083, 202, 10, 10, 401, 12, 1376, 3210, 22885, 18, 14963, 12, 1376, 3210, 22885, 22, 20349, 25083, 202, 2463, 638, 31, 9506, 202, 97, 9506, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6751, 966, 22885, 12, 9506, 202, 682, 4588, 22885, 682, 16, 9506, 202, 966, 3210, 22885, 1123, 3210, 22885, 13, 1082, 202, 95, 9506, 202, 966, 22885, 1123, 22885, 273, 1123, 3210, 22885, 18, 588, 966, 22885, 2408, 1512, 2490, 5365, 7675, 588, 966, 22885, 5621, 9506, 202, 3198, 2775, 273, 4588, 22885, 682, 18, 9838, 5621, 9506, 202, 17523, 261, 9838, 18, 5332, 2134, 10756, 9506, 202, 95, 6862, 202, 966, 3210, 22885, 1123, 3210, 22885, 22, 273, 261, 966, 3210, 22885, 13, 2775, 18, 4285, 5621, 6862, 202, 430, 261, 1376, 22885, 18, 14963, 12, 1376, 3210, 22885, 22, 18, 588, 966, 22885, 2408, 1512, 2490, 5365, 7675, 588, 966, 22885, 10756, 25083, 2 ]
IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); javaElement= manager.getWorkingCopy(fEditor.getEditorInput());
WorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); javaElement= manager.getWorkingCopy(fEditor.getEditorInput(), false);
private IJavaElement getInputElement() { IJavaElement javaElement= null; if (fEditor instanceof CompilationUnitEditor) { IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager(); javaElement= manager.getWorkingCopy(fEditor.getEditorInput()); if (javaElement instanceof ICompilationUnit) { ICompilationUnit unit= (ICompilationUnit) javaElement; try { JavaModelUtil.reconcile(unit); } catch (JavaModelException x) { JavaPlugin.log(x); } } } else if (fEditor instanceof ClassFileEditor) { IClassFileEditorInput editorInput= (IClassFileEditorInput) fEditor.getEditorInput(); javaElement= editorInput.getClassFile(); } return javaElement; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/1d7d75e9649400f37038c3969dfe9cbf855240b9/DefaultJavaFoldingStructureProvider.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 5852, 1046, 12353, 1046, 1435, 288, 202, 202, 45, 5852, 1046, 2252, 1046, 33, 446, 31, 202, 202, 430, 261, 74, 6946, 1276, 22416, 2802, 6946, 13, 288, 1082, 202, 45, 14836, 2951, 1318, 3301, 33, 5110, 3773, 18, 588, 1868, 7675, 588, 14836, 2951, 1318, 5621, 1082, 202, 6290, 1046, 33, 3301, 18, 588, 14836, 2951, 12, 74, 6946, 18, 588, 6946, 1210, 10663, 1082, 202, 430, 261, 6290, 1046, 1276, 467, 19184, 2802, 13, 288, 9506, 202, 45, 19184, 2802, 2836, 33, 261, 45, 19184, 2802, 13, 2252, 1046, 31, 9506, 202, 698, 288, 6862, 202, 5852, 1488, 1304, 18, 266, 11504, 398, 12, 4873, 1769, 9506, 202, 97, 1044, 261, 5852, 1488, 503, 619, 13, 288, 6862, 202, 5852, 3773, 18, 1330, 12, 92, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 74, 6946, 1276, 30614, 6946, 13, 288, 1082, 202, 45, 797, 812, 6946, 1210, 4858, 1210, 33, 261, 45, 797, 812, 6946, 1210, 13, 284, 6946, 18, 588, 6946, 1210, 5621, 1082, 202, 6290, 1046, 33, 4858, 1210, 18, 588, 797, 812, 5621, 202, 202, 97, 202, 202, 2463, 2252, 1046, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 5852, 1046, 12353, 1046, 1435, 288, 202, 202, 45, 5852, 1046, 2252, 1046, 33, 446, 31, 202, 202, 430, 261, 74, 6946, 1276, 22416, 2802, 6946, 13, 288, 1082, 202, 45, 14836, 2951, 1318, 3301, 33, 5110, 3773, 18, 588, 1868, 7675, 588, 14836, 2951, 1318, 5621, 1082, 202, 6290, 1046, 33, 3301, 18, 588, 14836, 2951, 12, 74, 6946, 18, 588, 6946, 1210, 10663, 1082, 202, 430, 261, 6290, 1046, 1276, 467, 19184, 2802, 13, 288, 9506, 202, 45, 19184, 2802, 2836, 33, 261, 45, 19184, 2802, 13, 2252, 1046, 31, 9506, 202, 698, 288, 6862, 202, 5852, 1488, 1304, 18, 266, 11504, 398, 12, 4873, 1769, 9506, 202, 97, 1044, 261, 5852, 1488, 2 ]
if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); }
astFactory.addASTChild(currentAST, returnAST);
public final void methodCallArgs( AST callee ) throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST methodCallArgs_AST = null; Token lp = null; AST lp_AST = null; AST cb_AST = null; boolean zz; /*ignore*/ switch ( LA(1)) { case LPAREN: { if ( inputState.guessing==0 ) { methodCallArgs_AST = (AST)currentAST.root; methodCallArgs_AST = callee; currentAST.root = methodCallArgs_AST; currentAST.child = methodCallArgs_AST!=null &&methodCallArgs_AST.getFirstChild()!=null ? methodCallArgs_AST.getFirstChild() : methodCallArgs_AST; currentAST.advanceChildToEnd(); } lp = LT(1); if (inputState.guessing==0) { lp_AST = astFactory.create(lp); astFactory.makeASTRoot(currentAST, lp_AST); } match(LPAREN); if ( inputState.guessing==0 ) { lp_AST.setType(METHOD_CALL); } zz=argList(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } match(RPAREN); { if ((LA(1)==LCURLY) && (_tokenSet_15.member(LA(2))) && (_tokenSet_16.member(LA(3)))) { appendedBlock(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } } else if ((_tokenSet_111.member(LA(1))) && (_tokenSet_5.member(LA(2))) && (_tokenSet_5.member(LA(3)))) { } else { throw new NoViableAltException(LT(1), getFilename()); } } if ( inputState.guessing==0 ) { methodCallArgs_AST = (AST)currentAST.root; } break; } case LCURLY: { if ( inputState.guessing==0 ) { methodCallArgs_AST = (AST)currentAST.root; methodCallArgs_AST = callee; currentAST.root = methodCallArgs_AST; currentAST.child = methodCallArgs_AST!=null &&methodCallArgs_AST.getFirstChild()!=null ? methodCallArgs_AST.getFirstChild() : methodCallArgs_AST; currentAST.advanceChildToEnd(); } appendedBlock(); if (inputState.guessing==0) { cb_AST = (AST)returnAST; astFactory.addASTChild(currentAST, returnAST); } if ( inputState.guessing==0 ) { methodCallArgs_AST = (AST)currentAST.root; AST lbrace = getASTFactory().dup(cb_AST); lbrace.setType(METHOD_CALL); methodCallArgs_AST = (AST)astFactory.make( (new ASTArray(2)).add(lbrace).add(methodCallArgs_AST)); currentAST.root = methodCallArgs_AST; currentAST.child = methodCallArgs_AST!=null &&methodCallArgs_AST.getFirstChild()!=null ? methodCallArgs_AST.getFirstChild() : methodCallArgs_AST; currentAST.advanceChildToEnd(); } if ( inputState.guessing==0 ) { methodCallArgs_AST = (AST)currentAST.root; } break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = methodCallArgs_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5c53aea8416ae7d318cf0157b4690ba71badb0f9/GroovyRecognizer.java/clean/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 707, 1477, 2615, 12, 202, 202, 9053, 14425, 202, 13, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 707, 1477, 2615, 67, 9053, 273, 446, 31, 202, 202, 1345, 225, 12423, 273, 446, 31, 202, 202, 9053, 12423, 67, 9053, 273, 446, 31, 202, 202, 9053, 2875, 67, 9053, 273, 446, 31, 202, 202, 6494, 11273, 31, 1748, 6185, 5549, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 15111, 30, 202, 202, 95, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 2039, 1477, 2615, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 9506, 202, 2039, 1477, 2615, 67, 9053, 273, 14425, 31, 9506, 202, 2972, 9053, 18, 3085, 273, 707, 1477, 2615, 67, 9053, 31, 9506, 202, 2972, 9053, 18, 3624, 273, 707, 1477, 2615, 67, 9053, 5, 33, 2011, 597, 2039, 1477, 2615, 67, 9053, 18, 588, 3759, 1763, 1435, 5, 33, 2011, 692, 6862, 202, 2039, 1477, 2615, 67, 9053, 18, 588, 3759, 1763, 1435, 294, 707, 1477, 2615, 67, 9053, 31, 9506, 202, 2972, 9053, 18, 361, 5882, 1763, 774, 1638, 5621, 1082, 202, 97, 1082, 202, 9953, 273, 11807, 12, 21, 1769, 1082, 202, 430, 261, 2630, 1119, 18, 20885, 310, 631, 20, 13, 288, 9506, 202, 9953, 67, 9053, 273, 3364, 1733, 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, 707, 1477, 2615, 12, 202, 202, 9053, 14425, 202, 13, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 707, 1477, 2615, 67, 9053, 273, 446, 31, 202, 202, 1345, 225, 12423, 273, 446, 31, 202, 202, 9053, 12423, 67, 9053, 273, 446, 31, 202, 202, 9053, 2875, 67, 9053, 273, 446, 31, 202, 202, 6494, 11273, 31, 1748, 6185, 5549, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 15111, 30, 202, 202, 95, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 2039, 2 ]
int assertionCount = 0;
private void validateLookupResult(ILookupResult result, Set matches) { assertNotNull( matches ); assertEquals( result.getResultsSize(), matches.size() ); Iterator iter = result.getNodes(); int assertionCount = 0; while( iter.hasNext() ) { IASTOffsetableNamedElement element = (IASTOffsetableNamedElement) iter.next(); assertTrue( matches.contains( element.getName() )); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1ac6f78fc30a911df26182609731ef0e6503fd2a/CompletionParseTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1954, 6609, 1253, 12, 2627, 4909, 1253, 563, 16, 1000, 1885, 13, 288, 9506, 202, 11231, 5962, 12, 1885, 11272, 202, 202, 11231, 8867, 12, 563, 18, 588, 3447, 1225, 9334, 1885, 18, 1467, 1435, 11272, 9506, 202, 3198, 1400, 273, 563, 18, 588, 3205, 5621, 202, 202, 474, 11240, 1380, 273, 374, 31, 202, 202, 17523, 12, 1400, 18, 5332, 2134, 1435, 262, 202, 202, 95, 1082, 202, 45, 9053, 2335, 429, 7604, 1046, 930, 273, 261, 45, 9053, 2335, 429, 7604, 1046, 13, 1400, 18, 4285, 5621, 1082, 202, 11231, 5510, 12, 1885, 18, 12298, 12, 930, 18, 17994, 1435, 262, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1954, 6609, 1253, 12, 2627, 4909, 1253, 563, 16, 1000, 1885, 13, 288, 9506, 202, 11231, 5962, 12, 1885, 11272, 202, 202, 11231, 8867, 12, 563, 18, 588, 3447, 1225, 9334, 1885, 18, 1467, 1435, 11272, 9506, 202, 3198, 1400, 273, 563, 18, 588, 3205, 5621, 202, 202, 474, 11240, 1380, 273, 374, 31, 202, 202, 17523, 12, 1400, 18, 5332, 2134, 1435, 262, 202, 202, 95, 1082, 202, 45, 9053, 2335, 429, 7604, 1046, 930, 273, 261, 45, 9053, 2335, 429, 7604, 1046, 13, 1400, 18, 4285, 5621, 1082, 202, 11231, 5510, 12, 1885, 18, 12298, 12, 930, 18, 17994, 1435, 262, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
structures.addElement(mol);
structures.addElement(mol.clone());
public void testIt() { String s = null; Vector structures = new Vector(); Molecule mol = null; Molecule molecule = MoleculeFactory.loadMolecule("data/a-pinene.mol"); RandomGenerator rg = new RandomGenerator(); rg.setMolecule(molecule); for (int f = 0; f < 1000; f++) { mol = rg.proposeStructure(); if ((double)f/(double)50 == f/50) { structures.addElement(mol); if (debug) { s = "BondCounts: "; for (int g = 0; g < mol.getAtomCount(); g++) { s += mol.getBondCount(mol.getAtomAt(g)) + " "; } System.out.println(s); s = "BondOrderSums: "; for (int g = 0; g < mol.getAtomCount(); g++) { s += mol.getBondOrderSum(mol.getAtomAt(g)) + " "; } System.out.println(s); s = "Bonds: "; for (int g = 0; g < mol.getBondCount(); g++) { s += mol.getBondAt(g).getOrder() + " "; } System.out.println(s); } } rg.acceptStructure(); }// structures.addElement((Molecule)molecule.clone()); assert(everythingOk(structures)); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/047add52eb9bac7efb1cd80d52e6bf8b3bbe2702/RandomStructureGeneratorTest.java/clean/org/openscience/cdk/test/RandomStructureGeneratorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7193, 1435, 202, 95, 202, 202, 780, 272, 273, 446, 31, 202, 202, 5018, 12597, 273, 394, 5589, 5621, 1082, 202, 29669, 12629, 273, 446, 31, 202, 202, 29669, 13661, 273, 490, 10545, 1733, 18, 945, 29669, 2932, 892, 19, 69, 17, 13097, 4009, 18, 21260, 8863, 202, 202, 8529, 3908, 14524, 273, 394, 8072, 3908, 5621, 202, 202, 26876, 18, 542, 29669, 12, 81, 10545, 1769, 9506, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 4336, 31, 284, 27245, 202, 202, 95, 1082, 202, 21260, 273, 14524, 18, 685, 4150, 6999, 5621, 1082, 202, 430, 14015, 9056, 13, 74, 19, 12, 9056, 13, 3361, 422, 284, 19, 3361, 13, 1082, 202, 95, 9506, 202, 27979, 18, 1289, 1046, 12, 21260, 1769, 9506, 202, 430, 261, 4148, 13, 9506, 202, 95, 6862, 202, 87, 273, 315, 9807, 9211, 30, 565, 13636, 6862, 202, 1884, 261, 474, 314, 273, 374, 31, 314, 411, 12629, 18, 588, 3641, 1380, 5621, 314, 27245, 6862, 202, 95, 25083, 202, 87, 1011, 12629, 18, 588, 9807, 1380, 12, 21260, 18, 588, 3641, 861, 12, 75, 3719, 397, 315, 13636, 6862, 202, 97, 6862, 202, 3163, 18, 659, 18, 8222, 12, 87, 1769, 6862, 202, 87, 273, 315, 9807, 2448, 3495, 87, 30, 13636, 6862, 202, 1884, 261, 474, 314, 273, 374, 31, 314, 411, 12629, 18, 588, 3641, 1380, 5621, 314, 27245, 6862, 202, 95, 25083, 202, 87, 1011, 12629, 18, 588, 9807, 2448, 3495, 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, 1842, 7193, 1435, 202, 95, 202, 202, 780, 272, 273, 446, 31, 202, 202, 5018, 12597, 273, 394, 5589, 5621, 1082, 202, 29669, 12629, 273, 446, 31, 202, 202, 29669, 13661, 273, 490, 10545, 1733, 18, 945, 29669, 2932, 892, 19, 69, 17, 13097, 4009, 18, 21260, 8863, 202, 202, 8529, 3908, 14524, 273, 394, 8072, 3908, 5621, 202, 202, 26876, 18, 542, 29669, 12, 81, 10545, 1769, 9506, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 4336, 31, 284, 27245, 202, 202, 95, 1082, 202, 21260, 273, 14524, 18, 685, 4150, 6999, 5621, 1082, 202, 430, 14015, 9056, 13, 74, 19, 12, 9056, 13, 3361, 422, 284, 19, 3361, 13, 1082, 202, 2 ]
return new EditorDelegate((DocumentRange)document, (EditorImpl)editor, injectedFile);
return new EditorDelegate((DocumentRange)document, (EditorImpl)editor, injectedFile); } } return editor;
public static Editor getEditorForInjectedLanguage(final Editor editor, PsiFile file) { if (editor == null) return null; if (file == null) return editor; int offset = editor.getCaretModel().getOffset(); PsiElement element = file.findElementAt(offset); PsiLanguageInjectionHost injectionHost = findInjectionHost(element); Pair<PsiElement,TextRange> injectedPsi = injectionHost == null ? null : injectionHost.getInjectedPsi(); if (injectedPsi == null) { return editor; } PsiFile injectedFile = injectedPsi.getFirst().getContainingFile(); Document document = PsiDocumentManager.getInstance(editor.getProject()).getDocument(injectedFile); return new EditorDelegate((DocumentRange)document, (EditorImpl)editor, injectedFile); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/f0f4a2bd46dc054a5d61fb1b3de76307a7026935/InjectedLanguageUtil.java/buggy/source/com/intellij/psi/impl/source/tree/InjectedLanguageUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 18451, 336, 6946, 1290, 382, 6059, 3779, 12, 6385, 18451, 4858, 16, 453, 7722, 812, 585, 13, 288, 565, 309, 261, 9177, 422, 446, 13, 327, 446, 31, 565, 309, 261, 768, 422, 446, 13, 327, 4858, 31, 565, 509, 1384, 273, 4858, 18, 588, 39, 20731, 1488, 7675, 588, 2335, 5621, 565, 453, 7722, 1046, 930, 273, 585, 18, 4720, 1046, 861, 12, 3348, 1769, 565, 453, 7722, 3779, 12039, 2594, 10380, 2594, 273, 1104, 12039, 2594, 12, 2956, 1769, 565, 8599, 32, 52, 7722, 1046, 16, 1528, 2655, 34, 15776, 52, 7722, 273, 10380, 2594, 422, 446, 692, 446, 294, 10380, 2594, 18, 588, 382, 6059, 52, 7722, 5621, 565, 309, 261, 267, 6059, 52, 7722, 422, 446, 13, 288, 1377, 327, 4858, 31, 565, 289, 565, 453, 7722, 812, 15776, 812, 273, 15776, 52, 7722, 18, 588, 3759, 7675, 588, 24344, 812, 5621, 565, 4319, 1668, 273, 453, 7722, 2519, 1318, 18, 588, 1442, 12, 9177, 18, 588, 4109, 1435, 2934, 588, 2519, 12, 267, 6059, 812, 1769, 565, 327, 394, 18451, 9586, 12443, 2519, 2655, 13, 5457, 16, 261, 6946, 2828, 13, 9177, 16, 15776, 812, 1769, 289, 289, 327, 4858, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 18451, 336, 6946, 1290, 382, 6059, 3779, 12, 6385, 18451, 4858, 16, 453, 7722, 812, 585, 13, 288, 565, 309, 261, 9177, 422, 446, 13, 327, 446, 31, 565, 309, 261, 768, 422, 446, 13, 327, 4858, 31, 565, 509, 1384, 273, 4858, 18, 588, 39, 20731, 1488, 7675, 588, 2335, 5621, 565, 453, 7722, 1046, 930, 273, 585, 18, 4720, 1046, 861, 12, 3348, 1769, 565, 453, 7722, 3779, 12039, 2594, 10380, 2594, 273, 1104, 12039, 2594, 12, 2956, 1769, 565, 8599, 32, 52, 7722, 1046, 16, 1528, 2655, 34, 15776, 52, 7722, 273, 10380, 2594, 422, 446, 692, 446, 294, 10380, 2594, 18, 588, 382, 6059, 52, 7722, 5621, 565, 309, 261, 267, 6059, 2 ]
createContents(s); s.layout(true); folder.setBounds(s.getClientArea());
createContents(windowShell); windowShell.layout(true); folder.setBounds(windowShell.getClientArea());
public void create() { s = ((WorkbenchWindow)page.getWorkbenchWindow()).getDetachedWindowPool().allocateShell(shellListener); s.setData(this); s.setText(""); //$NON-NLS-1$ DragUtil.addDragTarget(s, this); hideViewsOnClose = true; if (bounds.isEmpty()) { Point center = Geometry.centerPoint(page.getWorkbenchWindow().getShell().getBounds()); Point size = new Point(300, 200); Point upperLeft = Geometry.subtract(center, Geometry.divide(size, 2)); bounds = Geometry.createRectangle(upperLeft, size); } getShell().setBounds(bounds); configureShell(s); createContents(s); s.layout(true); folder.setBounds(s.getClientArea()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3953c753e106b88f0ab3def8b32ab1279f450733/DetachedWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/DetachedWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1435, 288, 3639, 272, 273, 14015, 2421, 22144, 3829, 13, 2433, 18, 588, 2421, 22144, 3829, 1435, 2934, 588, 4986, 2004, 3829, 2864, 7675, 16247, 13220, 12, 10304, 2223, 1769, 3639, 272, 18, 542, 751, 12, 2211, 1769, 3639, 272, 18, 542, 1528, 2932, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 28425, 1304, 18, 1289, 11728, 2326, 12, 87, 16, 333, 1769, 3639, 6853, 9959, 1398, 4605, 273, 638, 31, 3639, 309, 261, 10576, 18, 291, 1921, 10756, 288, 5411, 4686, 4617, 273, 8344, 18, 5693, 2148, 12, 2433, 18, 588, 2421, 22144, 3829, 7675, 588, 13220, 7675, 588, 5694, 10663, 5411, 4686, 963, 273, 394, 4686, 12, 19249, 16, 4044, 1769, 5411, 4686, 3854, 3910, 273, 8344, 18, 1717, 1575, 12, 5693, 16, 8344, 18, 2892, 831, 12, 1467, 16, 576, 10019, 13491, 4972, 273, 8344, 18, 2640, 19463, 12, 5797, 3910, 16, 963, 1769, 540, 289, 3639, 7932, 1165, 7675, 542, 5694, 12, 10576, 1769, 3639, 5068, 13220, 12, 87, 1769, 7734, 752, 6323, 12, 87, 1769, 3639, 272, 18, 6741, 12, 3767, 1769, 3639, 3009, 18, 542, 5694, 12, 87, 18, 588, 1227, 5484, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 1435, 288, 3639, 272, 273, 14015, 2421, 22144, 3829, 13, 2433, 18, 588, 2421, 22144, 3829, 1435, 2934, 588, 4986, 2004, 3829, 2864, 7675, 16247, 13220, 12, 10304, 2223, 1769, 3639, 272, 18, 542, 751, 12, 2211, 1769, 3639, 272, 18, 542, 1528, 2932, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 28425, 1304, 18, 1289, 11728, 2326, 12, 87, 16, 333, 1769, 3639, 6853, 9959, 1398, 4605, 273, 638, 31, 3639, 309, 261, 10576, 18, 291, 1921, 10756, 288, 5411, 4686, 4617, 273, 8344, 18, 5693, 2148, 12, 2433, 18, 588, 2421, 22144, 3829, 7675, 588, 13220, 7675, 588, 5694, 10663, 5411, 4686, 963, 273, 394, 4686, 12, 19249, 16, 4044, 1769, 5411, 2 ]
Master(String filename) throws IOException { this(new File(filename), null);
Master(File _file, Name defaultOrigin) throws IOException { FileInputStream fis; file = _file; try { fis = new FileInputStream(file); } catch (FileNotFoundException e) { throw new IOException(e.toString()); } br = new BufferedReader(new InputStreamReader(fis)); origin = defaultOrigin;
Master(String filename) throws IOException { this(new File(filename), null);}
4227 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4227/18e7b65aa58f298301e2681af547e73a81564dde/Master.java/buggy/org/xbill/DNS/Master.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 13453, 12, 780, 1544, 13, 1216, 1860, 288, 202, 2211, 12, 2704, 1387, 12, 3459, 3631, 446, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 createDescriptionLayout(FormToolkit toolkit, final ScrolledForm form) { final Section section = toolkit.createSection(form.getBody(), ExpandableComposite.TITLE_BAR | Section.TWISTIE); section.setText(LABEL_SECTION_DESCRIPTION); section.setExpanded(true); section.setLayout(new GridLayout()); GridData sectionData = new GridData(GridData.FILL_HORIZONTAL); // sectionData.grabExcessVerticalSpace = true; section.setLayoutData(sectionData); // Description Area final Composite descriptionComposite = toolkit.createComposite(section); //descriptionComposite.setBackground(new Color(descriptionComposite.getDisplay(), 123, 123, 123)); GridLayout descriptionLayout = new GridLayout(); descriptionLayout.numColumns = 1; descriptionComposite.setLayout(descriptionLayout); // descriptionComposite.setBackground(background); // GridData descriptionData = new GridData(GridData.FILL_BOTH); // descriptionData.widthHint = DESCRIPTION_WIDTH; // descriptionData.widthHint = DESCRIPTION_HEIGHT; // descriptionData.grabExcessVerticalSpace = true; // descriptionComposite.setLayoutData(descriptionData); section.setClient(descriptionComposite); TextViewer viewer = addRepositoryText(repository, descriptionComposite, bug.getDescription()); final StyledText styledText = viewer.getTextWidget(); styledText.addListener(SWT.FocusIn, new DescriptionListener()); styledText.setLayout(new GridLayout()); GridData styledTextData = new GridData(GridData.FILL_BOTH); styledTextData.widthHint = DESCRIPTION_WIDTH; // styledTextData.heightHint = DESCRIPTION_HEIGHT; styledTextData.grabExcessVerticalSpace = false; styledText.setLayoutData(styledTextData); descriptionComposite.addControlListener(new ControlListener() { public void controlMoved(ControlEvent e) { // ignore } public void controlResized(ControlEvent e) { descriptionComposite.setSize(descriptionComposite.getSize().x, styledText.getSize().y + 10); } }); texts.add(textsindex, styledText); textHash.put(bug.getDescription(), styledText); textsindex++; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/83f02f1355686de7321e8c91ec8e1b42bccd9703/ExistingBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/ExistingBugEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6459, 2640, 3291, 3744, 12, 1204, 6364, 8691, 6738, 8691, 16, 6385, 1541, 25054, 1204, 687, 15329, 202, 202, 6385, 5285, 3464, 33, 6738, 8691, 18, 2640, 5285, 12, 687, 18, 588, 2250, 9334, 12271, 429, 9400, 18, 14123, 67, 21908, 96, 5285, 18, 18869, 5511, 8732, 1769, 202, 202, 3464, 18, 542, 1528, 12, 13545, 67, 19082, 67, 15911, 1769, 202, 202, 3464, 18, 542, 17957, 12, 3767, 1769, 202, 202, 3464, 18, 542, 3744, 12, 2704, 6313, 3744, 10663, 202, 202, 6313, 751, 3464, 751, 33, 2704, 6313, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 202, 202, 759, 3464, 751, 18, 2752, 70, 424, 614, 15704, 3819, 33, 3767, 31, 202, 202, 3464, 18, 542, 3744, 751, 12, 3464, 751, 1769, 202, 202, 759, 3291, 5484, 202, 202, 6385, 799, 1724, 329, 1389, 9400, 33, 6738, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 759, 3384, 9400, 18, 542, 8199, 12, 2704, 2957, 12, 3384, 9400, 18, 588, 4236, 9334, 12936, 16, 12936, 16, 12936, 10019, 202, 202, 6313, 3744, 3384, 3744, 33, 2704, 6313, 3744, 5621, 202, 202, 3384, 3744, 18, 2107, 3380, 33, 21, 31, 202, 202, 3384, 9400, 18, 542, 3744, 12, 3384, 3744, 1769, 202, 202, 759, 3384, 9400, 18, 542, 8199, 12, 9342, 1769, 202, 202, 759, 6313, 5139, 361, 1389, 751, 33, 2704, 6313, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 202, 202, 759, 3384, 751, 18, 2819, 7002, 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, 6459, 2640, 3291, 3744, 12, 1204, 6364, 8691, 6738, 8691, 16, 6385, 1541, 25054, 1204, 687, 15329, 202, 202, 6385, 5285, 3464, 33, 6738, 8691, 18, 2640, 5285, 12, 687, 18, 588, 2250, 9334, 12271, 429, 9400, 18, 14123, 67, 21908, 96, 5285, 18, 18869, 5511, 8732, 1769, 202, 202, 3464, 18, 542, 1528, 12, 13545, 67, 19082, 67, 15911, 1769, 202, 202, 3464, 18, 542, 17957, 12, 3767, 1769, 202, 202, 3464, 18, 542, 3744, 12, 2704, 6313, 3744, 10663, 202, 202, 6313, 751, 3464, 751, 33, 2704, 6313, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 202, 202, 759, 3464, 751, 18, 2752, 70, 424, 614, 15704, 3819, 33, 3767, 31, 202, 2 ]
ModelList<GlobalModelListener>.Iterator i = _listeners.getIterator();
ListIterator i = _listeners.listIterator();
private void _notifyListeners(EventNotifier n) { ModelList<GlobalModelListener>.Iterator i = _listeners.getIterator(); // Frustrating need to move iterator out of initial position before iterating. i.next(); while(!i.atEnd()) { n.notify(i.current()); i.next(); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/a937ccbbfe3e2271b14c781e19a341556df45efe/GlobalModel.java/clean/drjava/src/edu/rice/cs/drjava/model/GlobalModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 12336, 5583, 12, 1133, 14889, 290, 13, 288, 565, 987, 3198, 277, 273, 389, 16072, 18, 1098, 3198, 5621, 3639, 368, 478, 8010, 313, 1776, 1608, 358, 3635, 2775, 596, 434, 2172, 1754, 1865, 13099, 18, 565, 277, 18, 4285, 5621, 565, 1323, 12, 5, 77, 18, 270, 1638, 10756, 288, 1377, 290, 18, 12336, 12, 77, 18, 2972, 10663, 1377, 277, 18, 4285, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 12336, 5583, 12, 1133, 14889, 290, 13, 288, 565, 987, 3198, 277, 273, 389, 16072, 18, 1098, 3198, 5621, 3639, 368, 478, 8010, 313, 1776, 1608, 358, 3635, 2775, 596, 434, 2172, 1754, 1865, 13099, 18, 565, 277, 18, 4285, 5621, 565, 1323, 12, 5, 77, 18, 270, 1638, 10756, 288, 1377, 290, 18, 12336, 12, 77, 18, 2972, 10663, 1377, 277, 18, 4285, 5621, 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 ]
public org.quickfix.field.CFICode getCFICode() throws FieldNotFound { org.quickfix.field.CFICode value = new org.quickfix.field.CFICode();
public quickfix.field.CFICode getCFICode() throws FieldNotFound { quickfix.field.CFICode value = new quickfix.field.CFICode();
public org.quickfix.field.CFICode getCFICode() throws FieldNotFound { org.quickfix.field.CFICode value = new org.quickfix.field.CFICode(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataIncrementalRefresh.java/clean/src/java/src/quickfix/fix43/MarketDataIncrementalRefresh.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 39, 1653, 1085, 1927, 1653, 1085, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 39, 1653, 1085, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 39, 1653, 1085, 1927, 1653, 1085, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 39, 1653, 1085, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 39, 1653, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(subIterator != null && subIterator.hasNext()) return true;
if((subIterator != null) && subIterator.hasNext()) return true;
public boolean hasNext() { if(subIterator != null && subIterator.hasNext()) return true; if(subIterator != null) subIterator = null; return mapIterator.hasNext(); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/SimpleFieldSet.java/clean/src/freenet/support/SimpleFieldSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 4564, 1435, 288, 1082, 202, 430, 12, 1717, 3198, 480, 446, 597, 720, 3198, 18, 5332, 2134, 10756, 327, 638, 31, 1082, 202, 430, 12, 1717, 3198, 480, 446, 13, 720, 3198, 273, 446, 31, 1082, 202, 2463, 852, 3198, 18, 5332, 2134, 5621, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 482, 1250, 4564, 1435, 288, 1082, 202, 430, 12, 1717, 3198, 480, 446, 597, 720, 3198, 18, 5332, 2134, 10756, 327, 638, 31, 1082, 202, 430, 12, 1717, 3198, 480, 446, 13, 720, 3198, 273, 446, 31, 1082, 202, 2463, 852, 3198, 18, 5332, 2134, 5621, 202, 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 ]
public DatanodeDescriptor[] datanodeReport() { DatanodeDescriptor results[] = null;
public DatanodeInfo[] datanodeReport() { DatanodeInfo results[] = null;
public DatanodeDescriptor[] datanodeReport() { DatanodeDescriptor results[] = null; synchronized (heartbeats) { synchronized (datanodeMap) { results = new DatanodeDescriptor[datanodeMap.size()]; int i = 0; for (Iterator it = datanodeMap.values().iterator(); it.hasNext(); ) { DatanodeDescriptor cur = (DatanodeDescriptor) it.next(); results[i++] = cur; } } } return results; }
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/31110f7bc418d9db1c4939fac608b96725b3b0db/FSNamesystem.java/clean/src/java/org/apache/hadoop/dfs/FSNamesystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26739, 3187, 8526, 28710, 4820, 1435, 288, 3639, 26739, 3187, 1686, 8526, 273, 446, 31, 3639, 3852, 261, 580, 7646, 2323, 13, 288, 5411, 3852, 261, 3404, 14085, 863, 13, 288, 7734, 1686, 273, 394, 26739, 3187, 63, 3404, 14085, 863, 18, 1467, 1435, 15533, 7734, 509, 277, 273, 374, 31, 7734, 364, 261, 3198, 518, 273, 28710, 863, 18, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 10792, 26739, 3187, 662, 273, 261, 5139, 14085, 3187, 13, 518, 18, 4285, 5621, 10792, 1686, 63, 77, 9904, 65, 273, 662, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 1686, 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, 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 3187, 63, 3404, 14085, 863, 18, 1467, 1435, 15533, 7734, 509, 277, 273, 374, 31, 7734, 364, 261, 3198, 518, 273, 28710, 863, 18, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 10792, 26739, 3187, 662, 273, 261, 5139, 14085, 3187, 13, 518, 18, 4285, 5621, 10792, 1686, 63, 77, 9904, 65, 273, 662, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 1686, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (serifStyle == 1)
if (serifStyle == 1) {
private final void readPCLT(FontFileReader in) throws IOException { TTFDirTabEntry dirTab = (TTFDirTabEntry)dirTabs.get("PCLT"); if (dirTab != null) { in.seek_set(dirTab.offset + 4 + 4 + 2); xHeight = in.readTTFUShort(); in.skip(2 * 2); capHeight = in.readTTFUShort(); in.skip(2 + 16 + 8 + 6 + 1 + 1); int serifStyle = in.readTTFUByte(); serifStyle = serifStyle >> 6; serifStyle = serifStyle & 3; if (serifStyle == 1) hasSerifs = false; else hasSerifs = true; } else { // Approximate capHeight from height of "H" // It's most unlikly that a font misses the PCLT table // This also assumes that psocriptnames exists ("H") // Should look it up int the cmap (that wouldn't help // for charsets without H anyway...) for (int i = 0; i < mtx_tab.length; i++) { if ("H".equals(mtx_tab[i].name)) capHeight = mtx_tab[i].bbox[3] - mtx_tab[i].bbox[1]; } } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/2e2226dd0dd6733fdab0c36331723114a46eddd8/TTFFile.java/buggy/src/org/apache/fop/fonts/TTFFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 918, 855, 3513, 12050, 12, 5711, 812, 2514, 316, 13, 1216, 1860, 288, 3639, 399, 17963, 1621, 5661, 1622, 1577, 5661, 273, 261, 1470, 42, 1621, 5661, 1622, 13, 1214, 17348, 18, 588, 2932, 3513, 12050, 8863, 3639, 309, 261, 1214, 5661, 480, 446, 13, 288, 5411, 316, 18, 16508, 67, 542, 12, 1214, 5661, 18, 3348, 397, 1059, 397, 1059, 397, 576, 1769, 5411, 619, 2686, 273, 316, 18, 896, 1470, 42, 57, 4897, 5621, 5411, 316, 18, 7457, 12, 22, 380, 576, 1769, 5411, 3523, 2686, 273, 316, 18, 896, 1470, 42, 57, 4897, 5621, 5411, 316, 18, 7457, 12, 22, 397, 2872, 397, 1725, 397, 1666, 397, 404, 397, 404, 1769, 5411, 509, 703, 430, 2885, 273, 316, 18, 896, 1470, 42, 57, 3216, 5621, 5411, 703, 430, 2885, 273, 703, 430, 2885, 1671, 1666, 31, 5411, 703, 430, 2885, 273, 703, 430, 2885, 473, 890, 31, 5411, 309, 261, 550, 430, 2885, 422, 404, 13, 288, 7734, 711, 827, 17249, 273, 629, 31, 5411, 469, 7734, 711, 827, 17249, 273, 638, 31, 3639, 289, 469, 288, 5411, 368, 1716, 20314, 4988, 3523, 2686, 628, 2072, 434, 315, 44, 6, 5411, 368, 2597, 1807, 4486, 640, 10473, 715, 716, 279, 3512, 12543, 281, 326, 30962, 56, 1014, 5411, 368, 1220, 2546, 13041, 716, 4250, 504, 1485, 1973, 1704, 7566, 44, 7923, 5411, 368, 9363, 2324, 518, 731, 509, 326, 11136, 261, 19056, 4102, 82, 1404, 2809, 5411, 368, 364, 1149, 4424, 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, 918, 855, 3513, 12050, 12, 5711, 812, 2514, 316, 13, 1216, 1860, 288, 3639, 399, 17963, 1621, 5661, 1622, 1577, 5661, 273, 261, 1470, 42, 1621, 5661, 1622, 13, 1214, 17348, 18, 588, 2932, 3513, 12050, 8863, 3639, 309, 261, 1214, 5661, 480, 446, 13, 288, 5411, 316, 18, 16508, 67, 542, 12, 1214, 5661, 18, 3348, 397, 1059, 397, 1059, 397, 576, 1769, 5411, 619, 2686, 273, 316, 18, 896, 1470, 42, 57, 4897, 5621, 5411, 316, 18, 7457, 12, 22, 380, 576, 1769, 5411, 3523, 2686, 273, 316, 18, 896, 1470, 42, 57, 4897, 5621, 5411, 316, 18, 7457, 12, 22, 397, 2872, 397, 1725, 397, 1666, 397, 404, 397, 404, 1769, 5411, 509, 2 ]
softLastPacketSendTime += minSoftDelay;
softLastPacketSendTimeNSec += minSoftDelayNSec;
private boolean delay(long startCycleTime) { // Get the current inter-packet delay long delay = throttle.getDelay(); while(true) { long now = System.currentTimeMillis(); long endTime = -1; boolean thenSend = true; // Synchronize on the static lock, and update synchronized(lastPacketSendTimeSync) { // Get the current time now = System.currentTimeMillis(); // Update time if necessary to avoid spurts if(hardLastPacketSendTime < (now - minPacketDelay)) hardLastPacketSendTime = now - minPacketDelay; // Wait until the next send window long newHardLastPacketSendTime = hardLastPacketSendTime + minPacketDelay; long earliestSendTime = startCycleTime + delay; if(earliestSendTime > newHardLastPacketSendTime) { // Don't clog up other senders! thenSend = false; endTime = earliestSendTime; } else { hardLastPacketSendTime = newHardLastPacketSendTime; endTime = hardLastPacketSendTime; // What about the soft limit? if(now - softLastPacketSendTime > minSoftDelay / 2) { softLastPacketSendTime = now - (minSoftDelay / 2); } softLastPacketSendTime += minSoftDelay; if(softLastPacketSendTime > hardLastPacketSendTime) { endTime = hardLastPacketSendTime = softLastPacketSendTime; } } } while(now < endTime) { synchronized(_senderThread) { if(_sendComplete) return true; try { _senderThread.wait(endTime - now); } catch (InterruptedException e) { // Ignore } } if(_sendComplete) return true; now = System.currentTimeMillis(); } if(thenSend) return false; } }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/BlockTransmitter.java/buggy/src/freenet/io/xfer/BlockTransmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1152, 1250, 4624, 12, 5748, 787, 13279, 950, 13, 288, 6862, 9506, 202, 759, 968, 326, 783, 1554, 17, 11482, 4624, 9506, 202, 5748, 4624, 273, 18304, 18, 588, 6763, 5621, 6862, 9506, 202, 17523, 12, 3767, 13, 288, 6862, 25083, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 6862, 25083, 202, 5748, 13859, 273, 300, 21, 31, 6862, 25083, 202, 6494, 1508, 3826, 273, 638, 31, 6862, 25083, 202, 759, 26535, 554, 603, 326, 760, 2176, 16, 471, 1089, 6862, 202, 22043, 12, 2722, 6667, 3826, 950, 4047, 13, 288, 6862, 6862, 9506, 202, 759, 968, 326, 783, 813, 25083, 202, 3338, 273, 2332, 18, 2972, 28512, 5621, 6862, 6862, 9506, 202, 759, 2315, 813, 309, 4573, 358, 4543, 1694, 295, 3428, 25083, 202, 430, 12, 20379, 3024, 6667, 3826, 950, 411, 261, 3338, 300, 1131, 6667, 6763, 3719, 6862, 1082, 202, 20379, 3024, 6667, 3826, 950, 273, 2037, 300, 1131, 6667, 6763, 31, 6862, 6862, 9506, 202, 759, 5838, 3180, 326, 1024, 1366, 2742, 25083, 202, 5748, 394, 29601, 3024, 6667, 3826, 950, 273, 6862, 1082, 202, 20379, 3024, 6667, 3826, 950, 397, 1131, 6667, 6763, 31, 6862, 6862, 9506, 202, 5748, 20674, 3826, 950, 273, 787, 13279, 950, 397, 4624, 31, 6862, 6862, 9506, 202, 430, 12, 2091, 17452, 3826, 950, 405, 394, 29601, 3024, 6667, 3826, 950, 13, 288, 6862, 1082, 202, 759, 7615, 1404, 1219, 75, 731, 1308, 1366, 414, 5, 6862, 1082, 202, 15991, 3826, 273, 629, 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, 1875, 202, 1152, 1250, 4624, 12, 5748, 787, 13279, 950, 13, 288, 6862, 9506, 202, 759, 968, 326, 783, 1554, 17, 11482, 4624, 9506, 202, 5748, 4624, 273, 18304, 18, 588, 6763, 5621, 6862, 9506, 202, 17523, 12, 3767, 13, 288, 6862, 25083, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 6862, 25083, 202, 5748, 13859, 273, 300, 21, 31, 6862, 25083, 202, 6494, 1508, 3826, 273, 638, 31, 6862, 25083, 202, 759, 26535, 554, 603, 326, 760, 2176, 16, 471, 1089, 6862, 202, 22043, 12, 2722, 6667, 3826, 950, 4047, 13, 288, 6862, 6862, 9506, 202, 759, 968, 326, 783, 813, 25083, 202, 3338, 273, 2332, 18, 2972, 28512, 5621, 6862, 6862, 9506, 202, 759, 2315, 813, 2 ]
fis = null; File hwrng = new File("/dev/hwrng"); if(hwrng.exists() && hwrng.canRead()) { try { fis = new FileInputStream(hwrng); DataInputStream dis = new DataInputStream(fis); dis.readFully(buf); consumeBytes(buf); dis.readFully(buf); consumeBytes(buf); } catch (Throwable t) { Logger.normal(this, "Can't read /dev/hwrng even though exists and is readable: "+t, t); } finally { if(fis != null) try { fis.close(); } catch (IOException e) { } } }
public void seedFromExternalStuff() { // SecureRandom hopefully acts as a proxy for CAPI on Windows byte[] buf = sr.generateSeed(20); consumeBytes(buf); buf = sr.generateSeed(20); consumeBytes(buf); if(File.separatorChar == '/') { // Read some bits from /dev/random try { FileInputStream fis = new FileInputStream("/dev/random"); DataInputStream dis = new DataInputStream(fis); dis.readFully(buf); consumeBytes(buf); dis.readFully(buf); consumeBytes(buf); } catch (Throwable t) { Logger.normal(this, "Can't read /dev/random: "+t, t); } } // A few more bits consumeString(Long.toHexString(Runtime.getRuntime().freeMemory())); consumeString(Long.toHexString(Runtime.getRuntime().totalMemory())); }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/d1a9d86da4267bdc8a52e5a50d5ea4a06accb11e/Yarrow.java/buggy/src/freenet/crypt/Yarrow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 74, 291, 273, 446, 31, 1387, 16139, 86, 3368, 273, 394, 1387, 2932, 19, 5206, 19, 20701, 86, 3368, 8863, 309, 12, 20701, 86, 3368, 18, 1808, 1435, 597, 16139, 86, 3368, 18, 4169, 1994, 10756, 288, 775, 288, 15324, 273, 394, 11907, 12, 20701, 86, 3368, 1769, 29382, 1015, 273, 394, 29382, 12, 74, 291, 1769, 1015, 18, 896, 16999, 12, 4385, 1769, 7865, 2160, 12, 4385, 1769, 1015, 18, 896, 16999, 12, 4385, 1769, 7865, 2160, 12, 4385, 1769, 289, 1044, 261, 15155, 268, 13, 288, 4242, 18, 6130, 12, 2211, 16, 315, 2568, 1404, 855, 342, 5206, 19, 20701, 86, 3368, 5456, 11376, 1704, 471, 353, 7471, 30, 13773, 88, 16, 268, 1769, 289, 3095, 288, 309, 12, 74, 291, 480, 446, 13, 775, 288, 15324, 18, 4412, 5621, 289, 1044, 261, 14106, 425, 13, 288, 225, 289, 289, 289, 918, 74, 291, 273, 446, 31, 1387, 16139, 86, 3368, 273, 394, 1387, 2932, 19, 5206, 19, 20701, 86, 3368, 8863, 309, 12, 20701, 86, 3368, 18, 1808, 1435, 597, 16139, 86, 3368, 18, 4169, 1994, 10756, 288, 775, 288, 15324, 273, 394, 11907, 12, 20701, 86, 3368, 1769, 29382, 1015, 273, 394, 29382, 12, 74, 291, 1769, 1015, 18, 896, 16999, 12, 4385, 1769, 7865, 2160, 12, 4385, 1769, 1015, 18, 896, 16999, 12, 4385, 1769, 7865, 2160, 12, 4385, 1769, 289, 1044, 261, 15155, 268, 13, 288, 4242, 18, 6130, 12, 2211, 16, 315, 2568, 1404, 855, 342, 5206, 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, 74, 291, 273, 446, 31, 1387, 16139, 86, 3368, 273, 394, 1387, 2932, 19, 5206, 19, 20701, 86, 3368, 8863, 309, 12, 20701, 86, 3368, 18, 1808, 1435, 597, 16139, 86, 3368, 18, 4169, 1994, 10756, 288, 775, 288, 15324, 273, 394, 11907, 12, 20701, 86, 3368, 1769, 29382, 1015, 273, 394, 29382, 12, 74, 291, 1769, 1015, 18, 896, 16999, 12, 4385, 1769, 7865, 2160, 12, 4385, 1769, 1015, 18, 896, 16999, 12, 4385, 1769, 7865, 2160, 12, 4385, 1769, 289, 1044, 261, 15155, 268, 13, 288, 4242, 18, 6130, 12, 2211, 16, 315, 2568, 1404, 855, 342, 5206, 19, 20701, 86, 3368, 5456, 11376, 1704, 471, 353, 7471, 30, 13773, 88, 16, 268, 1769, 2 ]
DTDPlugin resourcePlugin = DTDPlugin.getInstance();
DTDCorePlugin resourcePlugin = DTDCorePlugin.getInstance();
public Image getImage() { DTDPlugin resourcePlugin = DTDPlugin.getInstance(); return resourcePlugin.getImage(DTDResource.ELEMENTREFICON); }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/425ffe7b68526a8574007dbae9d4ecfb097cff08/CMRepeatableNode.java/buggy/bundles/org.eclipse.wst.dtd.core/src/org/eclipse/wst/dtd/core/CMRepeatableNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3421, 10567, 1435, 288, 202, 202, 25728, 3773, 1058, 3773, 273, 10696, 40, 3773, 18, 588, 1442, 5621, 202, 202, 2463, 1058, 3773, 18, 588, 2040, 12, 25728, 1420, 18, 10976, 862, 1653, 2248, 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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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, 225, 202, 482, 3421, 10567, 1435, 288, 202, 202, 25728, 3773, 1058, 3773, 273, 10696, 40, 3773, 18, 588, 1442, 5621, 202, 202, 2463, 1058, 3773, 18, 588, 2040, 12, 25728, 1420, 18, 10976, 862, 1653, 2248, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return RubyFixnum.newFixnum(getRuntime(), pid);
return getRuntime().newFixnum(pid);
public IRubyObject pid() { int pid = handler.pid(); if (pid == -1) { return getRuntime().getNil(); } return RubyFixnum.newFixnum(getRuntime(), pid); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/clean/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 4231, 1435, 288, 3639, 509, 4231, 273, 1838, 18, 6610, 5621, 7734, 309, 261, 6610, 422, 300, 21, 13, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 7734, 327, 18814, 7675, 2704, 8585, 2107, 12, 6610, 1769, 565, 289, 2, 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, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 4231, 1435, 288, 3639, 509, 4231, 273, 1838, 18, 6610, 5621, 7734, 309, 261, 6610, 422, 300, 21, 13, 288, 5411, 327, 18814, 7675, 588, 12616, 5621, 3639, 289, 7734, 327, 18814, 7675, 2704, 8585, 2107, 12, 6610, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if((ch == '/' || ch == File.separatorChar) && getCaretPosition() == getDocument().getLength())
if(ch > 0x20 && ch != 0x7f && ch != 0xff)
public void processKeyEvent(KeyEvent evt) { if(evt.getID() == KeyEvent.KEY_PRESSED) { String path = getText(); switch(evt.getKeyCode()) { case KeyEvent.VK_TAB: doComplete(path); break; case KeyEvent.VK_LEFT: if(getCaretPosition() == 0) browser.getBrowserView().getTable().processKeyEvent(evt); else super.processKeyEvent(evt); break; case KeyEvent.VK_RIGHT: if(getCaretPosition() == getDocument().getLength()) browser.getBrowserView().getTable().processKeyEvent(evt); else super.processKeyEvent(evt); break; case KeyEvent.VK_UP: case KeyEvent.VK_DOWN: case KeyEvent.VK_PAGE_UP: case KeyEvent.VK_PAGE_DOWN: browser.getBrowserView().getTable() .processKeyEvent(evt); break; case KeyEvent.VK_ENTER: browser.filesActivated( (evt.isShiftDown() ? VFSBrowser.M_OPEN_NEW_VIEW : VFSBrowser.M_OPEN),false); setText(null); evt.consume(); break; default: super.processKeyEvent(evt); break; } } else if(evt.getID() == KeyEvent.KEY_TYPED) { char ch = evt.getKeyChar(); if((ch == '/' || ch == File.separatorChar) && getCaretPosition() == getDocument().getLength()) { super.processKeyEvent(evt); String path = getText(); if(path.length() == 2 && path.charAt(0) == '-') { path = browser.getView().getBuffer() .getDirectory(); } else if(path.length() == 3 && path.startsWith("..")) { path = MiscUtilities.getParentOfPath( browser.getDirectory()); VFS vfs = VFSManager.getVFSForPath(path); if((vfs.getCapabilities() & VFS.LOW_LATENCY_CAP) != 0) { browser.setDirectory(path); VFSManager.waitForRequests(); setText(null); } } else if(!MiscUtilities.isAbsolutePath(path)) { VFSFile[] files = browser .getBrowserView() .getSelectedFiles(); if(files.length != 1 || files[0].getType() == VFSFile.FILE) { return; } path = files[0].getPath(); } else if(OperatingSystem.isDOSDerived() && path.length() == 3 && path.charAt(1) == ':') { browser.setDirectory(path); VFSManager.waitForRequests(); setText(null); } VFS vfs = VFSManager.getVFSForPath(path); if((vfs.getCapabilities() & VFS.LOW_LATENCY_CAP) != 0) { setText(null); browser.setDirectory(path); VFSManager.waitForRequests(); } else { if(path.endsWith("/") || path.endsWith(File.separator)) setText(path); else setText(path + vfs.getFileSeparator()); } } else if(ch > 0x20 && ch != 0x7f && ch != 0xff) { super.processKeyEvent(evt); String path = getText(); BrowserView view = browser.getBrowserView(); view.selectNone(); int mode = browser.getMode(); // fix for bug #765507 // we don't type complete in save dialog // boxes. Press TAB to do an explicit // complete view.getTable().doTypeSelect(path, mode == VFSBrowser .CHOOSE_DIRECTORY_DIALOG || mode == VFSBrowser .SAVE_DIALOG); } else super.processKeyEvent(evt); } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/8afbfb455d0495d3bf4025221c75a12fd4d19b62/VFSFileNameField.java/clean/org/gjt/sp/jedit/browser/VFSFileNameField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1207, 653, 1133, 12, 653, 1133, 6324, 13, 202, 95, 202, 202, 430, 12, 73, 11734, 18, 588, 734, 1435, 422, 23737, 18, 3297, 67, 27388, 13, 202, 202, 95, 1082, 202, 780, 589, 273, 6701, 5621, 1082, 202, 9610, 12, 73, 11734, 18, 588, 653, 1085, 10756, 1082, 202, 95, 1082, 202, 3593, 23737, 18, 58, 47, 67, 28899, 30, 9506, 202, 2896, 6322, 12, 803, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 23737, 18, 58, 47, 67, 10066, 30, 9506, 202, 430, 12, 588, 39, 20731, 2555, 1435, 422, 374, 13, 6862, 202, 11213, 18, 588, 9132, 1767, 7675, 588, 1388, 7675, 2567, 653, 1133, 12, 73, 11734, 1769, 9506, 202, 12107, 6862, 202, 9565, 18, 2567, 653, 1133, 12, 73, 11734, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 23737, 18, 58, 47, 67, 11847, 30, 9506, 202, 430, 12, 588, 39, 20731, 2555, 1435, 422, 9956, 7675, 588, 1782, 10756, 6862, 202, 11213, 18, 588, 9132, 1767, 7675, 588, 1388, 7675, 2567, 653, 1133, 12, 73, 11734, 1769, 9506, 202, 12107, 6862, 202, 9565, 18, 2567, 653, 1133, 12, 73, 11734, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 23737, 18, 58, 47, 67, 3079, 30, 1082, 202, 3593, 23737, 18, 58, 47, 67, 12711, 30, 1082, 202, 3593, 23737, 18, 58, 47, 67, 11219, 67, 3079, 30, 1082, 202, 3593, 23737, 18, 58, 47, 67, 11219, 67, 12711, 30, 9506, 202, 11213, 18, 588, 9132, 1767, 7675, 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, 1207, 653, 1133, 12, 653, 1133, 6324, 13, 202, 95, 202, 202, 430, 12, 73, 11734, 18, 588, 734, 1435, 422, 23737, 18, 3297, 67, 27388, 13, 202, 202, 95, 1082, 202, 780, 589, 273, 6701, 5621, 1082, 202, 9610, 12, 73, 11734, 18, 588, 653, 1085, 10756, 1082, 202, 95, 1082, 202, 3593, 23737, 18, 58, 47, 67, 28899, 30, 9506, 202, 2896, 6322, 12, 803, 1769, 9506, 202, 8820, 31, 1082, 202, 3593, 23737, 18, 58, 47, 67, 10066, 30, 9506, 202, 430, 12, 588, 39, 20731, 2555, 1435, 422, 374, 13, 6862, 202, 11213, 18, 588, 9132, 1767, 7675, 588, 1388, 7675, 2567, 653, 1133, 12, 73, 11734, 1769, 9506, 202, 12107, 2 ]
if( data != null ) { String result[] = new String[data.size()]; for( int i = 0; i < data.size(); i++ ) { result[i] = null != data.elementAt( i ) ? data.elementAt( i ).toString() : null; } return result; } else { return null; } }
if( data != null ) { String result[] = new String[data.size()]; for( int i = 0; i < data.size(); i++ ) { result[i] = null != data.elementAt( i ) ? data.elementAt( i ).toString() : null; } return result; } else { return null; } }
public String[] sqlQuery( String sqlQuery ) { Vector data = new Vector(); DBConnect dbc = new DBConnect( m_conPool, sqlQuery ); dbc.getConnection(); dbc.createStatement(); data = dbc.executeQuery(); dbc.clearResultSet(); dbc.closeConnection(); dbc = null; if( data != null ) { String result[] = new String[data.size()]; for( int i = 0; i < data.size(); i++ ) { result[i] = null != data.elementAt( i ) ? data.elementAt( i ).toString() : null; } return result; } else { return null; } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2b8ca505bb7abac1b4914c5928bf113f742f3bbb/IMCService.java/buggy/server/src/imcode/server/IMCService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 514, 8526, 24451, 12, 514, 24451, 262, 288, 1377, 5589, 501, 273, 394, 5589, 5621, 1377, 2383, 5215, 9881, 273, 394, 2383, 5215, 12, 312, 67, 591, 2864, 16, 24451, 11272, 1377, 9881, 18, 588, 1952, 5621, 1377, 9881, 18, 2640, 3406, 5621, 1377, 501, 273, 9881, 18, 8837, 1138, 5621, 1377, 9881, 18, 8507, 13198, 5621, 1377, 9881, 18, 4412, 1952, 5621, 1377, 9881, 273, 446, 31, 1377, 309, 12, 501, 480, 446, 262, 288, 540, 514, 563, 8526, 273, 394, 514, 63, 892, 18, 1467, 1435, 15533, 540, 364, 12, 509, 277, 273, 374, 31, 277, 411, 501, 18, 1467, 5621, 277, 9904, 262, 288, 5411, 563, 63, 77, 65, 273, 446, 480, 501, 18, 2956, 861, 12, 277, 262, 692, 501, 18, 2956, 861, 12, 277, 262, 18, 10492, 1435, 294, 446, 31, 540, 289, 540, 327, 563, 31, 1377, 289, 469, 288, 540, 327, 446, 31, 1377, 289, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 514, 8526, 24451, 12, 514, 24451, 262, 288, 1377, 5589, 501, 273, 394, 5589, 5621, 1377, 2383, 5215, 9881, 273, 394, 2383, 5215, 12, 312, 67, 591, 2864, 16, 24451, 11272, 1377, 9881, 18, 588, 1952, 5621, 1377, 9881, 18, 2640, 3406, 5621, 1377, 501, 273, 9881, 18, 8837, 1138, 5621, 1377, 9881, 18, 8507, 13198, 5621, 1377, 9881, 18, 4412, 1952, 5621, 1377, 9881, 273, 446, 31, 1377, 309, 12, 501, 480, 446, 262, 288, 540, 514, 563, 8526, 273, 394, 514, 63, 892, 18, 1467, 1435, 15533, 540, 364, 12, 509, 277, 273, 374, 31, 277, 411, 501, 18, 1467, 5621, 277, 9904, 262, 288, 5411, 563, 63, 77, 65, 273, 446, 480, 501, 18, 2 ]
AST __t1527 = _t;
AST __t1528 = _t;
public final void io_phrase(AST _t) throws RecognitionException { AST io_phrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OSDIR: { AST __t1520 = _t; AST tmp1944_AST_in = (AST)_t; match(_t,OSDIR); _t = _t.getFirstChild(); AST tmp1945_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp1946_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOATTRLIST: { AST tmp1947_AST_in = (AST)_t; match(_t,NOATTRLIST); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1520; _t = _t.getNextSibling(); break; } case PRINTER: { AST __t1522 = _t; AST tmp1948_AST_in = (AST)_t; match(_t,PRINTER); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if (((_t.getType() >= LEXDATE && _t.getType() <= SYMMETRICENCRYPTIONALGORITHM))) { AST tmp1949_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t1522; _t = _t.getNextSibling(); break; } case TERMINAL: { AST tmp1950_AST_in = (AST)_t; match(_t,TERMINAL); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case APPEND: case BINARY: case COLLATE: case CONVERT: case ECHO: case FILENAME: case KEEPMESSAGES: case LANDSCAPE: case MAP: case NOCONVERT: case NOECHO: case NOMAP: case NUMCOPIES: case PAGESIZE_KW: case PAGED: case PORTRAIT: case UNBUFFERED: case VALUE: case LOBDIR: { { _loop1525: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { valueexpression(_t); _t = _retTree; break; } case FILENAME: { AST tmp1951_AST_in = (AST)_t; match(_t,FILENAME); _t = _t.getNextSibling(); break; } default: { break _loop1525; } } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } { _loop1535: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case APPEND: { AST tmp1952_AST_in = (AST)_t; match(_t,APPEND); _t = _t.getNextSibling(); break; } case BINARY: { AST tmp1953_AST_in = (AST)_t; match(_t,BINARY); _t = _t.getNextSibling(); break; } case COLLATE: { AST tmp1954_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getNextSibling(); break; } case CONVERT: { AST __t1527 = _t; AST tmp1955_AST_in = (AST)_t; match(_t,CONVERT); _t = _t.getFirstChild(); { _loop1530: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==SOURCE||_t.getType()==TARGET)) { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SOURCE: { AST tmp1956_AST_in = (AST)_t; match(_t,SOURCE); _t = _t.getNextSibling(); break; } case TARGET: { AST tmp1957_AST_in = (AST)_t; match(_t,TARGET); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } expression(_t); _t = _retTree; } else { break _loop1530; } } while (true); } _t = __t1527; _t = _t.getNextSibling(); break; } case LOBDIR: { AST __t1531 = _t; AST tmp1958_AST_in = (AST)_t; match(_t,LOBDIR); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; _t = __t1531; _t = _t.getNextSibling(); break; } case NOCONVERT: { AST tmp1959_AST_in = (AST)_t; match(_t,NOCONVERT); _t = _t.getNextSibling(); break; } case ECHO: { AST tmp1960_AST_in = (AST)_t; match(_t,ECHO); _t = _t.getNextSibling(); break; } case NOECHO: { AST tmp1961_AST_in = (AST)_t; match(_t,NOECHO); _t = _t.getNextSibling(); break; } case KEEPMESSAGES: { AST tmp1962_AST_in = (AST)_t; match(_t,KEEPMESSAGES); _t = _t.getNextSibling(); break; } case LANDSCAPE: { AST tmp1963_AST_in = (AST)_t; match(_t,LANDSCAPE); _t = _t.getNextSibling(); break; } case MAP: { AST __t1532 = _t; AST tmp1964_AST_in = (AST)_t; match(_t,MAP); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1532; _t = _t.getNextSibling(); break; } case NOMAP: { AST tmp1965_AST_in = (AST)_t; match(_t,NOMAP); _t = _t.getNextSibling(); break; } case NUMCOPIES: { AST __t1533 = _t; AST tmp1966_AST_in = (AST)_t; match(_t,NUMCOPIES); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1533; _t = _t.getNextSibling(); break; } case PAGED: { AST tmp1967_AST_in = (AST)_t; match(_t,PAGED); _t = _t.getNextSibling(); break; } case PAGESIZE_KW: { AST __t1534 = _t; AST tmp1968_AST_in = (AST)_t; match(_t,PAGESIZE_KW); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1534; _t = _t.getNextSibling(); break; } case PORTRAIT: { AST tmp1969_AST_in = (AST)_t; match(_t,PORTRAIT); _t = _t.getNextSibling(); break; } case UNBUFFERED: { AST tmp1970_AST_in = (AST)_t; match(_t,UNBUFFERED); _t = _t.getNextSibling(); break; } default: { break _loop1535; } } } while (true); } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2527, 67, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2527, 67, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5932, 4537, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3600, 3462, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3657, 6334, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4618, 4537, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 9053, 1853, 3657, 7950, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 10066, 15111, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 9053, 1853, 3657, 8749, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 11847, 15111, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 95, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2527, 67, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2527, 67, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 5932, 4537, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3600, 3462, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3657, 6334, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4618, 4537, 1769, 1082, 2 ]
MessageId mid = new MessageId(SQLState.JDBC_METHOD_NOT_SUPPORTED_BY_SERVER); throw new SqlException(agent_.logWriter_, mid, method);
throw new SqlException(agent_.logWriter_, new MessageId(SQLState.JDBC_METHOD_NOT_SUPPORTED_BY_SERVER), method);
protected void checkServerJdbcVersionX(String method, int major, int minor) throws SqlException { if (serverJdbcMajorVersion < major || (serverJdbcMajorVersion == major && serverJdbcMinorVersion < minor)) { MessageId mid = new MessageId(SQLState.JDBC_METHOD_NOT_SUPPORTED_BY_SERVER); throw new SqlException(agent_.logWriter_, mid, method); } }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/5d2e2bd29eb5bd4f933f513976a0886c1988c89d/DatabaseMetaData.java/clean/java/client/org/apache/derby/client/am/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 2081, 25316, 1444, 60, 12, 780, 707, 16, 509, 7888, 16, 509, 8439, 13, 3639, 1216, 8855, 503, 565, 288, 3639, 309, 261, 3567, 25316, 17581, 1444, 411, 7888, 747, 5411, 261, 3567, 25316, 17581, 1444, 422, 7888, 597, 2398, 1438, 25316, 19549, 1444, 411, 8439, 3719, 288, 5411, 2350, 548, 7501, 273, 7734, 394, 2350, 548, 12, 3997, 1119, 18, 30499,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 2081, 25316, 1444, 60, 12, 780, 707, 16, 509, 7888, 16, 509, 8439, 13, 3639, 1216, 8855, 503, 565, 288, 3639, 309, 261, 3567, 25316, 17581, 1444, 411, 7888, 747, 5411, 261, 3567, 25316, 17581, 1444, 422, 7888, 597, 2398, 1438, 25316, 19549, 1444, 411, 8439, 3719, 288, 5411, 2350, 548, 7501, 273, 7734, 394, 2350, 548, 12, 3997, 1119, 18, 30499, 67, 5327, 67, 4400, 67, 21134, 67, 6486, 67, 4370, 1769, 5411, 604, 394, 8855, 503, 12, 5629, 27799, 1330, 2289, 67, 16, 7501, 16, 707, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
os.writePUSH_Const(value);
if (value == null) { os.writePUSH_Const(null); } else { X86CompilerHelper helper = ec.getHelper(); Label l = new Label(Long.toString(labelCounter++)); helper.writePushStaticsEntry(l, value); }
void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); switch (getKind()) { case REGISTER: os.writePUSH(reg); break; case LOCAL: os.writePUSH(FP, offsetToFP); break; case CONSTANT: os.writePUSH_Const(value); break; case FREGISTER: //TODO notImplemented(); break; case STACK: //nothing to do break; } release(ec); kind = STACK; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2a282f38567e2acdd82476b7f1acc2e77ab8a37c/RefItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/RefItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1817, 12, 13476, 1042, 6557, 13, 288, 202, 202, 6385, 4115, 60, 5292, 1228, 1140, 273, 6557, 18, 588, 1228, 5621, 9506, 202, 9610, 261, 588, 5677, 10756, 288, 1082, 202, 3593, 11980, 19957, 30, 9506, 202, 538, 18, 2626, 30348, 12, 1574, 1769, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 15234, 30, 9506, 202, 538, 18, 2626, 30348, 12, 30246, 16, 1384, 774, 30246, 1769, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 24023, 30, 9506, 202, 538, 18, 2626, 30348, 67, 9661, 12, 1132, 1769, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 478, 27511, 30, 9506, 202, 759, 6241, 9506, 202, 902, 8644, 5621, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 11464, 30, 9506, 202, 759, 30874, 358, 741, 9506, 202, 8820, 31, 202, 202, 97, 202, 202, 9340, 12, 557, 1769, 202, 202, 9224, 273, 11464, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 6459, 1817, 12, 13476, 1042, 6557, 13, 288, 202, 202, 6385, 4115, 60, 5292, 1228, 1140, 273, 6557, 18, 588, 1228, 5621, 9506, 202, 9610, 261, 588, 5677, 10756, 288, 1082, 202, 3593, 11980, 19957, 30, 9506, 202, 538, 18, 2626, 30348, 12, 1574, 1769, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 15234, 30, 9506, 202, 538, 18, 2626, 30348, 12, 30246, 16, 1384, 774, 30246, 1769, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 24023, 30, 9506, 202, 538, 18, 2626, 30348, 67, 9661, 12, 1132, 1769, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 478, 27511, 30, 9506, 202, 759, 6241, 9506, 202, 902, 8644, 5621, 9506, 202, 8820, 31, 6862, 1082, 202, 3593, 2 ]
System.err.println( lhs.getDescrs() );
public void testSimpleQuery() throws Exception { QueryDescr query = parseResource( "simple_query.drl" ).query(); assertNotNull( query ); assertEquals( "simple_query", query.getName() ); AndDescr lhs = query.getLhs(); assertNotNull( lhs ); assertEquals( 3, lhs.getDescrs().size() ); System.err.println( lhs.getDescrs() ); // Check first column ColumnDescr first = (ColumnDescr) lhs.getDescrs().get( 0 ); assertEquals( "foo3", first.getIdentifier() ); assertEquals( "Bar", first.getObjectType() ); assertEquals( 1, first.getDescrs().size() ); LiteralDescr constraint = (LiteralDescr) first.getDescrs().get( 0 ); assertNotNull( constraint ); assertEquals( "a", constraint.getFieldName() ); assertEquals( "==", constraint.getEvaluator() ); assertEquals( "3", constraint.getText() ); // Check second column ColumnDescr second = (ColumnDescr) lhs.getDescrs().get( 1 ); assertEquals( "foo4", second.getIdentifier() ); assertEquals( "Bar", second.getObjectType() ); assertEquals( 2, second.getDescrs().size() ); //check it has field bindings. FieldBindingDescr fieldBindingDescr = (FieldBindingDescr) second.getDescrs().get( 0 ); assertEquals( "a", fieldBindingDescr.getFieldName() ); assertEquals( "a4", fieldBindingDescr.getIdentifier() ); constraint = (LiteralDescr) second.getDescrs().get( 1 ); assertNotNull( constraint ); assertEquals( "a", constraint.getFieldName() ); assertEquals( "==", constraint.getEvaluator() ); assertEquals( "4", constraint.getText() ); }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParserTest.java/buggy/drools-compiler/src/test/java/org/drools/lang/RuleParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5784, 1138, 1435, 1216, 1185, 288, 3639, 2770, 16198, 843, 273, 1109, 1420, 12, 315, 9647, 67, 2271, 18, 72, 1321, 6, 262, 18, 2271, 5621, 7734, 25395, 12, 843, 11272, 7734, 1815, 8867, 12, 315, 9647, 67, 2271, 3113, 843, 18, 17994, 1435, 11272, 7734, 7835, 16198, 8499, 273, 843, 18, 588, 48, 4487, 5621, 7734, 25395, 12, 8499, 11272, 7734, 1815, 8867, 12, 890, 16, 8499, 18, 588, 4217, 5453, 7675, 1467, 1435, 11272, 17311, 368, 2073, 1122, 1057, 3639, 4753, 16198, 1122, 273, 261, 1494, 16198, 13, 8499, 18, 588, 4217, 5453, 7675, 588, 12, 374, 11272, 2398, 1815, 8867, 12, 315, 11351, 23, 3113, 1122, 18, 588, 3004, 1435, 11272, 3639, 1815, 8867, 12, 315, 5190, 3113, 1122, 18, 588, 17610, 1435, 11272, 7734, 1815, 8867, 12, 404, 16, 1122, 18, 588, 4217, 5453, 7675, 1467, 1435, 11272, 7734, 14392, 16198, 4954, 273, 261, 6177, 16198, 13, 1122, 18, 588, 4217, 5453, 7675, 588, 12, 374, 11272, 7734, 25395, 12, 4954, 11272, 7734, 1815, 8867, 12, 315, 69, 3113, 4954, 18, 588, 7287, 1435, 11272, 3639, 1815, 8867, 12, 315, 631, 3113, 4954, 18, 588, 15876, 1435, 11272, 3639, 1815, 8867, 12, 315, 23, 3113, 4954, 18, 588, 1528, 1435, 11272, 7734, 368, 2073, 2205, 1057, 3639, 4753, 16198, 2205, 273, 261, 1494, 16198, 13, 8499, 18, 588, 4217, 5453, 7675, 588, 12, 404, 11272, 2398, 1815, 8867, 12, 315, 11351, 24, 3113, 2205, 18, 588, 3004, 1435, 11272, 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, 5784, 1138, 1435, 1216, 1185, 288, 3639, 2770, 16198, 843, 273, 1109, 1420, 12, 315, 9647, 67, 2271, 18, 72, 1321, 6, 262, 18, 2271, 5621, 7734, 25395, 12, 843, 11272, 7734, 1815, 8867, 12, 315, 9647, 67, 2271, 3113, 843, 18, 17994, 1435, 11272, 7734, 7835, 16198, 8499, 273, 843, 18, 588, 48, 4487, 5621, 7734, 25395, 12, 8499, 11272, 7734, 1815, 8867, 12, 890, 16, 8499, 18, 588, 4217, 5453, 7675, 1467, 1435, 11272, 17311, 368, 2073, 1122, 1057, 3639, 4753, 16198, 1122, 273, 261, 1494, 16198, 13, 8499, 18, 588, 4217, 5453, 7675, 588, 12, 374, 11272, 2398, 1815, 8867, 12, 315, 11351, 23, 3113, 1122, 18, 588, 3004, 1435, 11272, 3639, 2 ]
m_factory.createExpression("One", m_indexMap), m_factory.createExpression("Two", m_indexMap), m_factory.createExpression("Two", m_indexMap),
m_factory.createExpression("One"), m_factory.createExpression("Two"), m_factory.createExpression("Two"),
public void testSum() throws Exception { final StatisticExpression[] expressions = { m_factory.createExpression("One", m_indexMap), m_factory.createExpression("Two", m_indexMap), m_factory.createExpression("Two", m_indexMap), }; final StatisticExpression expression = m_factory.createSum(expressions); myAssertEquals(5, expression); assert(!expression.isDouble()); myAssertEquals(2, m_factory.createExpression( "(+ One One)", m_indexMap)); myAssertEquals(4, m_factory.createExpression( "(+ One Two One)", m_indexMap)); myAssertEquals(5, m_factory.createExpression( "(+ One (+ One Two) One)", m_indexMap)); try { m_factory.createExpression("(+)", m_indexMap); fail("Expected a GrinderException"); } catch (GrinderException e) { } try { m_factory.createExpression("(+ One)", m_indexMap); fail("Expected a GrinderException"); } catch (GrinderException e) { } }
7770 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7770/f6ec48cb584c89ee70191c9f07b174fc005e3bcc/TestStatisticExpressionFactory.java/clean/tests-src/net/grinder/statistics/TestStatisticExpressionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3495, 1435, 1216, 1185, 565, 288, 202, 6385, 8269, 5846, 2300, 8526, 8041, 273, 288, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 3335, 3113, 312, 67, 1615, 863, 3631, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 11710, 3113, 312, 67, 1615, 863, 3631, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 11710, 3113, 312, 67, 1615, 863, 3631, 202, 20451, 202, 6385, 8269, 5846, 2300, 2652, 273, 202, 565, 312, 67, 6848, 18, 2640, 3495, 12, 21480, 1769, 202, 4811, 8213, 8867, 12, 25, 16, 2652, 1769, 202, 11231, 12, 5, 8692, 18, 291, 5265, 10663, 202, 4811, 8213, 8867, 12, 22, 16, 312, 67, 6848, 18, 2640, 2300, 12, 9506, 282, 7751, 15, 6942, 6942, 2225, 16, 312, 67, 1615, 863, 10019, 202, 4811, 8213, 8867, 12, 24, 16, 312, 67, 6848, 18, 2640, 2300, 12, 9506, 282, 7751, 15, 6942, 16896, 6942, 2225, 16, 312, 67, 1615, 863, 10019, 202, 4811, 8213, 8867, 12, 25, 16, 312, 67, 6848, 18, 2640, 2300, 12, 9506, 282, 7751, 15, 6942, 261, 15, 6942, 16896, 13, 6942, 2225, 16, 312, 67, 1615, 863, 10019, 202, 698, 288, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 12, 15, 2225, 16, 312, 67, 1615, 863, 1769, 202, 565, 2321, 2932, 6861, 279, 611, 86, 14055, 503, 8863, 202, 97, 202, 14683, 261, 20799, 14055, 503, 425, 13, 288, 202, 97, 202, 698, 288, 202, 565, 312, 67, 6848, 18, 2640, 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, 3495, 1435, 1216, 1185, 565, 288, 202, 6385, 8269, 5846, 2300, 8526, 8041, 273, 288, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 3335, 3113, 312, 67, 1615, 863, 3631, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 11710, 3113, 312, 67, 1615, 863, 3631, 202, 565, 312, 67, 6848, 18, 2640, 2300, 2932, 11710, 3113, 312, 67, 1615, 863, 3631, 202, 20451, 202, 6385, 8269, 5846, 2300, 2652, 273, 202, 565, 312, 67, 6848, 18, 2640, 3495, 12, 21480, 1769, 202, 4811, 8213, 8867, 12, 25, 16, 2652, 1769, 202, 11231, 12, 5, 8692, 18, 291, 5265, 10663, 202, 4811, 8213, 8867, 12, 22, 16, 312, 67, 6848, 18, 2640, 2300, 12, 2 ]
m_startLatch.release(); m_endLatch.release();
startLatch.release(); endLatch.release();
public void run() { if ( isTimedOut() ) { // In case of a time out, one releases the start and end latches // to prevent a dead-lock. m_startLatch.release(); m_endLatch.release(); return; } // Implementation note: the work listener is notified prior to release // the start lock. This behavior is intentional and seems to be the // more conservative. m_workListener.workStarted( new WorkEvent(this, WorkEvent.WORK_STARTED, m_adaptee, null)); m_startLatch.release(); try { m_adaptee.run(); m_workListener.workCompleted( new WorkEvent(this, WorkEvent.WORK_COMPLETED, m_adaptee, null)); } catch (Throwable e) { m_workException = new WorkCompletedException(e); m_workListener.workRejected( new WorkEvent(this, WorkEvent.WORK_REJECTED, m_adaptee, m_workException)); } finally { m_endLatch.release(); } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/912b652cc2d9b3899a6b0bbb996aa54bb1847081/WorkerContext.java/clean/modules/core/src/java/org/apache/geronimo/connector/work/WorkerContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 309, 261, 353, 30416, 1435, 262, 288, 5411, 368, 657, 648, 434, 279, 813, 596, 16, 1245, 14824, 326, 787, 471, 679, 23313, 281, 5411, 368, 358, 5309, 279, 8363, 17, 739, 18, 5411, 312, 67, 1937, 23463, 18, 9340, 5621, 5411, 312, 67, 409, 23463, 18, 9340, 5621, 5411, 327, 31, 3639, 289, 3639, 368, 25379, 4721, 30, 326, 1440, 2991, 353, 18791, 6432, 358, 3992, 3639, 368, 326, 787, 2176, 18, 1220, 6885, 353, 509, 5054, 287, 471, 12001, 358, 506, 326, 3639, 368, 1898, 356, 23039, 1535, 18, 3639, 312, 67, 1252, 2223, 18, 1252, 9217, 12, 5411, 394, 4147, 1133, 12, 2211, 16, 4147, 1133, 18, 10566, 67, 20943, 6404, 16, 312, 67, 19195, 1340, 16, 446, 10019, 3639, 312, 67, 1937, 23463, 18, 9340, 5621, 3639, 775, 288, 5411, 312, 67, 19195, 1340, 18, 2681, 5621, 5411, 312, 67, 1252, 2223, 18, 1252, 9556, 12, 7734, 394, 4147, 1133, 12, 2211, 16, 4147, 1133, 18, 10566, 67, 15795, 40, 16, 312, 67, 19195, 1340, 16, 446, 10019, 3639, 289, 1044, 261, 15155, 425, 13, 288, 5411, 312, 67, 1252, 503, 273, 394, 4147, 9556, 503, 12, 73, 1769, 5411, 312, 67, 1252, 2223, 18, 1252, 19902, 12, 7734, 394, 4147, 1133, 12, 2211, 16, 4147, 1133, 18, 10566, 67, 862, 5304, 2056, 16, 312, 67, 19195, 1340, 16, 7734, 312, 67, 1252, 503, 10019, 3639, 289, 3095, 225, 288, 5411, 312, 67, 409, 23463, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 309, 261, 353, 30416, 1435, 262, 288, 5411, 368, 657, 648, 434, 279, 813, 596, 16, 1245, 14824, 326, 787, 471, 679, 23313, 281, 5411, 368, 358, 5309, 279, 8363, 17, 739, 18, 5411, 312, 67, 1937, 23463, 18, 9340, 5621, 5411, 312, 67, 409, 23463, 18, 9340, 5621, 5411, 327, 31, 3639, 289, 3639, 368, 25379, 4721, 30, 326, 1440, 2991, 353, 18791, 6432, 358, 3992, 3639, 368, 326, 787, 2176, 18, 1220, 6885, 353, 509, 5054, 287, 471, 12001, 358, 506, 326, 3639, 368, 1898, 356, 23039, 1535, 18, 3639, 312, 67, 1252, 2223, 18, 1252, 9217, 12, 5411, 394, 4147, 1133, 12, 2211, 16, 4147, 1133, 18, 10566, 67, 2 ]
for (int i = 0; i < fullDefinitions.length; i++) { if (fullDefinitions[i].isEnabled()) fullDefinitions[i].addListener(this); }
public void restoreListeners() { applyDecoratorsPreference(); for (int i = 0; i < fullDefinitions.length; i++) { //Add a listener if it is an enabled option if (fullDefinitions[i].isEnabled()) fullDefinitions[i].addListener(this); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b2c0d121f2f9e3ac06e606961ce1d10a1a76f37f/DecoratorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/DecoratorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5217, 5583, 1435, 288, 202, 202, 9010, 7859, 3062, 9624, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1983, 7130, 18, 2469, 31, 277, 27245, 288, 1082, 202, 759, 986, 279, 2991, 309, 518, 353, 392, 3696, 1456, 1082, 202, 430, 261, 2854, 7130, 63, 77, 8009, 291, 1526, 10756, 9506, 202, 2854, 7130, 63, 77, 8009, 1289, 2223, 12, 2211, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5217, 5583, 1435, 288, 202, 202, 9010, 7859, 3062, 9624, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1983, 7130, 18, 2469, 31, 277, 27245, 288, 1082, 202, 759, 986, 279, 2991, 309, 518, 353, 392, 3696, 1456, 1082, 202, 430, 261, 2854, 7130, 63, 77, 8009, 291, 1526, 10756, 9506, 202, 2854, 7130, 63, 77, 8009, 1289, 2223, 12, 2211, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bind.append (credentials); BEREncoder ctls = new BEREncoder (utf8); if (controls != null)
if (credentials != null)
public LDAPResult bind (String name, String mechanism, byte[] credentials, Control[] controls) throws IOException { int id = messageId++; boolean utf8 = (version == 3); BEREncoder bind = new BEREncoder (utf8); if (mechanism == null) { bind.append (version); bind.append (name); bind.append (credentials); // Request controls BEREncoder ctls = new BEREncoder (utf8); if (controls != null) { for (int i = 0; i < controls.length; i++) { ctls.append (controlSequence (controls[i], utf8), BERConstants.SEQUENCE); } } bind.append (ctls.toByteArray (), BERConstants.SEQUENCE); // Write request write (id, BIND_REQUEST, bind.toByteArray ()); // Read response BERDecoder response = read (id); BERDecoder resultSequence = response.parseSequence (BIND_RESPONSE); LDAPResult result = parseResult (resultSequence); if (resultSequence.available ()) { byte[] serverCreds = resultSequence.parseOctetString (); // TODO } // TODO response controls return result; } else { bind.append (version); bind.append (name); // TODO throw new UnsupportedOperationException ("TODO"); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/41e6975880fcdac472b194b4b2c70b3ce9ad63b9/LDAPConnection.java/buggy/libraries/javalib/gnu/inet/ldap/LDAPConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 11916, 1253, 1993, 261, 780, 508, 16, 514, 12860, 16, 12900, 1160, 8526, 4448, 16, 8888, 8526, 11022, 13, 565, 1216, 1860, 225, 288, 565, 509, 612, 273, 19090, 9904, 31, 565, 1250, 7718, 28, 273, 261, 1589, 422, 890, 1769, 565, 605, 654, 7204, 1993, 273, 394, 605, 654, 7204, 261, 3158, 28, 1769, 565, 309, 261, 3501, 10641, 422, 446, 13, 1377, 288, 3639, 1993, 18, 6923, 261, 1589, 1769, 3639, 1993, 18, 6923, 261, 529, 1769, 3639, 1993, 18, 6923, 261, 11687, 1769, 3639, 368, 1567, 11022, 3639, 605, 654, 7204, 5691, 3251, 273, 394, 605, 654, 7204, 261, 3158, 28, 1769, 3639, 309, 261, 24350, 480, 446, 13, 1850, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 11022, 18, 2469, 31, 277, 27245, 2868, 288, 7734, 5691, 3251, 18, 6923, 261, 7098, 4021, 261, 24350, 63, 77, 6487, 7718, 28, 3631, 11794, 605, 654, 2918, 18, 25330, 1769, 2868, 289, 1850, 289, 3639, 1993, 18, 6923, 261, 299, 3251, 18, 869, 8826, 1832, 16, 605, 654, 2918, 18, 25330, 1769, 3639, 368, 2598, 590, 3639, 1045, 261, 350, 16, 605, 2356, 67, 5519, 16, 1993, 18, 869, 8826, 1832, 1769, 3639, 368, 2720, 766, 3639, 605, 654, 7975, 766, 273, 855, 261, 350, 1769, 3639, 605, 654, 7975, 563, 4021, 273, 766, 18, 2670, 4021, 261, 2708, 67, 14508, 1769, 3639, 11916, 1253, 563, 273, 1109, 1253, 261, 2088, 4021, 1769, 3639, 309, 261, 2088, 4021, 18, 5699, 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, 11916, 1253, 1993, 261, 780, 508, 16, 514, 12860, 16, 12900, 1160, 8526, 4448, 16, 8888, 8526, 11022, 13, 565, 1216, 1860, 225, 288, 565, 509, 612, 273, 19090, 9904, 31, 565, 1250, 7718, 28, 273, 261, 1589, 422, 890, 1769, 565, 605, 654, 7204, 1993, 273, 394, 605, 654, 7204, 261, 3158, 28, 1769, 565, 309, 261, 3501, 10641, 422, 446, 13, 1377, 288, 3639, 1993, 18, 6923, 261, 1589, 1769, 3639, 1993, 18, 6923, 261, 529, 1769, 3639, 1993, 18, 6923, 261, 11687, 1769, 3639, 368, 1567, 11022, 3639, 605, 654, 7204, 5691, 3251, 273, 394, 605, 654, 7204, 261, 3158, 28, 1769, 3639, 309, 261, 24350, 480, 446, 13, 1850, 288, 5411, 364, 261, 2 ]
public Object clone() {
public Object clone() throws CloneNotSupportedException {
public Object clone() { Object clone = null; try { clone = super.clone(); } catch (Exception exception) { logger.error("Could not clone DebugAtom: " + exception.getMessage(), exception); logger.debug(exception); } return clone; }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/2b55a607674535cd8492e3539d8f3dce16fc3b92/DebugElectronContainer.java/buggy/src/org/openscience/cdk/debug/DebugElectronContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 1216, 12758, 25482, 288, 3639, 1033, 3236, 273, 446, 31, 3639, 775, 288, 540, 202, 14056, 273, 2240, 18, 14056, 5621, 3639, 289, 1044, 261, 503, 1520, 13, 288, 540, 202, 4901, 18, 1636, 2932, 4445, 486, 3236, 4015, 3641, 30, 315, 397, 1520, 18, 24906, 9334, 1520, 1769, 540, 202, 4901, 18, 4148, 12, 4064, 1769, 3639, 289, 3639, 327, 3236, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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901, 18, 1636, 2932, 4445, 486, 3236, 4015, 3641, 30, 315, 397, 1520, 18, 24906, 9334, 1520, 1769, 540, 202, 4901, 18, 4148, 12, 4064, 1769, 3639, 289, 3639, 327, 3236, 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 ]
public void storePatch (IPatch p, int bankNum, int patchNum)
public void storePatch (Patch p, int bankNum, int patchNum)
public void storePatch (IPatch p, int bankNum, int patchNum) { if (bankNum == 1 || bankNum == 2) JOptionPane.showMessageDialog(PatchEdit.getInstance(), "Cannot send to a preset bank", "Store Patch", JOptionPane.WARNING_MESSAGE ); else sendPatchWorker((Patch)p, bankNum); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/8de9e9d107eb8c0487bbadf2f24d3a5cc9bc1add/AlesisA6MixBankDriver.java/buggy/JSynthLib/synthdrivers/AlesisA6/AlesisA6MixBankDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1707, 7332, 261, 7332, 293, 16, 509, 11218, 2578, 16, 509, 4729, 2578, 13, 225, 288, 565, 309, 261, 10546, 2578, 422, 404, 747, 11218, 2578, 422, 576, 13, 1377, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 7332, 4666, 18, 588, 1442, 9334, 3639, 315, 4515, 1366, 358, 279, 12313, 11218, 3113, 3639, 315, 2257, 12042, 3113, 3639, 804, 1895, 8485, 18, 9511, 67, 8723, 1377, 11272, 565, 469, 1377, 1366, 7332, 6671, 12443, 7332, 13, 84, 16, 11218, 2578, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1707, 7332, 261, 7332, 293, 16, 509, 11218, 2578, 16, 509, 4729, 2578, 13, 225, 288, 565, 309, 261, 10546, 2578, 422, 404, 747, 11218, 2578, 422, 576, 13, 1377, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 7332, 4666, 18, 588, 1442, 9334, 3639, 315, 4515, 1366, 358, 279, 12313, 11218, 3113, 3639, 315, 2257, 12042, 3113, 3639, 804, 1895, 8485, 18, 9511, 67, 8723, 1377, 11272, 565, 469, 1377, 1366, 7332, 6671, 12443, 7332, 13, 84, 16, 11218, 2578, 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 ]
public ProxyFactory getFactory() {// System.out.println("Factory = " + proxyFactory.getClass().getName()); return proxyFactory; }
6337 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6337/4bd30ab20d16723317a74f080f675973fc078557/ProxyTestCase.java/clean/proxytoys/test/com/thoughtworks/proxy/ProxyTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3886, 1733, 588, 1733, 1435, 95, 759, 3163, 18, 659, 18, 8222, 2932, 1733, 1546, 15, 5656, 1733, 18, 588, 797, 7675, 17994, 10663, 202, 202, 2463, 5656, 1733, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3886, 1733, 588, 1733, 1435, 95, 759, 3163, 18, 659, 18, 8222, 2932, 1733, 1546, 15, 5656, 1733, 18, 588, 797, 7675, 17994, 10663, 202, 202, 2463, 5656, 1733, 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 ]
createDecoratorThread(); decoratorUpdateThread.start();
DecorationScheduler(DecoratorManager manager) { decoratorManager = manager; // thread that calculates the decoration for a resource createDecoratorThread(); decoratorUpdateThread.start(); ResourcesPlugin.getWorkspace().addResourceChangeListener(this); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b2c0d121f2f9e3ac06e606961ce1d10a1a76f37f/DecorationScheduler.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/DecorationScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 7859, 367, 11870, 12, 10361, 1318, 3301, 13, 288, 202, 202, 19142, 1318, 273, 3301, 31, 202, 202, 759, 2650, 716, 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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, 7859, 367, 11870, 12, 10361, 1318, 3301, 13, 288, 202, 202, 19142, 1318, 273, 3301, 31, 202, 202, 759, 2650, 716, 17264, 326, 29217, 364, 279, 1058, 202, 202, 2640, 10361, 3830, 5621, 202, 202, 19142, 1891, 3830, 18, 1937, 5621, 202, 202, 3805, 3773, 18, 588, 8241, 7675, 1289, 1420, 15744, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else
} else
private void validateFeatures( ) throws CoreException { IPath installPath = PDEPlugin.getWorkspace( ).getRoot( ).getLocation( ); String lastSegment = installPath.lastSegment( ); boolean badStructure = lastSegment == null; if ( !badStructure ) { IPath featuresPath = installPath.removeLastSegments( 1 ).append( "features" ); badStructure = !lastSegment.equalsIgnoreCase( "plugins" ) || !featuresPath.toFile( ).exists( ); } if ( badStructure ) { throw new CoreException( LauncherUtils .createErrorStatus( DebugUtil .getResourceString( "WorkbenchLauncherConfigurationDelegate.badFeatureSetup" ) ) ); } else { ensureProductFilesExist( getProductPath( ) ); return; } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/3ff8c8c7dcc1456137e4ae046739e5dc4d3f729d/ReportLaunchConfigurationDelegate.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1954, 8696, 12, 262, 1216, 30015, 202, 95, 202, 202, 45, 743, 3799, 743, 273, 453, 1639, 3773, 18, 588, 8241, 12, 262, 18, 588, 2375, 12, 262, 18, 588, 2735, 12, 11272, 202, 202, 780, 1142, 4131, 273, 3799, 743, 18, 2722, 4131, 12, 11272, 202, 202, 6494, 5570, 6999, 273, 1142, 4131, 422, 446, 31, 202, 202, 430, 261, 401, 8759, 6999, 262, 202, 202, 95, 1082, 202, 45, 743, 4467, 743, 273, 3799, 743, 18, 4479, 3024, 7946, 12, 404, 262, 18, 6923, 12, 6862, 202, 6, 7139, 6, 11272, 1082, 202, 8759, 6999, 273, 401, 2722, 4131, 18, 14963, 5556, 12, 315, 8057, 6, 262, 6862, 202, 20081, 401, 7139, 743, 18, 869, 812, 12, 262, 18, 1808, 12, 11272, 202, 202, 97, 202, 202, 430, 261, 5570, 6999, 262, 202, 202, 95, 1082, 202, 12849, 394, 30015, 12, 6862, 202, 28820, 1989, 6862, 1082, 202, 18, 2640, 668, 1482, 12, 4015, 1304, 6862, 6862, 202, 18, 588, 1420, 780, 12, 315, 2421, 22144, 28820, 1750, 9586, 18, 8759, 4595, 7365, 6, 262, 262, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 15735, 4133, 2697, 4786, 12, 15880, 743, 12, 262, 11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 12, 262, 18, 588, 2375, 12, 262, 18, 588, 2735, 12, 11272, 202, 202, 780, 1142, 4131, 273, 3799, 743, 18, 2722, 4131, 12, 11272, 202, 202, 6494, 5570, 6999, 273, 1142, 4131, 422, 446, 31, 202, 202, 430, 261, 401, 8759, 6999, 262, 202, 202, 95, 1082, 202, 45, 743, 4467, 743, 273, 3799, 743, 18, 4479, 3024, 7946, 12, 404, 262, 18, 6923, 12, 6862, 202, 6, 7139, 6, 11272, 1082, 202, 8759, 6999, 273, 401, 2722, 4131, 18, 14963, 5556, 12, 315, 8057, 6, 262, 6862, 202, 20081, 401, 7139, 743, 2 ]
public Bucket decode(BucketFactory bf, int maxLength) throws CHKDecodeException, IOException {
public Bucket decode(BucketFactory bf, int maxLength, boolean dontCompress) throws CHKDecodeException, IOException {
public Bucket decode(BucketFactory bf, int maxLength) throws CHKDecodeException, IOException { // Overall hash already verified, so first job is to decrypt. if(key.cryptoAlgorithm != Key.ALGO_AES_PCFB_256_SHA256) throw new UnsupportedOperationException(); BlockCipher cipher; try { cipher = new Rijndael(256, 256); } catch (UnsupportedCipherException e) { // FIXME - log this properly throw new Error(e); } byte[] cryptoKey = key.cryptoKey; if(cryptoKey.length < Node.SYMMETRIC_KEY_LENGTH) throw new CHKDecodeException("Crypto key too short"); cipher.initialize(key.cryptoKey); PCFBMode pcfb = new PCFBMode(cipher); byte[] hbuf = new byte[headers.length-2]; System.arraycopy(headers, 2, hbuf, 0, headers.length-2); byte[] dbuf = new byte[data.length]; System.arraycopy(data, 0, dbuf, 0, data.length); // Decipher header first - functions as IV pcfb.blockDecipher(hbuf, 0, hbuf.length); pcfb.blockDecipher(dbuf, 0, dbuf.length); // Check: Decryption key == hash of data (not including header) MessageDigest md256; try { md256 = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e1) { // FIXME: log this properly? throw new Error(e1); } byte[] dkey = md256.digest(dbuf); if(!java.util.Arrays.equals(dkey, key.cryptoKey)) { throw new CHKDecodeException("Check failed: decrypt key == H(data)"); } // Check: IV == hash of decryption key byte[] predIV = md256.digest(dkey); // Extract the IV byte[] iv = new byte[32]; System.arraycopy(hbuf, 0, iv, 0, 32); if(!Arrays.equals(iv, predIV)) throw new CHKDecodeException("Check failed: Decrypted IV == H(decryption key)"); // Checks complete int size = ((hbuf[32] & 0xff) << 8) + (hbuf[33] & 0xff); if(size > 32768 || size < 0) throw new CHKDecodeException("Invalid size: "+size); byte[] output = new byte[size]; // No particular reason to check the padding, is there? System.arraycopy(dbuf, 0, output, 0, size); return Key.decompress(key.isCompressed(), output, bf, Math.min(maxLength, MAX_LENGTH_BEFORE_COMPRESSION), key.compressionAlgorithm, false); }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/453d4b996fb63d69f900accadc2e27f5ed795af0/ClientCHKBlock.java/buggy/src/freenet/keys/ClientCHKBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7408, 2495, 12, 4103, 1733, 16222, 16, 509, 13642, 16, 1250, 14046, 16552, 13, 1216, 6469, 47, 6615, 503, 16, 1860, 288, 3639, 368, 10752, 454, 1651, 1818, 13808, 16, 1427, 1122, 1719, 353, 358, 8420, 18, 3639, 309, 12, 856, 18, 18489, 6801, 480, 1929, 18, 1013, 16387, 67, 18436, 67, 3513, 22201, 67, 5034, 67, 8325, 5034, 13, 5411, 604, 394, 13172, 5621, 3639, 3914, 13896, 5867, 31, 3639, 775, 288, 5411, 5867, 273, 394, 534, 8302, 82, 2414, 292, 12, 5034, 16, 8303, 1769, 3639, 289, 1044, 261, 8544, 13896, 503, 425, 13, 288, 5411, 368, 9852, 300, 613, 333, 8214, 5411, 604, 394, 1068, 12, 73, 1769, 3639, 289, 3639, 1160, 8526, 8170, 653, 273, 498, 18, 18489, 653, 31, 3639, 309, 12, 18489, 653, 18, 2469, 411, 2029, 18, 7474, 49, 23081, 39, 67, 3297, 67, 7096, 13, 5411, 604, 394, 6469, 47, 6615, 503, 2932, 18048, 498, 4885, 3025, 8863, 3639, 5867, 18, 11160, 12, 856, 18, 18489, 653, 1769, 3639, 453, 8955, 38, 2309, 6125, 19192, 273, 394, 453, 8955, 38, 2309, 12, 17094, 1769, 3639, 1160, 8526, 366, 4385, 273, 394, 1160, 63, 2485, 18, 2469, 17, 22, 15533, 3639, 2332, 18, 1126, 3530, 12, 2485, 16, 576, 16, 366, 4385, 16, 374, 16, 1607, 18, 2469, 17, 22, 1769, 3639, 1160, 8526, 1319, 696, 273, 394, 1160, 63, 892, 18, 2469, 15533, 3639, 2332, 18, 1126, 3530, 12, 892, 16, 374, 16, 1319, 696, 16, 374, 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, 7408, 2495, 12, 4103, 1733, 16222, 16, 509, 13642, 16, 1250, 14046, 16552, 13, 1216, 6469, 47, 6615, 503, 16, 1860, 288, 3639, 368, 10752, 454, 1651, 1818, 13808, 16, 1427, 1122, 1719, 353, 358, 8420, 18, 3639, 309, 12, 856, 18, 18489, 6801, 480, 1929, 18, 1013, 16387, 67, 18436, 67, 3513, 22201, 67, 5034, 67, 8325, 5034, 13, 5411, 604, 394, 13172, 5621, 3639, 3914, 13896, 5867, 31, 3639, 775, 288, 5411, 5867, 273, 394, 534, 8302, 82, 2414, 292, 12, 5034, 16, 8303, 1769, 3639, 289, 1044, 261, 8544, 13896, 503, 425, 13, 288, 5411, 368, 9852, 300, 613, 333, 8214, 5411, 604, 394, 1068, 12, 73, 1769, 3639, 289, 3639, 1160, 8526, 8170, 2 ]
private static Node getParsedScript(IRuby runtime, Reader reader, String filename) {
private Node getParsedScript(IRuby runtime, Reader reader, String filename) {
private static Node getParsedScript(IRuby runtime, Reader reader, String filename) { Node result = runtime.parse(reader, filename); if (commandline.isAssumePrinting()) { result = new ParserSupport().appendPrintToBlock(result); } if (commandline.isAssumeLoop()) { result = new ParserSupport().appendWhileLoopToBlock(result, commandline.isProcessLineEnds(), commandline.isSplit()); } return result; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/b4a189a27604d62c317938f16a124fb9dab1e94a/Main.java/clean/src/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 25406, 3651, 12, 7937, 10340, 3099, 16, 5393, 2949, 16, 514, 1544, 13, 288, 3639, 2029, 563, 273, 3099, 18, 2670, 12, 10530, 16, 1544, 1769, 3639, 309, 261, 3076, 1369, 18, 291, 2610, 2066, 5108, 310, 10756, 288, 5411, 563, 273, 394, 6783, 6289, 7675, 6923, 5108, 774, 1768, 12, 2088, 1769, 3639, 289, 3639, 309, 261, 3076, 1369, 18, 291, 2610, 2066, 6452, 10756, 288, 5411, 563, 273, 394, 6783, 6289, 7675, 6923, 15151, 6452, 774, 1768, 12, 2088, 16, 28305, 18, 291, 2227, 1670, 24980, 9334, 28305, 18, 291, 5521, 10663, 3639, 289, 3639, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2029, 25406, 3651, 12, 7937, 10340, 3099, 16, 5393, 2949, 16, 514, 1544, 13, 288, 3639, 2029, 563, 273, 3099, 18, 2670, 12, 10530, 16, 1544, 1769, 3639, 309, 261, 3076, 1369, 18, 291, 2610, 2066, 5108, 310, 10756, 288, 5411, 563, 273, 394, 6783, 6289, 7675, 6923, 5108, 774, 1768, 12, 2088, 1769, 3639, 289, 3639, 309, 261, 3076, 1369, 18, 291, 2610, 2066, 6452, 10756, 288, 5411, 563, 273, 394, 6783, 6289, 7675, 6923, 15151, 6452, 774, 1768, 12, 2088, 16, 28305, 18, 291, 2227, 1670, 24980, 9334, 28305, 18, 291, 5521, 10663, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (fields.hasNext()) { print(","); } println(); argnr++; } println(" );"); println(" }"); println(" else {"); println(" return null;"); println(" }"); println(" }"); println(); }
if (fields.hasNext()) { print(","); } println(); argnr++; } println(" );"); println(" }"); println(" else {"); println(" return null;"); println(" }"); println(" }"); println(); }
private void genAltFromTerm(Type type, Alternative alt) { JavaGenerationParameters params = getJavaGenerationParameters(); String returnType = TypeGenerator.qualifiedClassName(params, type); String methodName = concatTypeAlt(type, alt) + "FromTerm"; println(" protected " + returnType + " " + methodName + "(aterm.ATerm trm) {"); println( " java.util.List children = trm.match(" + patternVariable(type, alt) + ");"); println(); println(" if (children != null) {"); methodName = "make" + concatTypeAlt(type, alt); println(" return " + methodName + "("); Iterator fields = type.altFieldIterator(alt.getId()); int argnr = 0; while (fields.hasNext()) { Field field = (Field) fields.next(); print(" " + buildFieldMatchResultRetriever(argnr, field)); if (fields.hasNext()) { print(","); } println(); argnr++; } println(" );"); println(" }"); // endif println(" else {"); println(" return null;"); println(" }"); println(" }"); println(); }
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/dfc73e34bff6e386ff1bb2959e83fe3849358bb0/FactoryGenerator.java/buggy/apigen/src/apigen/gen/java/FactoryGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3157, 10655, 1265, 4065, 12, 559, 618, 16, 21498, 1535, 3770, 13, 288, 3639, 5110, 13842, 2402, 859, 273, 18911, 13842, 2402, 5621, 3639, 514, 9424, 273, 1412, 3908, 18, 19724, 3834, 12, 2010, 16, 618, 1769, 3639, 514, 4918, 273, 3835, 559, 10655, 12, 723, 16, 3770, 13, 397, 315, 1265, 4065, 14432, 3639, 3785, 2932, 225, 4750, 315, 397, 9424, 397, 315, 315, 397, 4918, 397, 7751, 270, 1035, 18, 789, 1035, 433, 81, 13, 288, 8863, 3639, 3785, 12, 5411, 315, 565, 2252, 18, 1367, 18, 682, 2325, 273, 433, 81, 18, 1916, 2932, 7734, 397, 1936, 3092, 12, 723, 16, 3770, 13, 7734, 397, 315, 1769, 8863, 3639, 3785, 5621, 3639, 3785, 2932, 565, 309, 261, 5906, 480, 446, 13, 288, 8863, 3639, 4918, 273, 315, 6540, 6, 397, 3835, 559, 10655, 12, 723, 16, 3770, 1769, 3639, 3785, 2932, 1377, 327, 315, 397, 4918, 397, 12452, 1769, 3639, 4498, 1466, 273, 618, 18, 2390, 974, 3198, 12, 2390, 18, 26321, 10663, 3639, 509, 1501, 11611, 273, 374, 31, 3639, 1323, 261, 2821, 18, 5332, 2134, 10756, 288, 5411, 2286, 652, 273, 261, 974, 13, 1466, 18, 4285, 5621, 5411, 1172, 2932, 3639, 315, 397, 1361, 974, 2060, 1253, 30801, 12, 297, 1600, 86, 16, 652, 10019, 5411, 309, 261, 2821, 18, 5332, 2134, 10756, 288, 7734, 1172, 2932, 16, 8863, 5411, 289, 5411, 3785, 5621, 5411, 1501, 11611, 9904, 31, 3639, 289, 3639, 3785, 2932, 1377, 262, 4868, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3157, 10655, 1265, 4065, 12, 559, 618, 16, 21498, 1535, 3770, 13, 288, 3639, 5110, 13842, 2402, 859, 273, 18911, 13842, 2402, 5621, 3639, 514, 9424, 273, 1412, 3908, 18, 19724, 3834, 12, 2010, 16, 618, 1769, 3639, 514, 4918, 273, 3835, 559, 10655, 12, 723, 16, 3770, 13, 397, 315, 1265, 4065, 14432, 3639, 3785, 2932, 225, 4750, 315, 397, 9424, 397, 315, 315, 397, 4918, 397, 7751, 270, 1035, 18, 789, 1035, 433, 81, 13, 288, 8863, 3639, 3785, 12, 5411, 315, 565, 2252, 18, 1367, 18, 682, 2325, 273, 433, 81, 18, 1916, 2932, 7734, 397, 1936, 3092, 12, 723, 16, 3770, 13, 7734, 397, 315, 1769, 8863, 3639, 3785, 5621, 3639, 3785, 2 ]
else { SoarWorkingMemoryReader.read(WorkingMemory,r, null); } r.close(); restoreStateIds(); }
private void openVersionOne(FileReader fr,String parentPath) throws IOException, NumberFormatException { String relPathToDM = ReaderUtils.getWord(fr); File dataMapFile = new File(parentPath + relPathToDM); File commentFile = new File(dataMapFile.getParent() + File.separator + "comment.dm"); readVersionOne(fr); OperatorRootNode root = (OperatorRootNode)getModel().getRoot(); root.setFullPath(parentPath); fr.close(); Reader r = new FileReader(dataMapFile); // If a comment file exists, then make sure that it gets read in by the reader. if( commentFile.exists() ) { Reader rComment = new FileReader(commentFile); SoarWorkingMemoryReader.read(WorkingMemory,r, rComment); rComment.close(); } else { SoarWorkingMemoryReader.read(WorkingMemory,r, null); } r.close(); restoreStateIds(); }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/a346ed7f83eb1c70b9abfdfce06d4248fd83a1ab/OperatorWindow.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/operatorwindow/OperatorWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1696, 1444, 3335, 12, 812, 2514, 3812, 16, 780, 17743, 13, 1216, 1860, 16, 12100, 288, 202, 202, 780, 20282, 774, 16125, 273, 5393, 1989, 18, 588, 3944, 12, 4840, 1769, 202, 202, 812, 501, 863, 812, 273, 394, 1387, 12, 2938, 743, 397, 20282, 774, 16125, 1769, 565, 1387, 2879, 812, 273, 394, 1387, 12, 892, 863, 812, 18, 588, 3054, 1435, 397, 1387, 18, 11287, 397, 315, 3469, 18, 10956, 8863, 202, 202, 896, 1444, 3335, 12, 4840, 1769, 202, 202, 5592, 29658, 1365, 273, 261, 5592, 29658, 13, 588, 1488, 7675, 588, 2375, 5621, 202, 202, 3085, 18, 542, 24173, 12, 2938, 743, 1769, 202, 202, 4840, 18, 4412, 5621, 202, 202, 2514, 436, 273, 394, 23010, 12, 892, 863, 812, 1769, 565, 368, 971, 279, 2879, 585, 1704, 16, 1508, 1221, 3071, 716, 518, 5571, 855, 316, 635, 326, 2949, 18, 565, 309, 12, 2879, 812, 18, 1808, 1435, 262, 288, 1377, 5393, 436, 4469, 273, 394, 23010, 12, 3469, 812, 1769, 1377, 6155, 297, 14836, 6031, 2514, 18, 896, 12, 14836, 6031, 16, 86, 16, 436, 4469, 1769, 1377, 436, 4469, 18, 4412, 5621, 565, 289, 565, 469, 288, 21114, 202, 10225, 297, 14836, 6031, 2514, 18, 896, 12, 14836, 6031, 16, 86, 16, 446, 1769, 565, 289, 202, 202, 86, 18, 4412, 5621, 202, 202, 13991, 1119, 2673, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1696, 1444, 3335, 12, 812, 2514, 3812, 16, 780, 17743, 13, 1216, 1860, 16, 12100, 288, 202, 202, 780, 20282, 774, 16125, 273, 5393, 1989, 18, 588, 3944, 12, 4840, 1769, 202, 202, 812, 501, 863, 812, 273, 394, 1387, 12, 2938, 743, 397, 20282, 774, 16125, 1769, 565, 1387, 2879, 812, 273, 394, 1387, 12, 892, 863, 812, 18, 588, 3054, 1435, 397, 1387, 18, 11287, 397, 315, 3469, 18, 10956, 8863, 202, 202, 896, 1444, 3335, 12, 4840, 1769, 202, 202, 5592, 29658, 1365, 273, 261, 5592, 29658, 13, 588, 1488, 7675, 588, 2375, 5621, 202, 202, 3085, 18, 542, 24173, 12, 2938, 743, 1769, 202, 202, 4840, 18, 4412, 5621, 202, 202, 2 ]
PairWithPosition declPos = (PairWithPosition) pair; decl.setFile(declPos.getFile()); decl.setLine(declPos.getLine(), declPos.getColumn());
PairWithPosition expPos = (PairWithPosition) pair; exp.setFile(expPos.getFile()); exp.setLine(expPos.getLine(), expPos.getColumn());
public static void setLine(Declaration decl, Object pair) { if (pair instanceof PairWithPosition) { PairWithPosition declPos = (PairWithPosition) pair; decl.setFile(declPos.getFile()); decl.setLine(declPos.getLine(), declPos.getColumn()); } }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/2075691bad46dca456093b5fad8b07ef64eed4e8/Translator.java/buggy/kawa/lang/Translator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 26482, 12, 6094, 3496, 16, 1033, 3082, 13, 225, 288, 565, 309, 261, 6017, 1276, 8599, 1190, 2555, 13, 1377, 288, 202, 4154, 1190, 2555, 3496, 1616, 273, 261, 4154, 1190, 2555, 13, 3082, 31, 202, 8840, 18, 542, 812, 12, 8840, 1616, 18, 29925, 10663, 202, 8840, 18, 542, 1670, 12, 8840, 1616, 18, 588, 1670, 9334, 3496, 1616, 18, 588, 1494, 10663, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 288, 565, 309, 261, 6017, 1276, 8599, 1190, 2555, 13, 1377, 288, 202, 4154, 1190, 2555, 3496, 1616, 273, 261, 4154, 1190, 2555, 13, 3082, 31, 202, 8840, 18, 542, 812, 12, 8840, 1616, 18, 29925, 10663, 202, 8840, 18, 542, 1670, 12, 8840, 1616, 18, 588, 1670, 9334, 3496, 1616, 18, 588, 1494, 10663, 1377, 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 ]
if (!opened) ErrLog.msg(ErrLog.error, "LocoBufferAdapter", "getInputStream", "called before load(), stream not available");
if (!opened) log.error("getInputStream called before load(), stream not available");
public DataInputStream getInputStream() { if (!opened) ErrLog.msg(ErrLog.error, "LocoBufferAdapter", "getInputStream", "called before load(), stream not available"); try { return new DataInputStream(activeSerialPort.getInputStream()); } catch (java.io.IOException e) { ErrLog.msg(ErrLog.error, "LocoBufferAdapter", "getInputStream", "exception: "+e); } return null; }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/9d6329e2cb81c2971f77098c4c2ad05a887cfd51/LocoBufferAdapter.java/clean/jmrix/loconet/locobuffer/LocoBufferAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 29382, 14424, 1435, 288, 202, 202, 430, 16051, 25304, 13, 1926, 1343, 18, 3576, 12, 2524, 1343, 18, 1636, 16, 315, 1333, 83, 1892, 4216, 3113, 315, 588, 4348, 3113, 315, 11777, 1865, 1262, 9334, 1407, 486, 2319, 8863, 202, 202, 698, 288, 1082, 202, 2463, 394, 29382, 12, 3535, 6342, 2617, 18, 588, 4348, 10663, 1377, 202, 202, 97, 1377, 202, 14683, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 1377, 202, 202, 2524, 1343, 18, 3576, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 29382, 14424, 1435, 288, 202, 202, 430, 16051, 25304, 13, 1926, 1343, 18, 3576, 12, 2524, 1343, 18, 1636, 16, 315, 1333, 83, 1892, 4216, 3113, 315, 588, 4348, 3113, 315, 11777, 1865, 1262, 9334, 1407, 486, 2319, 8863, 202, 202, 698, 288, 1082, 202, 2463, 394, 29382, 12, 3535, 6342, 2617, 18, 588, 4348, 10663, 1377, 202, 202, 97, 1377, 202, 14683, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 1377, 202, 202, 2524, 1343, 18, 3576, 12, 2524, 1343, 18, 1636, 16, 315, 1333, 83, 1892, 4216, 3113, 315, 588, 4348, 3113, 315, 4064, 30, 13773, 73, 1769, 1377, 202, 97, 1377, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100 ]
Method setMethod = null; String setter = "set".concat(nameComponent); if (ht.containsKey(setter)) {
NativeJavaMethod njmSet = null; MemberBox setter = null; String setterName = "set".concat(nameComponent); if (ht.containsKey(setterName)) {
private void makeBeanProperties(Scriptable scope, boolean isStatic) { Hashtable ht = isStatic ? staticMembers : members; Hashtable toAdd = new Hashtable(); // Now, For each member, make "bean" properties. for (Enumeration e = ht.keys(); e.hasMoreElements(); ) { // Is this a getter? String name = (String) e.nextElement(); boolean memberIsGetMethod = name.startsWith("get"); boolean memberIsIsMethod = name.startsWith("is"); if (memberIsGetMethod || memberIsIsMethod) { // Double check name component. String nameComponent = name.substring(memberIsGetMethod ? 3 : 2); if (nameComponent.length() == 0) continue; // Make the bean property name. String beanPropertyName = nameComponent; char ch0 = nameComponent.charAt(0); if (Character.isUpperCase(ch0)) { if (nameComponent.length() == 1) { beanPropertyName = nameComponent.toLowerCase(); } else { char ch1 = nameComponent.charAt(1); if (!Character.isUpperCase(ch1)) { beanPropertyName = Character.toLowerCase(ch0) +nameComponent.substring(1); } } } // If we already have a member by this name, don't do this // property. if (ht.containsKey(beanPropertyName)) continue; // Get the method by this name. Object method = ht.get(name); if (!(method instanceof NativeJavaMethod)) continue; NativeJavaMethod getJavaMethod = (NativeJavaMethod) method; Method getMethod = extractGetMethod(getJavaMethod, isStatic); if (getMethod != null) { // We have a getter. Now, do we have a setter? Method setMethod = null; String setter = "set".concat(nameComponent); if (ht.containsKey(setter)) { // Is this value a method? method = ht.get(setter); if (method instanceof NativeJavaMethod) { NativeJavaMethod njm = (NativeJavaMethod) method; Class type = getMethod.getReturnType(); setMethod = extractSetMethod(type, njm, isStatic); } } // Make the property. BeanProperty bp = new BeanProperty(getMethod, setMethod); toAdd.put(beanPropertyName, bp); } } } // Add the new bean properties. for (Enumeration e = toAdd.keys(); e.hasMoreElements();) { String key = (String) e.nextElement(); Object value = toAdd.get(key); ht.put(key, value); } }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/1b620bbe9ad9c387f8202d7df9e1281bbd4ef637/JavaMembers.java/clean/src/org/mozilla/javascript/JavaMembers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1221, 3381, 2297, 12, 3651, 429, 2146, 16, 1250, 16116, 13, 565, 288, 3639, 18559, 14049, 273, 16116, 692, 760, 6918, 294, 4833, 31, 3639, 18559, 25607, 273, 394, 18559, 5621, 3639, 368, 4494, 16, 2457, 1517, 3140, 16, 1221, 315, 14496, 6, 1790, 18, 3639, 364, 261, 21847, 425, 273, 14049, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 5411, 368, 2585, 333, 279, 7060, 35, 5411, 514, 508, 273, 261, 780, 13, 425, 18, 4285, 1046, 5621, 5411, 1250, 3140, 2520, 967, 1305, 273, 508, 18, 17514, 1190, 2932, 588, 8863, 5411, 1250, 3140, 2520, 2520, 1305, 273, 508, 18, 17514, 1190, 2932, 291, 8863, 5411, 309, 261, 5990, 2520, 967, 1305, 747, 3140, 2520, 2520, 1305, 13, 288, 7734, 368, 3698, 866, 508, 1794, 18, 7734, 514, 508, 1841, 273, 508, 18, 28023, 12, 5990, 2520, 967, 1305, 692, 890, 294, 576, 1769, 7734, 309, 261, 529, 1841, 18, 2469, 1435, 422, 374, 13, 10792, 1324, 31, 7734, 368, 4344, 326, 3931, 1272, 508, 18, 7734, 514, 3931, 13073, 273, 508, 1841, 31, 7734, 1149, 462, 20, 273, 508, 1841, 18, 3001, 861, 12, 20, 1769, 7734, 309, 261, 7069, 18, 291, 8915, 12, 343, 20, 3719, 288, 10792, 309, 261, 529, 1841, 18, 2469, 1435, 422, 404, 13, 288, 13491, 3931, 13073, 273, 508, 1841, 18, 869, 5630, 5621, 10792, 289, 469, 288, 13491, 1149, 462, 21, 273, 508, 1841, 18, 3001, 861, 12, 21, 1769, 13491, 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, 1221, 3381, 2297, 12, 3651, 429, 2146, 16, 1250, 16116, 13, 565, 288, 3639, 18559, 14049, 273, 16116, 692, 760, 6918, 294, 4833, 31, 3639, 18559, 25607, 273, 394, 18559, 5621, 3639, 368, 4494, 16, 2457, 1517, 3140, 16, 1221, 315, 14496, 6, 1790, 18, 3639, 364, 261, 21847, 425, 273, 14049, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 5411, 368, 2585, 333, 279, 7060, 35, 5411, 514, 508, 273, 261, 780, 13, 425, 18, 4285, 1046, 5621, 5411, 1250, 3140, 2520, 967, 1305, 273, 508, 18, 17514, 1190, 2932, 588, 8863, 5411, 1250, 3140, 2520, 2520, 1305, 273, 508, 18, 17514, 1190, 2932, 291, 8863, 5411, 309, 261, 5990, 2520, 967, 2 ]
if ( inputState.guessing==0 ) { newExpression_AST = (AST)currentAST.root; }
newExpression_AST = (AST)currentAST.root;
public final void newExpression() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST newExpression_AST = null; boolean zz; /*ignored*/ AST tmp331_AST = null; if (inputState.guessing==0) { tmp331_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp331_AST); } match(LITERAL_new); { switch ( LA(1)) { case LT: { typeArguments(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } break; } case IDENT: case LITERAL_void: case LITERAL_boolean: case LITERAL_byte: case LITERAL_char: case LITERAL_short: case LITERAL_int: case LITERAL_float: case LITERAL_long: case LITERAL_double: case LITERAL_any: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } type(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } { switch ( LA(1)) { case LPAREN: { match(LPAREN); zz=argList(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } match(RPAREN); break; } case LBRACK: { newArrayDeclarator(); if (inputState.guessing==0) { astFactory.addASTChild(currentAST, returnAST); } break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } if ( inputState.guessing==0 ) { newExpression_AST = (AST)currentAST.root; } returnAST = newExpression_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5c53aea8416ae7d318cf0157b4690ba71badb0f9/GroovyRecognizer.java/clean/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 394, 2300, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 394, 2300, 67, 9053, 273, 446, 31, 202, 202, 6494, 11273, 31, 1748, 24055, 5549, 9506, 202, 9053, 1853, 3707, 21, 67, 9053, 273, 446, 31, 202, 202, 430, 261, 2630, 1119, 18, 20885, 310, 631, 20, 13, 288, 1082, 202, 5645, 3707, 21, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 3707, 21, 67, 9053, 1769, 202, 202, 97, 202, 202, 1916, 12, 23225, 67, 2704, 1769, 202, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 11807, 30, 202, 202, 95, 1082, 202, 723, 4628, 5621, 1082, 202, 430, 261, 2630, 1119, 18, 20885, 310, 631, 20, 13, 288, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 19768, 30, 202, 202, 3593, 511, 18454, 67, 6459, 30, 202, 202, 3593, 511, 18454, 67, 6494, 30, 202, 202, 3593, 511, 18454, 67, 7229, 30, 202, 202, 3593, 511, 18454, 67, 3001, 30, 202, 202, 3593, 511, 18454, 67, 6620, 30, 202, 202, 3593, 511, 18454, 67, 474, 30, 202, 202, 3593, 511, 18454, 67, 5659, 30, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 394, 2300, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 394, 2300, 67, 9053, 273, 446, 31, 202, 202, 6494, 11273, 31, 1748, 24055, 5549, 9506, 202, 9053, 1853, 3707, 21, 67, 9053, 273, 446, 31, 202, 202, 430, 261, 2630, 1119, 18, 20885, 310, 631, 20, 13, 288, 1082, 202, 5645, 3707, 21, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 3707, 21, 67, 9053, 1769, 202, 202, 97, 202, 202, 1916, 12, 23225, 67, 2 ]
al.sourcei(source.getInt(4*1), AL.LOOPING, bLooping1);
al.sourcei(source.get(1), AL.LOOPING, bLooping1);
protected void i_LoopingTest() { int error; ByteBuffer source = ByteBuffer.allocateDirect(4*2); source.order(ByteOrder.nativeOrder()); int ch = -1; int bLooping0 = AL.FALSE; int bLooping1 = AL.FALSE; ByteBuffer source0Pos = ByteBuffer.allocateDirect(12); source0Pos.order(ByteOrder.nativeOrder()); source0Pos.putFloat(-2.0f); source0Pos.putFloat(0.0f); source0Pos.putFloat(-2.0f); ByteBuffer source0Vel = ByteBuffer.allocateDirect(12); source0Vel.order(ByteOrder.nativeOrder()); source0Vel.putFloat(0.0f); source0Vel.putFloat(0.0f); source0Vel.putFloat(0.0f); ByteBuffer source1Pos = ByteBuffer.allocateDirect(12); source1Pos.order(ByteOrder.nativeOrder()); source1Pos.putFloat(2.0f); source1Pos.putFloat(0.0f); source1Pos.putFloat(-2.0f); ByteBuffer source1Vel = ByteBuffer.allocateDirect(12); source1Vel.order(ByteOrder.nativeOrder()); source1Vel.putFloat(0.0f); source1Vel.putFloat(0.0f); source1Vel.putFloat(0.0f); // Clear Error Code al.getError(); al.genSources(2,Sys.getDirectBufferAddress(source)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alGenSources 1 : ", error); return; } al.sourcef(source.getInt(4*0),AL.PITCH,1.0f); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcef 0 AL_PITCH : \n", error); } al.sourcef(source.getInt(4*0),AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcef 0 AL_GAIN : \n", error); } al.sourcefv(source.getInt(4*0),AL.POSITION,Sys.getDirectBufferAddress(source0Pos)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcefv 0 AL_POSITION : \n", error); } al.sourcefv(source.getInt(4*0),AL.VELOCITY,Sys.getDirectBufferAddress(source0Vel)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcefv 0 AL_VELOCITY : \n", error); } al.sourcei(source.getInt(4*0),AL.BUFFER, buffers.getInt(4*0)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcei 0 AL_BUFFER buffer 0 : \n", error); } al.sourcei(source.getInt(4*0),AL.LOOPING,AL.FALSE); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcei 0 AL_LOOPING false : \n", error); } al.sourcef(source.getInt(4*1),AL.PITCH,1.0f); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcef 1 AL_PITCH : \n", error); } al.sourcef(source.getInt(4*1),AL.GAIN,1.0f); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcef 1 AL_GAIN : \n", error); } al.sourcefv(source.getInt(4*1),AL.POSITION,Sys.getDirectBufferAddress(source1Pos)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcefv 1 AL_POSITION : \n", error); } al.sourcefv(source.getInt(4*1),AL.VELOCITY,Sys.getDirectBufferAddress(source1Vel)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcefv 1 AL_VELOCITY : \n", error); } al.sourcei(source.getInt(4*1),AL.BUFFER, buffers.getInt(4*1)); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcei 1 AL_BUFFER buffer 1 : \n", error); } al.sourcei(source.getInt(4*1),AL.LOOPING,AL.FALSE); if ((error = al.getError()) != AL.NO_ERROR) { displayALError("alSourcei 1 AL_LOOPING false: \n", error); } System.out.print("Looping Test\n"); System.out.print("Press '1' to play source 0 once (single shot)\n"); System.out.print("Press '2' to toggle looping on source 0\n"); System.out.print("Press '3' to play source 1 once (single shot)\n"); System.out.print("Press '4' to toggle looping on source 1\n"); System.out.print("Press 'Q' to quit\n"); System.out.print("\nSource 0 : Not looping Source 1 : Not looping\n"); do { try { ch = System.in.read(); } catch (IOException ioe) { } switch (ch) { case '1': al.sourcePlay(source.getInt(4*0)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay source 0 : ", error); break; case '2': if (bLooping0 == AL.FALSE) { bLooping0 = AL.TRUE; if (bLooping1 == AL.TRUE) System.out.print("Source 0 : Looping Source 1 : Looping \n"); else System.out.print("Source 0 : Looping Source 1 : Not looping\n"); } else { bLooping0 = AL.FALSE; if (bLooping1 == AL.TRUE) System.out.print("Source 0 : Not looping Source 1 : Looping \n"); else System.out.print("Source 0 : Not looping Source 1 : Not looping\n"); } al.sourcei(source.getInt(4*0), AL.LOOPING, bLooping0); break; case '3': al.sourcePlay(source.getInt(4*1)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourcePlay source 1 : ", error); break; case '4': if (bLooping1 == AL.FALSE) { bLooping1 = AL.TRUE; if (bLooping0 == AL.TRUE) System.out.print("Source 0 : Looping Source 1 : Looping \n"); else System.out.print("Source 0 : Not looping Source 1 : Looping \n"); } else { bLooping1 = AL.FALSE; if (bLooping0 == AL.TRUE) System.out.print("Source 0 : Looping Source 1 : Not looping\n"); else System.out.print("Source 0 : Not looping Source 1 : Not looping\n"); } al.sourcei(source.getInt(4*1), AL.LOOPING, bLooping1); break; } } while (ch != 'Q'); System.out.print("\n"); // Release resources al.sourceStop(source.getInt(4*0)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alSourceStop source 1 : ", error); al.deleteSources(2, Sys.getDirectBufferAddress(source)); if ((error = al.getError()) != AL.NO_ERROR) displayALError("alDeleteSources 1 : ", error); return; }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/c18e8bd28afc8401f80a918520500157aa5f199d/ALTest.java/buggy/src/java/org/lwjgl/openal/test/ALTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 277, 67, 6452, 310, 4709, 1435, 288, 3639, 509, 202, 1636, 31, 3639, 7400, 1084, 273, 7400, 18, 16247, 5368, 12, 24, 14, 22, 1769, 3639, 1084, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3639, 509, 202, 343, 273, 300, 21, 31, 3639, 509, 324, 6452, 310, 20, 273, 7981, 18, 21053, 31, 3639, 509, 324, 6452, 310, 21, 273, 7981, 18, 21053, 31, 7734, 7400, 1084, 20, 1616, 273, 7400, 18, 16247, 5368, 12, 2138, 1769, 3639, 1084, 20, 1616, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3639, 1084, 20, 1616, 18, 458, 4723, 19236, 22, 18, 20, 74, 1769, 3639, 1084, 20, 1616, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 3639, 1084, 20, 1616, 18, 458, 4723, 19236, 22, 18, 20, 74, 1769, 7734, 7400, 1084, 20, 58, 292, 273, 7400, 18, 16247, 5368, 12, 2138, 1769, 3639, 1084, 20, 58, 292, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3639, 1084, 20, 58, 292, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 3639, 1084, 20, 58, 292, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 3639, 1084, 20, 58, 292, 18, 458, 4723, 12, 20, 18, 20, 74, 1769, 7734, 7400, 1084, 21, 1616, 273, 7400, 18, 16247, 5368, 12, 2138, 1769, 3639, 1084, 21, 1616, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3639, 1084, 21, 1616, 18, 458, 4723, 12, 22, 18, 20, 74, 1769, 3639, 1084, 21, 1616, 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, 277, 67, 6452, 310, 4709, 1435, 288, 3639, 509, 202, 1636, 31, 3639, 7400, 1084, 273, 7400, 18, 16247, 5368, 12, 24, 14, 22, 1769, 3639, 1084, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3639, 509, 202, 343, 273, 300, 21, 31, 3639, 509, 324, 6452, 310, 20, 273, 7981, 18, 21053, 31, 3639, 509, 324, 6452, 310, 21, 273, 7981, 18, 21053, 31, 7734, 7400, 1084, 20, 1616, 273, 7400, 18, 16247, 5368, 12, 2138, 1769, 3639, 1084, 20, 1616, 18, 1019, 12, 3216, 2448, 18, 13635, 2448, 10663, 3639, 1084, 20, 1616, 18, 458, 4723, 19236, 22, 18, 20, 74, 1769, 3639, 1084, 20, 1616, 18, 458, 4723, 12, 20, 18, 20, 2 ]
pinger_thread=null;
void stopPingerThread() { synchronized(pinger_mutex) { if(pinger_thread != null && pinger_thread.isAlive()) { regular_sock_close=true; sendPingTermination(); // PATCH by Bruce Schuchardt (http://jira.jboss.com/jira/browse/JGRP-246) teardownPingSocket(); } pinger_thread=null; } }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/1912e2830a8ac6bfada17b35cb03e8f3e0a25e3d/FD_SOCK.java/clean/src/org/jgroups/protocols/FD_SOCK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2132, 52, 6658, 3830, 1435, 288, 3639, 3852, 12, 1382, 264, 67, 29946, 13, 288, 5411, 309, 12, 1382, 264, 67, 5930, 480, 446, 597, 293, 6658, 67, 5930, 18, 291, 10608, 10756, 288, 7734, 6736, 67, 15031, 67, 4412, 33, 3767, 31, 7734, 1366, 17223, 16516, 5621, 368, 21298, 635, 605, 86, 3965, 348, 343, 2648, 1060, 88, 261, 2505, 2207, 78, 11547, 18, 10649, 8464, 18, 832, 19, 78, 11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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2132, 52, 6658, 3830, 1435, 288, 3639, 3852, 12, 1382, 264, 67, 29946, 13, 288, 5411, 309, 12, 1382, 264, 67, 5930, 480, 446, 597, 293, 6658, 67, 5930, 18, 291, 10608, 10756, 288, 7734, 6736, 67, 15031, 67, 4412, 33, 3767, 31, 7734, 1366, 17223, 16516, 5621, 368, 21298, 635, 605, 86, 3965, 348, 343, 2648, 1060, 88, 261, 2505, 2207, 78, 11547, 18, 10649, 8464, 18, 832, 19, 78, 11547, 19, 25731, 19, 46, 6997, 52, 17, 3247, 26, 13, 7734, 28196, 17223, 4534, 5621, 5411, 289, 10402, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setColumnType(String columnType){ this.columnType=columnType; }
public void setColumnType(String columnType) { this.columnType = columnType; }
public void setColumnType(String columnType){ this.columnType=columnType; }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/5796e437b80fb7f22b5ccf1344560fd620213b96/Column.java/buggy/mifos/src/org/mifos/framework/components/customTableTag/Column.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 25918, 559, 12, 780, 27280, 15329, 565, 333, 18, 2827, 559, 33, 2827, 559, 31, 225, 289, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 25918, 559, 12, 780, 27280, 15329, 565, 333, 18, 2827, 559, 33, 2827, 559, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (buddyResult == null) return result; if (result == null) return buddyResult; Vector compoundResults = new Vector(); while (result.hasMoreElements()) compoundResults.add(result.nextElement()); while (buddyResult.hasMoreElements()) { Object url = buddyResult.nextElement(); if (!compoundResults.contains(url)) compoundResults.add(url); } result = compoundResults.elements();
result = compoundEnumerations(result, buddyResult);
public Enumeration findResources(String name) throws IOException { // do not delegate to parent because ClassLoader#getResources already did and it is final!! if ((name.length() > 1) && (name.charAt(0) == '/')) /* if name has a leading slash */ name = name.substring(1); /* remove leading slash before search */ String pkgName = getResourcePackageName(name); Enumeration result = null; // start at step 3 because of the comment above about ClassLoader#getResources // 3) search the imported packages PackageSource source = findImportedSource(pkgName); if (source != null) // 3) found import source terminate search at the source return source.getResources(name); // 4) search the required bundles source = findRequiredSource(pkgName); if (source != null) // 4) attempt to load from source but continue on failure result = source.getResources(name); // 5) search the local bundle if (result == null) result = findLocalResources(name); else { // compound the required source results with the local ones Enumeration localResults = findLocalResources(name); if (localResults != null) { Vector compoundResults = new Vector(); while (result.hasMoreElements()) compoundResults.add(result.nextElement()); while (localResults.hasMoreElements()) compoundResults.add(localResults.nextElement()); result = compoundResults.elements(); } } // 6) attempt to find a dynamic import source; only do this if a required source was not found if (result == null && source == null) { source = findDynamicSource(pkgName); if (source != null) return source.getResources(name); } if (policy != null) { Enumeration buddyResult = policy.doBuddyResourcesLoading(name); if (buddyResult == null) return result; if (result == null) return buddyResult; Vector compoundResults = new Vector(); while (result.hasMoreElements()) compoundResults.add(result.nextElement()); while (buddyResult.hasMoreElements()) { Object url = buddyResult.nextElement(); if (!compoundResults.contains(url)) //don't add duplicates compoundResults.add(url); } result = compoundResults.elements(); } return result; }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/d77221bfb21ebb06d5c15d078ab768d957d3f222/BundleLoader.java/clean/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13864, 1104, 3805, 12, 780, 508, 13, 1216, 1860, 288, 202, 202, 759, 741, 486, 7152, 358, 982, 2724, 9403, 7, 588, 3805, 1818, 5061, 471, 518, 353, 727, 8548, 202, 202, 430, 14015, 529, 18, 2469, 1435, 405, 404, 13, 597, 261, 529, 18, 3001, 861, 12, 20, 13, 422, 2023, 3719, 1748, 309, 508, 711, 279, 7676, 9026, 1195, 1082, 202, 529, 273, 508, 18, 28023, 12, 21, 1769, 1748, 1206, 7676, 9026, 1865, 1623, 1195, 202, 202, 780, 27288, 273, 5070, 18308, 12, 529, 1769, 202, 202, 21847, 563, 273, 446, 31, 202, 202, 759, 787, 622, 2235, 890, 2724, 434, 326, 2879, 5721, 2973, 9403, 7, 588, 3805, 202, 202, 759, 890, 13, 1623, 326, 9101, 5907, 202, 202, 2261, 1830, 1084, 273, 1104, 24934, 1830, 12, 10657, 461, 1769, 202, 202, 430, 261, 3168, 480, 446, 13, 1082, 202, 759, 890, 13, 1392, 1930, 1084, 10850, 1623, 622, 326, 1084, 1082, 202, 2463, 1084, 18, 588, 3805, 12, 529, 1769, 202, 202, 759, 1059, 13, 1623, 326, 1931, 11408, 202, 202, 3168, 273, 1104, 3705, 1830, 12, 10657, 461, 1769, 202, 202, 430, 261, 3168, 480, 446, 13, 1082, 202, 759, 1059, 13, 4395, 358, 1262, 628, 1084, 1496, 1324, 603, 5166, 1082, 202, 2088, 273, 1084, 18, 588, 3805, 12, 529, 1769, 202, 202, 759, 1381, 13, 1623, 326, 1191, 3440, 202, 202, 430, 261, 2088, 422, 446, 13, 1082, 202, 2088, 273, 1104, 2042, 3805, 12, 529, 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, 13864, 1104, 3805, 12, 780, 508, 13, 1216, 1860, 288, 202, 202, 759, 741, 486, 7152, 358, 982, 2724, 9403, 7, 588, 3805, 1818, 5061, 471, 518, 353, 727, 8548, 202, 202, 430, 14015, 529, 18, 2469, 1435, 405, 404, 13, 597, 261, 529, 18, 3001, 861, 12, 20, 13, 422, 2023, 3719, 1748, 309, 508, 711, 279, 7676, 9026, 1195, 1082, 202, 529, 273, 508, 18, 28023, 12, 21, 1769, 1748, 1206, 7676, 9026, 1865, 1623, 1195, 202, 202, 780, 27288, 273, 5070, 18308, 12, 529, 1769, 202, 202, 21847, 563, 273, 446, 31, 202, 202, 759, 787, 622, 2235, 890, 2724, 434, 326, 2879, 5721, 2973, 9403, 7, 588, 3805, 202, 202, 759, 890, 2 ]
retExpr = expr(ts, source, false);
retExpr = expr(ts, false);
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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.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 TokenStream.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case TokenStream.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 TokenStream.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case TokenStream.ERROR: // Fall thru, to have a node for error recovery to work on case TokenStream.EOL: case TokenStream.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; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/3d2e81a014b22cf4d1eb8921bd4229c2ca7ff017/Parser.java/buggy/js/rhino/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 ]
public org.quickfix.field.NestedPartyID getNestedPartyID() throws FieldNotFound { org.quickfix.field.NestedPartyID value = new org.quickfix.field.NestedPartyID();
public quickfix.field.NestedPartyID getNestedPartyID() throws FieldNotFound { quickfix.field.NestedPartyID value = new quickfix.field.NestedPartyID();
public org.quickfix.field.NestedPartyID getNestedPartyID() throws FieldNotFound { org.quickfix.field.NestedPartyID value = new org.quickfix.field.NestedPartyID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/PositionMaintenanceRequest.java/clean/src/java/src/quickfix/fix44/PositionMaintenanceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 17619, 734, 336, 8649, 17619, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 17619, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 17619, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 17619, 734, 336, 8649, 17619, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 17619, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8649, 17619, 734, 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 ]
public static DAVResponse getBaselineProperties(DAVConnection connection, String path, long revision, DAVElement[] elements) throws SVNException { DAVResponse properties = null; String loppedPath = ""; while(true) { try { properties = getResourceProperties(connection, path, null, DAVElement.STARTING_PROPERTIES, false); break; } catch (SVNException e) { // } loppedPath = SVNPathUtil.append(SVNPathUtil.tail(path), loppedPath); path = SVNPathUtil.removeTail(path); if ("".equals(path)) { break; } } if (properties == null) { throw new SVNException("resource " + path + " is not part of repository"); } String vcc = (String) properties.getPropertyValue(DAVElement.VERSION_CONTROLLED_CONFIGURATION); //vcc = PathUtil.encode(vcc); String baselineRelativePath = (String) properties.getPropertyValue(DAVElement.BASELINE_RELATIVE_PATH); if (vcc == null) { throw new SVNException("important properties are missing for " + path); } if (baselineRelativePath == null) { baselineRelativePath = ""; } baselineRelativePath = SVNEncodingUtil.uriEncode(baselineRelativePath); baselineRelativePath = SVNPathUtil.append(baselineRelativePath, loppedPath); String label = null; if (revision < 0) { // get vcc's "checked-in" vcc = (String) getPropertyValue(connection, vcc, null, DAVElement.CHECKED_IN); } else { label = Long.toString(revision); } DAVResponse result = getResourceProperties(connection, vcc, label, elements, false); result.setHref(baselineRelativePath); return result; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/3a9d1d01cd00e508975d16ec2543d826c361f9bc/DAVUtil.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 17735, 1064, 588, 16635, 2297, 12, 17735, 1952, 4071, 16, 780, 803, 16, 5748, 13057, 16, 17735, 1046, 8526, 6274, 13, 15069, 23927, 50, 503, 95, 17735, 1064, 4738, 33, 2011, 31, 780, 16884, 1845, 743, 1546, 14432, 17523, 12, 3767, 15329, 698, 95, 4738, 33, 588, 1420, 2297, 12, 4071, 16, 803, 16, 2011, 16, 17735, 1046, 18, 7570, 1360, 67, 17421, 16, 5743, 1769, 8820, 31, 97, 14683, 12, 23927, 50, 503, 73, 15329, 759, 97, 16884, 1845, 743, 33, 23927, 50, 743, 1304, 18, 6923, 12, 23927, 50, 743, 1304, 18, 13101, 12, 803, 3631, 16884, 1845, 743, 1769, 803, 33, 23927, 50, 743, 1304, 18, 4479, 12363, 12, 803, 1769, 430, 2932, 9654, 14963, 12, 803, 3719, 95, 8820, 31, 9090, 430, 12, 4738, 631, 2011, 15329, 12849, 2704, 23927, 50, 503, 2932, 3146, 6, 15, 803, 9078, 291, 902, 2680, 792, 9071, 8863, 97, 780, 90, 952, 28657, 780, 13, 4738, 18, 588, 16107, 12, 17735, 1046, 18, 5757, 67, 18248, 6687, 67, 21200, 1769, 759, 90, 952, 33, 743, 1304, 18, 3015, 12, 90, 952, 1769, 780, 27818, 16519, 28657, 780, 13, 4738, 18, 588, 16107, 12, 17735, 1046, 18, 8369, 5997, 67, 862, 12190, 5354, 67, 4211, 1769, 430, 12, 90, 952, 631, 2011, 15329, 12849, 2704, 23927, 50, 503, 2932, 23221, 4738, 834, 7337, 1884, 6, 15, 803, 1769, 97, 430, 12, 27818, 16519, 631, 2011, 15329, 27818, 16519, 1546, 14432, 97, 27818, 16519, 33, 23927, 50, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 17735, 1064, 588, 16635, 2297, 12, 17735, 1952, 4071, 16, 780, 803, 16, 5748, 13057, 16, 17735, 1046, 8526, 6274, 13, 15069, 23927, 50, 503, 95, 17735, 1064, 4738, 33, 2011, 31, 780, 16884, 1845, 743, 1546, 14432, 17523, 12, 3767, 15329, 698, 95, 4738, 33, 588, 1420, 2297, 12, 4071, 16, 803, 16, 2011, 16, 17735, 1046, 18, 7570, 1360, 67, 17421, 16, 5743, 1769, 8820, 31, 97, 14683, 12, 23927, 50, 503, 73, 15329, 759, 97, 16884, 1845, 743, 33, 23927, 50, 743, 1304, 18, 6923, 12, 23927, 50, 743, 1304, 18, 13101, 12, 803, 3631, 16884, 1845, 743, 1769, 803, 33, 23927, 50, 743, 1304, 18, 4479, 12363, 12, 803, 1769, 430, 2932, 9654, 2 ]
ParenthesesUtils.OR_PRECEDENCE){
ParenthesesUtils.OR_PRECEDENCE){
private static String convertLeafExpression(PsiExpression condition){ if(BoolUtils.isNegation(condition)){ final PsiExpression negated = BoolUtils.getNegated(condition); if(ParenthesesUtils.getPrecendence(negated) > ParenthesesUtils.OR_PRECEDENCE){ return '(' + negated.getText() + ')'; } return negated.getText(); } else if(ComparisonUtils.isComparison(condition)){ final PsiBinaryExpression binaryExpression = (PsiBinaryExpression) condition; final PsiJavaToken sign = binaryExpression.getOperationSign(); final String operator = sign.getText(); final String negatedComparison = ComparisonUtils.getNegatedComparison(operator); final PsiExpression lhs = binaryExpression.getLOperand(); final PsiExpression rhs = binaryExpression.getROperand(); return lhs.getText() + negatedComparison + rhs.getText(); } else if(ParenthesesUtils.getPrecendence(condition) > ParenthesesUtils.PREFIX_PRECEDENCE){ return "!(" + condition.getText() + ')'; } else{ return '!' + condition.getText(); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3837c95856454e21e9059f3aa91174a1e2c65526/DemorgansIntention.java/buggy/plugins/IntentionPowerPak/src/com/siyeh/ipp/bool/DemorgansIntention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 1765, 9858, 2300, 12, 52, 7722, 2300, 2269, 15329, 3639, 309, 12, 7464, 1989, 18, 291, 14337, 367, 12, 4175, 3719, 95, 5411, 727, 453, 7722, 2300, 24765, 273, 9166, 1989, 18, 588, 14337, 690, 12, 4175, 1769, 5411, 309, 12, 17880, 281, 1989, 18, 588, 1386, 71, 409, 802, 12, 14518, 690, 13, 405, 15604, 453, 10640, 281, 1989, 18, 916, 67, 3670, 23552, 7535, 15329, 7734, 327, 7321, 397, 24765, 18, 588, 1528, 1435, 397, 5777, 31, 5411, 289, 5411, 327, 24765, 18, 588, 1528, 5621, 3639, 289, 469, 309, 12, 16059, 1989, 18, 291, 16059, 12, 4175, 3719, 95, 5411, 727, 453, 7722, 5905, 2300, 3112, 2300, 273, 10792, 261, 52, 7722, 5905, 2300, 13, 2269, 31, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 3112, 2300, 18, 588, 2988, 2766, 5621, 5411, 727, 514, 3726, 273, 1573, 18, 588, 1528, 5621, 5411, 727, 514, 24765, 16059, 273, 10792, 19479, 1989, 18, 588, 14337, 690, 16059, 12, 9497, 1769, 5411, 727, 453, 7722, 2300, 8499, 273, 3112, 2300, 18, 588, 1502, 457, 464, 5621, 5411, 727, 453, 7722, 2300, 7711, 273, 3112, 2300, 18, 588, 1457, 457, 464, 5621, 5411, 327, 8499, 18, 588, 1528, 1435, 397, 24765, 16059, 397, 7711, 18, 588, 1528, 5621, 3639, 289, 469, 309, 12, 17880, 281, 1989, 18, 588, 1386, 71, 409, 802, 12, 4175, 13, 405, 12900, 453, 10640, 281, 1989, 18, 6307, 67, 3670, 23552, 7535, 15329, 5411, 327, 17528, 2932, 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, 377, 3238, 760, 514, 1765, 9858, 2300, 12, 52, 7722, 2300, 2269, 15329, 3639, 309, 12, 7464, 1989, 18, 291, 14337, 367, 12, 4175, 3719, 95, 5411, 727, 453, 7722, 2300, 24765, 273, 9166, 1989, 18, 588, 14337, 690, 12, 4175, 1769, 5411, 309, 12, 17880, 281, 1989, 18, 588, 1386, 71, 409, 802, 12, 14518, 690, 13, 405, 15604, 453, 10640, 281, 1989, 18, 916, 67, 3670, 23552, 7535, 15329, 7734, 327, 7321, 397, 24765, 18, 588, 1528, 1435, 397, 5777, 31, 5411, 289, 5411, 327, 24765, 18, 588, 1528, 5621, 3639, 289, 469, 309, 12, 16059, 1989, 18, 291, 16059, 12, 4175, 3719, 95, 5411, 727, 453, 7722, 5905, 2300, 3112, 2300, 273, 10792, 261, 52, 7722, 2 ]
"", null);
null, "", null);
protected IASTExpression postfixExpression( IASTScope scope ) throws Backtrack { IASTExpression firstExpression = null; boolean isTemplate = false; switch (LT(1)) { case IToken.t_typename : consume(); //TODO: the rest of this break; // simple-type-specifier ( assignment-expression , .. ) case IToken.t_char : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_CHAR); break; case IToken.t_wchar_t : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_WCHART); break; case IToken.t_bool : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_BOOL); break; case IToken.t_short : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_SHORT); break; case IToken.t_int : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_INT); break; case IToken.t_long : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_LONG); break; case IToken.t_signed : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_SIGNED); break; case IToken.t_unsigned : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_UNSIGNED); break; case IToken.t_float : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_FLOAT); break; case IToken.t_double : firstExpression = simpleTypeConstructorExpression( scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_DOUBLE); break; case IToken.t_dynamic_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_DYNAMIC_CAST); break; case IToken.t_static_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_STATIC_CAST); break; case IToken.t_reinterpret_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_REINTERPRET_CAST); break; case IToken.t_const_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_CONST_CAST); break; case IToken.t_typeid : consume(); consume(IToken.tLPAREN); boolean isTypeId = true; IASTExpression lhs = null; ITokenDuple typeId = null; try { typeId = typeId(); } catch (Backtrack b) { isTypeId = false; lhs = expression(scope); } consume(IToken.tRPAREN); try { firstExpression = astFactory.createExpression( scope, (isTypeId ? IASTExpression.Kind.POSTFIX_TYPEID_TYPEID : IASTExpression.Kind.POSTFIX_TYPEID_EXPRESSION), lhs, null, null, typeId, "", null); } catch (ASTSemanticException e6) { failParse(); throw backtrack; } break; default : firstExpression = primaryExpression(scope); } IASTExpression secondExpression = null; for (;;) { switch (LT(1)) { case IToken.tLBRACKET : // array access consume(); secondExpression = expression(scope); consume(IToken.tRBRACKET); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_SUBSCRIPT, firstExpression, secondExpression, null, null, "", null); } catch (ASTSemanticException e2) { failParse(); throw backtrack; } break; case IToken.tLPAREN : // function call consume(); secondExpression = expression(scope); consume(IToken.tRPAREN); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_FUNCTIONCALL, firstExpression, secondExpression, null, null, "", null); } catch (ASTSemanticException e3) { failParse(); throw backtrack; } break; case IToken.tINCR : consume(); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_INCREMENT, firstExpression, null, null, null, "", null); } catch (ASTSemanticException e1) { failParse(); throw backtrack; } break; case IToken.tDECR : consume(); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_DECREMENT, firstExpression, null, null, null, "", null); } catch (ASTSemanticException e4) { failParse(); throw backtrack; } break; case IToken.tDOT : // member access consume(IToken.tDOT); if (LT(1) == IToken.t_template) { consume(IToken.t_template); isTemplate = true; } secondExpression = primaryExpression(scope); try { firstExpression = astFactory.createExpression( scope, (isTemplate ? IASTExpression.Kind.POSTFIX_DOT_TEMPL_IDEXPRESS : IASTExpression.Kind.POSTFIX_DOT_IDEXPRESSION), firstExpression, secondExpression, null, null, "", null); } catch (ASTSemanticException e5) { failParse(); throw backtrack; } break; case IToken.tARROW : // member access consume(IToken.tARROW); if (LT(1) == IToken.t_template) { consume(IToken.t_template); isTemplate = true; } secondExpression = primaryExpression(scope); try { firstExpression = astFactory.createExpression( scope, (isTemplate ? IASTExpression.Kind.POSTFIX_ARROW_TEMPL_IDEXP : IASTExpression.Kind.POSTFIX_ARROW_IDEXPRESSION), firstExpression, secondExpression, null, null, "", null); } catch (ASTSemanticException e) { failParse(); throw backtrack; } break; default : return firstExpression; } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/02c194aaf46b86d6f7a904d6f531e535d47002ba/Parser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 9053, 2300, 18923, 2300, 12, 467, 9053, 3876, 2146, 262, 3639, 1216, 4297, 4101, 565, 288, 3639, 467, 9053, 2300, 1122, 2300, 273, 446, 31, 3639, 1250, 353, 2283, 273, 629, 31, 3639, 1620, 261, 12050, 12, 21, 3719, 3639, 288, 5411, 648, 467, 1345, 18, 88, 67, 12846, 1069, 294, 7734, 7865, 5621, 368, 6241, 30, 326, 3127, 434, 333, 1171, 898, 31, 7734, 368, 4143, 17, 723, 17, 2793, 1251, 261, 6661, 17, 8692, 269, 6116, 262, 5411, 648, 467, 1345, 18, 88, 67, 3001, 294, 7734, 1122, 2300, 273, 10792, 4143, 559, 6293, 2300, 12, 4887, 16, 13491, 467, 9053, 2300, 18, 5677, 18, 3798, 4563, 67, 31669, 900, 2399, 67, 7305, 1769, 7734, 898, 31, 5411, 648, 467, 1345, 18, 88, 67, 91, 3001, 67, 88, 294, 7734, 1122, 2300, 273, 10792, 4143, 559, 6293, 2300, 12, 4887, 16, 13491, 467, 9053, 2300, 18, 5677, 18, 3798, 4563, 67, 31669, 900, 2399, 67, 59, 1792, 4928, 1769, 7734, 898, 31, 5411, 648, 467, 1345, 18, 88, 67, 6430, 294, 7734, 1122, 2300, 273, 10792, 4143, 559, 6293, 2300, 12, 4887, 16, 13491, 467, 9053, 2300, 18, 5677, 18, 3798, 4563, 67, 31669, 900, 2399, 67, 19040, 1769, 7734, 898, 31, 5411, 648, 467, 1345, 18, 88, 67, 6620, 294, 7734, 1122, 2300, 273, 10792, 4143, 559, 6293, 2300, 12, 4887, 16, 13491, 467, 9053, 2300, 18, 5677, 18, 3798, 4563, 67, 31669, 900, 2399, 67, 15993, 1769, 7734, 898, 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, 377, 4750, 467, 9053, 2300, 18923, 2300, 12, 467, 9053, 3876, 2146, 262, 3639, 1216, 4297, 4101, 565, 288, 3639, 467, 9053, 2300, 1122, 2300, 273, 446, 31, 3639, 1250, 353, 2283, 273, 629, 31, 3639, 1620, 261, 12050, 12, 21, 3719, 3639, 288, 5411, 648, 467, 1345, 18, 88, 67, 12846, 1069, 294, 7734, 7865, 5621, 368, 6241, 30, 326, 3127, 434, 333, 1171, 898, 31, 7734, 368, 4143, 17, 723, 17, 2793, 1251, 261, 6661, 17, 8692, 269, 6116, 262, 5411, 648, 467, 1345, 18, 88, 67, 3001, 294, 7734, 1122, 2300, 273, 10792, 4143, 559, 6293, 2300, 12, 4887, 16, 13491, 467, 9053, 2300, 18, 5677, 18, 3798, 4563, 67, 31669, 900, 2399, 67, 7305, 1769, 2 ]
{
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator(); } else if (name.equalsIgnoreCase(Registry.RSA_KPG)) { result = new RSAKeyPairGenerator(); } else if (name.equalsIgnoreCase(Registry.DH_KPG)) { result = makeInstance ("gnu.javax.crypto.key.dh.GnuDHKeyPairGenerator"); } else if (name.equalsIgnoreCase(Registry.SRP_KPG)) { result = makeInstance ("gnu.javax.crypto.key.srp6.SRPKeyPairGenerator"); } return result; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/KeyPairGeneratorFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/key/KeyPairGeneratorFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 467, 15099, 3908, 3694, 12, 780, 508, 13, 377, 309, 261, 529, 422, 446, 13, 2398, 327, 446, 31, 1377, 289, 565, 508, 273, 508, 18, 5290, 5621, 565, 467, 15099, 3908, 563, 273, 446, 31, 565, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 19748, 67, 47, 18679, 13, 3639, 747, 508, 18, 14963, 5556, 12, 4243, 18, 40, 1260, 67, 47, 18679, 3719, 2398, 563, 273, 394, 463, 1260, 15099, 3908, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 15248, 67, 47, 18679, 3719, 2398, 563, 273, 394, 13470, 15099, 3908, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 16501, 67, 47, 18679, 3719, 2398, 563, 273, 24016, 7566, 1600, 89, 18, 28384, 18, 18489, 18, 856, 18, 19153, 18, 43, 13053, 16501, 15099, 3908, 8863, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 10090, 52, 67, 47, 18679, 3719, 2398, 563, 273, 24016, 7566, 1600, 89, 18, 28384, 18, 18489, 18, 856, 18, 11254, 84, 26, 18, 10090, 52, 15099, 3908, 8863, 1377, 289, 565, 327, 563, 31, 225, 289, 2, 0, 0, 0, 0, 0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 289, 565, 508, 273, 508, 18, 5290, 5621, 565, 467, 15099, 3908, 563, 273, 446, 31, 565, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 19748, 67, 47, 18679, 13, 3639, 747, 508, 18, 14963, 5556, 12, 4243, 18, 40, 1260, 67, 47, 18679, 3719, 2398, 563, 273, 394, 463, 1260, 15099, 3908, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 15248, 67, 47, 18679, 3719, 2398, 563, 273, 394, 13470, 15099, 3908, 5621, 1377, 289, 565, 469, 309, 261, 529, 18, 14963, 5556, 12, 4243, 18, 16501, 67, 2 ]
serializePreRoot();
serializePreRoot();
public void endDocument() throws SAXException { // Print all the elements accumulated outside of // the root element. serializePreRoot(); // Flush the output, this is necessary for buffered output. flush(); // If an exception was thrown during serializing, this would // be the best time to report it. if ( _exception != null ) throw new SAXException( _exception ); }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/cd53b656c8781337491709c662fe224c44d1ef7d/BaseMarkupSerializer.java/buggy/src/org/apache/xml/serialize/BaseMarkupSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 2519, 1435, 3639, 1216, 14366, 565, 288, 202, 759, 3038, 777, 326, 2186, 24893, 8220, 434, 202, 759, 326, 1365, 930, 18, 202, 6288, 1386, 2375, 5621, 202, 759, 11624, 326, 876, 16, 333, 353, 4573, 364, 11445, 876, 18, 3639, 3663, 5621, 202, 759, 971, 392, 1520, 1703, 6718, 4982, 2734, 6894, 16, 333, 4102, 202, 759, 506, 326, 3796, 813, 358, 2605, 518, 18, 202, 430, 261, 389, 4064, 480, 446, 262, 202, 565, 604, 394, 14366, 12, 389, 4064, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 2519, 1435, 3639, 1216, 14366, 565, 288, 202, 759, 3038, 777, 326, 2186, 24893, 8220, 434, 202, 759, 326, 1365, 930, 18, 202, 6288, 1386, 2375, 5621, 202, 759, 11624, 326, 876, 16, 333, 353, 4573, 364, 11445, 876, 18, 3639, 3663, 5621, 202, 759, 971, 392, 1520, 1703, 6718, 4982, 2734, 6894, 16, 333, 4102, 202, 759, 506, 326, 3796, 813, 358, 2605, 518, 18, 202, 430, 261, 389, 4064, 480, 446, 262, 202, 565, 604, 394, 14366, 12, 389, 4064, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RefElement refElement = (RefElement)getElement(descriptor); if (refElement.isValid() && refElement instanceof RefMethod) { RefMethod refMethod = (RefMethod)refElement; removeExcessiveThrows(refMethod);
if (myProcessor != null) { RefElement refElement = (RefElement)myProcessor.getElement(descriptor); if (refElement.isValid() && refElement instanceof RefMethod) { RefMethod refMethod = (RefMethod)refElement; final ProblemDescriptor[] problems = (ProblemDescriptor[])myProcessor.getDescriptions(refMethod); if (problems != null) { removeExcessiveThrows(refMethod, null, problems); } } } else { final PsiMethod psiMethod = PsiTreeUtil.getParentOfType(descriptor.getPsiElement(), PsiMethod.class); if (psiMethod != null) { removeExcessiveThrows(null, psiMethod, new ProblemDescriptor[]{descriptor}); }
public void applyFix(@NotNull Project project, ProblemDescriptor descriptor) { RefElement refElement = (RefElement)getElement(descriptor); if (refElement.isValid() && refElement instanceof RefMethod) { RefMethod refMethod = (RefMethod)refElement; removeExcessiveThrows(refMethod); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/5f5b1ed48708e53ec126bb2ca0956457df48f6e7/RedundantThrows.java/buggy/inspections/impl/com/intellij/codeInspection/unneededThrows/RedundantThrows.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2230, 8585, 26964, 5962, 5420, 1984, 16, 21685, 3187, 4950, 13, 288, 1377, 3941, 1046, 1278, 1046, 273, 261, 1957, 1046, 13, 21336, 12, 12628, 1769, 1377, 309, 261, 1734, 1046, 18, 26810, 1435, 597, 1278, 1046, 1276, 3941, 1305, 13, 288, 3639, 3941, 1305, 1278, 1305, 273, 261, 1957, 1305, 13, 1734, 1046, 31, 3639, 1206, 424, 614, 688, 21845, 12, 1734, 1305, 1769, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2230, 8585, 26964, 5962, 5420, 1984, 16, 21685, 3187, 4950, 13, 288, 1377, 3941, 1046, 1278, 1046, 273, 261, 1957, 1046, 13, 21336, 12, 12628, 1769, 1377, 309, 261, 1734, 1046, 18, 26810, 1435, 597, 1278, 1046, 1276, 3941, 1305, 13, 288, 3639, 3941, 1305, 1278, 1305, 273, 261, 1957, 1305, 13, 1734, 1046, 31, 3639, 1206, 424, 614, 688, 21845, 12, 1734, 1305, 1769, 1377, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public String getFieldSig() { return fieldSig; }
public String getFieldSig() { return fieldSig; }
public String getFieldSig() { return fieldSig; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/FieldVariable.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/bcp/FieldVariable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 5031, 8267, 1435, 288, 327, 652, 8267, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 5031, 8267, 1435, 288, 327, 652, 8267, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{ SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); df.setTimeZone(TimeZone.getTimeZone("GMT")); StringBuffer decimal = new StringBuffer("000000000"); String nanos = String.valueOf(x.getNanos()); decimal.setLength(decimal.length() - nanos.length()); decimal.append(nanos); if (! connection.haveMinimumServerVersion("7.2")) { decimal.setLength(2);
{ synchronized (sbuf) { sbuf.setLength(0); sbuf.append("'"); int l_year = x.getYear() + 1900; sbuf.append(l_year); sbuf.append('-'); int l_month = x.getMonth() + 1; if (l_month < 10) sbuf.append('0'); sbuf.append(l_month); sbuf.append('-'); int l_day = x.getDate(); if (l_day < 10) sbuf.append('0'); sbuf.append(l_day); sbuf.append(' '); int l_hours = x.getHours(); if (l_hours < 10) sbuf.append('0'); sbuf.append(l_hours); sbuf.append(':'); int l_minutes = x.getMinutes(); if (l_minutes < 10) sbuf.append('0'); sbuf.append(l_minutes); sbuf.append(':'); int l_seconds = x.getSeconds(); if (l_seconds < 10) sbuf.append('0'); sbuf.append(l_seconds); char[] l_decimal = {'0','0','0','0','0','0','0','0','0'}; char[] l_nanos = Integer.toString(x.getNanos()).toCharArray(); System.arraycopy(l_nanos, 0, l_decimal, l_decimal.length - l_nanos.length, l_nanos.length); sbuf.append('.'); if (connection.haveMinimumServerVersion("7.2")) { sbuf.append(l_decimal,0,6); } else { sbuf.append(l_decimal,0,2); } int l_offset = -(x.getTimezoneOffset()); int l_houros = l_offset/60; if (l_houros >= 0) { sbuf.append('+'); } else { sbuf.append('-'); } if (l_houros > -10 && l_houros < 10) sbuf.append('0'); if (l_houros >= 0) { sbuf.append(l_houros); } else { sbuf.append(-l_houros); } int l_minos = l_offset - (l_houros *60); if (l_minos != 0) { if (l_minos < 10) sbuf.append('0'); sbuf.append(l_minos); } sbuf.append("'"); set(parameterIndex, sbuf.toString());
public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException { if (null == x) { setNull(parameterIndex, Types.OTHER); } else { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); df.setTimeZone(TimeZone.getTimeZone("GMT")); // Make decimal from nanos. StringBuffer decimal = new StringBuffer("000000000"); // max nanos length String nanos = String.valueOf(x.getNanos()); decimal.setLength(decimal.length() - nanos.length()); decimal.append(nanos); if (! connection.haveMinimumServerVersion("7.2")) { // Because 7.1 include bug that "hh:mm:59.999" becomes "hh:mm:60.00". decimal.setLength(2); } StringBuffer strBuf = new StringBuffer("'"); strBuf.append(df.format(x)).append('.').append(decimal).append("+00'"); set(parameterIndex, strBuf.toString()); } }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/cdebcad6af70ec13bd89f11cf7f3d8b7d5278f50/PreparedStatement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/PreparedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 25251, 12, 474, 25412, 16, 8159, 619, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 2011, 422, 619, 13, 202, 202, 95, 1082, 202, 542, 2041, 12, 6775, 1016, 16, 7658, 18, 23940, 1769, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 5784, 11878, 3013, 273, 394, 17005, 2932, 17722, 17, 8206, 17, 449, 20842, 30, 7020, 30, 1049, 8863, 1082, 202, 2180, 18, 542, 16760, 12, 16760, 18, 588, 16760, 2932, 25315, 7923, 1769, 1082, 202, 759, 4344, 6970, 628, 22865, 18, 1082, 202, 780, 1892, 6970, 273, 394, 6674, 2932, 2787, 11706, 8863, 202, 759, 943, 22865, 769, 1082, 202, 780, 22865, 273, 514, 18, 1132, 951, 12, 92, 18, 588, 15739, 10663, 13491, 6970, 18, 542, 1782, 12, 12586, 18, 2469, 1435, 300, 22865, 18, 2469, 10663, 1082, 202, 12586, 18, 6923, 12, 13569, 538, 1769, 1082, 202, 430, 16051, 1459, 18, 21516, 13042, 2081, 1444, 2932, 27, 18, 22, 6, 3719, 288, 9506, 202, 759, 15191, 2371, 18, 21, 2341, 7934, 716, 315, 21622, 30, 7020, 30, 6162, 18, 11984, 6, 12724, 315, 21622, 30, 7020, 30, 4848, 18, 713, 9654, 9506, 202, 12586, 18, 542, 1782, 12, 22, 1769, 1082, 202, 97, 1082, 202, 780, 1892, 609, 5503, 273, 394, 6674, 2932, 4970, 1769, 1082, 202, 701, 5503, 18, 6923, 12, 2180, 18, 2139, 12, 92, 13, 2934, 6923, 2668, 1093, 2934, 6923, 12, 12586, 2934, 6923, 2932, 15, 713, 4970, 1769, 1082, 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, 25251, 12, 474, 25412, 16, 8159, 619, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 2011, 422, 619, 13, 202, 202, 95, 1082, 202, 542, 2041, 12, 6775, 1016, 16, 7658, 18, 23940, 1769, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 5784, 11878, 3013, 273, 394, 17005, 2932, 17722, 17, 8206, 17, 449, 20842, 30, 7020, 30, 1049, 8863, 1082, 202, 2180, 18, 542, 16760, 12, 16760, 18, 588, 16760, 2932, 25315, 7923, 1769, 1082, 202, 759, 4344, 6970, 628, 22865, 18, 1082, 202, 780, 1892, 6970, 273, 394, 6674, 2932, 2787, 11706, 8863, 202, 759, 943, 22865, 769, 1082, 202, 780, 22865, 273, 514, 18, 1132, 951, 12, 92, 2 ]
public final VM_Address allocCopy(VM_Address original, EXTENT bytes,
final public VM_Address allocCopy(VM_Address original, EXTENT bytes,
public final VM_Address allocCopy(VM_Address original, EXTENT bytes, boolean isScalar) throws VM_PragmaInline { if (VM.VerifyAssertions) VM._assert(false); return null; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/0782a0c1555be75504a8327db5fe024321387a88/Plan.java/clean/rvm/src/vm/memoryManagers/JMTk/plan/refCount/Plan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 8251, 67, 1887, 4767, 2951, 12, 7397, 67, 1887, 2282, 16, 11112, 2222, 1731, 16, 6862, 565, 1250, 11604, 3473, 13, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 7397, 18, 8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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 8251, 67, 1887, 4767, 2951, 12, 7397, 67, 1887, 2282, 16, 11112, 2222, 1731, 16, 6862, 565, 1250, 11604, 3473, 13, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 5743, 1769, 565, 327, 446, 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 ]
"always1@host.com,always2@host.com,"
"always1@host.com,always2@host.com,ropletteruser1@host.com,"
public void testCreateUserList() throws Exception { PropertyConfigurator.configure("log4j.properties"); assertEquals( "always1@host.com,always2@host.com," + "success1@host.com,success2@host.com," + "user1@host.com,user2@host.com,user3@host2.com", emailPublisher.createUserList(successLogHelper)); assertEquals( "always1@host.com,always2@host.com,failure1@host.com," + "failure2@host.com,user1@host.com,user2@host.com,user3@host2.com", emailPublisher.createUserList(failureLogHelper)); assertEquals( "always1@host.com,always2@host.com," + "failure2@host.com," + "success1@host.com,success2@host.com," + "user1@host.com,user2@host.com,user3@host2.com", emailPublisher.createUserList(fixedLogHelper)); emailPublisher.setSkipUsers(true); assertEquals( "always1@host.com,always2@host.com,success1@host.com,success2@host.com", emailPublisher.createUserList(successLogHelper)); assertEquals( "always1@host.com,always2@host.com,failure1@host.com,failure2@host.com", emailPublisher.createUserList(failureLogHelper)); emailPublisher.setSkipUsers(false); emailPublisher.setEmailAddressMapper("this.class.does.not.exist"); try { emailPublisher.createUserList(fixedLogHelper); fail("EmailPublisher should throw exceptions when configured emailaddressmapper class does not exist."); } catch (CruiseControlException expected) { } emailPublisher.setEmailAddressMapper("net.sourceforge.cruisecontrol.publishers.DropLetterEmailAddressMapper"); assertEquals( "ailure2@host.com,lways1@host.com,lways2@host.com," + "ser1@host.com,ser2@host.com,ser3@host2.com," + "uccess1@host.com,uccess2@host.com", emailPublisher.createUserList(fixedLogHelper)); }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/d852abbb3a259d16fa87c7902ec8c303adffbea2/EmailPublisherTest.java/buggy/main/test/net/sourceforge/cruisecontrol/publishers/EmailPublisherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1684, 1299, 682, 1435, 1216, 1185, 288, 3639, 4276, 17182, 18, 14895, 2932, 1330, 24, 78, 18, 4738, 8863, 3639, 1815, 8867, 12, 5411, 315, 17737, 21, 36, 2564, 18, 832, 16, 17737, 22, 36, 2564, 18, 832, 16, 303, 1469, 387, 1355, 21, 36, 2564, 18, 832, 10837, 7734, 397, 315, 4768, 21, 36, 2564, 18, 832, 16, 4768, 22, 36, 2564, 18, 832, 10837, 7734, 397, 315, 1355, 21, 36, 2564, 18, 832, 16, 1355, 22, 36, 2564, 18, 832, 16, 1355, 23, 36, 2564, 22, 18, 832, 3113, 5411, 2699, 15960, 18, 2640, 1299, 682, 12, 4768, 1343, 2276, 10019, 3639, 1815, 8867, 12, 5411, 315, 17737, 21, 36, 2564, 18, 832, 16, 17737, 22, 36, 2564, 18, 832, 16, 12251, 21, 36, 2564, 18, 832, 10837, 7734, 397, 315, 12251, 22, 36, 2564, 18, 832, 16, 1355, 21, 36, 2564, 18, 832, 16, 1355, 22, 36, 2564, 18, 832, 16, 1355, 23, 36, 2564, 22, 18, 832, 3113, 5411, 2699, 15960, 18, 2640, 1299, 682, 12, 12251, 1343, 2276, 10019, 3639, 1815, 8867, 12, 5411, 315, 17737, 21, 36, 2564, 18, 832, 16, 17737, 22, 36, 2564, 18, 832, 16, 303, 1469, 387, 1355, 21, 36, 2564, 18, 832, 10837, 7734, 397, 315, 12251, 22, 36, 2564, 18, 832, 10837, 7734, 397, 315, 4768, 21, 36, 2564, 18, 832, 16, 4768, 22, 36, 2564, 18, 832, 10837, 7734, 397, 315, 1355, 21, 36, 2564, 18, 832, 16, 1355, 22, 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, 1684, 1299, 682, 1435, 1216, 1185, 288, 3639, 4276, 17182, 18, 14895, 2932, 1330, 24, 78, 18, 4738, 8863, 3639, 1815, 8867, 12, 5411, 315, 17737, 21, 36, 2564, 18, 832, 16, 17737, 22, 36, 2564, 18, 832, 16, 303, 1469, 387, 1355, 21, 36, 2564, 18, 832, 10837, 7734, 397, 315, 4768, 21, 36, 2564, 18, 832, 16, 4768, 22, 36, 2564, 18, 832, 10837, 7734, 397, 315, 1355, 21, 36, 2564, 18, 832, 16, 1355, 22, 36, 2564, 18, 832, 16, 1355, 23, 36, 2564, 22, 18, 832, 3113, 5411, 2699, 15960, 18, 2640, 1299, 682, 12, 4768, 1343, 2276, 10019, 3639, 1815, 8867, 12, 5411, 315, 17737, 21, 36, 2564, 18, 832, 2 ]
public AbstractEnvironment(String uri, String view, String action) { this.uri = uri; this.view = view; this.action = action; this.objectModel = new HashMap();
public AbstractEnvironment(String uri, String view) { this(uri, view, null);
public AbstractEnvironment(String uri, String view, String action) { this.uri = uri; this.view = view; this.action = action; this.objectModel = new HashMap(); }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/27c7d2361dcdd5562bd2ee693042c1192e4f1f73/AbstractEnvironment.java/buggy/src/java/org/apache/cocoon/environment/AbstractEnvironment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4115, 5494, 12, 780, 2003, 16, 514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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4115, 5494, 12, 780, 2003, 16, 514, 1476, 16, 514, 1301, 13, 288, 3639, 333, 18, 1650, 273, 2003, 31, 3639, 333, 18, 1945, 273, 1476, 31, 3639, 333, 18, 1128, 273, 1301, 31, 3639, 333, 18, 1612, 1488, 273, 394, 4317, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String inputDate = args[args.length-1];
String inputDate = args[args.length - 1];
public static void main (String [] args) throws Exception { String USAGE = "Usage: java SchedulerReport [options] <date (YYYY-MM-DD)> Enter -help for a list of options\n"; String HELP = "Where [options] are:\n"+ " -help Displays help\n"+ " -step <day|month> Specifies size of step (day by default)\n"+ " -n <steps> Specifies number of steps to do\n"; if (args.length == 0){ System.err.println(USAGE); System.exit(1); } else if (args.length == 1 && args[0].equalsIgnoreCase("-help")){ System.err.println(USAGE); System.err.println(HELP); System.exit(1); } int n = 1; String stepStr = "day"; for (int i=0;i<args.length-1;i++){ if (args[i].equals("-n")) { n = Integer.parseInt(args[++i]); } else if (args[i].equals("-step")) { stepStr = args[++i]; } else if (args[i].equalsIgnoreCase("-help")) { System.err.println(USAGE); System.err.println(HELP); System.exit(1); } else { System.err.println("Unknown argument: " + args[i]); System.exit(1); } } String inputDate = args[args.length-1]; TimeStep ts = new TimeStep (stepStr, n, inputDate); HistogramParser streamHist = new HistogramParser("Number of Packets shown by Streams Used","GFTPstreamhistogram", "Number of GFTP Packets with Given Number of Streams", n); HistogramParser stripeHist = new HistogramParser("Number of Packets Shown by Stripes Used", "GFTPstripehistogram", "Number of GFTP Packets with Given Number of Stripes", n); DatabaseRetriever dbr = new DatabaseRetriever(); while (ts.next()){ String startTime = ts.getFormattedTime(); Date startDate = ts.getTime(); ts.stepTime(); streamHist.nextEntry(startTime, ts.getFormattedTime()); stripeHist.nextEntry(startTime, ts.getFormattedTime()); ResultSet rs = dbr.retrieve("gftp_packets", new String [] {"num_streams","num_stripes"}, startDate, ts.getTime()); while(rs.next()){ streamHist.addData(rs.getString(1), 1); stripeHist.addData(rs.getString(2), 1); } rs.close(); } dbr.close(); System.out.println("<report>"); streamHist.output(System.out); stripeHist.output(System.out); System.out.println("</report>"); }
8719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8719/efb83d08bf3214ba362adb9486345c128a00bae7/StripeReport.java/buggy/usage/java/reports/source/src/org/globus/usage/report/gftp/StripeReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 288, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 12620, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 5698, 13, 34, 15439, 300, 5201, 364, 279, 666, 434, 702, 64, 82, 14432, 3639, 514, 22557, 52, 273, 315, 5262, 306, 2116, 65, 854, 5581, 82, 6, 15, 5411, 315, 300, 5201, 1171, 9311, 87, 2809, 64, 82, 6, 15, 5411, 315, 300, 4119, 411, 2881, 96, 7496, 34, 377, 4185, 5032, 963, 434, 2235, 261, 2881, 635, 805, 5153, 82, 6, 15, 5411, 315, 300, 82, 411, 8986, 34, 5411, 4185, 5032, 1300, 434, 6075, 358, 741, 64, 82, 14432, 3639, 309, 261, 1968, 18, 2469, 422, 374, 15329, 5411, 2332, 18, 370, 18, 8222, 12, 29550, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 469, 309, 261, 1968, 18, 2469, 422, 404, 597, 833, 63, 20, 8009, 14963, 5556, 2932, 17, 5201, 6, 3719, 95, 5411, 2332, 18, 370, 18, 8222, 12, 29550, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 27396, 1769, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 509, 290, 273, 404, 31, 3639, 514, 2235, 1585, 273, 315, 2881, 14432, 3639, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1968, 18, 2469, 17, 21, 31, 77, 27245, 95, 5411, 309, 261, 1968, 63, 77, 8009, 14963, 2932, 17, 82, 6, 3719, 288, 7734, 290, 273, 2144, 18, 2670, 1702, 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, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 288, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 12620, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 5698, 13, 34, 15439, 300, 5201, 364, 279, 666, 434, 702, 64, 82, 14432, 3639, 514, 22557, 52, 273, 315, 5262, 306, 2116, 65, 854, 5581, 82, 6, 15, 5411, 315, 300, 5201, 1171, 9311, 87, 2809, 64, 82, 6, 15, 5411, 315, 300, 4119, 411, 2881, 96, 7496, 34, 377, 4185, 5032, 963, 434, 2235, 261, 2881, 635, 805, 5153, 82, 6, 15, 5411, 315, 300, 82, 411, 8986, 34, 5411, 4185, 5032, 1300, 434, 6075, 358, 741, 64, 82, 14432, 3639, 309, 261, 2 ]
case LOS_SPACE: Header.initializeMarkSweepHeader(ref, tib, bytes, isScalar); return;
case LOS_SPACE: Header.initializeMarkSweepHeader(ref, tib, bytes); return;
public final void postAlloc(VM_Address ref, Object[] tib, int bytes, boolean isScalar, int allocator) throws VM_PragmaInline { switch (allocator) { case NURSERY_SPACE: return; case MATURE_SPACE: if (!Plan.copyMature) Header.initializeMarkSweepHeader(ref, tib, bytes, isScalar); return; case IMMORTAL_SPACE: ImmortalSpace.postAlloc(ref); return; case LOS_SPACE: Header.initializeMarkSweepHeader(ref, tib, bytes, isScalar); return; default: if (VM_Interface.VerifyAssertions) VM_Interface.sysFail("No such allocator"); } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/fa7c084890229aa14b7d09f3663b41447333cc2d/Generational.java/clean/rvm/src/vm/memoryManagers/JMTk/plan/Generational.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 1603, 8763, 12, 7397, 67, 1887, 1278, 16, 1033, 8526, 268, 495, 16, 509, 1731, 16, 17311, 1250, 11604, 3473, 16, 509, 26673, 13, 565, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 1620, 261, 9853, 639, 13, 288, 565, 648, 225, 423, 1099, 2123, 61, 67, 6616, 30, 327, 31, 565, 648, 282, 490, 10511, 67, 6616, 30, 309, 16051, 5365, 18, 3530, 49, 1231, 13, 4304, 18, 11160, 3882, 55, 25236, 1864, 12, 1734, 16, 268, 495, 16, 1731, 16, 11604, 3473, 1769, 327, 31, 565, 648, 6246, 49, 3871, 1013, 67, 6616, 30, 2221, 81, 499, 287, 3819, 18, 2767, 8763, 12, 1734, 1769, 327, 31, 565, 648, 1377, 1806, 55, 67, 6616, 30, 4304, 18, 11160, 3882, 55, 25236, 1864, 12, 1734, 16, 268, 495, 16, 1731, 1769, 327, 31, 565, 805, 30, 1377, 309, 261, 7397, 67, 1358, 18, 8097, 8213, 1115, 13, 202, 7397, 67, 1358, 18, 9499, 3754, 2932, 2279, 4123, 26673, 8863, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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278, 16, 1033, 8526, 268, 495, 16, 509, 1731, 16, 17311, 1250, 11604, 3473, 16, 509, 26673, 13, 565, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 1620, 261, 9853, 639, 13, 288, 565, 648, 225, 423, 1099, 2123, 61, 67, 6616, 30, 327, 31, 565, 648, 282, 490, 10511, 67, 6616, 30, 309, 16051, 5365, 18, 3530, 49, 1231, 13, 4304, 18, 11160, 3882, 55, 25236, 1864, 12, 1734, 16, 268, 495, 16, 1731, 16, 11604, 3473, 1769, 327, 31, 565, 648, 6246, 49, 3871, 1013, 67, 6616, 30, 2221, 81, 499, 287, 3819, 18, 2767, 8763, 12, 1734, 1769, 327, 31, 565, 648, 1377, 1806, 55, 67, 2 ]
public void enforceTimeout() { if (!hasRun()) { // Set the duration as was defined for connection timeout _duration = _targetDescriptor.getConnectionTimeOut(); // Create a new ConnectException. // TODO: Currently it is observed that mostly the URLs which are // expected to throw a ConnectTimeoutException keeps on running // but we need to take care of the situation when because of some // other reason the thread is still active. _exception = new ConnectException("Connect timed out"); } }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/fa09921b47283c3ce545b29448cebd69a23a2955/CheckLinks.java/buggy/src/java-server-framework/org/xins/server/CheckLinks.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 12980, 2694, 1435, 288, 540, 309, 16051, 5332, 1997, 10756, 288, 5411, 368, 1000, 326, 3734, 487, 1703, 2553, 364, 1459, 2021, 5411, 389, 8760, 273, 389, 3299, 3187, 18, 588, 1952, 950, 1182, 5621, 5411, 368, 1788, 279, 394, 8289, 503, 18, 5411, 368, 2660, 30, 15212, 518, 353, 12117, 716, 23958, 326, 10414, 1492, 854, 5411, 368, 2665, 358, 604, 279, 8289, 22195, 20948, 603, 3549, 5411, 368, 1496, 732, 1608, 358, 4862, 7671, 434, 326, 20886, 1347, 2724, 434, 2690, 5411, 368, 1308, 3971, 326, 2650, 353, 4859, 2695, 18, 5411, 389, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 12980, 2694, 1435, 288, 540, 309, 16051, 5332, 1997, 10756, 288, 5411, 368, 1000, 326, 3734, 487, 1703, 2553, 364, 1459, 2021, 5411, 389, 8760, 273, 389, 3299, 3187, 18, 588, 1952, 950, 1182, 5621, 5411, 368, 1788, 279, 394, 8289, 503, 18, 5411, 368, 2660, 30, 15212, 518, 353, 12117, 716, 23958, 326, 10414, 1492, 854, 5411, 368, 2665, 358, 604, 279, 8289, 22195, 20948, 603, 3549, 5411, 368, 1496, 732, 1608, 358, 4862, 7671, 434, 326, 20886, 1347, 2724, 434, 2690, 5411, 368, 1308, 3971, 326, 2650, 353, 4859, 2695, 18, 5411, 389, 4064, 273, 394, 8289, 503, 2932, 5215, 7491, 596, 8863, 540, 289, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100 ]
objs.add(new VSchemaObject(((ISchemaObject)restrictions[i]).getName(), null, F_AT_VAL));
objs.add(new VirtualSchemaObject(((ISchemaObject)restrictions[i]).getName(), null, F_AT_VAL));
private ICompletionProposal[] computeCompletionProposal(IDocumentAttribute attr, int offset, IDocument doc) { if (offset < attr.getValueOffset()) return null; int[] offests = new int[] {offset, offset, offset}; String[] guess = guessContentRequest(offests, doc, false); if (guess == null) return null;// String element = guess[0];// String attribute = guess[1]; String attrValue = guess[2]; IPluginObject obj = XMLUtil.getTopLevelParent((IDocumentNode)attr); if (obj instanceof IPluginExtension) { if (attr.getAttributeName().equals(IPluginExtension.P_POINT) && offset >= attr.getValueOffset()) return computeAttributeProposal(attr, offset, attrValue, getAvailableExtensionPoints()); ISchemaAttribute sAttr = XMLUtil.getSchemaAttribute(attr, ((IPluginExtension)obj).getPoint()); if (sAttr == null) return null; if (sAttr.getKind() == IMetaAttribute.JAVA) { IResource resource = obj.getModel().getUnderlyingResource(); if (resource == null) return null; // Revisit: NEW CODE HERE ArrayList list = new ArrayList(); ICompletionProposal[] proposals = null; generateTypePackageProposals(attrValue, resource.getProject(), list, offset - attrValue.length(), IJavaSearchConstants.CLASS_AND_INTERFACE); if ((list != null) && (list.size() != 0)) { // Convert the results array list into an array of completion // proposals proposals = (ICompletionProposal[]) list.toArray(new ICompletionProposal[list.size()]); sortCompletions(proposals); return proposals; } return null; } else if (sAttr.getKind() == IMetaAttribute.RESOURCE) { // provide proposals with all resources in current plugin? } else { // we have an IMetaAttribute.STRING kind if (sAttr.getType() == null) return null; ISchemaRestriction sRestr = (sAttr.getType()).getRestriction(); ArrayList objs = new ArrayList(); if (sRestr == null) { ISchemaSimpleType type = sAttr.getType(); if (type != null && type.getName().equals("boolean")) //$NON-NLS-1$ objs = F_V_BOOLS; } else { Object[] restrictions = sRestr.getChildren(); for (int i = 0; i < restrictions.length; i++) if (restrictions[i] instanceof ISchemaObject) objs.add(new VSchemaObject(((ISchemaObject)restrictions[i]).getName(), null, F_AT_VAL)); } return computeAttributeProposal(attr, offset, attrValue, objs); } } else if (obj instanceof IPluginExtensionPoint) { if (attr.getAttributeValue().equals(IPluginExtensionPoint.P_SCHEMA)) { // provide proposals with all schama files in current plugin? } } return null; }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/0865f0ad4a2dad881eecc6fc8e27dc99f0ca3c9e/XMLContentAssistProcessor.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/contentassist/XMLContentAssistProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 11238, 14592, 8526, 3671, 11238, 14592, 12, 734, 504, 650, 1499, 1604, 16, 509, 1384, 16, 1599, 504, 650, 997, 13, 288, 202, 202, 430, 261, 3348, 411, 1604, 18, 24805, 2335, 10756, 1082, 202, 2463, 446, 31, 202, 202, 474, 8526, 3397, 25563, 273, 394, 509, 8526, 288, 3348, 16, 1384, 16, 1384, 20451, 202, 202, 780, 8526, 7274, 273, 7274, 1350, 691, 12, 3674, 25563, 16, 997, 16, 629, 1769, 202, 202, 430, 261, 20885, 422, 446, 13, 1082, 202, 2463, 446, 31, 759, 202, 202, 780, 930, 273, 7274, 63, 20, 15533, 759, 202, 202, 780, 1566, 273, 7274, 63, 21, 15533, 202, 202, 780, 21676, 273, 7274, 63, 22, 15533, 9506, 202, 45, 3773, 921, 1081, 273, 3167, 1304, 18, 588, 27046, 3054, 12443, 734, 504, 650, 907, 13, 1747, 1769, 202, 202, 430, 261, 2603, 1276, 467, 3773, 3625, 13, 288, 1082, 202, 430, 261, 1747, 18, 588, 19240, 7675, 14963, 12, 45, 3773, 3625, 18, 52, 67, 8941, 13, 597, 4405, 202, 3348, 1545, 1604, 18, 24805, 2335, 10756, 9506, 202, 2463, 3671, 1499, 14592, 12, 1747, 16, 1384, 16, 21676, 16, 15796, 3625, 5636, 10663, 1082, 202, 45, 3078, 1499, 272, 3843, 273, 3167, 1304, 18, 588, 3078, 1499, 12, 1747, 16, 14015, 45, 3773, 3625, 13, 2603, 2934, 588, 2148, 10663, 1082, 202, 430, 261, 87, 3843, 422, 446, 13, 9506, 202, 2463, 446, 31, 25083, 202, 430, 261, 87, 3843, 18, 588, 5677, 1435, 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, 467, 11238, 14592, 8526, 3671, 11238, 14592, 12, 734, 504, 650, 1499, 1604, 16, 509, 1384, 16, 1599, 504, 650, 997, 13, 288, 202, 202, 430, 261, 3348, 411, 1604, 18, 24805, 2335, 10756, 1082, 202, 2463, 446, 31, 202, 202, 474, 8526, 3397, 25563, 273, 394, 509, 8526, 288, 3348, 16, 1384, 16, 1384, 20451, 202, 202, 780, 8526, 7274, 273, 7274, 1350, 691, 12, 3674, 25563, 16, 997, 16, 629, 1769, 202, 202, 430, 261, 20885, 422, 446, 13, 1082, 202, 2463, 446, 31, 759, 202, 202, 780, 930, 273, 7274, 63, 20, 15533, 759, 202, 202, 780, 1566, 273, 7274, 63, 21, 15533, 202, 202, 780, 21676, 273, 7274, 63, 22, 15533, 9506, 2 ]
((DataCarryingMessage)msg).readFrom(lis, handler.bf);
try { ((DataCarryingMessage)msg).readFrom(lis, handler.bf, handler.server); } catch (MessageInvalidException e) { FCPMessage err = new ProtocolErrorMessage(e.protocolCode, false, e.getMessage(), e.ident); handler.outputHandler.queue(err); continue; }
public void realRun() throws IOException { InputStream is = handler.sock.getInputStream(); LineReadingInputStream lis = new LineReadingInputStream(is); boolean firstMessage = true; while(true) { SimpleFieldSet fs; // Read a message String messageType = lis.readLine(64, 64); if(messageType == null) { is.close(); return; } if(messageType.equals("")) continue; fs = new SimpleFieldSet(lis, 4096, 128, false, false); FCPMessage msg; try { msg = FCPMessage.create(messageType, fs); if(msg == null) continue; } catch (MessageInvalidException e) { FCPMessage err = new ProtocolErrorMessage(e.protocolCode, false, e.getMessage(), e.ident); handler.outputHandler.queue(err); continue; } if(firstMessage && !(msg instanceof ClientHelloMessage)) { FCPMessage err = new ProtocolErrorMessage(ProtocolErrorMessage.CLIENT_HELLO_MUST_BE_FIRST_MESSAGE, true, null, null); handler.outputHandler.queue(err); handler.close(); continue; } if(msg instanceof DataCarryingMessage) { ((DataCarryingMessage)msg).readFrom(lis, handler.bf); } if((!firstMessage) && msg instanceof ClientHelloMessage) { FCPMessage err = new ProtocolErrorMessage(ProtocolErrorMessage.NO_LATE_CLIENT_HELLOS, false, null, null); handler.outputHandler.queue(err); continue; } try { msg.run(handler, handler.server.node); } catch (MessageInvalidException e) { FCPMessage err = new ProtocolErrorMessage(e.protocolCode, false, e.getMessage(), e.ident); handler.outputHandler.queue(err); continue; } firstMessage = false; if(handler.isClosed()) return; } }
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/c3bd1101bcadc7c347643a2d0afd01491a0565ce/FCPConnectionInputHandler.java/buggy/src/freenet/node/fcp/FCPConnectionInputHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2863, 1997, 1435, 1216, 1860, 288, 202, 202, 4348, 353, 273, 1838, 18, 15031, 18, 588, 4348, 5621, 202, 202, 1670, 15714, 4348, 328, 291, 273, 394, 5377, 15714, 4348, 12, 291, 1769, 9506, 202, 6494, 1122, 1079, 273, 638, 31, 9506, 202, 17523, 12, 3767, 13, 288, 1082, 202, 5784, 974, 694, 2662, 31, 1082, 202, 759, 2720, 279, 883, 1082, 202, 780, 22402, 273, 328, 291, 18, 896, 1670, 12, 1105, 16, 5178, 1769, 1082, 202, 430, 12, 2150, 559, 422, 446, 13, 288, 9506, 202, 291, 18, 4412, 5621, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 430, 12, 2150, 559, 18, 14963, 2932, 6, 3719, 1324, 31, 1082, 202, 2556, 273, 394, 4477, 974, 694, 12, 80, 291, 16, 16797, 16, 8038, 16, 629, 16, 629, 1769, 1082, 202, 42, 4258, 1079, 1234, 31, 1082, 202, 698, 288, 9506, 202, 3576, 273, 478, 4258, 1079, 18, 2640, 12, 2150, 559, 16, 2662, 1769, 9506, 202, 430, 12, 3576, 422, 446, 13, 1324, 31, 1082, 202, 97, 1044, 261, 1079, 1941, 503, 425, 13, 288, 9506, 202, 42, 4258, 1079, 393, 273, 394, 4547, 14935, 12, 73, 18, 8373, 1085, 16, 629, 16, 425, 18, 24906, 9334, 425, 18, 6392, 1769, 9506, 202, 4176, 18, 2844, 1503, 18, 4000, 12, 370, 1769, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 430, 12, 3645, 1079, 597, 401, 12, 3576, 1276, 2445, 18601, 1079, 3719, 288, 9506, 202, 42, 4258, 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, 2863, 1997, 1435, 1216, 1860, 288, 202, 202, 4348, 353, 273, 1838, 18, 15031, 18, 588, 4348, 5621, 202, 202, 1670, 15714, 4348, 328, 291, 273, 394, 5377, 15714, 4348, 12, 291, 1769, 9506, 202, 6494, 1122, 1079, 273, 638, 31, 9506, 202, 17523, 12, 3767, 13, 288, 1082, 202, 5784, 974, 694, 2662, 31, 1082, 202, 759, 2720, 279, 883, 1082, 202, 780, 22402, 273, 328, 291, 18, 896, 1670, 12, 1105, 16, 5178, 1769, 1082, 202, 430, 12, 2150, 559, 422, 446, 13, 288, 9506, 202, 291, 18, 4412, 5621, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 430, 12, 2150, 559, 18, 14963, 2932, 6, 3719, 1324, 31, 1082, 202, 2556, 2 ]
add(new Label("label", model)
add(new Label("label", model.getObject(this).toString())
public InlineDropDownChoice(String id, IModel model, Collection choices) { super(id); setFormComponent(new DropDownChoice("dropDownChoice", model, choices) { public boolean isVisible() { return GridView.isEdit(this); } }); add(new Label("label", model) { public boolean isVisible() { return !GridView.isEdit(this); } }); }
51612 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51612/5ce5aba21485b9bc3f9343ec7313f384f0a545f1/InlineDropDownChoice.java/buggy/wicket-contrib-data/src/java/wicket/contrib/data/model/bind/InlineDropDownChoice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16355, 7544, 4164, 10538, 12, 780, 612, 16, 467, 1488, 938, 16, 2200, 7246, 13, 202, 95, 202, 202, 9565, 12, 350, 1769, 202, 202, 542, 1204, 1841, 12, 2704, 10895, 4164, 10538, 2932, 7285, 4164, 10538, 3113, 938, 16, 7246, 13, 202, 202, 95, 1082, 202, 482, 1250, 20453, 1435, 1082, 202, 95, 9506, 202, 2463, 7145, 1767, 18, 291, 4666, 12, 2211, 1769, 1082, 202, 97, 202, 202, 22938, 9506, 202, 1289, 12, 2704, 5287, 2932, 1925, 3113, 938, 13, 202, 202, 95, 1082, 202, 482, 1250, 20453, 1435, 1082, 202, 95, 9506, 202, 2463, 401, 6313, 1767, 18, 291, 4666, 12, 2211, 1769, 1082, 202, 97, 202, 202, 22938, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16355, 7544, 4164, 10538, 12, 780, 612, 16, 467, 1488, 938, 16, 2200, 7246, 13, 202, 95, 202, 202, 9565, 12, 350, 1769, 202, 202, 542, 1204, 1841, 12, 2704, 10895, 4164, 10538, 2932, 7285, 4164, 10538, 3113, 938, 16, 7246, 13, 202, 202, 95, 1082, 202, 482, 1250, 20453, 1435, 1082, 202, 95, 9506, 202, 2463, 7145, 1767, 18, 291, 4666, 12, 2211, 1769, 1082, 202, 97, 202, 202, 22938, 9506, 202, 1289, 12, 2704, 5287, 2932, 1925, 3113, 938, 13, 202, 202, 95, 1082, 202, 482, 1250, 20453, 1435, 1082, 202, 95, 9506, 202, 2463, 401, 6313, 1767, 18, 291, 4666, 12, 2211, 1769, 1082, 202, 97, 202, 202, 22938, 202, 97, 2, -100, -100 ]
if ((!inputFields.lastElement().equals(activeField)) && (!activeField.unlimitedEdit())) { if ((text.length() == fieldSize) && (selection == 0) && (caretPosition == fieldSize) && !backstep)
if ((!inputFields.lastElement().equals(activeField)) && (!activeField.unlimitedEdit()))
public void caretUpdate(CaretEvent event) { String text = activeField.getText(); int fieldSize = activeField.getEditLength(); int caretPosition = activeField.getCaretPosition(); int selection = activeField.getSelectionEnd() - activeField.getSelectionStart(); if ((!inputFields.lastElement().equals(activeField)) && (!activeField.unlimitedEdit())) { if ((text.length() == fieldSize) && (selection == 0) && (caretPosition == fieldSize) && !backstep) { activeField.transferFocus(); } } }
46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/e379bca3b699c2188efebed999375b18f7071ab3/RuleInputField.java/buggy/src/lib/com/izforge/izpack/panels/RuleInputField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21683, 1891, 12, 39, 20731, 1133, 871, 13, 565, 288, 3639, 514, 977, 273, 2695, 974, 18, 588, 1528, 5621, 3639, 509, 652, 1225, 273, 2695, 974, 18, 588, 4666, 1782, 5621, 3639, 509, 21683, 2555, 273, 2695, 974, 18, 588, 39, 20731, 2555, 5621, 3639, 509, 4421, 273, 2695, 974, 18, 588, 6233, 1638, 1435, 300, 2695, 974, 18, 588, 6233, 1685, 5621, 3639, 309, 14015, 5, 2630, 2314, 18, 2722, 1046, 7675, 14963, 12, 3535, 974, 3719, 597, 16051, 3535, 974, 18, 318, 21325, 4666, 1435, 3719, 3639, 288, 5411, 309, 14015, 955, 18, 2469, 1435, 422, 652, 1225, 13, 597, 261, 10705, 422, 374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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21683, 1891, 12, 39, 20731, 1133, 871, 13, 565, 288, 3639, 514, 977, 273, 2695, 974, 18, 588, 1528, 5621, 3639, 509, 652, 1225, 273, 2695, 974, 18, 588, 4666, 1782, 5621, 3639, 509, 21683, 2555, 273, 2695, 974, 18, 588, 39, 20731, 2555, 5621, 3639, 509, 4421, 273, 2695, 974, 18, 588, 6233, 1638, 1435, 300, 2695, 974, 18, 588, 6233, 1685, 5621, 3639, 309, 14015, 5, 2630, 2314, 18, 2722, 1046, 7675, 14963, 12, 3535, 974, 3719, 597, 16051, 3535, 974, 18, 318, 21325, 4666, 1435, 3719, 3639, 288, 5411, 309, 14015, 955, 18, 2469, 1435, 422, 652, 1225, 13, 597, 261, 10705, 422, 374, 13, 597, 261, 71, 20731, 2555, 422, 652, 1225, 2 ]
public org.quickfix.field.UnderlyingSecurityAltID get(org.quickfix.field.UnderlyingSecurityAltID value)
public quickfix.field.UnderlyingSecurityAltID get(quickfix.field.UnderlyingSecurityAltID value)
public org.quickfix.field.UnderlyingSecurityAltID get(org.quickfix.field.UnderlyingSecurityAltID value) throws FieldNotFound { getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix44/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 336, 12, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 225, 460, 13, 565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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 336, 12, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public String paren_chunk2() throws RecognitionException { String text; Token any=null; String c = null; text = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:18: ( ( options {greedy=false; } : '(' c= paren_chunk2 ')' | any= . )* ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:18: ( options {greedy=false; } : '(' c= paren_chunk2 ')' | any= . )* { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:18: ( options {greedy=false; } : '(' c= paren_chunk2 ')' | any= . )* loop54: do { int alt54=3; switch ( input.LA(1) ) { case 23: alt54=3; break; case 21: alt54=1; break; case EOL: case ID: case INT: case BOOL: case STRING: case FLOAT: case MISC: case WS: case SH_STYLE_SINGLE_LINE_COMMENT: case C_STYLE_SINGLE_LINE_COMMENT: case MULTI_LINE_COMMENT: case 15: case 16: case 17: case 18: case 19: case 20: case 22: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: alt54=2; break; } switch (alt54) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:806:25: '(' c= paren_chunk2 ')' { match(input,21,FOLLOW_21_in_paren_chunk22226); following.push(FOLLOW_paren_chunk2_in_paren_chunk22230); c=paren_chunk2(); following.pop(); match(input,23,FOLLOW_23_in_paren_chunk22232); if ( c == null ) { c = ""; } if ( text == null ) { text = "( " + c + " )"; } else { text = text + " ( " + c + " )"; } } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:817:19: any= . { any=(Token)input.LT(1); matchAny(input); if ( text == null ) { text = any.getText(); } else { text = text + " " + any.getText(); } } break; default : break loop54; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return text; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 22146, 67, 6551, 22, 1435, 1216, 9539, 288, 6647, 514, 977, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 1171, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 2643, 30, 261, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 571, 1281, 33, 263, 8618, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 2643, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 571, 1281, 33, 263, 8618, 5411, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 2643, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 571, 1281, 33, 263, 8618, 5411, 2798, 6564, 30, 5411, 741, 288, 7734, 509, 3770, 6564, 33, 23, 31, 7734, 1620, 261, 810, 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, 514, 22146, 67, 6551, 22, 1435, 1216, 9539, 288, 6647, 514, 977, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 1171, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 2643, 30, 261, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 571, 1281, 33, 263, 8618, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 2 ]
private void saveProps() { setOptionAccess(); setExternalPrograms(); ConfigureFactory.getInstance().saveSettings( ConfigureFactory.SESSIONS, "------ Session Information --------"); OptionAccessFactory.getInstance().reload(); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/45682107805eb1c0355528b52ba4fba9ebfba5ba/Connect.java/buggy/src/org/tn5250j/Connect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1923, 5047, 1435, 288, 202, 202, 542, 1895, 1862, 5621, 9506, 202, 542, 6841, 9459, 87, 5621, 202, 202, 11207, 1733, 18, 588, 1442, 7675, 5688, 2628, 12, 1082, 202, 11207, 1733, 18, 7042, 55, 16, 1082, 202, 6, 13093, 3877, 15353, 27093, 8863, 202, 202, 1895, 1862, 1733, 18, 588, 1442, 7675, 17517, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1923, 5047, 1435, 288, 202, 202, 542, 1895, 1862, 5621, 9506, 202, 542, 6841, 9459, 87, 5621, 202, 202, 11207, 1733, 18, 588, 1442, 7675, 5688, 2628, 12, 1082, 202, 11207, 1733, 18, 7042, 55, 16, 1082, 202, 6, 13093, 3877, 15353, 27093, 8863, 202, 202, 1895, 1862, 1733, 18, 588, 1442, 7675, 17517, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setPeerNodeStatus(now);
public void verified(KeyTracker tracker) { long now = System.currentTimeMillis(); synchronized(this) { if(tracker == unverifiedTracker) { if(logMINOR) Logger.minor(this, "Promoting unverified tracker "+tracker+" for "+getPeer()); if(previousTracker != null) { previousTracker.completelyDeprecated(tracker); } previousTracker = currentTracker; if(previousTracker != null) previousTracker.deprecated(); currentTracker = unverifiedTracker; unverifiedTracker = null; isConnected = true; neverConnected = false; peerAddedTime = 0; // don't store anymore setPeerNodeStatus(now); ctx = null; maybeSendInitialMessages(); } else return; } node.peers.addConnectedPeer(this); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/8de4b1cd60a548b4d18488fb67f53e39abfa9b77/PeerNode.java/clean/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13808, 12, 653, 8135, 9745, 13, 288, 1377, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 22043, 12, 2211, 13, 288, 3639, 309, 12, 16543, 422, 640, 19685, 8135, 13, 288, 5411, 309, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 13224, 17128, 640, 19685, 9745, 13773, 16543, 9078, 364, 13773, 588, 6813, 10663, 5411, 309, 12, 11515, 8135, 480, 446, 13, 288, 7734, 2416, 8135, 18, 7806, 2357, 13534, 12, 16543, 1769, 5411, 289, 5411, 2416, 8135, 273, 783, 8135, 31, 5411, 309, 12, 11515, 8135, 480, 446, 13, 7734, 2416, 8135, 18, 14089, 5621, 5411, 783, 8135, 273, 640, 19685, 8135, 31, 5411, 640, 19685, 8135, 273, 446, 31, 5411, 20854, 273, 638, 31, 5411, 5903, 8932, 273, 629, 31, 5411, 4261, 8602, 950, 273, 374, 31, 225, 368, 2727, 1404, 1707, 16828, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13808, 12, 653, 8135, 9745, 13, 288, 1377, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 22043, 12, 2211, 13, 288, 3639, 309, 12, 16543, 422, 640, 19685, 8135, 13, 288, 5411, 309, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 13224, 17128, 640, 19685, 9745, 13773, 16543, 9078, 364, 13773, 588, 6813, 10663, 5411, 309, 12, 11515, 8135, 480, 446, 13, 288, 7734, 2416, 8135, 18, 7806, 2357, 13534, 12, 16543, 1769, 5411, 289, 5411, 2416, 8135, 273, 783, 8135, 31, 5411, 309, 12, 11515, 8135, 480, 446, 13, 7734, 2416, 8135, 18, 14089, 5621, 5411, 783, 8135, 273, 640, 19685, 8135, 31, 5411, 640, 19685, 8135, 273, 446, 2 ]
String text = "";
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } else { String text = ""; Object selected = comboBox.getModel().getSelectedItem(); if (selected != null) text = selected.toString(); Rectangle bounds = comboBox.getBounds(); Rectangle innerArea = SwingUtilities.calculateInnerArea(this, null); if (comboBox.hasFocus()) { g.setColor(MetalLookAndFeel.getFocusColor()); g.drawRect(innerArea.x, innerArea.y - 1, innerArea.width - 1, innerArea.height); } Insets insets = comboBox.getInsets(); int iconX = bounds.width - insets.right - comboIcon.getIconWidth() - 7; int iconY = insets.top + (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, iconX, iconY); if (comboBox.isEnabled()) g.setColor(MetalLookAndFeel.getBlack()); else g.setColor(MetalLookAndFeel.getControlDisabled()); Rectangle viewArea = new Rectangle(innerArea.x, innerArea.y, innerArea.width - comboIcon.getIconWidth() - 7, innerArea.height); FontMetrics fm = g.getFontMetrics(comboBox.getFont()); Rectangle textR = new Rectangle(); text = SwingUtilities.layoutCompoundLabel(fm, text, null, SwingConstants.CENTER, SwingConstants.LEFT, SwingConstants.CENTER, SwingConstants.RIGHT, viewArea, new Rectangle(), textR, 0); // FIXME: this truncation should be done within layoutCompoundLabel() text = truncateText(text, innerArea.width - comboIcon.getIconWidth() - 7, fm); int yAdj = fm.getDescent() + fm.getLeading(); g.setFont(comboBox.getFont()); g.drawString(text, textR.x, textR.y + textR.height - yAdj); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 1841, 12, 17558, 314, 13, 225, 288, 565, 2240, 18, 84, 1598, 1841, 12, 75, 1769, 565, 309, 261, 3950, 3386, 13, 1377, 288, 3639, 13264, 4972, 273, 22107, 5621, 3639, 509, 619, 273, 261, 10576, 18, 2819, 300, 16778, 5554, 18, 588, 5554, 2384, 10756, 342, 576, 31, 3639, 509, 677, 273, 261, 10576, 18, 4210, 300, 16778, 5554, 18, 588, 5554, 2686, 10756, 342, 576, 31, 3639, 16778, 5554, 18, 84, 1598, 5554, 12, 25053, 3514, 16, 314, 16, 619, 16, 677, 1769, 3639, 289, 565, 469, 1377, 288, 9079, 1033, 3170, 273, 16778, 3514, 18, 588, 1488, 7675, 588, 7416, 1180, 5621, 3639, 309, 261, 8109, 480, 446, 13, 6647, 977, 273, 3170, 18, 10492, 5621, 3639, 13264, 4972, 273, 16778, 3514, 18, 588, 5694, 5621, 3639, 13264, 3443, 5484, 273, 26145, 11864, 18, 11162, 2857, 5484, 12, 2211, 16, 446, 1769, 3639, 309, 261, 25053, 3514, 18, 5332, 9233, 10756, 1850, 288, 5411, 314, 18, 542, 2957, 12, 26365, 9794, 1876, 2954, 292, 18, 588, 9233, 2957, 10663, 5411, 314, 18, 9446, 6120, 12, 7872, 5484, 18, 92, 16, 3443, 5484, 18, 93, 300, 404, 16, 3443, 5484, 18, 2819, 300, 404, 16, 5397, 3443, 5484, 18, 4210, 1769, 1850, 289, 3639, 22300, 23576, 273, 16778, 3514, 18, 588, 382, 4424, 5621, 3639, 509, 4126, 60, 273, 4972, 18, 2819, 300, 23576, 18, 4083, 300, 16778, 5554, 18, 588, 5554, 2384, 1435, 300, 2371, 31, 3639, 509, 4126, 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, 282, 1071, 918, 12574, 1841, 12, 17558, 314, 13, 225, 288, 565, 2240, 18, 84, 1598, 1841, 12, 75, 1769, 565, 309, 261, 3950, 3386, 13, 1377, 288, 3639, 13264, 4972, 273, 22107, 5621, 3639, 509, 619, 273, 261, 10576, 18, 2819, 300, 16778, 5554, 18, 588, 5554, 2384, 10756, 342, 576, 31, 3639, 509, 677, 273, 261, 10576, 18, 4210, 300, 16778, 5554, 18, 588, 5554, 2686, 10756, 342, 576, 31, 3639, 16778, 5554, 18, 84, 1598, 5554, 12, 25053, 3514, 16, 314, 16, 619, 16, 677, 1769, 3639, 289, 565, 469, 1377, 288, 9079, 1033, 3170, 273, 16778, 3514, 18, 588, 1488, 7675, 588, 7416, 1180, 5621, 3639, 309, 261, 8109, 480, 446, 13, 6647, 977, 273, 2 ]
this.selected = selected; this.hasFocus = hasFocus; setText(val.toString()); setHorizontalAlignment(LEFT); setOpaque(true); setVerticalAlignment(TOP); setEnabled(true); setFont(getFont()); if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon());
if (val instanceof Icon) setIcon((Icon) val); else { setText(val.toString()); setIcon(null); this.selected = selected; this.hasFocus = hasFocus; setHorizontalAlignment(LEFT); setOpaque(true); setVerticalAlignment(TOP); setEnabled(true); super.setFont(UIManager.getLookAndFeelDefaults().getFont("Tree.font")); }
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { this.selected = selected; this.hasFocus = hasFocus; setText(val.toString()); setHorizontalAlignment(LEFT); setOpaque(true); setVerticalAlignment(TOP); setEnabled(true); setFont(getFont()); if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); if (selected) { super.setBackground(getBackgroundSelectionColor()); setForeground(getTextSelectionColor()); } else { super.setBackground((tree.getParent()).getBackground()); setForeground(getTextNonSelectionColor()); } return this; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b84de612b47edf167d1a205db1270610dfb06eb8/DefaultTreeCellRenderer.java/clean/libraries/javalib/javax/swing/tree/DefaultTreeCellRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5435, 15867, 4020, 6747, 1841, 12, 46, 2471, 2151, 16, 1033, 1244, 16, 1082, 202, 6494, 3170, 16, 1250, 8406, 16, 1250, 7839, 16, 509, 1027, 16, 1082, 202, 6494, 711, 9233, 13, 202, 95, 202, 202, 2211, 18, 8109, 273, 3170, 31, 202, 202, 2211, 18, 5332, 9233, 273, 711, 9233, 31, 202, 202, 542, 1528, 12, 1125, 18, 10492, 10663, 202, 202, 542, 14457, 11535, 12, 10066, 1769, 202, 202, 542, 3817, 14886, 12, 3767, 1769, 202, 202, 542, 15704, 11535, 12, 10462, 1769, 202, 202, 542, 1526, 12, 3767, 1769, 202, 202, 542, 5711, 12, 588, 5711, 10663, 202, 202, 430, 261, 12070, 13, 1082, 202, 542, 5554, 12, 588, 9858, 5554, 10663, 202, 202, 12107, 309, 261, 17336, 13, 1082, 202, 542, 5554, 12, 588, 3678, 5554, 10663, 202, 202, 12107, 1082, 202, 542, 5554, 12, 588, 7395, 5554, 10663, 202, 202, 430, 261, 8109, 13, 3196, 202, 95, 1082, 202, 9565, 18, 542, 8199, 12, 588, 8199, 6233, 2957, 10663, 1082, 202, 542, 23206, 12, 588, 1528, 6233, 2957, 10663, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 9565, 18, 542, 8199, 12443, 3413, 18, 588, 3054, 1435, 2934, 588, 8199, 10663, 1082, 202, 542, 23206, 12, 588, 1528, 3989, 6233, 2957, 10663, 202, 202, 97, 25083, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0,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, 2211, 18, 5332, 9233, 273, 711, 9233, 31, 202, 202, 542, 1528, 12, 1125, 18, 10492, 10663, 202, 202, 542, 14457, 11535, 12, 10066, 1769, 202, 202, 542, 3817, 14886, 12, 3767, 1769, 202, 202, 542, 15704, 11535, 12, 10462, 1769, 202, 202, 542, 1526, 12, 3767, 1769, 202, 202, 542, 5711, 12, 588, 5711, 10663, 202, 202, 430, 261, 12070, 13, 1082, 202, 542, 5554, 12, 588, 9858, 5554, 10663, 2 ]
data.doGlobal(funObj, count);
data.doGlobal(cx, funObj, count, reImpl);
private static Object matchOrReplace(Context cx, Scriptable thisObj, Object[] args, Function funObj, GlobData data, boolean forceFlat) throws JavaScriptException { NativeRegExp re; String str = ScriptRuntime.toString(thisObj); data.str = str; RegExpImpl reImpl = RegExpImpl.getRegExpImpl(cx); 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(funObj, 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(funObj, str, indexp, NativeRegExp.TEST); if (result == null || !result.equals(Boolean.TRUE)) break; data.doGlobal(funObj, count); if (reImpl.lastMatch.length == 0) { if (indexp[0] == str.length()) break; indexp[0]++; } } } else { result = re.executeRegExp(funObj, str, indexp, ((data.mode == GlobData.GLOB_REPLACE) ? NativeRegExp.TEST : NativeRegExp.MATCH)); } return result; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/8b34980fb3adc3beae5bcea5913d426dc2e366c8/RegExpImpl.java/clean/js/rhino/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, 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, 10679, 2828, 283, 2828, 273, 10679, 2828, 18, 588, 13673, 2828, 12, 71, 92, 1769, 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, 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, 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, 10679, 2828, 283, 2828, 273, 10679, 2828, 18, 588, 13673, 2828, 12, 71, 92, 1769, 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, 2 ]
buf.append( " " + this.getOntologyEntry() ); } if ( this.getMeasurement() != null ) { buf.append( " " + this.getMeasurement() ); } if ( StringUtils.isNotBlank( this.getValue() ) ) { buf.append( "Value: " + this.getValue() );
buf.append( this.getOntologyEntry() ); } else if ( this.getMeasurement() != null ) { buf.append( this.getMeasurement() ); } else if ( StringUtils.isNotBlank( this.getValue() ) ) { buf.append( "Value: '" + this.getValue() + "'" );
public java.lang.String toString() { StringBuilder buf = new StringBuilder(); buf.append( this.getClass().getSimpleName() ); if ( this.getId() != null ) { buf.append( "Id:" + this.getId() ); } if ( this.getOntologyEntry() != null ) { buf.append( " " + this.getOntologyEntry() ); } if ( this.getMeasurement() != null ) { buf.append( " " + this.getMeasurement() ); } if ( StringUtils.isNotBlank( this.getValue() ) ) { buf.append( "Value: " + this.getValue() ); } return buf.toString(); }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/720bb9a22ba6d524cdceb80fe57426924bffa8b8/FactorValueImpl.java/clean/gemma-mda/src/main/java/ubic/gemma/model/expression/experiment/FactorValueImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4936, 18, 780, 1762, 1435, 288, 3639, 3225, 1681, 273, 394, 3225, 5621, 3639, 1681, 18, 6923, 12, 333, 18, 588, 797, 7675, 588, 5784, 461, 1435, 11272, 3639, 309, 261, 333, 18, 26321, 1435, 480, 446, 262, 288, 5411, 1681, 18, 6923, 12, 315, 548, 2773, 397, 333, 18, 26321, 1435, 11272, 3639, 289, 3639, 309, 261, 333, 18, 588, 51, 19610, 1622, 1435, 480, 446, 262, 288, 5411, 1681, 18, 6923, 12, 315, 315, 397, 333, 18, 588, 51, 19610, 1622, 1435, 11272, 3639, 289, 3639, 309, 261, 333, 18, 588, 17933, 1435, 480, 446, 262, 288, 5411, 1681, 18, 6923, 12, 315, 315, 397, 333, 18, 588, 17933, 1435, 11272, 3639, 289, 3639, 309, 261, 5778, 18, 291, 1248, 7796, 12, 333, 18, 24805, 1435, 262, 262, 288, 5411, 1681, 18, 6923, 12, 315, 620, 30, 315, 397, 333, 18, 24805, 1435, 11272, 3639, 289, 3639, 327, 1681, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4936, 18, 780, 1762, 1435, 288, 3639, 3225, 1681, 273, 394, 3225, 5621, 3639, 1681, 18, 6923, 12, 333, 18, 588, 797, 7675, 588, 5784, 461, 1435, 11272, 3639, 309, 261, 333, 18, 26321, 1435, 480, 446, 262, 288, 5411, 1681, 18, 6923, 12, 315, 548, 2773, 397, 333, 18, 26321, 1435, 11272, 3639, 289, 3639, 309, 261, 333, 18, 588, 51, 19610, 1622, 1435, 480, 446, 262, 288, 5411, 1681, 18, 6923, 12, 315, 315, 397, 333, 18, 588, 51, 19610, 1622, 1435, 11272, 3639, 289, 3639, 309, 261, 333, 18, 588, 17933, 1435, 480, 446, 262, 288, 5411, 1681, 18, 6923, 12, 315, 315, 397, 333, 18, 588, 17933, 1435, 11272, 3639, 289, 2 ]
int currentErrorLevel = reparseable.getErrorsCount(newFileText, textRange.getStartOffset(), textRange.getEndOffset(), lengthShift); if(currentErrorLevel == Reparseable.NO_ERRORS){
final String newTextStr = StringFactory.createStringFromConstantArray(newFileText, textRange.getStartOffset(), textRange.getLength() + lengthShift); if(reparseable.isParsable(newTextStr)){
public void reparseRangeInternal(PsiFile file, int startOffset, int endOffset, int lengthShift, char[] newFileText){ final PsiFileImpl fileImpl = (PsiFileImpl)file; // hack final int textLength = file.getTextLength() + lengthShift; if(fileImpl.getFileType() == StdFileTypes.JSP || fileImpl.getFileType() == StdFileTypes.JSPX){ makeFullParse(fileImpl.getTreeElement(), newFileText, textLength, fileImpl, fileImpl.getFileType()); return; } final FileElement treeFileElement = fileImpl.getTreeElement(); final ASTNode leafAtStart = treeFileElement.findLeafElementAt(startOffset); final ASTNode leafAtEnd = treeFileElement.findLeafElementAt(endOffset); ASTNode parent = leafAtStart != null && leafAtEnd != null ? TreeUtil.findCommonParent(leafAtStart, leafAtEnd) : treeFileElement; int minErrorLevel = Integer.MAX_VALUE; Reparseable bestReparseable = null; Reparseable prevReparseable = null; boolean theOnlyReparseable = false; while(parent != null && !(parent instanceof FileElement)){ if(parent instanceof Reparseable){ final TextRange textRange = parent.getTextRange(); final Reparseable reparseable = (Reparseable)parent; boolean lexerChanged = false; if(prevReparseable != null){ lexerChanged = prevReparseable.getLexerClass().equals(reparseable.getLexerClass()); } int currentErrorLevel = reparseable.getErrorsCount(newFileText, textRange.getStartOffset(), textRange.getEndOffset(), lengthShift); if(currentErrorLevel == Reparseable.NO_ERRORS){ final FileElement treeElement = new DummyHolder(((TreeElement)parent).getManager(), null, treeFileElement.getCharTable()).getTreeElement(); final ChameleonElement chameleon = reparseable.createChameleon(newFileText, textRange.getStartOffset(), textRange.getEndOffset() + lengthShift); TreeUtil.addChildren(treeElement, chameleon); parent.replaceAllChildrenToChildrenOf(chameleon.transform(treeFileElement.getCharTable(), fileImpl.createLexer()).getTreeParent()); return; } else if(currentErrorLevel == Reparseable.FATAL_ERROR){ prevReparseable = reparseable; } else if(Math.abs(currentErrorLevel) < Math.abs(minErrorLevel)){ theOnlyReparseable = bestReparseable == null; bestReparseable = reparseable; minErrorLevel = currentErrorLevel; if (lexerChanged) break; } // invalid content; } parent = parent.getTreeParent(); } if(bestReparseable != null && !theOnlyReparseable){ // best reparseable available final ASTNode treeElement = ((ASTNode)bestReparseable); final TextRange textRange = treeElement.getTextRange(); final ChameleonElement chameleon = bestReparseable.createChameleon(newFileText, textRange.getStartOffset(), textRange.getEndOffset() + lengthShift); chameleon.putUserData(CharTable.CHAR_TABLE_KEY, treeFileElement.getCharTable()); chameleon.setTreeParent((CompositeElement)parent); treeElement.replaceAllChildrenToChildrenOf(chameleon.transform(treeFileElement.getCharTable(), fileImpl.createLexer()).getTreeParent()); } else{ // file reparse FileType fileType = file.getFileType(); if (file instanceof PsiPlainTextFile){ fileType = StdFileTypes.PLAIN_TEXT; } // final Grammar grammarByFileType = GrammarUtil.getGrammarByFileType(fileType); if(grammarByFileType != null){ ParsingUtil.reparse(grammarByFileType, treeFileElement.getCharTable(), treeFileElement, newFileText, startOffset, endOffset, lengthShift); } else{ makeFullParse(parent, newFileText, textLength, fileImpl, fileType); } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/7cc49f57fd75f032b80560ecde54c4a99bda9ac7/BlockSupportImpl.java/clean/source/com/intellij/psi/impl/source/text/BlockSupportImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 283, 2670, 2655, 3061, 12, 52, 7722, 812, 585, 16, 509, 18245, 16, 509, 25507, 16, 509, 769, 10544, 16, 1149, 8526, 20592, 1528, 15329, 565, 727, 453, 7722, 812, 2828, 585, 2828, 273, 261, 52, 7722, 812, 2828, 13, 768, 31, 565, 368, 11769, 565, 727, 509, 977, 1782, 273, 585, 18, 588, 1528, 1782, 1435, 397, 769, 10544, 31, 565, 309, 12, 768, 2828, 18, 588, 28941, 1435, 422, 6276, 812, 2016, 18, 46, 3118, 747, 585, 2828, 18, 588, 28941, 1435, 422, 6276, 812, 2016, 18, 46, 3118, 60, 15329, 1377, 1221, 5080, 3201, 12, 768, 2828, 18, 588, 2471, 1046, 9334, 20592, 1528, 16, 977, 1782, 16, 585, 2828, 16, 585, 2828, 18, 588, 28941, 10663, 1377, 327, 31, 565, 289, 565, 727, 1387, 1046, 2151, 812, 1046, 273, 585, 2828, 18, 588, 2471, 1046, 5621, 565, 727, 9183, 907, 7839, 861, 1685, 273, 2151, 812, 1046, 18, 4720, 9858, 1046, 861, 12, 1937, 2335, 1769, 565, 727, 9183, 907, 7839, 861, 1638, 273, 2151, 812, 1046, 18, 4720, 9858, 1046, 861, 12, 409, 2335, 1769, 565, 9183, 907, 982, 273, 7839, 861, 1685, 480, 446, 597, 7839, 861, 1638, 480, 446, 692, 4902, 1304, 18, 4720, 6517, 3054, 12, 12070, 861, 1685, 16, 7839, 861, 1638, 13, 294, 2151, 812, 1046, 31, 565, 509, 1131, 668, 2355, 273, 2144, 18, 6694, 67, 4051, 31, 565, 868, 2670, 429, 3796, 426, 2670, 429, 273, 446, 31, 565, 868, 2670, 429, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 283, 2670, 2655, 3061, 12, 52, 7722, 812, 585, 16, 509, 18245, 16, 509, 25507, 16, 509, 769, 10544, 16, 1149, 8526, 20592, 1528, 15329, 565, 727, 453, 7722, 812, 2828, 585, 2828, 273, 261, 52, 7722, 812, 2828, 13, 768, 31, 565, 368, 11769, 565, 727, 509, 977, 1782, 273, 585, 18, 588, 1528, 1782, 1435, 397, 769, 10544, 31, 565, 309, 12, 768, 2828, 18, 588, 28941, 1435, 422, 6276, 812, 2016, 18, 46, 3118, 747, 585, 2828, 18, 588, 28941, 1435, 422, 6276, 812, 2016, 18, 46, 3118, 60, 15329, 1377, 1221, 5080, 3201, 12, 768, 2828, 18, 588, 2471, 1046, 9334, 20592, 1528, 16, 977, 1782, 16, 585, 2828, 16, 585, 2828, 2 ]
List contentDescriptors = CONTENT_DESCRIPTOR_REGISTRY.getEnabledContentDescriptors(element);
Set contentDescriptors = CONTENT_DESCRIPTOR_REGISTRY.getEnabledContentDescriptors(element);
public boolean select(Viewer viewer, Object parentElement, Object element) { boolean select = true; List contentDescriptors = CONTENT_DESCRIPTOR_REGISTRY.getEnabledContentDescriptors(element); for (int extindex = 0; extindex < contentDescriptors.size() && select; extindex++) { NavigatorContentDescriptor descriptor = (NavigatorContentDescriptor) contentDescriptors.get(extindex); if (NAVIGATOR_ACTIVATION_SERVICE.isNavigatorExtensionActive(contentService.getViewerId(), descriptor.getId())) { ExtensionFilterDescriptor[] enabledFilters = ExtensionFilterRegistryManager.getInstance().getViewerRegistry(contentService.getViewerId()).getActiveDescriptors(descriptor.getId()); for (int filterindx = 0; filterindx < enabledFilters.length; filterindx++) { INavigatorExtensionFilter filter = enabledFilters[filterindx].getInstance(); /* * System.out.println("Element: " + element + " isFiltered: " + * !filter.select(getExtensionSite(), parentElement, element)); */ if (!filter.select(commonViewer, parentElement, element)) { select = false; break; } } } } return select; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/41c8442179322a9023ece61502a54f5e639a097a/CommonViewerFilter.java/clean/bundles/org.eclipse.ui.navigator/src-navigator/org/eclipse/ui/navigator/internal/filters/CommonViewerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 2027, 12, 18415, 14157, 16, 1033, 30363, 16, 1033, 930, 13, 288, 202, 202, 6494, 2027, 273, 638, 31, 202, 202, 682, 913, 12705, 273, 12577, 67, 1639, 27689, 67, 5937, 25042, 18, 588, 1526, 1350, 12705, 12, 2956, 1769, 202, 202, 1884, 261, 474, 1110, 1615, 273, 374, 31, 1110, 1615, 411, 913, 12705, 18, 1467, 1435, 597, 2027, 31, 1110, 1615, 27245, 288, 1082, 202, 22817, 1350, 3187, 4950, 273, 261, 22817, 1350, 3187, 13, 913, 12705, 18, 588, 12, 408, 1615, 1769, 1082, 202, 430, 261, 50, 5856, 3047, 3575, 67, 22271, 2689, 67, 12426, 18, 291, 22817, 3625, 3896, 12, 1745, 1179, 18, 588, 18415, 548, 9334, 4950, 18, 26321, 1435, 3719, 288, 9506, 202, 3625, 1586, 3187, 8526, 3696, 5422, 273, 10021, 1586, 4243, 1318, 18, 588, 1442, 7675, 588, 18415, 4243, 12, 1745, 1179, 18, 588, 18415, 548, 1435, 2934, 588, 3896, 12705, 12, 12628, 18, 26321, 10663, 9506, 202, 1884, 261, 474, 1034, 728, 92, 273, 374, 31, 1034, 728, 92, 411, 3696, 5422, 18, 2469, 31, 1034, 728, 92, 27245, 288, 6862, 202, 706, 13061, 3625, 1586, 1034, 273, 3696, 5422, 63, 2188, 728, 92, 8009, 588, 1442, 5621, 6862, 202, 20308, 25083, 380, 2332, 18, 659, 18, 8222, 2932, 1046, 30, 315, 397, 930, 397, 315, 353, 14478, 30, 315, 397, 25083, 380, 401, 2188, 18, 4025, 12, 588, 3625, 4956, 9334, 30363, 16, 930, 10019, 25083, 1195, 6862, 202, 430, 16051, 2188, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 2027, 12, 18415, 14157, 16, 1033, 30363, 16, 1033, 930, 13, 288, 202, 202, 6494, 2027, 273, 638, 31, 202, 202, 682, 913, 12705, 273, 12577, 67, 1639, 27689, 67, 5937, 25042, 18, 588, 1526, 1350, 12705, 12, 2956, 1769, 202, 202, 1884, 261, 474, 1110, 1615, 273, 374, 31, 1110, 1615, 411, 913, 12705, 18, 1467, 1435, 597, 2027, 31, 1110, 1615, 27245, 288, 1082, 202, 22817, 1350, 3187, 4950, 273, 261, 22817, 1350, 3187, 13, 913, 12705, 18, 588, 12, 408, 1615, 1769, 1082, 202, 430, 261, 50, 5856, 3047, 3575, 67, 22271, 2689, 67, 12426, 18, 291, 22817, 3625, 3896, 12, 1745, 1179, 18, 588, 18415, 548, 9334, 4950, 18, 26321, 1435, 2 ]
Vector result= new Vector(100);
Hashtable result= new Hashtable(100);
public Enumeration collectTests() { String classPath= System.getProperty("java.class.path"); String separator= System.getProperty("path.separator"); Vector result= new Vector(100); collectFilesInRoots(splitClassPath(classPath, separator), result); return result.elements(); }
48762 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48762/bfc94ee739d62127c7477300b26127bd560765a1/ClassPathTestCollector.java/clean/junit/runner/ClassPathTestCollector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13864, 3274, 14650, 1435, 288, 202, 202, 780, 22503, 33, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 202, 202, 780, 4182, 33, 2332, 18, 588, 1396, 2932, 803, 18, 11287, 8863, 202, 202, 5018, 563, 33, 394, 5589, 12, 6625, 1769, 202, 202, 14676, 2697, 382, 17540, 12, 4939, 22158, 12, 1106, 743, 16, 4182, 3631, 563, 1769, 202, 202, 2463, 563, 18, 6274, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13864, 3274, 14650, 1435, 288, 202, 202, 780, 22503, 33, 2332, 18, 588, 1396, 2932, 6290, 18, 1106, 18, 803, 8863, 202, 202, 780, 4182, 33, 2332, 18, 588, 1396, 2932, 803, 18, 11287, 8863, 202, 202, 5018, 563, 33, 394, 5589, 12, 6625, 1769, 202, 202, 14676, 2697, 382, 17540, 12, 4939, 22158, 12, 1106, 743, 16, 4182, 3631, 563, 1769, 202, 202, 2463, 563, 18, 6274, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_cnt570++;
_cnt66++;
public final void flworExpr() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST flworExpr_AST = null; { int _cnt570=0; _loop570: do { switch ( LA(1)) { case LITERAL_for: { forClause(); astFactory.addASTChild(currentAST, returnAST); break; } case LITERAL_let: { letClause(); astFactory.addASTChild(currentAST, returnAST); break; } default: { if ( _cnt570>=1 ) { break _loop570; } else {throw new NoViableAltException(LT(1), getFilename());} } } _cnt570++; } while (true); } { switch ( LA(1)) { case LITERAL_where: { AST tmp168_AST = null; tmp168_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp168_AST); match(LITERAL_where); expr(); astFactory.addASTChild(currentAST, returnAST); break; } case LITERAL_return: case LITERAL_order: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } { switch ( LA(1)) { case LITERAL_order: { orderByClause(); astFactory.addASTChild(currentAST, returnAST); break; } case LITERAL_return: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } AST tmp169_AST = null; tmp169_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp169_AST); match(LITERAL_return); exprSingle(); astFactory.addASTChild(currentAST, returnAST); flworExpr_AST = (AST)currentAST.root; returnAST = flworExpr_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/722cca774247887cf67fef993c71f848a05e075f/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1183, 91, 280, 4742, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 1183, 91, 280, 4742, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 25, 7301, 33, 20, 31, 202, 202, 67, 6498, 25, 7301, 30, 202, 202, 2896, 288, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 511, 18454, 67, 1884, 30, 1082, 202, 95, 9506, 202, 1884, 7044, 5621, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 511, 18454, 67, 1810, 30, 1082, 202, 95, 9506, 202, 1810, 7044, 5621, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 1886, 30, 1082, 202, 95, 9506, 202, 430, 261, 389, 13085, 25, 7301, 34, 33, 21, 262, 288, 898, 389, 6498, 25, 7301, 31, 289, 469, 288, 12849, 394, 17114, 12, 12050, 12, 21, 3631, 14632, 10663, 97, 1082, 202, 97, 1082, 202, 97, 1082, 202, 67, 13085, 25, 7301, 9904, 31, 202, 202, 97, 1323, 261, 3767, 1769, 202, 202, 97, 202, 202, 95, 202, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 6051, 30, 202, 202, 95, 1082, 202, 9053, 1853, 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, 1183, 91, 280, 4742, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 1183, 91, 280, 4742, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 25, 7301, 33, 20, 31, 202, 202, 67, 6498, 25, 7301, 30, 202, 202, 2896, 288, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 511, 18454, 67, 1884, 30, 1082, 202, 95, 9506, 202, 1884, 7044, 5621, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 2 ]
public void seek(int ms){ handleNotifierTypePlayback(Xmmsclient.xmmsc_playback_seek_ms(xbo.connectionOne, ms)); handleNotifierTypePlayback(Xmmsclient.xmmsc_playback_tickle(xbo.connectionOne)); }
public void seek(int ms) { handleNotifierTypePlayback(Xmmsclient.xmmsc_playback_seek_ms( xbo.connectionOne, ms)); handleNotifierTypePlayback(Xmmsclient .xmmsc_playback_tickle(xbo.connectionOne)); }
public void seek(int ms){ handleNotifierTypePlayback(Xmmsclient.xmmsc_playback_seek_ms(xbo.connectionOne, ms)); handleNotifierTypePlayback(Xmmsclient.xmmsc_playback_tickle(xbo.connectionOne)); }
2034 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2034/402d9111e257c0d0287af966f956df357886940a/Xmms2.java/clean/src/clients/lib/java/src/org/xmms2/Xmms2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6520, 12, 474, 4086, 15329, 202, 202, 4110, 14889, 559, 30569, 12, 60, 81, 959, 2625, 18, 92, 81, 959, 71, 67, 1601, 823, 67, 16508, 67, 959, 12, 92, 1075, 18, 4071, 3335, 16, 4086, 10019, 202, 202, 4110, 14889, 559, 30569, 12, 60, 81, 959, 2625, 18, 92, 81, 959, 71, 67, 1601, 823, 67, 6470, 298, 12, 92, 1075, 18, 4071, 3335, 10019, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6520, 12, 474, 4086, 15329, 202, 202, 4110, 14889, 559, 30569, 12, 60, 81, 959, 2625, 18, 92, 81, 959, 71, 67, 1601, 823, 67, 16508, 67, 959, 12, 92, 1075, 18, 4071, 3335, 16, 4086, 10019, 202, 202, 4110, 14889, 559, 30569, 12, 60, 81, 959, 2625, 18, 92, 81, 959, 71, 67, 1601, 823, 67, 6470, 298, 12, 92, 1075, 18, 4071, 3335, 10019, 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 ]
Rectangle area= fTextWidget.getClientArea(); e.gc.setForeground(fColor); e.gc.setLineStyle(fLineStyle); e.gc.setLineWidth(fLineWidth); e.gc.drawLine(fCachedX, 0, fCachedX, area.height);
int x= fCachedWidgetX - fTextWidget.getHorizontalPixel(); if (x >= 0) { Rectangle area= fTextWidget.getClientArea(); e.gc.setForeground(fColor); e.gc.setLineStyle(fLineStyle); e.gc.setLineWidth(fLineWidth); e.gc.drawLine(x, 0, x, area.height); }
public void paintControl(PaintEvent e) { if (fTextWidget != null) { Rectangle area= fTextWidget.getClientArea(); e.gc.setForeground(fColor); e.gc.setLineStyle(fLineStyle); e.gc.setLineWidth(fLineWidth); e.gc.drawLine(fCachedX, 0, fCachedX, area.height); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/b7ef4d3ba5800de60ad877ffd4eb1328c6d6bffc/PrintMarginPainter.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/PrintMarginPainter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12574, 3367, 12, 12699, 1133, 425, 13, 288, 202, 202, 430, 261, 74, 1528, 4609, 480, 446, 13, 288, 1082, 202, 19463, 5091, 33, 284, 1528, 4609, 18, 588, 1227, 5484, 5621, 1082, 202, 73, 18, 13241, 18, 542, 23206, 12, 74, 2957, 1769, 1082, 202, 73, 18, 13241, 18, 542, 1670, 2885, 12, 74, 1670, 2885, 1769, 1082, 202, 73, 18, 13241, 18, 542, 1670, 2384, 12, 74, 1670, 2384, 1769, 1082, 202, 73, 18, 13241, 18, 9446, 1670, 12, 74, 9839, 60, 16, 374, 16, 284, 9839, 60, 16, 5091, 18, 4210, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12574, 3367, 12, 12699, 1133, 425, 13, 288, 202, 202, 430, 261, 74, 1528, 4609, 480, 446, 13, 288, 1082, 202, 19463, 5091, 33, 284, 1528, 4609, 18, 588, 1227, 5484, 5621, 1082, 202, 73, 18, 13241, 18, 542, 23206, 12, 74, 2957, 1769, 1082, 202, 73, 18, 13241, 18, 542, 1670, 2885, 12, 74, 1670, 2885, 1769, 1082, 202, 73, 18, 13241, 18, 542, 1670, 2384, 12, 74, 1670, 2384, 1769, 1082, 202, 73, 18, 13241, 18, 9446, 1670, 12, 74, 9839, 60, 16, 374, 16, 284, 9839, 60, 16, 5091, 18, 4210, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.RawData getRawData() throws FieldNotFound { org.quickfix.field.RawData value = new org.quickfix.field.RawData();
public quickfix.field.RawData getRawData() throws FieldNotFound { quickfix.field.RawData value = new quickfix.field.RawData();
public org.quickfix.field.RawData getRawData() throws FieldNotFound { org.quickfix.field.RawData value = new org.quickfix.field.RawData(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix43/Email.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 31733, 10547, 751, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 31733, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 31733, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 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 ]
} else if(threshold == upperThreshold) { return;
} else if(threshold == upperThreshold) { return;
public void setUpperThreshold(int threshold) { getReadWriteLock().writeLock().lock(); try { // the index at the new threshold int newListIndex = 0; // Threshold change is irrelevant if(sourceSize == 0) { upperThreshold = threshold; upperThresholdIndex = -1; return; // Threshold is unchanged } else if(threshold == upperThreshold) { return; // Threshold is changed } else { newListIndex = ((SortedList)source).indexOfSimulated(new Integer(threshold+1)) - 1; } // update the threshold upperThreshold = threshold; // the index at the threshold has not changed if(newListIndex == upperThresholdIndex) { return; } // the index at the threshold has changed but no event should be thrown if((newListIndex == -1 && upperThresholdIndex == 0) || (newListIndex == 0 && upperThresholdIndex == -1) || (newListIndex == size() && upperThresholdIndex == size() - 1) || (newListIndex == size() - 1 && upperThresholdIndex == size())) { upperThresholdIndex = newListIndex; return; } // Changes are necessary so prepare an event updates.beginEvent(); // The threshold is lower if(newListIndex < upperThresholdIndex) { updates.addDelete(newListIndex + 1, upperThresholdIndex - Math.max(lowerThresholdIndex, 0)); // The threshold is higher } else if(newListIndex > upperThresholdIndex) { updates.addInsert(upperThresholdIndex - Math.max(lowerThresholdIndex, 0) + 1, newListIndex); } // Update the upperThresholdIndex and fire the event upperThresholdIndex = newListIndex; updates.commitEvent(); } finally { getReadWriteLock().writeLock().unlock(); } }
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/ad21a8542996b641c3d0e33b914fc91b8ee5f419/ThresholdList.java/clean/source/ca/odell/glazedlists/ThresholdList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5988, 7614, 12, 474, 5573, 13, 288, 3639, 19900, 3067, 2531, 7675, 2626, 2531, 7675, 739, 5621, 3639, 775, 288, 5411, 368, 326, 770, 622, 326, 394, 5573, 5411, 509, 23605, 1016, 273, 374, 31, 5411, 368, 27139, 2549, 353, 9482, 27719, 5411, 309, 12, 3168, 1225, 422, 374, 13, 288, 7734, 3854, 7614, 273, 5573, 31, 7734, 3854, 7614, 1016, 273, 300, 21, 31, 7734, 327, 31, 5411, 368, 27139, 353, 14827, 5411, 289, 469, 309, 12, 8699, 422, 3854, 7614, 13, 288, 7734, 327, 31, 5411, 368, 27139, 353, 3550, 5411, 289, 469, 288, 7734, 23605, 1016, 273, 14015, 11739, 682, 13, 3168, 2934, 31806, 7993, 11799, 12, 2704, 2144, 12, 8699, 15, 21, 3719, 300, 404, 31, 5411, 289, 5411, 368, 1089, 326, 5573, 5411, 3854, 7614, 273, 5573, 31, 5411, 368, 326, 770, 622, 326, 5573, 711, 486, 3550, 5411, 309, 12, 2704, 682, 1016, 422, 3854, 7614, 1016, 13, 288, 7734, 327, 31, 5411, 289, 5411, 368, 326, 770, 622, 326, 5573, 711, 3550, 1496, 1158, 871, 1410, 506, 6718, 5411, 309, 12443, 2704, 682, 1016, 422, 300, 21, 597, 3854, 7614, 1016, 422, 374, 13, 747, 7734, 261, 2704, 682, 1016, 422, 374, 597, 3854, 7614, 1016, 422, 300, 21, 13, 747, 7734, 261, 2704, 682, 1016, 422, 963, 1435, 597, 3854, 7614, 1016, 422, 963, 1435, 300, 404, 13, 747, 7734, 261, 2704, 682, 1016, 422, 963, 1435, 300, 404, 597, 3854, 7614, 1016, 422, 963, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5988, 7614, 12, 474, 5573, 13, 288, 3639, 19900, 3067, 2531, 7675, 2626, 2531, 7675, 739, 5621, 3639, 775, 288, 5411, 368, 326, 770, 622, 326, 394, 5573, 5411, 509, 23605, 1016, 273, 374, 31, 5411, 368, 27139, 2549, 353, 9482, 27719, 5411, 309, 12, 3168, 1225, 422, 374, 13, 288, 7734, 3854, 7614, 273, 5573, 31, 7734, 3854, 7614, 1016, 273, 300, 21, 31, 7734, 327, 31, 5411, 368, 27139, 353, 14827, 5411, 289, 469, 309, 12, 8699, 422, 3854, 7614, 13, 288, 7734, 327, 31, 5411, 368, 27139, 353, 3550, 5411, 289, 469, 288, 7734, 23605, 1016, 273, 14015, 11739, 682, 13, 3168, 2934, 31806, 7993, 11799, 12, 2704, 2144, 12, 8699, 15, 2 ]
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);
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() + "." + functionName + "(" + scriptSignature(args) + ")"; throw Context.reportRuntimeError1("msg.java.no_such_method", sig); } // 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 Wrapper)) { o = o.getPrototype(); if (o == null) { throw Context.reportRuntimeError1( "msg.nonjava.method", functionName); } } javaObject = ((Wrapper) o).unwrap(); } retry: for (int attempt=0; ; attempt++) { 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) { if (Modifier.isPublic(meth.getModifiers()) && attempt == 0) { /** * Due to a bug in Suns VM, public methods in private * classes are not accessible by default (Sun Bug #4071593). * We have to explicitly set the method accessible * via meth.setAccessible(true) but we have to use * reflection because the setAccessible() in Method is * not available under jdk 1.1. We wait until a failure * to retry to avoid the overhead of this call on cases * that don't require it. */ if (method_setAccessible != null) { Object[] args_wrapper = { Boolean.TRUE }; try { method_setAccessible.invoke(meth, args_wrapper); } catch (IllegalAccessException ex) { } catch (IllegalArgumentException ex) { } catch (InvocationTargetException ex) { } } continue retry; } throw Context.reportRuntimeError( "While attempting to call \"" + meth.getName() + "\" in class \"" + meth.getDeclaringClass().getName() + "\" receieved " + accessEx.toString()); } catch (InvocationTargetException e) { throw JavaScriptException.wrapException(scope, e); } } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/89980f6098186df87434167d15fb96356951d3f6/NativeJavaMethod.java/buggy/src/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, 14117, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 31, 5411, 604, 1772, 18, 6006, 5576, 668, 21, 2932, 3576, 18, 6290, 18, 2135, 67, 87, 2648, 67, 2039, 3113, 3553, 1769, 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, 2252, 921, 31, 3639, 309, 261, 9829, 18, 291, 5788, 12, 27305, 18, 588, 11948, 1435, 3719, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 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, 14117, 397, 12452, 397, 7682, 2728, 5374, 12, 1968, 13, 397, 7310, 31, 5411, 604, 2 ]
connector.synchronizeChanged(repository, new SubProgressMonitor(monitor, 1));
monitor.worked(1);
public IStatus run(IProgressMonitor monitor) { if (TaskListView.getFromActivePerspective() != null) { try { //MylarStatusHandler.log("ScheduledTaskListSyncJob Time: "+(new Date()).toString(), this); taskList = taskListManager.getTaskList(); List<TaskRepository>repositories = MylarTaskListPlugin.getRepositoryManager().getAllRepositories(); if(monitor != null) { monitor.beginTask("Repository Synchronization", repositories.size()); } for (TaskRepository repository : repositories) { AbstractRepositoryConnector connector = MylarTaskListPlugin.getRepositoryManager().getRepositoryConnector(repository.getKind()); if(connector == null) { if(monitor != null) { monitor.worked(1); } continue; } Set<AbstractRepositoryQuery> queries = Collections.unmodifiableSet(taskList.getRepositoryQueries(repository.getUrl())); if(queries.size() > 0) { if(connector != null) { connector.synchronize(queries, null, Job.DECORATE, 0, false); } } //Set<AbstractRepositoryTask> tasks = Collections.unmodifiableSet(taskList.getRepositoryTasks(repository.getUrl())); connector.synchronizeChanged(repository, new SubProgressMonitor(monitor, 1)); } } finally { count++; if (count == Long.MAX_VALUE) count = 0; if (scheduleDelay != -1) { schedule(scheduleDelay); } if(monitor != null) { monitor.done(); } } } return Status.OK_STATUS; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1e68e51b0aaf08b6aac49f3da6bda5ddc01eeb08/ScheduledTaskListSynchJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ScheduledTaskListSynchJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 430, 261, 2174, 682, 1767, 18, 588, 1265, 3896, 14781, 16772, 1435, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 759, 12062, 7901, 1482, 1503, 18, 1330, 2932, 10660, 2174, 682, 4047, 2278, 2647, 30, 13773, 12, 2704, 2167, 1435, 2934, 10492, 9334, 333, 1769, 9506, 202, 4146, 682, 273, 1562, 682, 1318, 18, 588, 2174, 682, 5621, 9506, 202, 682, 32, 2174, 3305, 34, 26626, 225, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1595, 18429, 5621, 9506, 202, 430, 12, 10259, 480, 446, 13, 288, 6862, 202, 10259, 18, 10086, 2174, 2932, 3305, 26535, 1588, 3113, 14531, 18, 1467, 10663, 9506, 202, 97, 9506, 202, 1884, 261, 2174, 3305, 3352, 294, 14531, 13, 288, 6862, 25083, 202, 7469, 3305, 7487, 8703, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 7487, 12, 9071, 18, 588, 5677, 10663, 6862, 202, 430, 12, 23159, 422, 446, 13, 288, 25083, 202, 430, 12, 10259, 480, 446, 13, 288, 6862, 1082, 202, 10259, 18, 1252, 329, 12, 21, 1769, 25083, 202, 97, 25083, 202, 17143, 31, 6862, 202, 97, 6862, 25083, 202, 694, 32, 7469, 3305, 1138, 34, 6218, 273, 5737, 18, 318, 13388, 694, 12, 4146, 682, 18, 588, 3305, 9592, 12, 9071, 18, 588, 1489, 1435, 10019, 6862, 202, 430, 12, 13748, 18, 1467, 1435, 405, 374, 13, 288, 25083, 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, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 430, 261, 2174, 682, 1767, 18, 588, 1265, 3896, 14781, 16772, 1435, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 759, 12062, 7901, 1482, 1503, 18, 1330, 2932, 10660, 2174, 682, 4047, 2278, 2647, 30, 13773, 12, 2704, 2167, 1435, 2934, 10492, 9334, 333, 1769, 9506, 202, 4146, 682, 273, 1562, 682, 1318, 18, 588, 2174, 682, 5621, 9506, 202, 682, 32, 2174, 3305, 34, 26626, 225, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 1595, 18429, 5621, 9506, 202, 430, 12, 10259, 480, 446, 13, 288, 6862, 202, 10259, 18, 10086, 2174, 2932, 3305, 26535, 1588, 3113, 2 ]
System.out.println("state: "+model.getState());
public void setHierarchyRoot(int rootLevel, long rootID) { int oldLevel = model.getRootLevel(); model.setHierarchyRoot(rootLevel, rootID); System.out.println("state: "+model.getState()); if (model.getState() == READY) firePropertyChange(HIERARCHY_ROOT_PROPERTY, new Integer(oldLevel), new Integer(rootLevel)); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/9794ffbd035a4de717ee211573b4844dd0eb3371/TreeViewerComponent.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/view/TreeViewerComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 12074, 2375, 12, 474, 1365, 2355, 16, 1525, 1365, 734, 13, 565, 288, 3639, 509, 1592, 2355, 273, 938, 18, 588, 2375, 2355, 5621, 3639, 938, 18, 542, 12074, 2375, 12, 3085, 2355, 16, 1365, 734, 1769, 9079, 309, 261, 2284, 18, 588, 1119, 1435, 422, 10746, 61, 13, 5411, 4452, 1396, 3043, 12, 29994, 654, 10586, 61, 67, 9185, 67, 9900, 16, 394, 2144, 12, 1673, 2355, 3631, 27573, 394, 2144, 12, 3085, 2355, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 12074, 2375, 12, 474, 1365, 2355, 16, 1525, 1365, 734, 13, 565, 288, 3639, 509, 1592, 2355, 273, 938, 18, 588, 2375, 2355, 5621, 3639, 938, 18, 542, 12074, 2375, 12, 3085, 2355, 16, 1365, 734, 1769, 9079, 309, 261, 2284, 18, 588, 1119, 1435, 422, 10746, 61, 13, 5411, 4452, 1396, 3043, 12, 29994, 654, 10586, 61, 67, 9185, 67, 9900, 16, 394, 2144, 12, 1673, 2355, 3631, 27573, 394, 2144, 12, 3085, 2355, 10019, 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 ]
FeedCacheEntry entry = (FeedCacheEntry) cache.getItem (cacheKey); lastSeen = entry.getTimestamp();
FeedCacheEntry entry = cache.getItemByURL (feedURL);
private void setIfModifiedSinceHeader (URLConnection conn, FeedInfo feedInfo) { long lastSeen = 0; boolean hasChanged = false; String cacheKey = feedInfo.getCacheKey(); URL feedURL = feedInfo.getURL(); if ((cache != null) && (cache.contains (cacheKey))) { FeedCacheEntry entry = (FeedCacheEntry) cache.getItem (cacheKey); lastSeen = entry.getTimestamp(); if (lastSeen > 0) { if (log.isDebugEnabled()) { log.debug ("Setting If-Modified-Since header for feed \"" + feedURL.toString() + "\" to: " + String.valueOf (lastSeen) + " (" + new Date (lastSeen).toString() + ")"); } conn.setIfModifiedSince (lastSeen); } } }
71 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/71/d90b2000d9c25ef9fb64d9431407263fb275ddcd/FeedDownloadThread.java/clean/src/org/clapper/curn/FeedDownloadThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 2047, 29943, 1864, 261, 14790, 1487, 16, 4766, 6647, 14013, 966, 1377, 4746, 966, 13, 565, 288, 3639, 1525, 377, 1142, 15160, 273, 374, 31, 3639, 1250, 225, 711, 5033, 273, 629, 31, 3639, 514, 282, 9097, 273, 4746, 966, 18, 588, 15554, 5621, 3639, 1976, 1377, 4746, 1785, 273, 4746, 966, 18, 588, 1785, 5621, 3639, 309, 14015, 2493, 480, 446, 13, 597, 261, 2493, 18, 12298, 261, 2493, 653, 20349, 3639, 288, 5411, 14013, 27630, 1241, 273, 261, 8141, 27630, 13, 1247, 18, 588, 1180, 261, 2493, 653, 1769, 5411, 1142, 15160, 273, 1241, 18, 588, 4921, 5621, 5411, 309, 261, 2722, 15160, 405, 374, 13, 5411, 288, 7734, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 7734, 288, 10792, 613, 18, 4148, 7566, 5568, 971, 17, 4575, 17, 9673, 1446, 364, 4746, 11843, 11794, 397, 4746, 1785, 18, 10492, 1435, 11794, 397, 7023, 358, 30, 315, 11794, 397, 514, 18, 1132, 951, 261, 2722, 15160, 13, 11794, 397, 315, 7566, 11794, 397, 394, 2167, 261, 2722, 15160, 2934, 10492, 1435, 11794, 397, 7310, 1769, 7734, 289, 7734, 1487, 18, 542, 2047, 29943, 261, 2722, 15160, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 444, 2047, 29943, 1864, 261, 14790, 1487, 16, 4766, 6647, 14013, 966, 1377, 4746, 966, 13, 565, 288, 3639, 1525, 377, 1142, 15160, 273, 374, 31, 3639, 1250, 225, 711, 5033, 273, 629, 31, 3639, 514, 282, 9097, 273, 4746, 966, 18, 588, 15554, 5621, 3639, 1976, 1377, 4746, 1785, 273, 4746, 966, 18, 588, 1785, 5621, 3639, 309, 14015, 2493, 480, 446, 13, 597, 261, 2493, 18, 12298, 261, 2493, 653, 20349, 3639, 288, 5411, 14013, 27630, 1241, 273, 261, 8141, 27630, 13, 1247, 18, 588, 1180, 261, 2493, 653, 1769, 5411, 1142, 15160, 273, 1241, 18, 588, 4921, 5621, 5411, 309, 261, 2722, 15160, 405, 374, 13, 5411, 288, 7734, 309, 261, 1330, 18, 2 ]
public ContentCollectionEdit addCollection(String id) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException;
public ContentCollection addCollection(String id, ResourceProperties properties) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException;
public ContentCollectionEdit addCollection(String id) throws IdUsedException, IdInvalidException, PermissionException, InconsistentException;
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/a1ac99f1467ad061254324c0fba2ff51e66fa170/ContentHostingService.java/buggy/content/content-api/api/src/java/org/sakaiproject/content/api/ContentHostingService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3697, 2532, 4666, 527, 2532, 12, 780, 612, 13, 1216, 3124, 6668, 503, 16, 3124, 1941, 503, 16, 8509, 503, 16, 1082, 202, 382, 16952, 503, 31, 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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (decorationReady || oldText == null || settings.getText().length() == 0) {
if (decorationReady || oldText == null || settings.getText().length() == 0) {
public void updateLabel(ViewerLabel settings, Object element) { ILabelDecorator currentDecorator = getLabelDecorator(); String oldText = settings.getText(); boolean decorationReady = true; if (currentDecorator instanceof IDelayedLabelDecorator) { IDelayedLabelDecorator delayedDecorator = (IDelayedLabelDecorator) currentDecorator; if (!delayedDecorator.prepareDecoration(element, oldText)) { // The decoration is not ready but has been queued for processing decorationReady = false; } } // update icon and label if (decorationReady || oldText == null || settings.getText().length() == 0) { settings.setText(getText(element)); } Image oldImage = settings.getImage(); if (decorationReady || oldImage == null) { settings.setImage(getImage(element)); } if(decorationReady) { updateForDecorationReady(settings,element); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5bcafc0252d4c47fe30b3060d164b8946160c9e2/DecoratingLabelProvider.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecoratingLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 2224, 12, 18415, 2224, 1947, 16, 1033, 930, 13, 288, 3639, 467, 2224, 10361, 783, 10361, 273, 11237, 10361, 5621, 3639, 514, 1592, 1528, 273, 1947, 18, 588, 1528, 5621, 3639, 1250, 29217, 8367, 273, 638, 31, 3639, 309, 261, 2972, 10361, 1276, 1599, 292, 528, 329, 2224, 10361, 13, 288, 5411, 1599, 292, 528, 329, 2224, 10361, 15278, 10361, 273, 261, 734, 292, 528, 329, 2224, 10361, 13, 783, 10361, 31, 5411, 309, 16051, 10790, 329, 10361, 18, 9366, 7859, 367, 12, 2956, 16, 1592, 1528, 3719, 288, 7734, 368, 1021, 29217, 353, 486, 5695, 1496, 711, 2118, 12234, 364, 4929, 7734, 29217, 8367, 273, 629, 31, 5411, 289, 3639, 289, 3639, 368, 1089, 4126, 471, 1433, 3639, 309, 261, 11880, 367, 8367, 747, 1592, 1528, 422, 446, 7734, 747, 1947, 18, 588, 1528, 7675, 2469, 1435, 422, 374, 13, 288, 1082, 202, 4272, 18, 542, 1528, 12, 588, 1528, 12, 2956, 10019, 202, 202, 97, 3639, 3421, 1592, 2040, 273, 1947, 18, 588, 2040, 5621, 3639, 309, 261, 11880, 367, 8367, 747, 1592, 2040, 422, 446, 13, 288, 5411, 1947, 18, 542, 2040, 12, 588, 2040, 12, 2956, 10019, 3639, 289, 540, 309, 12, 11880, 367, 8367, 13, 288, 1082, 202, 2725, 1290, 7859, 367, 8367, 12, 4272, 16, 2956, 1769, 202, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 2224, 12, 18415, 2224, 1947, 16, 1033, 930, 13, 288, 3639, 467, 2224, 10361, 783, 10361, 273, 11237, 10361, 5621, 3639, 514, 1592, 1528, 273, 1947, 18, 588, 1528, 5621, 3639, 1250, 29217, 8367, 273, 638, 31, 3639, 309, 261, 2972, 10361, 1276, 1599, 292, 528, 329, 2224, 10361, 13, 288, 5411, 1599, 292, 528, 329, 2224, 10361, 15278, 10361, 273, 261, 734, 292, 528, 329, 2224, 10361, 13, 783, 10361, 31, 5411, 309, 16051, 10790, 329, 10361, 18, 9366, 7859, 367, 12, 2956, 16, 1592, 1528, 3719, 288, 7734, 368, 1021, 29217, 353, 486, 5695, 1496, 711, 2118, 12234, 364, 4929, 7734, 29217, 8367, 273, 629, 31, 5411, 289, 3639, 289, 3639, 368, 1089, 2 ]
setRowColumn(row, column + 1, true);
setRowColumn(row, Math.min(table.getColumnCount() - 1, column + 1), true);
void keyDown(Event event) { switch (event.character) { case SWT.CR : notifyListeners(SWT.DefaultSelection, new Event()); return; } switch (event.keyCode) { case SWT.ARROW_UP : setRowColumn(row - 1, column, true); break; case SWT.ARROW_DOWN : setRowColumn(row + 1, column, true); break; case SWT.ARROW_LEFT : case SWT.ARROW_RIGHT : { int leadKey = (getStyle() & SWT.RIGHT_TO_LEFT) != 0 ? SWT.ARROW_RIGHT : SWT.ARROW_LEFT; if (event.keyCode == leadKey) { setRowColumn(row, column - 1, true); } else { setRowColumn(row, column + 1, true); } break; } case SWT.HOME : setRowColumn(0, column, true); break; case SWT.END : { int i = table.getItemCount() - 1; setRowColumn(i, column, true); break; } case SWT.PAGE_UP : { int index = table.getTopIndex(); if (index == row) { Rectangle rect = table.getClientArea(); TableItem item = table.getItem(index); Rectangle itemRect = item.getBounds(0); rect.height -= itemRect.y; int height = table.getItemHeight(); int page = Math.max(1, rect.height / height); index = Math.max(0, index - page + 1); } setRowColumn(index, column, true); break; } case SWT.PAGE_DOWN : { int index = table.getTopIndex(); Rectangle rect = table.getClientArea(); TableItem item = table.getItem(index); Rectangle itemRect = item.getBounds(0); rect.height -= itemRect.y; int height = table.getItemHeight(); int page = Math.max(1, rect.height / height); int end = table.getItemCount() - 1; index = Math.min(end, index + page - 1); if (index == row) { index = Math.min(end, index + page - 1); } setRowColumn(index, column, true); break; } }}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/1858f5fc3e7b84156bcd8bb517bf8b12f702a323/TableCursor.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 498, 4164, 12, 1133, 871, 13, 288, 202, 9610, 261, 2575, 18, 11560, 13, 288, 202, 202, 3593, 348, 8588, 18, 5093, 294, 1082, 202, 12336, 5583, 12, 55, 8588, 18, 1868, 6233, 16, 394, 2587, 10663, 1082, 202, 2463, 31, 202, 97, 202, 9610, 261, 2575, 18, 856, 1085, 13, 288, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 3079, 294, 1082, 202, 542, 1999, 1494, 12, 492, 300, 404, 16, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 12711, 294, 1082, 202, 542, 1999, 1494, 12, 492, 397, 404, 16, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 3639, 648, 348, 8588, 18, 985, 11226, 67, 10066, 294, 3639, 648, 348, 8588, 18, 985, 11226, 67, 11847, 294, 540, 202, 95, 9506, 3639, 509, 5871, 653, 273, 261, 588, 2885, 1435, 473, 348, 8588, 18, 11847, 67, 4296, 67, 10066, 13, 480, 374, 692, 348, 8588, 18, 985, 11226, 67, 11847, 294, 348, 8588, 18, 985, 11226, 67, 10066, 31, 1082, 3639, 309, 261, 2575, 18, 856, 1085, 422, 5871, 653, 13, 288, 1082, 6647, 444, 1999, 1494, 12, 492, 16, 1057, 300, 404, 16, 638, 1769, 1082, 3639, 289, 469, 288, 1082, 6647, 444, 1999, 1494, 12, 492, 16, 1057, 397, 404, 16, 638, 1769, 1082, 3639, 289, 1082, 3639, 898, 31, 540, 202, 97, 202, 202, 3593, 348, 8588, 18, 14209, 294, 1082, 202, 542, 1999, 1494, 12, 20, 16, 1057, 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, 918, 498, 4164, 12, 1133, 871, 13, 288, 202, 9610, 261, 2575, 18, 11560, 13, 288, 202, 202, 3593, 348, 8588, 18, 5093, 294, 1082, 202, 12336, 5583, 12, 55, 8588, 18, 1868, 6233, 16, 394, 2587, 10663, 1082, 202, 2463, 31, 202, 97, 202, 9610, 261, 2575, 18, 856, 1085, 13, 288, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 3079, 294, 1082, 202, 542, 1999, 1494, 12, 492, 300, 404, 16, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 12711, 294, 1082, 202, 542, 1999, 1494, 12, 492, 397, 404, 16, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 3639, 648, 348, 8588, 18, 985, 11226, 67, 2 ]
+ getChild( (left == null? 0 : 1) ).literal()
+ jjtGetChild( (left == null? 0 : 1) ).literal()
public boolean evaluate( InternalContextAdapter context) throws MethodInvocationException { Object left = getChild(0).value( context ); Object right = getChild(1).value( context ); /* * null check */ if ( left == null || right == null) { log.error((left == null ? "Left" : "Right") + " side (" + getChild( (left == null? 0 : 1) ).literal() + ") of '!=' operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; } /* * convert to Number if applicable */ if (left instanceof TemplateNumber) { left = ( (TemplateNumber) left).getAsNumber(); } if (right instanceof TemplateNumber) { right = ( (TemplateNumber) right).getAsNumber(); } /* * If comparing Numbers we do not care about the Class. */ if (left instanceof Number && right instanceof Number) { return MathUtils.compare ( (Number)left,(Number)right) != 0; } /** * assume that if one class is a subclass of the other * that we should use the equals operator */ if (left.getClass().isAssignableFrom(right.getClass()) || right.getClass().isAssignableFrom(left.getClass()) ) { return !left.equals( right ); } else { /** * Compare the String representations */ if ((left.toString() == null) || (right.toString() == null)) { log.error((left.toString() == null ? "Left" : "Right") + " string side " + "String representation (" + getChild( (left == null? 0 : 1) ).literal() + ") of '!=' operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; } else { return !left.toString().equals(right.toString()); } } }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/ffd2ff2dfe7b66ecdf6202dbd2a01a645f853822/ASTNENode.java/clean/src/java/org/apache/velocity/runtime/parser/node/ASTNENode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 5956, 12, 225, 3186, 1042, 4216, 819, 13, 3639, 1216, 2985, 9267, 503, 565, 288, 3639, 1033, 2002, 273, 8154, 12, 20, 2934, 1132, 12, 819, 11272, 3639, 1033, 2145, 273, 8154, 12, 21, 2934, 1132, 12, 819, 11272, 3639, 1748, 540, 380, 225, 446, 866, 540, 1195, 3639, 309, 261, 2002, 422, 446, 747, 2145, 422, 446, 13, 3639, 288, 5411, 613, 18, 1636, 12443, 4482, 422, 446, 692, 315, 3910, 6, 294, 315, 4726, 7923, 21821, 397, 315, 4889, 7566, 21821, 397, 10684, 88, 967, 1763, 12, 261, 4482, 422, 446, 35, 374, 294, 404, 13, 262, 18, 13107, 1435, 21821, 397, 9369, 434, 30311, 1674, 711, 446, 460, 1199, 21821, 397, 315, 4189, 486, 3323, 18, 315, 21821, 397, 819, 18, 588, 3935, 28917, 1435, 397, 315, 306, 1369, 315, 397, 9851, 1435, 18701, 397, 3104, 1057, 315, 397, 6716, 1435, 397, 9870, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 1748, 540, 380, 225, 1765, 358, 3588, 309, 12008, 540, 1195, 3639, 309, 261, 4482, 1276, 5035, 1854, 13, 540, 288, 6647, 2002, 273, 261, 261, 2283, 1854, 13, 2002, 2934, 588, 1463, 1854, 5621, 3639, 289, 3639, 309, 261, 4083, 1276, 5035, 1854, 13, 540, 288, 6647, 2145, 273, 261, 261, 2283, 1854, 13, 2145, 2934, 588, 1463, 1854, 5621, 3639, 289, 4202, 1748, 3639, 380, 971, 17553, 6805, 2210, 732, 741, 486, 7671, 2973, 326, 1659, 18, 3639, 1195, 4202, 309, 261, 4482, 1276, 3588, 597, 2145, 1276, 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, 1250, 5956, 12, 225, 3186, 1042, 4216, 819, 13, 3639, 1216, 2985, 9267, 503, 565, 288, 3639, 1033, 2002, 273, 8154, 12, 20, 2934, 1132, 12, 819, 11272, 3639, 1033, 2145, 273, 8154, 12, 21, 2934, 1132, 12, 819, 11272, 3639, 1748, 540, 380, 225, 446, 866, 540, 1195, 3639, 309, 261, 2002, 422, 446, 747, 2145, 422, 446, 13, 3639, 288, 5411, 613, 18, 1636, 12443, 4482, 422, 446, 692, 315, 3910, 6, 294, 315, 4726, 7923, 21821, 397, 315, 4889, 7566, 21821, 397, 10684, 88, 967, 1763, 12, 261, 4482, 422, 446, 35, 374, 294, 404, 13, 262, 18, 13107, 1435, 21821, 397, 9369, 434, 30311, 1674, 711, 446, 460, 1199, 21821, 397, 315, 4189, 2 ]
type = (String) hash.get("content_type_out");
type = (String) hash.get("result_type");
public ArrayList getSchemaStylesheets(String schema) throws DCMException { Vector hcSchemas; ArrayList stls = new ArrayList(); try { DbModuleIF dbM = GDEMServices.getDbModule(); ConversionService cs = new ConversionService(); Vector stylesheets = cs.listConversions(schema); for (int i = 0; i < stylesheets.size(); i++) { Hashtable hash = (Hashtable) stylesheets.get(i); String convert_id = (String) hash.get("convert_id"); String xsl = (String) hash.get("xsl"); String type; String description = (String) hash.get("description"); String last_modified = ""; boolean ddConv = false; String xslUrl; if (!xsl.startsWith(Properties.gdemURL + "/do/getStylesheet?id=")) { xslUrl = Properties.gdemURL + "/" + Names.XSL_FOLDER + (String) hash.get("xsl"); type = (String) hash.get("result_type"); } else { xslUrl = (String) hash.get("xsl"); ddConv = true; type = (String) hash.get("content_type_out"); } Stylesheet stl = new Stylesheet(); // st.setConvId(1); stl.setType(type); stl.setXsl(xslUrl); stl.setXsl_descr((String) hash.get("description")); stl.setConvId((String) hash.get("convert_id")); stl.setDdConv(ddConv); stls.add(stl); } } catch (Exception e) { _logger.error("Error getting schema stylesheets",e); throw new DCMException(BusinessConstants.EXCEPTION_GENERAL); } return stls; }
6392 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6392/0efd4e8260584ba0f80e345018e90f278fe86007/SchemaManager.java/buggy/src/eionet/gdem/dcm/business/SchemaManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2407, 11088, 9725, 10245, 12, 780, 1963, 13, 1216, 463, 9611, 503, 288, 202, 202, 5018, 11684, 16749, 31, 202, 202, 19558, 384, 3251, 273, 394, 2407, 5621, 202, 202, 698, 288, 1082, 202, 4331, 3120, 5501, 1319, 49, 273, 611, 1639, 49, 5676, 18, 588, 4331, 3120, 5621, 1082, 202, 6814, 1179, 2873, 273, 394, 16401, 1179, 5621, 1082, 202, 5018, 30163, 273, 2873, 18, 1098, 29287, 12, 4821, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 30163, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 5582, 14544, 1651, 273, 261, 5582, 14544, 13, 30163, 18, 588, 12, 77, 1769, 9506, 202, 780, 1765, 67, 350, 273, 261, 780, 13, 1651, 18, 588, 2932, 6283, 67, 350, 8863, 9506, 202, 780, 20791, 273, 261, 780, 13, 1651, 18, 588, 2932, 30903, 8863, 9506, 202, 780, 618, 31, 9506, 202, 780, 2477, 273, 261, 780, 13, 1651, 18, 588, 2932, 3384, 8863, 9506, 202, 780, 1142, 67, 7342, 273, 1408, 31, 9506, 202, 6494, 6957, 17467, 273, 629, 31, 9506, 202, 780, 20791, 1489, 31, 9506, 202, 430, 16051, 30903, 18, 17514, 1190, 12, 2297, 18, 75, 19117, 1785, 397, 2206, 2896, 19, 588, 24656, 35, 350, 1546, 3719, 288, 6862, 202, 30903, 1489, 273, 6183, 18, 75, 19117, 1785, 397, 4016, 397, 5276, 18, 60, 4559, 67, 17357, 397, 261, 780, 13, 1651, 18, 588, 2932, 30903, 8863, 6862, 202, 723, 273, 261, 780, 13, 1651, 18, 588, 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, 482, 2407, 11088, 9725, 10245, 12, 780, 1963, 13, 1216, 463, 9611, 503, 288, 202, 202, 5018, 11684, 16749, 31, 202, 202, 19558, 384, 3251, 273, 394, 2407, 5621, 202, 202, 698, 288, 1082, 202, 4331, 3120, 5501, 1319, 49, 273, 611, 1639, 49, 5676, 18, 588, 4331, 3120, 5621, 1082, 202, 6814, 1179, 2873, 273, 394, 16401, 1179, 5621, 1082, 202, 5018, 30163, 273, 2873, 18, 1098, 29287, 12, 4821, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 30163, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 5582, 14544, 1651, 273, 261, 5582, 14544, 13, 30163, 18, 588, 12, 77, 1769, 9506, 202, 780, 1765, 67, 350, 273, 261, 780, 13, 1651, 2 ]
String status; if(isRoutable()) status = "CONNECTED"; else if (isConnected()) status = "INCOMPATIBLE"; else status = "DISCONNECTED"; return status + " " + getPeer()+" "+myName+" "+currentLocation.getValue()+" "+getVersion()+" backoff: "+routingBackoffLength+" ("+(Math.max(routingBackedOffUntil - System.currentTimeMillis(),0))+")";
return getPeerNodeStatusString() + " " + getPeer()+" "+myName+" "+currentLocation.getValue()+" "+getVersion()+" backoff: "+getRoutingBackoffLength()+" ("+(Math.max(getRoutingBackedOffUntil() - System.currentTimeMillis(),0))+")";
public String getStatus() { String status; if(isRoutable()) status = "CONNECTED"; else if (isConnected()) status = "INCOMPATIBLE"; else status = "DISCONNECTED"; return status + " " + getPeer()+" "+myName+" "+currentLocation.getValue()+" "+getVersion()+" backoff: "+routingBackoffLength+" ("+(Math.max(routingBackedOffUntil - System.currentTimeMillis(),0))+")"; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/7575bc3fb32360236cef62f655076b5de182f7d4/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 5870, 1435, 288, 377, 202, 780, 1267, 31, 377, 202, 430, 12, 291, 4583, 429, 10756, 377, 202, 202, 2327, 273, 315, 29011, 14432, 377, 202, 12107, 309, 261, 291, 8932, 10756, 377, 202, 202, 2327, 273, 315, 706, 28249, 13450, 900, 14432, 377, 202, 12107, 377, 202, 202, 2327, 273, 315, 13498, 29011, 14432, 3639, 327, 1850, 202, 2327, 397, 315, 315, 397, 29875, 1435, 9078, 13773, 4811, 461, 9078, 13773, 2972, 2735, 18, 24805, 1435, 9078, 13773, 588, 1444, 1435, 9078, 12260, 30, 13773, 16529, 16757, 1782, 9078, 7566, 15, 12, 10477, 18, 1896, 12, 16529, 2711, 329, 7210, 9716, 300, 2332, 18, 2972, 28512, 9334, 20, 3719, 9078, 2225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 5870, 1435, 288, 377, 202, 780, 1267, 31, 377, 202, 430, 12, 291, 4583, 429, 10756, 377, 202, 202, 2327, 273, 315, 29011, 14432, 377, 202, 12107, 309, 261, 291, 8932, 10756, 377, 202, 202, 2327, 273, 315, 706, 28249, 13450, 900, 14432, 377, 202, 12107, 377, 202, 202, 2327, 273, 315, 13498, 29011, 14432, 3639, 327, 1850, 202, 2327, 397, 315, 315, 397, 29875, 1435, 9078, 13773, 4811, 461, 9078, 13773, 2972, 2735, 18, 24805, 1435, 9078, 13773, 588, 1444, 1435, 9078, 12260, 30, 13773, 16529, 16757, 1782, 9078, 7566, 15, 12, 10477, 18, 1896, 12, 16529, 2711, 329, 7210, 9716, 300, 2332, 18, 2972, 28512, 9334, 20, 3719, 9078, 2225, 31, 565, 289, 2, -100 ]