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
public org.quickfix.field.CorporateAction getCorporateAction() throws FieldNotFound { org.quickfix.field.CorporateAction value = new org.quickfix.field.CorporateAction();
public quickfix.field.CorporateAction getCorporateAction() throws FieldNotFound { quickfix.field.CorporateAction value = new quickfix.field.CorporateAction();
public org.quickfix.field.CorporateAction getCorporateAction() throws FieldNotFound { org.quickfix.field.CorporateAction value = new org.quickfix.field.CorporateAction(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataSnapshotFullRefresh.java/clean/src/java/src/quickfix/fix44/MarketDataSnapshotFullRefresh.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 6217, 3831, 340, 1803, 18399, 3831, 340, 1803, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6217, 3831, 340, 1803, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6217, 3831, 340, 1803, 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,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 6217, 3831, 340, 1803, 18399, 3831, 340, 1803, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 6217, 3831, 340, 1803, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 6217, 3831, 340, 1803, 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 ]
public XMLInputStream _newXMLInputStream ( ) { return _newXMLInputStream( null ); }
public XMLInputStream _newXMLInputStream() { return _newXMLInputStream(null); }
public XMLInputStream _newXMLInputStream ( ) { return _newXMLInputStream( null ); }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/8883179236b87db476131da6fa70580fac43da83/Cursor.java/clean/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3167, 4348, 225, 389, 2704, 4201, 4348, 261, 262, 225, 288, 327, 389, 2704, 4201, 4348, 12, 446, 11272, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3167, 4348, 225, 389, 2704, 4201, 4348, 261, 262, 225, 288, 327, 389, 2704, 4201, 4348, 12, 446, 11272, 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 ]
pla.getAttribute("movementRoll").getIntValue());
pla.getAttribute("movementRoll").getIntValue());
void loadGame(String filename) { File file = null; if (filename.equals("--latest")) { File dir = new File(Constants.saveDirname); if (!dir.exists() || !dir.isDirectory()) { Log.error("No saves directory"); dispose(); } String[] filenames = dir.list(new XMLSnapshotFilter()); if (filenames.length < 1) { Log.error("No XML savegames found in saves directory"); dispose(); } file = new File(Constants.saveDirname + latestSaveFilename(filenames)); } else if (filename.indexOf("/") >= 0 || filename.indexOf("\\") >= 0) { // Already a full path file = new File(filename); } else { file = new File(Constants.saveDirname + filename); } try { Log.event("Loading game from " + file); SAXBuilder builder = new SAXBuilder(); Document doc = builder.build(file); Element root = doc.getRootElement(); Attribute ver = root.getAttribute("version"); if (!ver.getValue().equals(Constants.xmlSnapshotVersion)) { Log.error("Can't load this savegame version."); dispose(); } // Reset flags that are not in the savegame file. clearFlags(); loadingGame = true; Element el = root.getChild("Variant"); Attribute dir = el.getAttribute("dir"); Attribute fil = el.getAttribute("file"); VariantSupport.freshenVariant(fil.getValue(), dir.getValue()); // then load data files java.util.List datafilesElements = root.getChildren("DataFile"); Iterator it = datafilesElements.iterator(); while (it.hasNext()) { Element dea = (Element)it.next(); String mapKey = dea.getAttributeValue("DataFileKey"); java.util.List contentList = dea.getContent(); if (contentList.size() > 0) { String content = ((CDATA)contentList.get(0)).getText();Log.debug("DataFileKey: " + mapKey + " DataFileContent :\n" + content); ResourceLoader.putIntoFileCache(mapKey, content.getBytes()); } else { ResourceLoader.putIntoFileCache(mapKey, new byte[0]); } } // we're server, but the file generation process has been done // by loading the savefile. VariantSupport.loadVariant(fil.getValue(), dir.getValue(), false); el = root.getChild("TurnNumber"); turnNumber = Integer.parseInt(el.getTextTrim()); el = root.getChild("CurrentPlayer"); activePlayerNum = Integer.parseInt(el.getTextTrim()); el = root.getChild("CurrentPhase"); phase = Integer.parseInt(el.getTextTrim()); Element ct = root.getChild("Caretaker"); java.util.List kids = ct.getChildren(); it = kids.iterator(); while (it.hasNext()) { el = (Element)it.next(); String creatureName = el.getAttribute("name").getValue(); int remaining = el.getAttribute("remaining").getIntValue(); int dead = el.getAttribute("dead").getIntValue(); Creature creature = Creature.getCreatureByName(creatureName); caretaker.setCount(creature, remaining); caretaker.setDeadCount(creature, dead); } players.clear(); if (battle != null) { server.allCleanupBattle(); } // Players java.util.List playerElements = root.getChildren("Player"); it = playerElements.iterator(); while (it.hasNext()) { Element pla = (Element)it.next(); String name = pla.getAttribute("name").getValue(); Player player = new Player(name, this); players.add(player); String type = pla.getAttribute("type").getValue(); player.setType(type); String color = pla.getAttribute("color").getValue(); player.setColor(color); String tower = pla.getAttribute("startingTower").getValue(); player.setTower(tower); int score = pla.getAttribute("score").getIntValue(); player.setScore(score); player.setDead(pla.getAttribute("dead").getBooleanValue()); int mulligansLeft = pla.getAttribute("mulligansLeft").getIntValue(); player.setMulligansLeft(mulligansLeft); player.setMovementRoll( pla.getAttribute("movementRoll").getIntValue()); player.setTeleported( pla.getAttribute("teleported").getBooleanValue()); player.setSummoned( pla.getAttribute("summoned").getBooleanValue()); String playersElim = pla.getAttribute("colorsElim").getValue(); if (playersElim == "null") { playersElim = ""; } player.setPlayersElim(playersElim); java.util.List legionElements = pla.getChildren("Legion"); Iterator it2 = legionElements.iterator(); while (it2.hasNext()) { Element leg = (Element)it2.next(); readLegion(leg, player); } } // Need all players' playersElim set up before we can do this. it = players.iterator(); while (it.hasNext()) { Player player = (Player)it.next(); player.computeMarkersAvailable(); } // Battle stuff Element bat = root.getChild("Battle"); if (bat != null) { String engagementHexLabel = bat.getAttribute("masterHexLabel").getValue(); int battleTurnNum = bat.getAttribute("turnNumber").getIntValue(); String battleActivePlayerName = bat.getAttribute("activePlayer").getValue(); int battlePhase = bat.getAttribute("phase").getIntValue(); int summonState = bat.getAttribute("summonState").getIntValue(); int carryDamage = bat.getAttribute("carryDamage").getIntValue(); boolean driftDamageApplied = bat.getAttribute("driftDamageApplied").getBooleanValue(); java.util.List cts = bat.getChildren("CarryTarget"); Set carryTargets = new HashSet(); Iterator it2 = cts.iterator(); while (it2.hasNext()) { Element cart = (Element)it2.next(); carryTargets.add(cart.getTextTrim()); } Player attackingPlayer = getActivePlayer(); Legion attacker = getFirstFriendlyLegion(engagementHexLabel, attackingPlayer); Legion defender = getFirstEnemyLegion(engagementHexLabel, attackingPlayer); Player defendingPlayer = defender.getPlayer(); int activeLegionNum; if (battleActivePlayerName.equals(attackingPlayer.getName())) { activeLegionNum = Constants.ATTACKER; } else { activeLegionNum = Constants.DEFENDER; } battle = new Battle(this, attacker.getMarkerId(), defender.getMarkerId(), activeLegionNum, engagementHexLabel, battleTurnNum, battlePhase); battle.setSummonState(summonState); battle.setCarryDamage(carryDamage); battle.setDriftDamageApplied(driftDamageApplied); battle.setCarryTargets(carryTargets); battle.init(); } // History history = new History(); Element his = root.getChild("History");Log.debug("About to copy history tree from savegame"); history.copyTree(his);Log.debug("Done copying history tree from savegame"); initServer(); // Remaining stuff has been moved to loadGame2() } catch (Exception ex) { Log.error("Tried to load corrupt savegame"); ex.printStackTrace(); dispose(); } }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/0da497aad0d3b9e59e2d73dcb5418a314284e9ee/Game.java/clean/Colossus/net/sf/colossus/server/Game.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1262, 12496, 12, 780, 1544, 13, 565, 288, 3639, 1387, 585, 273, 446, 31, 3639, 309, 261, 3459, 18, 14963, 2932, 413, 13550, 6, 3719, 3639, 288, 5411, 1387, 1577, 273, 394, 1387, 12, 2918, 18, 5688, 1621, 529, 1769, 5411, 309, 16051, 1214, 18, 1808, 1435, 747, 401, 1214, 18, 291, 2853, 10756, 5411, 288, 7734, 1827, 18, 1636, 2932, 2279, 14649, 1867, 8863, 7734, 15825, 5621, 5411, 289, 5411, 514, 8526, 9066, 273, 1577, 18, 1098, 12, 2704, 3167, 4568, 1586, 10663, 5411, 309, 261, 19875, 18, 2469, 411, 404, 13, 5411, 288, 7734, 1827, 18, 1636, 2932, 2279, 3167, 1923, 75, 753, 1392, 316, 14649, 1867, 8863, 7734, 15825, 5621, 5411, 289, 5411, 585, 273, 394, 1387, 12, 2918, 18, 5688, 1621, 529, 397, 13491, 4891, 4755, 5359, 12, 19875, 10019, 3639, 289, 3639, 469, 309, 261, 3459, 18, 31806, 2932, 4898, 13, 1545, 374, 747, 1544, 18, 31806, 2932, 1695, 7923, 1545, 374, 13, 3639, 288, 5411, 368, 17009, 279, 1983, 589, 5411, 585, 273, 394, 1387, 12, 3459, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 585, 273, 394, 1387, 12, 2918, 18, 5688, 1621, 529, 397, 1544, 1769, 3639, 289, 3639, 775, 3639, 288, 5411, 1827, 18, 2575, 2932, 10515, 7920, 628, 315, 397, 585, 1769, 5411, 10168, 1263, 2089, 273, 394, 10168, 1263, 5621, 5411, 4319, 997, 273, 2089, 18, 3510, 12, 768, 1769, 5411, 3010, 1365, 273, 997, 18, 588, 2375, 1046, 5621, 5411, 3601, 1924, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1262, 12496, 12, 780, 1544, 13, 565, 288, 3639, 1387, 585, 273, 446, 31, 3639, 309, 261, 3459, 18, 14963, 2932, 413, 13550, 6, 3719, 3639, 288, 5411, 1387, 1577, 273, 394, 1387, 12, 2918, 18, 5688, 1621, 529, 1769, 5411, 309, 16051, 1214, 18, 1808, 1435, 747, 401, 1214, 18, 291, 2853, 10756, 5411, 288, 7734, 1827, 18, 1636, 2932, 2279, 14649, 1867, 8863, 7734, 15825, 5621, 5411, 289, 5411, 514, 8526, 9066, 273, 1577, 18, 1098, 12, 2704, 3167, 4568, 1586, 10663, 5411, 309, 261, 19875, 18, 2469, 411, 404, 13, 5411, 288, 7734, 1827, 18, 1636, 2932, 2279, 3167, 1923, 75, 753, 1392, 316, 14649, 1867, 8863, 7734, 15825, 5621, 5411, 289, 5411, 585, 2 ]
JExpression[] arguments = {makeWorkArgument(next, toplevel)} ; JMethodCallExpression workExpr = new JMethodCallExpression(/* tokref */ null, /* prefix -- ok to be null? */ null, /* ident */ workName, /* args */ arguments); JExpressionStatement workStatement = new JExpressionStatement(null, workExpr, null);
JStatement workStatement = makeWorkStatement(next, workName, toplevel);
private JStatement[] makeWorkStatements(List list, SIRStream toplevel) { // build the statements for <work> ... List statementList = new LinkedList(); // for each filter... for (ListIterator it = list.listIterator(); it.hasNext(); ) { Object next = it.next(); // get name of work function associated with <next> String workName = getWorkName(next, toplevel); // build the parameter to the work function, depending on // whether we're calling a filter work function or a // hierarchical list-work function JExpression[] arguments = {makeWorkArgument(next, toplevel)} ; // get method call to work function of <filter> JMethodCallExpression workExpr = new JMethodCallExpression(/* tokref */ null, /* prefix -- ok to be null? */ null, /* ident */ workName, /* args */ arguments); // make a statement from the call expression JExpressionStatement workStatement = new JExpressionStatement(null, workExpr, null); // add call to filter work to our statement list statementList.add(workStatement); } // return list return (JStatement[])statementList.toArray(new JStatement[0]); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/3c24517181389c88e39ceb8a4770460a498b6016/SIRScheduler.java/buggy/streams/src/at/dms/kjc/sir/lowering/SIRScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 3406, 8526, 1221, 2421, 14663, 12, 682, 666, 16, 9944, 565, 5705, 54, 1228, 28999, 13, 288, 202, 759, 1361, 326, 6317, 364, 411, 1252, 34, 1372, 202, 682, 3021, 682, 273, 394, 10688, 5621, 202, 759, 364, 1517, 1034, 2777, 202, 1884, 261, 682, 3198, 518, 273, 666, 18, 1098, 3198, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 202, 565, 1033, 1024, 273, 518, 18, 4285, 5621, 202, 565, 368, 336, 508, 434, 1440, 445, 3627, 598, 411, 4285, 34, 202, 565, 514, 1440, 461, 273, 29026, 461, 12, 4285, 16, 28999, 1769, 202, 565, 368, 1361, 326, 1569, 358, 326, 1440, 445, 16, 8353, 603, 202, 565, 368, 2856, 732, 4565, 4440, 279, 1034, 1440, 445, 578, 279, 202, 565, 368, 26633, 666, 17, 1252, 445, 202, 565, 804, 2300, 8526, 1775, 202, 202, 33, 288, 6540, 2421, 1379, 12, 4285, 16, 28999, 16869, 274, 202, 565, 368, 336, 707, 745, 358, 1440, 445, 434, 411, 2188, 34, 202, 565, 804, 12592, 2300, 1440, 4742, 273, 3196, 202, 2704, 804, 12592, 2300, 12, 20308, 946, 1734, 1195, 25083, 225, 446, 16, 25083, 225, 1748, 1633, 1493, 1529, 358, 506, 446, 35, 1195, 25083, 225, 446, 16, 25083, 225, 1748, 3390, 1195, 25083, 225, 1440, 461, 16, 25083, 225, 1748, 833, 1195, 25083, 225, 1775, 1769, 202, 565, 368, 1221, 279, 3021, 628, 326, 745, 2652, 202, 565, 804, 2300, 3406, 1440, 3406, 273, 202, 202, 2704, 804, 2300, 3406, 12, 2011, 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, 804, 3406, 8526, 1221, 2421, 14663, 12, 682, 666, 16, 9944, 565, 5705, 54, 1228, 28999, 13, 288, 202, 759, 1361, 326, 6317, 364, 411, 1252, 34, 1372, 202, 682, 3021, 682, 273, 394, 10688, 5621, 202, 759, 364, 1517, 1034, 2777, 202, 1884, 261, 682, 3198, 518, 273, 666, 18, 1098, 3198, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 202, 565, 1033, 1024, 273, 518, 18, 4285, 5621, 202, 565, 368, 336, 508, 434, 1440, 445, 3627, 598, 411, 4285, 34, 202, 565, 514, 1440, 461, 273, 29026, 461, 12, 4285, 16, 28999, 1769, 202, 565, 368, 1361, 326, 1569, 358, 326, 1440, 445, 16, 8353, 603, 202, 565, 368, 2856, 732, 4565, 4440, 279, 2 ]
public boolean isUnsaturated(org.openscience.cdk.interfaces.IBond bond, IAtomContainer atomContainer) throws CDKException {
public boolean isUnsaturated(IBond bond, IAtomContainer atomContainer) throws CDKException {
public boolean isUnsaturated(org.openscience.cdk.interfaces.IBond bond, IAtomContainer atomContainer) throws CDKException { logger.debug("isBondUnsaturated?: ", bond); org.openscience.cdk.interfaces.IAtom[] atoms = bond.getAtoms(); boolean isUnsaturated = true; for (int i=0; i<atoms.length && isUnsaturated; i++) { isUnsaturated = isUnsaturated && !isSaturated(atoms[i], atomContainer); } logger.debug("Bond is unsaturated?: ", isUnsaturated); return isUnsaturated; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/55b9d38ca1fa2f6755db09f806da82bf11665b4b/ValencyChecker.java/buggy/src/org/openscience/cdk/tools/ValencyChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 20488, 12973, 28480, 12, 45, 9807, 8427, 16, 13922, 22487, 13, 1216, 24570, 288, 3639, 1194, 18, 4148, 2932, 291, 9807, 984, 12973, 28480, 35, 30, 3104, 8427, 1769, 3639, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 45, 3641, 8526, 9006, 273, 8427, 18, 588, 14280, 5621, 3639, 1250, 20488, 12973, 28480, 273, 638, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 14937, 18, 2469, 597, 20488, 12973, 28480, 31, 277, 27245, 288, 5411, 20488, 12973, 28480, 273, 20488, 12973, 28480, 597, 401, 291, 15163, 28480, 12, 14937, 63, 77, 6487, 22487, 1769, 3639, 289, 3639, 1194, 18, 4148, 2932, 9807, 353, 640, 12973, 28480, 35, 30, 3104, 20488, 12973, 28480, 1769, 3639, 327, 20488, 12973, 28480, 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,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35, 30, 3104, 8427, 1769, 3639, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 45, 3641, 8526, 9006, 273, 8427, 18, 588, 14280, 5621, 3639, 1250, 20488, 12973, 28480, 273, 638, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 14937, 18, 2469, 597, 20488, 12973, 28480, 31, 277, 27245, 288, 5411, 20488, 12973, 28480, 273, 20488, 12973, 28480, 597, 401, 291, 15163, 28480, 12, 14937, 63, 77, 6487, 22487, 1769, 3639, 289, 3639, 1194, 18, 4148, 2932, 9807, 353, 640, 12973, 28480, 35, 30, 3104, 20488, 2 ]
} catch (IllegalAccessException iaExcptn) {
} catch (Exception excptn) { excptn.printStackTrace(); return null; } /* } catch (IllegalAccessException iaExcptn) {
protected RubyObject invokeMethod(RubyObject recv, Object[] methodArgs, Ruby ruby) { if (methodArgs == null) { methodArgs = new Object[0]; } if (restArgs) { RubyObject[] restArray = new RubyObject[methodArgs.length - (args.length - 1)]; Object[] newMethodArgs = new Object[args.length]; System.arraycopy(methodArgs, args.length - 1, restArray, 0, methodArgs.length - (args.length - 1)); System.arraycopy(methodArgs, 0, newMethodArgs, 0, args.length - 1); newMethodArgs[args.length - 1] = restArray; methodArgs = newMethodArgs; } if (staticMethod) { Object[] newMethodArgs = new Object[methodArgs.length + 1]; System.arraycopy(methodArgs, 0, newMethodArgs, 1, methodArgs.length); newMethodArgs[0] = ruby; methodArgs = newMethodArgs; } try { return (RubyObject)getMethod().invoke(staticMethod ? null : recv, methodArgs); } catch (IllegalAccessException iaExcptn) { throw new RuntimeException("IllegalAccessException: Cannot invoke method \"" + methodName + "\" in class \"" + klass.getName() + "\" by Reflection."); } catch (IllegalArgumentException iaExcptn) { throw new RuntimeException("IllegalArgumentException: Cannot invoke method \"" + methodName + "\" in class \"" + klass.getName() + "\" by Reflection."); } catch (InvocationTargetException itExcptn) { throw new RuntimeException("InvocationTargetException: Cannot invoke method \"" + methodName + "\" in class \"" + klass.getName() + "\" by Reflection."); } }
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/ReflectionCallbackMethod.java/clean/org/jruby/core/ReflectionCallbackMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19817, 921, 27632, 12, 54, 10340, 921, 10665, 16, 1033, 8526, 707, 2615, 16, 19817, 22155, 13, 288, 3639, 309, 261, 2039, 2615, 422, 446, 13, 288, 5411, 707, 2615, 273, 394, 1033, 63, 20, 15533, 3639, 289, 3639, 309, 261, 8792, 2615, 13, 288, 5411, 19817, 921, 8526, 3127, 1076, 273, 394, 19817, 921, 63, 2039, 2615, 18, 2469, 300, 261, 1968, 18, 2469, 300, 404, 13, 15533, 5411, 1033, 8526, 394, 1305, 2615, 273, 394, 1033, 63, 1968, 18, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 2039, 2615, 16, 833, 18, 2469, 300, 404, 16, 3127, 1076, 16, 374, 16, 707, 2615, 18, 2469, 300, 261, 1968, 18, 2469, 300, 404, 10019, 5411, 2332, 18, 1126, 3530, 12, 2039, 2615, 16, 374, 16, 394, 1305, 2615, 16, 374, 16, 833, 18, 2469, 300, 404, 1769, 5411, 394, 1305, 2615, 63, 1968, 18, 2469, 300, 404, 65, 273, 3127, 1076, 31, 5411, 707, 2615, 273, 394, 1305, 2615, 31, 3639, 289, 3639, 309, 261, 3845, 1305, 13, 288, 5411, 1033, 8526, 394, 1305, 2615, 273, 394, 1033, 63, 2039, 2615, 18, 2469, 397, 404, 15533, 5411, 2332, 18, 1126, 3530, 12, 2039, 2615, 16, 374, 16, 394, 1305, 2615, 16, 404, 16, 707, 2615, 18, 2469, 1769, 5411, 394, 1305, 2615, 63, 20, 65, 273, 22155, 31, 5411, 707, 2615, 273, 394, 1305, 2615, 31, 3639, 289, 3639, 775, 288, 5411, 327, 261, 54, 10340, 921, 13, 588, 1305, 7675, 14407, 12, 3845, 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, 19817, 921, 27632, 12, 54, 10340, 921, 10665, 16, 1033, 8526, 707, 2615, 16, 19817, 22155, 13, 288, 3639, 309, 261, 2039, 2615, 422, 446, 13, 288, 5411, 707, 2615, 273, 394, 1033, 63, 20, 15533, 3639, 289, 3639, 309, 261, 8792, 2615, 13, 288, 5411, 19817, 921, 8526, 3127, 1076, 273, 394, 19817, 921, 63, 2039, 2615, 18, 2469, 300, 261, 1968, 18, 2469, 300, 404, 13, 15533, 5411, 1033, 8526, 394, 1305, 2615, 273, 394, 1033, 63, 1968, 18, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 2039, 2615, 16, 833, 18, 2469, 300, 404, 16, 3127, 1076, 16, 374, 16, 707, 2615, 18, 2469, 300, 261, 1968, 18, 2469, 300, 404, 10019, 5411, 2332, 2 ]
String powerValue = commandId.GetParameterValue(kRadarPowerID);
String powerValue = commandId.GetParameterValue(kSettingID);
public MoveInfo getMove() { m_LastMove.reset(); if (m_ResurrectWME.GetValue().equalsIgnoreCase(kYes)) { m_Agent.Update(m_ResurrectWME, kNo); } if (m_Agent.GetNumberCommands() == 0) { m_Logger.log(getName() + " issued no command."); return null; } RelativeDirections rd = new RelativeDirections(getFacingInt()); for (int i = 0; i < m_Agent.GetNumberCommands(); ++i) { Identifier commandId = m_Agent.GetCommand(i); String commandName = commandId.GetAttribute(); // TODO: make sure commands can happen simultaneously if (commandName.equalsIgnoreCase(kMoveID)) { if (m_LastMove.rotate) { m_Logger.log("Tried to move and rotate at the same time."); } m_LastMove.move = true; if (commandId.GetParameterValue(kDirectionID).equalsIgnoreCase(kForwardID)) { m_LastMove.moveDirection = rd.forwardString; } else if (commandId.GetParameterValue(kDirectionID).equalsIgnoreCase(kBackwardID)) { m_LastMove.moveDirection = rd.backwardString; } else if (commandId.GetParameterValue(kDirectionID).equalsIgnoreCase(kLeftID)) { m_LastMove.moveDirection = rd.leftString; } else if (commandId.GetParameterValue(kDirectionID).equalsIgnoreCase(kRightID)) { m_LastMove.moveDirection = rd.rightString; } } else if (commandName.equalsIgnoreCase(kFireID)) { m_LastMove.fire = true; // Weapon ignored } else if (commandName.equalsIgnoreCase(kRadarID)) { m_LastMove.radar = true; m_LastMove.radarSwitch = commandId.GetParameterValue(kSwitchID).equalsIgnoreCase(kOn) ? true : false; m_Radar.radarSwitch(m_LastMove.radarSwitch); } else if (commandName.equalsIgnoreCase(kRadarPowerID)) { String powerValue = commandId.GetParameterValue(kRadarPowerID); if (powerValue != null) { try { m_LastMove.radarPowerSetting = Integer.decode(powerValue).intValue(); } catch (NumberFormatException e) { m_Logger.log("Unable to parse radar power setting " + powerValue + ": " + e.getMessage()); } m_Radar.setRadarPower(m_LastMove.radarPowerSetting); m_LastMove.radarPower = true; } else { m_Logger.log("Radar power setting is null."); } } else if (commandName.equalsIgnoreCase(kShieldsID)) { m_LastMove.shields = true; m_LastMove.shieldsSetting = commandId.GetParameterValue(kSwitchID).equalsIgnoreCase(kOn) ? true : false; m_Agent.Update(m_ShieldStatusWME,commandId.GetParameterValue(kSwitchID)); } else if (commandName.equalsIgnoreCase(kRotateID)) { if (m_LastMove.move) { m_Logger.log("Tried to move and rotate at the same time."); } m_LastMove.rotate = true; m_LastMove.rotateDirection = commandId.GetParameterValue(kDirectionID); rotate(commandId.GetParameterValue(kDirectionID)); } else { m_Logger.log("Unknown command: " + commandName); continue; } commandId.AddStatusComplete(); } return m_LastMove; }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/ee88b3f3c9d84feaf4f77a2b2a857c1d099429d2/Tank.java/buggy/SoarSuite/Environments/JavaTankSoar/source/tanksoar/Tank.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9933, 966, 2108, 841, 1435, 288, 202, 202, 81, 67, 3024, 7607, 18, 6208, 5621, 9506, 202, 430, 261, 81, 67, 607, 295, 2607, 59, 958, 18, 967, 620, 7675, 14963, 5556, 12, 79, 22352, 3719, 288, 1082, 202, 81, 67, 3630, 18, 1891, 12, 81, 67, 607, 295, 2607, 59, 958, 16, 417, 2279, 1769, 202, 202, 97, 9506, 202, 430, 261, 81, 67, 3630, 18, 967, 1854, 9127, 1435, 422, 374, 13, 288, 1082, 202, 81, 67, 3328, 18, 1330, 12, 17994, 1435, 397, 315, 16865, 1158, 1296, 1199, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 8574, 8212, 87, 9437, 273, 394, 19873, 8212, 87, 12, 588, 42, 5330, 1702, 10663, 25083, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 67, 3630, 18, 967, 1854, 9127, 5621, 965, 77, 13, 288, 6862, 202, 3004, 1296, 548, 273, 312, 67, 3630, 18, 967, 2189, 12, 77, 1769, 1082, 202, 780, 20893, 273, 1296, 548, 18, 967, 1499, 5621, 1082, 202, 759, 2660, 30, 1221, 3071, 4364, 848, 5865, 27504, 715, 1082, 202, 430, 261, 3076, 461, 18, 14963, 5556, 12, 79, 7607, 734, 3719, 288, 9506, 202, 430, 261, 81, 67, 3024, 7607, 18, 20342, 13, 288, 6862, 202, 81, 67, 3328, 18, 1330, 2932, 29847, 358, 3635, 471, 8534, 622, 326, 1967, 813, 1199, 1769, 9506, 202, 97, 9506, 202, 81, 67, 3024, 7607, 18, 8501, 273, 638, 31, 6862, 9506, 202, 430, 261, 3076, 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, 9933, 966, 2108, 841, 1435, 288, 202, 202, 81, 67, 3024, 7607, 18, 6208, 5621, 9506, 202, 430, 261, 81, 67, 607, 295, 2607, 59, 958, 18, 967, 620, 7675, 14963, 5556, 12, 79, 22352, 3719, 288, 1082, 202, 81, 67, 3630, 18, 1891, 12, 81, 67, 607, 295, 2607, 59, 958, 16, 417, 2279, 1769, 202, 202, 97, 9506, 202, 430, 261, 81, 67, 3630, 18, 967, 1854, 9127, 1435, 422, 374, 13, 288, 1082, 202, 81, 67, 3328, 18, 1330, 12, 17994, 1435, 397, 315, 16865, 1158, 1296, 1199, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 8574, 8212, 87, 9437, 273, 394, 19873, 8212, 87, 12, 588, 42, 5330, 1702, 2 ]
case Id_getTimezoneOffset: return wrap_double(realThis(thisObj, f, true). jsFunction_getTimezoneOffset());
case Id_getTimezoneOffset: return wrap_double(realThis(thisObj, f, true). jsFunction_getTimezoneOffset());
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_UTC: return wrap_double (jsStaticFunction_UTC(args)); case ConstructorId_parse: return wrap_double (jsStaticFunction_parse(ScriptRuntime.toString(args, 0))); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f, true). jsFunction_toString(); case Id_toTimeString: return realThis(thisObj, f, true). jsFunction_toTimeString(); case Id_toDateString: return realThis(thisObj, f, true). jsFunction_toDateString(); case Id_toLocaleString: return realThis(thisObj, f, true). jsFunction_toLocaleString(); case Id_toLocaleTimeString: return realThis(thisObj, f, true). jsFunction_toLocaleTimeString(); case Id_toLocaleDateString: return realThis(thisObj, f, true). jsFunction_toLocaleDateString(); case Id_toGMTString: case Id_toUTCString: return realThis(thisObj, f, true). jsFunction_toUTCString(); case Id_valueOf: return wrap_double(realThis(thisObj, f, true). jsFunction_valueOf()); case Id_getTime: return wrap_double(realThis(thisObj, f, true). jsFunction_getTime()); case Id_getYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getYear(cx)); case Id_getFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getFullYear()); case Id_getUTCFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCFullYear()); case Id_getMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getMonth()); case Id_getUTCMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMonth()); case Id_getDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getDate()); case Id_getUTCDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDate()); case Id_getDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getDay()); case Id_getUTCDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDay()); case Id_getHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getHours()); case Id_getUTCHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCHours()); case Id_getMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getMinutes()); case Id_getUTCMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMinutes()); case Id_getSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getSeconds()); case Id_getUTCSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCSeconds()); case Id_getMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getMilliseconds()); case Id_getUTCMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMilliseconds()); case Id_getTimezoneOffset: return wrap_double(realThis(thisObj, f, true). jsFunction_getTimezoneOffset()); case Id_setTime: return wrap_double(realThis(thisObj, f, true). jsFunction_setTime(ScriptRuntime.toNumber(args, 0))); case Id_setMilliseconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setMilliseconds(args)); case Id_setUTCMilliseconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMilliseconds(args)); case Id_setSeconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setSeconds(args)); case Id_setUTCSeconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCSeconds(args)); case Id_setMinutes: return wrap_double(realThis(thisObj, f, false). jsFunction_setMinutes(args)); case Id_setUTCMinutes: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMinutes(args)); case Id_setHours: return wrap_double(realThis(thisObj, f, false). jsFunction_setHours(args)); case Id_setUTCHours: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCHours(args)); case Id_setDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setDate(args)); case Id_setUTCDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCDate(args)); case Id_setMonth: return wrap_double(realThis(thisObj, f, false). jsFunction_setMonth(args)); case Id_setUTCMonth: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMonth(args)); case Id_setFullYear: return wrap_double(realThis(thisObj, f, false). jsFunction_setFullYear(args)); case Id_setUTCFullYear: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCFullYear(args)); case Id_setYear: return wrap_double(realThis(thisObj, f, true). jsFunction_setYear(ScriptRuntime.toNumber(args, 0))); } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/3db7f50283cb2dd0859494c7e36c278004f2f6a8/NativeDate.java/buggy/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 11471, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 11471, 12, 1968, 10019, 3639, 648, 11417, 548, 67, 2670, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 2670, 12, 3651, 5576, 18, 10492, 12, 1968, 16, 374, 3719, 1769, 3639, 648, 3124, 67, 12316, 30, 5411, 327, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 869, 950, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 950, 780, 5621, 3639, 648, 3124, 67, 869, 1626, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 1626, 780, 5621, 3639, 648, 3124, 67, 869, 3916, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 3916, 780, 5621, 3639, 648, 3124, 67, 869, 3916, 950, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 3916, 950, 780, 5621, 3639, 648, 3124, 67, 869, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 11471, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 11471, 12, 1968, 10019, 3639, 648, 11417, 548, 67, 2670, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 2670, 12, 3651, 5576, 18, 10492, 12, 1968, 16, 374, 3719, 1769, 3639, 648, 3124, 67, 12316, 30, 5411, 327, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2 ]
return getPoint().isEqual(timePoint.getPoint());
return (nextDay == timePoint.isNextDay() && getTime().isEqual(timePoint.getTime()));
public boolean isAtSameTime(TimePoint timePoint) { return getPoint().isEqual(timePoint.getPoint()); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/2148a82d40be3ca9c714470d990c2702c189337a/TimePoint.java/buggy/src/net/sourceforge/fenixedu/domain/assiduousness/util/TimePoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 861, 8650, 950, 12, 950, 2148, 813, 2148, 13, 288, 3639, 327, 261, 4285, 4245, 422, 813, 2148, 18, 291, 2134, 4245, 1435, 597, 6135, 7675, 291, 5812, 12, 957, 2148, 18, 588, 950, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 861, 8650, 950, 12, 950, 2148, 813, 2148, 13, 288, 3639, 327, 261, 4285, 4245, 422, 813, 2148, 18, 291, 2134, 4245, 1435, 597, 6135, 7675, 291, 5812, 12, 957, 2148, 18, 588, 950, 1435, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (logSR != null) {
if (logSR == null) {
protected synchronized void doLog(String msg, int level, ServiceReference sr, Throwable e ) { if (bc!=null && log == null) { logSR = bc.getServiceReference(LOG_CLASS_KF); if (logSR != null) { // No service implementing the Knopflerfish extended log, try to // look for a standard OSGi log service. logSR = bc.getServiceReference(LOG_CLASS_OSGI); } if (logSR != null) { log = (org.osgi.service.log.LogService) bc.getService(logSR); } if (log == null) { // Failed to get log service clear the service reference. logSR = null; } } if (log != null) { log.log(sr, level, msg, e); } else if (useOut||doWarnIfClosed) { if (bc==null) { System.err.println("WARNING! Bundle #" + bundleId + " called closed LogRef object"); } // No log service and request for messages on System.out System.out.print( LogUtil.fromLevel(level,8) ); System.out.print( " " ); if (simpleDateFormat == null) { simpleDateFormat = new SimpleDateFormat ("yyyyMMdd HH:mm:ss"); } System.out.print( simpleDateFormat.format(new Date()) ); System.out.print( " " ); System.out.print( getBundleName() ); System.out.print( " - " ); if (sr!=null) { System.out.print( "[" ); System.out.print( sr ); System.out.print( "] " ); } System.out.print( msg ); if (e!=null) { System.out.print( " (" ); System.out.print( e ); System.out.print( ")" ); System.out.println(); e.printStackTrace(); } System.out.println(); } }
13251 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13251/04ecaae699987819e3d2429686e50a329d2d4b30/LogRef.java/clean/osgi/bundles/log/src/org/knopflerfish/service/log/LogRef.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 3852, 918, 741, 1343, 12, 780, 1234, 16, 21394, 509, 1801, 16, 21394, 26755, 9133, 16, 21394, 4206, 425, 262, 225, 288, 565, 309, 261, 13459, 5, 33, 2011, 597, 613, 422, 446, 13, 288, 1377, 613, 10090, 273, 6533, 18, 588, 1179, 2404, 12, 4842, 67, 5237, 67, 47, 42, 1769, 1377, 309, 261, 1330, 10090, 422, 446, 13, 288, 3639, 368, 2631, 1156, 19981, 326, 1475, 82, 556, 74, 749, 22905, 7021, 613, 16, 775, 358, 3639, 368, 2324, 364, 279, 4529, 5932, 43, 77, 613, 1156, 18, 3639, 613, 10090, 273, 6533, 18, 588, 1179, 2404, 12, 4842, 67, 5237, 67, 4618, 13797, 1769, 1377, 289, 1377, 309, 261, 1330, 10090, 422, 446, 13, 288, 3639, 613, 273, 261, 3341, 18, 538, 10052, 18, 3278, 18, 1330, 18, 1343, 1179, 13, 6533, 18, 588, 1179, 12, 1330, 10090, 1769, 1377, 289, 1377, 309, 261, 1330, 422, 446, 13, 288, 3639, 368, 11175, 358, 336, 613, 1156, 2424, 326, 1156, 2114, 18, 3639, 613, 10090, 273, 446, 31, 1377, 289, 565, 289, 565, 309, 261, 1330, 480, 446, 13, 288, 1377, 613, 18, 1330, 12, 11254, 16, 1801, 16, 1234, 16, 425, 1769, 565, 289, 469, 309, 261, 1202, 1182, 20081, 2896, 3160, 2047, 7395, 13, 288, 1377, 309, 261, 13459, 631, 2011, 13, 288, 3639, 2332, 18, 370, 18, 8222, 2932, 9511, 5, 8539, 31526, 21821, 397, 3440, 548, 21821, 397, 315, 2566, 4375, 1827, 1957, 733, 8863, 1377, 289, 1377, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 3852, 918, 741, 1343, 12, 780, 1234, 16, 21394, 509, 1801, 16, 21394, 26755, 9133, 16, 21394, 4206, 425, 262, 225, 288, 565, 309, 261, 13459, 5, 33, 2011, 597, 613, 422, 446, 13, 288, 1377, 613, 10090, 273, 6533, 18, 588, 1179, 2404, 12, 4842, 67, 5237, 67, 47, 42, 1769, 1377, 309, 261, 1330, 10090, 422, 446, 13, 288, 3639, 368, 2631, 1156, 19981, 326, 1475, 82, 556, 74, 749, 22905, 7021, 613, 16, 775, 358, 3639, 368, 2324, 364, 279, 4529, 5932, 43, 77, 613, 1156, 18, 3639, 613, 10090, 273, 6533, 18, 588, 1179, 2404, 12, 4842, 67, 5237, 67, 4618, 13797, 1769, 1377, 289, 1377, 309, 261, 1330, 10090, 422, 446, 13, 2 ]
protected void createCustomAttributeLayout(Composite composite) { FormToolkit toolkit = getManagedForm().getToolkit(); Label label = toolkit.createLabel(composite, BugzillaReportElement.DEPENDSON.toString()); GridDataFactory.fillDefaults().align(SWT.RIGHT, SWT.CENTER).applyTo(label); Composite textFieldComposite = toolkit.createComposite(composite); GridLayout textLayout = new GridLayout(); textLayout.marginWidth = 1; textLayout.marginHeight = 3; textLayout.verticalSpacing = 3; textFieldComposite.setLayout(textLayout); GridData textData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); textData.horizontalSpan = 1; textData.widthHint = 135; RepositoryTaskAttribute attribute = this.getRepositoryTaskData().getAttribute( BugzillaReportElement.DEPENDSON.getKeyString()); if (!attribute.isReadOnly()) { final Text text = createTextField(textFieldComposite, attribute, SWT.FLAT); text.setLayoutData(textData); toolkit.paintBordersFor(textFieldComposite); text.setData(attribute); text.addListener(SWT.KeyUp, new Listener() { public void handleEvent(Event event) { String sel = text.getText(); RepositoryTaskAttribute a = (RepositoryTaskAttribute) text.getData(); if (!(a.getValue().equals(sel))) { a.setValue(sel); markDirty(true); } } }); text.addListener(SWT.FocusIn, new GenericListener()); } label = toolkit.createLabel(composite, BugzillaReportElement.BLOCKED.toString()); GridDataFactory.fillDefaults().align(SWT.RIGHT, SWT.CENTER).applyTo(label); textFieldComposite = toolkit.createComposite(composite); textLayout = new GridLayout(); textLayout.marginWidth = 1; textLayout.marginHeight = 3; textLayout.verticalSpacing = 3; textFieldComposite.setLayout(textLayout); textData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); textData.horizontalSpan = 1; textData.widthHint = 135; attribute = this.getRepositoryTaskData().getAttribute(BugzillaReportElement.BLOCKED.getKeyString()); if (!attribute.isReadOnly()) { final Text text = toolkit.createText(textFieldComposite, attribute.getValue(), SWT.FLAT); // if(attribute.hasChanged()) { // text.setBackground(TaskListColorsAndFonts.COLOR_ATTRIBUTE_CHANGED); // } text.setLayoutData(textData); toolkit.paintBordersFor(textFieldComposite); text.setData(attribute); text.addListener(SWT.KeyUp, new Listener() { public void handleEvent(Event event) { String sel = text.getText(); RepositoryTaskAttribute a = (RepositoryTaskAttribute) text.getData(); if (!(a.getValue().equals(sel))) { a.setValue(sel); markDirty(true); } } }); text.addListener(SWT.FocusIn, new GenericListener()); } String dependson = getRepositoryTaskData().getAttributeValue(BugzillaReportElement.DEPENDSON.getKeyString()); String blocked = getRepositoryTaskData().getAttributeValue(BugzillaReportElement.BLOCKED.getKeyString()); boolean addHyperlinks = (dependson != null && dependson.length() > 0) || (blocked != null && blocked.length() > 0); // Hyperlink showDependencyTree = toolkit.createHyperlink(composite, // "Show dependency tree", SWT.NONE); // showDependencyTree.addHyperlinkListener(new HyperlinkAdapter() { // public void linkActivated(HyperlinkEvent e) { // if (ExistingBugEditor.this.getEditor() instanceof MylarTaskEditor) { // MylarTaskEditor mylarTaskEditor = (MylarTaskEditor) // ExistingBugEditor.this.getEditor(); // mylarTaskEditor.displayInBrowser(repository.getUrl() + // IBugzillaConstants.DEPENDENCY_TREE_URL // + getRepositoryTaskData().getId()); // } // } // }); if (addHyperlinks) { toolkit.createLabel(composite, ""); addBugHyperlinks(composite, BugzillaReportElement.DEPENDSON.getKeyString()); } // Hyperlink showDependencyGraph = toolkit.createHyperlink(composite, // "Show dependency graph", SWT.NONE); // showDependencyGraph.addHyperlinkListener(new HyperlinkAdapter() { // public void linkActivated(HyperlinkEvent e) { // if (ExistingBugEditor.this.getEditor() instanceof MylarTaskEditor) { // MylarTaskEditor mylarTaskEditor = (MylarTaskEditor) // ExistingBugEditor.this.getEditor(); // mylarTaskEditor.displayInBrowser(repository.getUrl() + // IBugzillaConstants.DEPENDENCY_GRAPH_URL // + getRepositoryTaskData().getId()); // } // } // }); if (addHyperlinks) { toolkit.createLabel(composite, ""); addBugHyperlinks(composite, BugzillaReportElement.BLOCKED.getKeyString()); } try { addKeywordsList(composite); } catch (IOException e) { MessageDialog.openInformation(null, "Attribute Display Error", "Could not retrieve keyword list, ensure proper configuration in " + TaskRepositoriesView.NAME + "\n\nError reported: " + e.getMessage()); } label = toolkit.createLabel(composite, BugzillaReportElement.BUG_FILE_LOC.toString()); GridDataFactory.fillDefaults().align(SWT.RIGHT, SWT.CENTER).applyTo(label); attribute = this.getRepositoryTaskData().getAttribute(BugzillaReportElement.BUG_FILE_LOC.getKeyString()); createTextField(composite, attribute, SWT.FLAT);// TextViewer viewer = addTextEditor(repository, composite, attribute.getValue(), false, SWT.SINGLE);// viewer.setEditable(true);// GridDataFactory.fillDefaults().hint(DESCRIPTION_WIDTH, SWT.DEFAULT).applyTo(viewer.getTextWidget()); addVoting(composite); label = toolkit.createLabel(composite, ""); Hyperlink viewActivity = toolkit.createHyperlink(composite, "Show Bug Activity", SWT.NONE); viewActivity.addHyperlinkListener(new HyperlinkAdapter() { @Override public void linkActivated(HyperlinkEvent e) { if (BugzillaTaskEditor.this.getEditor() instanceof MylarTaskEditor) { MylarTaskEditor mylarTaskEditor = (MylarTaskEditor) BugzillaTaskEditor.this.getEditor(); mylarTaskEditor.displayInBrowser(repository.getUrl() + IBugzillaConstants.URL_BUG_ACTIVITY + getRepositoryTaskData().getId()); } } }); if (getRepositoryTaskData().getAttribute(BugzillaReportElement.ESTIMATED_TIME.getKeyString()) != null) addBugzillaTimeTracker(toolkit, composite); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/50ce0932bac3248de959d9f6344b40f51d5b7b67/BugzillaTaskEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3802, 1499, 3744, 12, 9400, 9635, 13, 288, 202, 202, 1204, 6364, 8691, 5226, 8691, 273, 2108, 4184, 1204, 7675, 588, 6364, 8691, 5621, 202, 202, 2224, 1433, 273, 5226, 8691, 18, 2640, 2224, 12, 27676, 16, 16907, 15990, 4820, 1046, 18, 1639, 25690, 1413, 18, 10492, 10663, 202, 202, 6313, 751, 1733, 18, 5935, 7019, 7675, 7989, 12, 55, 8588, 18, 11847, 16, 348, 8588, 18, 19835, 2934, 9010, 774, 12, 1925, 1769, 202, 202, 9400, 977, 974, 9400, 273, 5226, 8691, 18, 2640, 9400, 12, 27676, 1769, 202, 202, 6313, 3744, 977, 3744, 273, 394, 7145, 3744, 5621, 202, 202, 955, 3744, 18, 10107, 2384, 273, 404, 31, 202, 202, 955, 3744, 18, 10107, 2686, 273, 890, 31, 202, 202, 955, 3744, 18, 17824, 18006, 273, 890, 31, 202, 202, 955, 974, 9400, 18, 542, 3744, 12, 955, 3744, 1769, 202, 202, 6313, 751, 977, 751, 273, 394, 7145, 751, 12, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 1769, 202, 202, 955, 751, 18, 18396, 6952, 273, 404, 31, 202, 202, 955, 751, 18, 2819, 7002, 273, 404, 4763, 31, 202, 202, 3305, 2174, 1499, 1566, 273, 333, 18, 588, 3305, 2174, 751, 7675, 588, 1499, 12, 9506, 202, 19865, 15990, 4820, 1046, 18, 1639, 25690, 1413, 18, 588, 653, 780, 10663, 202, 202, 430, 16051, 4589, 18, 291, 12066, 10756, 288, 1082, 202, 6385, 3867, 977, 273, 752, 16157, 12, 955, 974, 9400, 16, 1566, 16, 348, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 3802, 1499, 3744, 12, 9400, 9635, 13, 288, 202, 202, 1204, 6364, 8691, 5226, 8691, 273, 2108, 4184, 1204, 7675, 588, 6364, 8691, 5621, 202, 202, 2224, 1433, 273, 5226, 8691, 18, 2640, 2224, 12, 27676, 16, 16907, 15990, 4820, 1046, 18, 1639, 25690, 1413, 18, 10492, 10663, 202, 202, 6313, 751, 1733, 18, 5935, 7019, 7675, 7989, 12, 55, 8588, 18, 11847, 16, 348, 8588, 18, 19835, 2934, 9010, 774, 12, 1925, 1769, 202, 202, 9400, 977, 974, 9400, 273, 5226, 8691, 18, 2640, 9400, 12, 27676, 1769, 202, 202, 6313, 3744, 977, 3744, 273, 394, 7145, 3744, 5621, 202, 202, 955, 3744, 18, 10107, 2384, 273, 404, 31, 202, 202, 955, 3744, 2 ]
assertEquals((char) Character.LINE_SEPARATOR + "************" + (char) Character.LINE_SEPARATOR + "* This *" + (char) Character.LINE_SEPARATOR + "* is a *" + (char) Character.LINE_SEPARATOR + "* Boiler *" + (char) Character.LINE_SEPARATOR + "* Plate *" + (char) Character.LINE_SEPARATOR + "************", plate);
assertEquals(Utility.CRLF + "************" + Utility.CRLF + "* This *" + Utility.CRLF + "* is a *" + Utility.CRLF + "* Boiler *" + Utility.CRLF + "* Plate *" + Utility.CRLF + "************", plate);
public void testBoilerPlate() throws Exception { List msgs = new ArrayList(); msgs.add("This"); msgs.add("is a"); msgs.add("Boiler Plate"); String plate = StringMessageHelper.getBoilerPlate(msgs, '*', 12); assertEquals((char) Character.LINE_SEPARATOR + "************" + (char) Character.LINE_SEPARATOR + "* This *" + (char) Character.LINE_SEPARATOR + "* is a *" + (char) Character.LINE_SEPARATOR + "* Boiler *" + (char) Character.LINE_SEPARATOR + "* Plate *" + (char) Character.LINE_SEPARATOR + "************", plate); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/c4649a83a2d2d0733c3995955b0e85689d1b2f12/StringMessageHelperTestCase.java/clean/mule/src/test/java/org/mule/test/util/StringMessageHelperTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13809, 2895, 1749, 340, 1435, 1216, 1185, 565, 288, 3639, 987, 8733, 273, 394, 2407, 5621, 3639, 8733, 18, 1289, 2932, 2503, 8863, 3639, 8733, 18, 1289, 2932, 291, 279, 8863, 3639, 8733, 18, 1289, 2932, 13809, 2895, 3008, 340, 8863, 3639, 514, 21972, 273, 514, 1079, 2276, 18, 588, 13809, 2895, 1749, 340, 12, 27439, 16, 14609, 2187, 2593, 1769, 3639, 1815, 8867, 12443, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 315, 1644, 1007, 6, 397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 15902, 1220, 377, 380, 6, 397, 5397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 15902, 353, 279, 377, 380, 6, 397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 15902, 17980, 2895, 282, 380, 6, 397, 5397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 15902, 3008, 340, 565, 380, 6, 397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 315, 1644, 1007, 3113, 21972, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 3639, 987, 8733, 273, 394, 2407, 5621, 3639, 8733, 18, 1289, 2932, 2503, 8863, 3639, 8733, 18, 1289, 2932, 291, 279, 8863, 3639, 8733, 18, 1289, 2932, 13809, 2895, 3008, 340, 8863, 3639, 514, 21972, 273, 514, 1079, 2276, 18, 588, 13809, 2895, 1749, 340, 12, 27439, 16, 14609, 2187, 2593, 1769, 3639, 1815, 8867, 12443, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 315, 1644, 1007, 6, 397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 15902, 1220, 377, 380, 6, 397, 5397, 261, 3001, 13, 6577, 18, 5997, 67, 4550, 397, 15902, 353, 279, 377, 380, 6, 397, 261, 3001, 13, 6577, 18, 2 ]
public RevCompSequence(Sequence seq)throws IllegalAlphabetException{
public RevCompSequence(Sequence seq) throws IllegalAlphabetException {
public RevCompSequence(Sequence seq)throws IllegalAlphabetException{ this(seq,seq.getURN(),seq.getName(),seq.getAnnotation()); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/a7b336a0eedb6eae9befb45c3bf4f7071f797f95/RevCompSequence.java/buggy/src/org/biojava/bio/seq/impl/RevCompSequence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14477, 2945, 4021, 12, 4021, 3833, 13, 1216, 2141, 27316, 503, 288, 3639, 333, 12, 5436, 16, 5436, 18, 588, 8521, 9334, 5436, 18, 17994, 9334, 5436, 18, 588, 3257, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14477, 2945, 4021, 12, 4021, 3833, 13, 1216, 2141, 27316, 503, 288, 3639, 333, 12, 5436, 16, 5436, 18, 588, 8521, 9334, 5436, 18, 17994, 9334, 5436, 18, 588, 3257, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (this.domain.indexOf('.') == -1) this.domain += ".local";
if (this.domain.indexOf('.') == -1) this.domain += ".local";
public Cookie(String name, String value, String domain, String path, Date expires, boolean secure) { if (name == null) throw new NullPointerException("missing name"); if (value == null) throw new NullPointerException("missing value"); if (domain == null) throw new NullPointerException("missing domain"); if (path == null) throw new NullPointerException("missing path"); this.name = name; this.value = value; this.domain = domain.toLowerCase(); this.path = path; this.expires = expires; this.secure = secure; if (this.domain.indexOf('.') == -1) this.domain += ".local"; }
7770 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7770/4aac7325e4103f4c5b114b0a7e136a15297d9a05/Cookie.java/buggy/src/HTTPClient/Cookie.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10201, 12, 780, 508, 16, 514, 460, 16, 514, 2461, 16, 514, 589, 16, 1082, 225, 2167, 7368, 16, 1250, 8177, 13, 565, 288, 202, 430, 261, 529, 422, 446, 13, 282, 604, 394, 10108, 2932, 7337, 508, 8863, 202, 430, 261, 1132, 422, 446, 13, 225, 604, 394, 10108, 2932, 7337, 460, 8863, 202, 430, 261, 4308, 422, 446, 13, 604, 394, 10108, 2932, 7337, 2461, 8863, 202, 430, 261, 803, 422, 446, 13, 282, 604, 394, 10108, 2932, 7337, 589, 8863, 202, 2211, 18, 529, 565, 273, 508, 31, 202, 2211, 18, 1132, 282, 273, 460, 31, 202, 2211, 18, 4308, 225, 273, 2461, 18, 869, 5630, 5621, 202, 2211, 18, 803, 565, 273, 589, 31, 202, 2211, 18, 12431, 273, 7368, 31, 202, 2211, 18, 8869, 225, 273, 8177, 31, 202, 430, 261, 2211, 18, 4308, 18, 31806, 2668, 1093, 13, 422, 300, 21, 13, 225, 333, 18, 4308, 1011, 3552, 3729, 14432, 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, 10201, 12, 780, 508, 16, 514, 460, 16, 514, 2461, 16, 514, 589, 16, 1082, 225, 2167, 7368, 16, 1250, 8177, 13, 565, 288, 202, 430, 261, 529, 422, 446, 13, 282, 604, 394, 10108, 2932, 7337, 508, 8863, 202, 430, 261, 1132, 422, 446, 13, 225, 604, 394, 10108, 2932, 7337, 460, 8863, 202, 430, 261, 4308, 422, 446, 13, 604, 394, 10108, 2932, 7337, 2461, 8863, 202, 430, 261, 803, 422, 446, 13, 282, 604, 394, 10108, 2932, 7337, 589, 8863, 202, 2211, 18, 529, 565, 273, 508, 31, 202, 2211, 18, 1132, 282, 273, 460, 31, 202, 2211, 18, 4308, 225, 273, 2461, 18, 869, 5630, 5621, 202, 2211, 18, 803, 565, 273, 589, 2 ]
AtomType copy = (AtomType)clone; assertTrue(at.compare(copy));
public void testClone() { AtomType at = new AtomType("C"); Object clone = at.clone(); assertTrue(clone instanceof AtomType); AtomType copy = (AtomType)clone; assertTrue(at.compare(copy)); }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/2569471249d8066c9cb1c037569a570e039ed288/AtomTypeTest.java/buggy/src/org/openscience/cdk/test/AtomTypeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 1435, 288, 3639, 7149, 559, 622, 273, 394, 7149, 559, 2932, 39, 8863, 3639, 1033, 3236, 273, 622, 18, 14056, 5621, 3639, 1815, 5510, 12, 14056, 1276, 7149, 559, 1769, 3639, 7149, 559, 1610, 273, 261, 3641, 559, 13, 14056, 31, 3639, 1815, 5510, 12, 270, 18, 9877, 12, 3530, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 1435, 288, 3639, 7149, 559, 622, 273, 394, 7149, 559, 2932, 39, 8863, 3639, 1033, 3236, 273, 622, 18, 14056, 5621, 3639, 1815, 5510, 12, 14056, 1276, 7149, 559, 1769, 3639, 7149, 559, 1610, 273, 261, 3641, 559, 13, 14056, 31, 3639, 1815, 5510, 12, 270, 18, 9877, 12, 3530, 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, -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 (!TaskListInterestFilter.hasChanges(task1) && TaskListInterestFilter.hasChanges(task2)) {
} else if (!TaskListInterestFilter.hasChanges(task1) && TaskListInterestFilter.hasChanges(task2)) {
private int compareChanges(ITask task1, ITask task2) { if (TaskListInterestFilter.hasChanges(task1) && !TaskListInterestFilter.hasChanges(task2)) { return 1; } else if (!TaskListInterestFilter.hasChanges(task1) && TaskListInterestFilter.hasChanges(task2)) { return -1; } else if (TaskListInterestFilter.hasChanges(task1) && TaskListInterestFilter.hasChanges(task2)) { return comparePrioritiesAndKeys(task1, task2); } else { return 0; } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b59704d0aa5f21adb71b8b398bedbaef2c1fda4b/TaskListInterestSorter.java/clean/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/ui/TaskListInterestSorter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 3400, 7173, 12, 1285, 835, 1562, 21, 16, 467, 2174, 1562, 22, 13, 288, 202, 202, 430, 261, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 21, 13, 9506, 202, 10, 10, 401, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 22, 3719, 288, 1082, 202, 2463, 404, 31, 202, 202, 97, 469, 309, 16051, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 21, 13, 9506, 202, 10, 10, 3837, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 22, 3719, 288, 1082, 202, 2463, 300, 21, 31, 202, 202, 97, 469, 309, 261, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 21, 13, 9506, 202, 10, 10, 3837, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 22, 3719, 288, 1082, 202, 2463, 3400, 25355, 1961, 1876, 2396, 12, 4146, 21, 16, 1562, 22, 1769, 202, 202, 97, 469, 288, 1082, 202, 2463, 374, 31, 202, 202, 97, 202, 97, 2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0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 3400, 7173, 12, 1285, 835, 1562, 21, 16, 467, 2174, 1562, 22, 13, 288, 202, 202, 430, 261, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 21, 13, 9506, 202, 10, 10, 401, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 22, 3719, 288, 1082, 202, 2463, 404, 31, 202, 202, 97, 469, 309, 16051, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 21, 13, 9506, 202, 10, 10, 3837, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 22, 3719, 288, 1082, 202, 2463, 300, 21, 31, 202, 202, 97, 469, 309, 261, 2174, 682, 29281, 1586, 18, 5332, 7173, 12, 4146, 21, 13, 9506, 202, 10, 10, 3837, 682, 29281, 1586, 2 ]
public IStatus search(IBugzillaSearchResultCollector collector, int startMatches) throws LoginException
public IStatus search(IBugzillaSearchResultCollector collector) throws LoginException
public IStatus search(IBugzillaSearchResultCollector collector, int startMatches) throws LoginException { return this.search(collector, startMatches, BugzillaPlugin.getDefault().getMaxResults()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/570c367589001ff6e9b8d5660225b8f019d41231/BugzillaSearchEngine.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1623, 12, 13450, 637, 15990, 24916, 7134, 8543, 13, 1216, 11744, 503, 225, 202, 95, 202, 202, 2463, 333, 18, 3072, 12, 21356, 16, 787, 6869, 16, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 18916, 10663, 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, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1623, 12, 13450, 637, 15990, 24916, 7134, 8543, 13, 1216, 11744, 503, 225, 202, 95, 202, 202, 2463, 333, 18, 3072, 12, 21356, 16, 787, 6869, 16, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 18916, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public streamit.scheduler.base.StreamInterface getBottom()
public streamit.scheduler2.base.StreamInterface getBottom()
public streamit.scheduler.base.StreamInterface getBottom() { return this; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/dfedb742d423484b854299cb25ecee6107991a1c/FeedbackLoop.java/buggy/streams/src/streamit/scheduler2/hierarchical/FeedbackLoop.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1407, 305, 18, 19972, 22, 18, 1969, 18, 1228, 1358, 2882, 352, 3599, 1435, 565, 288, 3639, 327, 333, 31, 565, 289, 2, 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, 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, 1407, 305, 18, 19972, 22, 18, 1969, 18, 1228, 1358, 2882, 352, 3599, 1435, 565, 288, 3639, 327, 333, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public RedoPlayer() {
public RedoPlayer(boolean writeable) {
public RedoPlayer() { mOpsMap = new LinkedHashMap(INITIAL_MAP_SIZE); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/b06b5ce20ded96a9bab09faa127729c01e0bd14a/RedoPlayer.java/buggy/ZimbraServer/src/java/com/zimbra/cs/redolog/RedoPlayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4621, 83, 12148, 1435, 288, 202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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4621, 83, 12148, 1435, 288, 202, 202, 81, 8132, 863, 273, 394, 13589, 12, 28497, 67, 8352, 67, 4574, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protocolBox.setSelectedItem(protocolName);
protocolBox.setSelectedItem(protocolName);
boolean configureConnection(Element e) throws jmri.JmriException { protocolName = e.getAttribute("class").getValue(); // check that the config file has a protocol selected if (protocolName.equals("(None selected)")) return false; protocolBox.setSelectedItem(protocolName); // note that the line above will _change_ the value of portName, as it // selects a default and runs the GUI config for that protocol // configure port name portName = e.getAttribute("port").getValue(); // ugly special-case hack: if (!protocolName.equals("LocoNet HexFile")) { portBox.setSelectedItem(e.getAttribute("port").getValue()); portName = e.getAttribute("port").getValue(); // may have been changed by prior line // check that the specified port exists if (!e.getAttribute("port").getValue().equals(portBox.getSelectedItem())) { // can't connect to a non-existant port! log.error("Configured port \""+portName+"\" doesn't exist, no connection to layout made"); JOptionPane.showMessageDialog(null, "Configured port \""+portName+"\" doesn't exist, no connection to layout made", "Error", JOptionPane.ERROR_MESSAGE); return false; } // configure baud rate - an optional attribute if (e.getAttribute("speed")!=null) { baudRate = e.getAttribute("speed").getValue(); baudBox.setSelectedItem(baudRate); baudRate = e.getAttribute("speed").getValue(); // may have been changed by prior line // check that the specified setting exists if (!e.getAttribute("speed").getValue().equals(baudBox.getSelectedItem())) { // can't set non-existant option value! log.error("Configured baud rate\""+baudRate+"\" doesn't exist, no connection to layout made"); return false; } } // configure option1 - an optional attribute if (e.getAttribute("option1")!=null) { option1Setting = e.getAttribute("option1").getValue(); opt1Box.setSelectedItem(option1Setting); option1Setting = e.getAttribute("option1").getValue(); // may have been changed by prior line // check that the specified setting exists if (!e.getAttribute("option1").getValue().equals(opt1Box.getSelectedItem())) { // can't set non-existant option value! log.error("Configured option1 value \""+option1Setting+"\" doesn't exist, no connection to layout made"); return false; } } // configure option2 - an optional attribute if (e.getAttribute("option2")!=null) { option2Setting = e.getAttribute("option2").getValue(); opt2Box.setSelectedItem(option2Setting); option2Setting = e.getAttribute("option2").getValue(); // may have been changed by prior line // check that the specified setting exists if (!e.getAttribute("option2").getValue().equals(opt2Box.getSelectedItem())) { // can't set non-existant option value! log.error("Configured option2 value \""+option1Setting+"\" doesn't exist, no connection to layout made"); return false; } } } // end of HexFile special-case hack // handle the specific case (a good use for reflection!) log.info("Configuring connection with "+protocolName+" "+portName); if (protocolName.equals("LocoNet LocoBuffer")) { // jmri.jmrix.loconet.locobuffer.LocoBufferAdapter a = new jmri.jmrix.loconet.locobuffer.LocoBufferAdapter(); a.configureBaudRate(getCurrentBaudRate()); a.configureOption1(getCurrentOption1Setting()); a.configureOption2(getCurrentOption2Setting()); a.openPort(portName, "JMRI/DecoderPro"); a.configure(); if (!a.okToSend()) { log.info("LocoBuffer port not ready to send"); JOptionPane.showMessageDialog(null, "The LocoBuffer is unable to accept data.\n" +"Make sure its power is on, it is connected\n" +"to a working LocoNet, and the command station is on.\n" +"The LocoNet LED on the LocoBuffer should be off.\n" +"Reset the LocoBuffer by cycling its power.", "LocoBuffer not ready", JOptionPane.ERROR_MESSAGE); } } else if (protocolName.equals("LocoNet MS100")) { // jmri.jmrix.loconet.ms100.MS100Adapter a = new jmri.jmrix.loconet.ms100.MS100Adapter(); a.openPort(portName, "JMRI/DecoderPro"); a.configure(); a.configureOption2(getCurrentOption2Setting()); } else if (protocolName.equals("LocoNet HexFile")) { // pop the panel jmri.jmrix.loconet.hexfile.HexFileFrame f = new jmri.jmrix.loconet.hexfile.HexFileFrame(); try { f.initComponents(); } catch (Exception ex) { log.error("starting HexFileFrame exception: "+ex.toString()); } f.pack(); f.show(); } else if (protocolName.equals("LocoNet Server")) { // slightly different, as not based on a serial port... // create the LnMessageClient jmri.jmrix.loconet.locormi.LnMessageClient client = new jmri.jmrix.loconet.locormi.LnMessageClient(); // start the connection client.configureRemoteConnection(portName, 500); // configure the other instance objects client.configureLocalServices(); } else if (protocolName.equals("NCE")) { // jmri.jmrix.nce.serialdriver.SerialDriverAdapter a = new jmri.jmrix.nce.serialdriver.SerialDriverAdapter(); a.openPort(portName, "JMRI/DecoderPro"); a.configure(); } else if (protocolName.equals("EasyDCC")) { // jmri.jmrix.easydcc.serialdriver.SerialDriverAdapter a = new jmri.jmrix.easydcc.serialdriver.SerialDriverAdapter(); a.openPort(portName, "JMRI/DecoderPro"); a.configure(); } else if (protocolName.equals("Lenz XPressNet")) { // jmri.jmrix.lenz.li100.LI100Adapter a = new jmri.jmrix.lenz.li100.LI100Adapter(); a.configureBaudRate(getCurrentBaudRate()); a.configureOption1(getCurrentOption1Setting()); a.openPort(portName, "JMRI/DecoderPro"); a.configure(); } else if (protocolName.equals("CMRI serial")) { // jmri.jmrix.cmri.serial.serialdriver.SerialDriverAdapter a = new jmri.jmrix.cmri.serial.serialdriver.SerialDriverAdapter(); a.openPort(portName, "JMRI/DecoderPro"); a.configure(); } else { // selected no match, so throw an error throw new jmri.JmriException(); } return true; }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/431c1dce9ab9b5c59663539bf6ae558aa46f3d1e/AbstractConfigFrame.java/clean/apps/AbstractConfigFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6494, 5068, 1952, 12, 1046, 425, 13, 1216, 28296, 566, 18, 46, 81, 566, 503, 288, 202, 202, 8373, 461, 273, 425, 18, 588, 1499, 2932, 1106, 20387, 24805, 5621, 202, 202, 759, 866, 716, 326, 642, 585, 711, 279, 1771, 3170, 202, 202, 430, 261, 8373, 461, 18, 14963, 2932, 12, 7036, 3170, 2225, 3719, 327, 629, 31, 202, 202, 8373, 3514, 18, 542, 7416, 1180, 12, 8373, 461, 1769, 202, 202, 759, 4721, 716, 326, 980, 5721, 903, 389, 3427, 67, 326, 460, 434, 1756, 461, 16, 487, 518, 202, 202, 759, 19770, 279, 805, 471, 7597, 326, 10978, 642, 364, 716, 1771, 202, 202, 759, 5068, 1756, 508, 202, 202, 655, 461, 273, 425, 18, 588, 1499, 2932, 655, 20387, 24805, 5621, 3639, 368, 26920, 4582, 17, 3593, 11769, 30, 3639, 309, 16051, 8373, 461, 18, 14963, 2932, 1333, 83, 7308, 15734, 812, 6, 3719, 288, 1082, 565, 1756, 3514, 18, 542, 7416, 1180, 12, 73, 18, 588, 1499, 2932, 655, 20387, 24805, 10663, 1082, 565, 1756, 461, 273, 425, 18, 588, 1499, 2932, 655, 20387, 24805, 5621, 225, 368, 2026, 1240, 2118, 3550, 635, 6432, 980, 1082, 565, 368, 866, 716, 326, 1269, 1756, 1704, 1082, 565, 309, 16051, 73, 18, 588, 1499, 2932, 655, 20387, 24805, 7675, 14963, 12, 655, 3514, 18, 588, 7416, 1180, 1435, 3719, 288, 9506, 565, 368, 848, 1404, 3077, 358, 279, 1661, 17, 7398, 970, 1756, 5, 9506, 565, 613, 18, 1636, 2932, 15334, 1756, 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, 6494, 5068, 1952, 12, 1046, 425, 13, 1216, 28296, 566, 18, 46, 81, 566, 503, 288, 202, 202, 8373, 461, 273, 425, 18, 588, 1499, 2932, 1106, 20387, 24805, 5621, 202, 202, 759, 866, 716, 326, 642, 585, 711, 279, 1771, 3170, 202, 202, 430, 261, 8373, 461, 18, 14963, 2932, 12, 7036, 3170, 2225, 3719, 327, 629, 31, 202, 202, 8373, 3514, 18, 542, 7416, 1180, 12, 8373, 461, 1769, 202, 202, 759, 4721, 716, 326, 980, 5721, 903, 389, 3427, 67, 326, 460, 434, 1756, 461, 16, 487, 518, 202, 202, 759, 19770, 279, 805, 471, 7597, 326, 10978, 642, 364, 716, 1771, 202, 202, 759, 5068, 1756, 508, 202, 202, 655, 461, 273, 425, 2 ]
if (KjcOptions.peekratio == -1) {
if (KjcOptions.peekratio <= 0) {
public int calcMult(SIRFilter filter) { int mult = 1; int pop = filter.getPopInt(); int peek = filter.getPeekInt(); int extra = 0; if (peek > pop) extra = peek - pop; // make sure that filter's pop rate is at least 25% of // of what it peeks beyond consumed items. if (KjcOptions.peekratio == -1) { return 1; } else { while (pop * mult / KjcOptions.peekratio < extra) { mult = mult + 1; } } return mult; }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/4a9a7633ebabe6439020733fd4fb7fd698f6a9bb/IncreaseFilterMult.java/buggy/streams/src/at/dms/kjc/cluster/IncreaseFilterMult.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 7029, 5049, 12, 2320, 54, 1586, 1034, 13, 288, 202, 474, 1778, 273, 404, 31, 202, 202, 474, 1843, 273, 1034, 18, 588, 7049, 1702, 5621, 202, 474, 8032, 273, 1034, 18, 588, 30950, 1702, 5621, 202, 474, 2870, 273, 374, 31, 202, 430, 261, 347, 3839, 405, 1843, 13, 2870, 273, 8032, 300, 1843, 31, 202, 759, 1221, 3071, 716, 1034, 1807, 1843, 4993, 353, 622, 4520, 6969, 9, 434, 202, 759, 434, 4121, 518, 8032, 87, 17940, 12393, 1516, 18, 202, 430, 261, 47, 78, 71, 1320, 18, 347, 3839, 9847, 1648, 374, 13, 288, 3196, 565, 327, 404, 31, 225, 202, 97, 469, 288, 202, 565, 1323, 261, 5120, 380, 1778, 342, 1475, 78, 71, 1320, 18, 347, 3839, 9847, 411, 2870, 13, 288, 3196, 202, 5421, 273, 1778, 397, 404, 31, 202, 565, 289, 202, 97, 202, 2463, 1778, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 7029, 5049, 12, 2320, 54, 1586, 1034, 13, 288, 202, 474, 1778, 273, 404, 31, 202, 202, 474, 1843, 273, 1034, 18, 588, 7049, 1702, 5621, 202, 474, 8032, 273, 1034, 18, 588, 30950, 1702, 5621, 202, 474, 2870, 273, 374, 31, 202, 430, 261, 347, 3839, 405, 1843, 13, 2870, 273, 8032, 300, 1843, 31, 202, 759, 1221, 3071, 716, 1034, 1807, 1843, 4993, 353, 622, 4520, 6969, 9, 434, 202, 759, 434, 4121, 518, 8032, 87, 17940, 12393, 1516, 18, 202, 430, 261, 47, 78, 71, 1320, 18, 347, 3839, 9847, 1648, 374, 13, 288, 3196, 565, 327, 404, 31, 225, 202, 97, 469, 288, 202, 565, 1323, 261, 5120, 380, 1778, 342, 1475, 2 ]
"default_alloc_template<threads,inst>::S_start_free<bool, int> : char*",
/*"default_alloc_template<threads,inst>::S_start_free<bool, int> : char*",*/
public void testGetTemplateSignature() { ITranslationUnit tu = getTU(); ArrayList arrayElements = new ArrayList(); arrayElements.addAll( tu.getChildrenOfType(ICElement.C_TEMPLATE_STRUCT ) ); arrayElements.addAll( tu.getChildrenOfType(ICElement.C_TEMPLATE_CLASS ) ); arrayElements.addAll( tu.getChildrenOfType(ICElement.C_TEMPLATE_UNION ) ); arrayElements.addAll( getTemplateMethods(tu) ); arrayElements.addAll( tu.getChildrenOfType(ICElement.C_TEMPLATE_FUNCTION ) ); arrayElements.addAll( tu.getChildrenOfType(ICElement.C_TEMPLATE_VARIABLE ) ); String[] myExpectedValues = { "Map<Key, Value, SortAlgorithm>", "nonVector<T>", "ArrayOverlay<X, Y, int>", "fum<Bar>(int) : void", "scrum<int>(void) : void", // TODO: deduce the rules of () versus (void), compare below. "nonVector<T>::first<T>() : const T&", // TODO: where should <T> be? // TODO: shouldn't signature indicate const function as well? "IsGreaterThan<X>(X, X) : bool", "Foo::fum<Bar>(int) : void", "default_alloc_template<threads,inst>::S_start_free<bool, int> : char*", }; assertEquals(myExpectedValues.length, arrayElements.size()); for(int i=0; i<myExpectedValues.length; i++) { ITemplate myTemplate = (ITemplate) arrayElements.get(i); assertNotNull( "Failed on "+i, myTemplate ); assertEquals( "Failed on "+i, myExpectedValues[i], myTemplate.getTemplateSignature() ); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a446c41e78795d1ee29957ce3a1c9a10fd708fc4/ITemplateTests.java/clean/core/org.eclipse.cdt.core.tests/model/org/eclipse/cdt/core/model/tests/ITemplateTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 2283, 5374, 1435, 202, 95, 202, 202, 45, 6717, 2802, 28325, 273, 3181, 57, 5621, 202, 202, 19558, 526, 3471, 273, 394, 2407, 5621, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 13915, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 5237, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 2124, 1146, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 10646, 4712, 12, 88, 89, 13, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 7788, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 16444, 262, 11272, 9506, 202, 780, 8526, 3399, 6861, 1972, 273, 288, 1082, 202, 6, 863, 32, 653, 16, 1445, 16, 5928, 6801, 2984, 16, 1082, 202, 6, 5836, 5018, 32, 56, 2984, 16, 1082, 202, 6, 1076, 11627, 32, 60, 16, 1624, 16, 509, 2984, 16, 1082, 202, 6, 74, 379, 32, 5190, 34, 12, 474, 13, 294, 918, 3113, 1082, 202, 6, 24638, 379, 32, 474, 34, 12, 6459, 13, 294, 918, 3113, 368, 2660, 30, 11140, 3965, 326, 2931, 434, 1832, 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, 967, 2283, 5374, 1435, 202, 95, 202, 202, 45, 6717, 2802, 28325, 273, 3181, 57, 5621, 202, 202, 19558, 526, 3471, 273, 394, 2407, 5621, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 13915, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 5237, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 28325, 18, 588, 4212, 18859, 12, 2871, 1046, 18, 39, 67, 12205, 67, 2124, 1146, 262, 11272, 202, 202, 1126, 3471, 18, 1289, 1595, 12, 10646, 4712, 12, 88, 89, 13, 11272, 202, 2 ]
if(method.hasModifierProperty(PsiModifier.PUBLIC)) { return true; } if(method.hasModifierProperty(PsiModifier.PRIVATE)) { return false; }
private boolean isVisibleFrom(PsiMethod method, PsiClass referencingClass){ final PsiClass containingClass = method.getContainingClass(); if(referencingClass.equals(containingClass)) { return true; } if(containingClass == null) { return false; } if(method.hasModifierProperty(PsiModifier.PUBLIC)) { return true; } if(method.hasModifierProperty(PsiModifier.PRIVATE)) { return false; } //if(method.hasModifierProperty(PsiModifier.PROTECTED)) //{ // return referencingClass.isInheritor(containingClass, true) || // ClassUtils.inSamePackage(containingClass, referencingClass); //} return ClassUtils.inSamePackage(containingClass, referencingClass); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/c0407ff2e96433617e2f28044bd6915d154d1cef/ExpectedTypeUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ExpectedTypeUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 20453, 1265, 12, 52, 7722, 1305, 707, 16, 453, 7722, 797, 24509, 797, 15329, 5411, 727, 453, 7722, 797, 4191, 797, 273, 707, 18, 588, 24344, 797, 5621, 5411, 309, 12, 266, 586, 15495, 797, 18, 14963, 12, 1213, 3280, 797, 3719, 5411, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 12, 1213, 3280, 797, 422, 446, 13, 5411, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 12, 2039, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 14939, 3719, 5411, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 12, 2039, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 20055, 3719, 5411, 288, 7734, 327, 629, 31, 5411, 289, 5411, 368, 430, 12, 2039, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 3373, 26729, 3719, 5411, 368, 95, 5411, 368, 565, 327, 24509, 797, 18, 291, 382, 1614, 1811, 12, 1213, 3280, 797, 16, 638, 13, 747, 5411, 368, 5411, 26382, 18, 267, 8650, 2261, 12, 1213, 3280, 797, 16, 24509, 797, 1769, 5411, 19363, 5411, 327, 26382, 18, 267, 8650, 2261, 12, 1213, 3280, 797, 16, 24509, 797, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 20453, 1265, 12, 52, 7722, 1305, 707, 16, 453, 7722, 797, 24509, 797, 15329, 5411, 727, 453, 7722, 797, 4191, 797, 273, 707, 18, 588, 24344, 797, 5621, 5411, 309, 12, 266, 586, 15495, 797, 18, 14963, 12, 1213, 3280, 797, 3719, 5411, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 12, 1213, 3280, 797, 422, 446, 13, 5411, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 12, 2039, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 14939, 3719, 5411, 288, 7734, 327, 638, 31, 5411, 289, 5411, 309, 12, 2039, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 20055, 3719, 5411, 288, 7734, 327, 629, 31, 5411, 289, 5411, 368, 430, 2 ]
res.append("\n Under-replicated blocks:\t" + underReplicatedBlocks + " (" + ((float)(underReplicatedBlocks * 100) / (float)totalBlocks)
res.append("\n Under-replicated blocks:\t" + underReplicatedBlocks); if (totalBlocks > 0) res.append(" (" + ((float)(underReplicatedBlocks * 100) / (float)totalBlocks)
public String toString() { StringBuffer res = new StringBuffer(); res.append("Status: " + (isHealthy() ? "HEALTHY" : "CORRUPT")); res.append("\n Total size:\t" + totalSize + " B"); res.append("\n Total blocks:\t" + totalBlocks + " (avg. block size " + (totalSize / totalBlocks) + " B)"); res.append("\n Total dirs:\t" + totalDirs); res.append("\n Total files:\t" + totalFiles); if (missingSize > 0) { res.append("\n ********************************"); res.append("\n CORRUPT FILES:\t" + corruptFiles); res.append("\n MISSING BLOCKS:\t" + missingIds.size()); res.append("\n MISSING SIZE:\t\t" + missingSize + " B"); res.append("\n ********************************"); } res.append("\n Over-replicated blocks:\t" + overReplicatedBlocks + " (" + ((float)(overReplicatedBlocks * 100) / (float)totalBlocks) + " %)"); res.append("\n Under-replicated blocks:\t" + underReplicatedBlocks + " (" + ((float)(underReplicatedBlocks * 100) / (float)totalBlocks) + " %)"); res.append("\n Target replication factor:\t" + replication); res.append("\n Real replication factor:\t" + getReplicationFactor()); return res.toString(); }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/0a03c22b7a4bbc38446a32b7b51606b45933f62e/DFSck.java/buggy/src/java/org/apache/hadoop/dfs/DFSck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 1377, 6674, 400, 273, 394, 6674, 5621, 1377, 400, 18, 6923, 2932, 1482, 30, 315, 397, 261, 291, 7802, 93, 1435, 692, 315, 3900, 1013, 2455, 61, 6, 294, 315, 9428, 19866, 1856, 7923, 1769, 1377, 400, 18, 6923, 31458, 82, 10710, 963, 5581, 88, 6, 397, 24611, 397, 315, 605, 8863, 1377, 400, 18, 6923, 31458, 82, 10710, 4398, 5581, 88, 6, 397, 2078, 6450, 397, 315, 261, 14141, 18, 1203, 963, 315, 2868, 397, 261, 4963, 1225, 342, 2078, 6450, 13, 397, 315, 605, 2225, 1769, 1377, 400, 18, 6923, 31458, 82, 10710, 7717, 5581, 88, 6, 397, 2078, 9872, 1769, 1377, 400, 18, 6923, 31458, 82, 10710, 1390, 5581, 88, 6, 397, 2078, 2697, 1769, 1377, 309, 261, 7337, 1225, 405, 374, 13, 288, 3639, 400, 18, 6923, 31458, 82, 225, 380, 19482, 11345, 7388, 1769, 3639, 400, 18, 6923, 31458, 82, 225, 28359, 19866, 1856, 7527, 55, 5581, 88, 6, 397, 16899, 2697, 1769, 3639, 400, 18, 6923, 31458, 82, 225, 28695, 14073, 55, 5581, 88, 6, 397, 3315, 2673, 18, 1467, 10663, 3639, 400, 18, 6923, 31458, 82, 225, 28695, 11963, 5581, 88, 64, 88, 6, 397, 3315, 1225, 397, 315, 605, 8863, 3639, 400, 18, 6923, 31458, 82, 225, 380, 19482, 11345, 7388, 1769, 1377, 289, 1377, 400, 18, 6923, 31458, 82, 10752, 17, 266, 20140, 4398, 5581, 88, 6, 397, 1879, 426, 20140, 6450, 2868, 397, 315, 7566, 397, 14015, 5659, 21433, 1643, 426, 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, 1762, 1435, 288, 1377, 6674, 400, 273, 394, 6674, 5621, 1377, 400, 18, 6923, 2932, 1482, 30, 315, 397, 261, 291, 7802, 93, 1435, 692, 315, 3900, 1013, 2455, 61, 6, 294, 315, 9428, 19866, 1856, 7923, 1769, 1377, 400, 18, 6923, 31458, 82, 10710, 963, 5581, 88, 6, 397, 24611, 397, 315, 605, 8863, 1377, 400, 18, 6923, 31458, 82, 10710, 4398, 5581, 88, 6, 397, 2078, 6450, 397, 315, 261, 14141, 18, 1203, 963, 315, 2868, 397, 261, 4963, 1225, 342, 2078, 6450, 13, 397, 315, 605, 2225, 1769, 1377, 400, 18, 6923, 31458, 82, 10710, 7717, 5581, 88, 6, 397, 2078, 9872, 1769, 1377, 400, 18, 6923, 31458, 82, 10710, 1390, 5581, 88, 2 ]
varList.add(resource.getFullPath());
varList.add(resource.getLocation());
protected void addFragmentMakefileEntriesForSource (LinkedHashMap buildVarToRuleStringMap, StringBuffer ruleBuffer, IFolder folder, String relativePath, IResource resource, String varName, boolean generatedSource) { // Determine which tool, if any, builds files with this extension String ext = resource.getFileExtension(); boolean toolFound = false; for (int j=0; j<buildTools.length; j++) { if (buildTools[j].buildsFileType(ext)) { toolFound = true; ITool tool = buildTools[j]; // look for the extension in the map StringBuffer bufferForExtension = new StringBuffer(); if (varName == null) { varName = getSourceMacroName(ext).toString(); // Add the resource to the list of all resources associated with a variable. List varList = (List)buildSrcVars.get(varName); varList.add(resource.getFullPath()); } else { // Add the resource to the list of all resources associated with a variable. List varList = (List)buildOutVars.get(varName); if (varList != null) { varList.add(resource.getFullPath()); } } if (!buildVarToRuleStringMap.containsKey(varName)) { // TODO - is this an error? continue; } // Add the resource name to the makefile line that adds resources to the build variable addMacroAdditionFile(buildVarToRuleStringMap, varName, relativePath, resource, generatedSource); // Generate the rule to build this source file IInputType primaryInputType = tool.getPrimaryInputType(); IInputType inputType = tool.getInputType(ext); if ((primaryInputType != null && !primaryInputType.getMultipleOfType()) || (inputType == null && !(tool == info.getToolFromOutputExtension(buildTargetExt)))) { // Try to add the rule for the file StringBuffer generatedDepFile = new StringBuffer(); Vector generatedOutputs = new Vector(); addRuleForSource(relativePath, ruleBuffer, resource, generatedSource, generatedDepFile, generatedOutputs); // If the rule generates a dependency file, add the file to the DEPS variable if (generatedDepFile.length() > 0) { addMacroAdditionFile(buildVarToRuleStringMap, DEPS_MACRO, generatedDepFile.toString()); } // If the generated outputs of this tool are input to another tool, // 1. add the output to the appropriate macro // 2. If the tool does not have multipleOfType input, generate the rule. IOutputType outType = tool.getPrimaryOutputType(); String buildVariable = null; if (outType != null) { buildVariable = outType.getBuildVariable(); } else { // For support of pre-CDT 3.0 integrations. buildVariable = OBJS_MACRO; } for (int k=0; k<generatedOutputs.size(); k++) { // TODO - this will only work for outputs generated below the build output directory? // try an option that generates an output outside of the project IPath generatedOutput = getBuildWorkingDir().addTrailingSeparator().append(relativePath).addTrailingSeparator().append((IPath)generatedOutputs.get(k)); IResource generateOutputResource = project.getFile(generatedOutput); addFragmentMakefileEntriesForSource(buildVarToRuleStringMap, ruleBuffer, folder, relativePath, generateOutputResource, buildVariable, true); } } } } if (!toolFound) { // If this generated output is identified as a secondary output, add the file to the build variable if (varName != null) { IOutputType[] secondaryOutputs = config.getToolChain().getSecondaryOutputs(); if (secondaryOutputs.length > 0) { if (isSecondaryOutputVar(secondaryOutputs, varName)) { addMacroAdditionFile(buildVarToRuleStringMap, varName, relativePath, resource, generatedSource); } } } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/107015f42710bd6aa44335ede117d866b68eaaef/GnuMakefileGenerator.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 527, 7456, 6464, 768, 5400, 1290, 1830, 261, 13174, 8658, 1361, 1537, 774, 2175, 780, 863, 16, 6674, 1720, 1892, 16, 1875, 202, 45, 3899, 3009, 16, 514, 12820, 16, 467, 1420, 1058, 16, 514, 13722, 16, 1250, 4374, 1830, 13, 288, 202, 202, 759, 225, 10229, 1492, 5226, 16, 309, 1281, 16, 10736, 1390, 598, 333, 2710, 202, 202, 780, 1110, 273, 1058, 18, 29925, 3625, 5621, 202, 202, 6494, 5226, 2043, 273, 629, 31, 202, 202, 1884, 261, 474, 525, 33, 20, 31, 525, 32, 3510, 10348, 18, 2469, 31, 525, 27245, 288, 1082, 202, 430, 261, 3510, 10348, 63, 78, 8009, 27324, 28941, 12, 408, 3719, 288, 9506, 202, 6738, 2043, 273, 638, 31, 9506, 202, 45, 6364, 5226, 273, 1361, 10348, 63, 78, 15533, 9506, 202, 759, 2324, 364, 326, 2710, 316, 326, 852, 9506, 202, 780, 1892, 1613, 1290, 3625, 273, 394, 6674, 5621, 9506, 202, 430, 261, 1401, 461, 422, 446, 13, 288, 6862, 202, 1401, 461, 273, 7889, 17392, 461, 12, 408, 2934, 10492, 5621, 6862, 202, 759, 225, 1436, 326, 1058, 358, 326, 666, 434, 777, 2703, 3627, 598, 279, 2190, 18, 6862, 202, 682, 569, 682, 273, 261, 682, 13, 3510, 7740, 5555, 18, 588, 12, 1401, 461, 1769, 6862, 202, 1401, 682, 18, 1289, 12, 3146, 18, 588, 24173, 10663, 9506, 202, 97, 469, 288, 6862, 202, 759, 225, 1436, 326, 1058, 358, 326, 666, 434, 777, 2703, 3627, 598, 279, 2190, 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, 1117, 918, 527, 7456, 6464, 768, 5400, 1290, 1830, 261, 13174, 8658, 1361, 1537, 774, 2175, 780, 863, 16, 6674, 1720, 1892, 16, 1875, 202, 45, 3899, 3009, 16, 514, 12820, 16, 467, 1420, 1058, 16, 514, 13722, 16, 1250, 4374, 1830, 13, 288, 202, 202, 759, 225, 10229, 1492, 5226, 16, 309, 1281, 16, 10736, 1390, 598, 333, 2710, 202, 202, 780, 1110, 273, 1058, 18, 29925, 3625, 5621, 202, 202, 6494, 5226, 2043, 273, 629, 31, 202, 202, 1884, 261, 474, 525, 33, 20, 31, 525, 32, 3510, 10348, 18, 2469, 31, 525, 27245, 288, 1082, 202, 430, 261, 3510, 10348, 63, 78, 8009, 27324, 28941, 12, 408, 3719, 288, 9506, 202, 6738, 2043, 273, 2 ]
public void write (int oneChar) throws IOException
public void write (int oneChar)
public void write (int oneChar) throws IOException { synchronized (lock) { if (closed) throw new IOException ("Stream closed"); resize (1); buf[count++] = (char) oneChar; } }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/2a2f08777812df44a380873f37954e6999cedd56/CharArrayWriter.java/clean/libjava/java/io/CharArrayWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 261, 474, 1245, 2156, 13, 225, 288, 565, 3852, 261, 739, 13, 1377, 288, 202, 430, 261, 12204, 13, 202, 225, 604, 394, 1860, 7566, 1228, 4375, 8863, 202, 15169, 261, 21, 1769, 202, 4385, 63, 1883, 9904, 65, 273, 261, 3001, 13, 1245, 2156, 31, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 261, 474, 1245, 2156, 13, 225, 288, 565, 3852, 261, 739, 13, 1377, 288, 202, 430, 261, 12204, 13, 202, 225, 604, 394, 1860, 7566, 1228, 4375, 8863, 202, 15169, 261, 21, 1769, 202, 4385, 63, 1883, 9904, 65, 273, 261, 3001, 13, 1245, 2156, 31, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int last = path.lastIndexOf(separatorChar); return path.substring(last + 1);
int nameSeqIndex = 0; if (separatorChar == '\\' && path.length () > 1) { if ((path.charAt (0) == '\\' && path.charAt (1) == '\\') || (((path.charAt (0) >= 'a' && path.charAt (0) <= 'z') || (path.charAt (0) >= 'A' && path.charAt (0) <= 'Z')) && path.charAt (1) == ':')) { if (path.length () > 2) nameSeqIndex = 2; else return ""; } } String nameSeq = (nameSeqIndex > 0 ? path.substring (nameSeqIndex) : path); int last = nameSeq.lastIndexOf (separatorChar); return nameSeq.substring (last + 1);
public String getName () { int last = path.lastIndexOf(separatorChar); return path.substring(last + 1); }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/1783125eaf2aee74235a77f736fdee3e34f992d5/File.java/clean/libjava/java/io/File.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1723, 1832, 225, 288, 565, 509, 1142, 273, 589, 18, 2722, 31985, 12, 11287, 2156, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1723, 1832, 225, 288, 565, 509, 1142, 273, 589, 18, 2722, 31985, 12, 11287, 2156, 1769, 565, 327, 589, 18, 28023, 12, 2722, 397, 404, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IParserEditStatus valid = (IParserEditStatus) getEditingDomain() .runExclusive(new RunnableWithResult.Impl() {
IParserEditStatus valid = (IParserEditStatus) getEditingDomain().runExclusive(new RunnableWithResult.Impl() {
public ICellEditorValidator getEditTextValidator() { return new ICellEditorValidator() { public String isValid(final Object value) { if (value instanceof String) { final EObject element = getParserElement(); final IParser parser = getParser(); try { IParserEditStatus valid = (IParserEditStatus) getEditingDomain() .runExclusive(new RunnableWithResult.Impl() { public void run() { setResult(parser.isValidEditString(new EObjectAdapter(element), (String) value)); } }); return valid.getCode() == ParserEditStatus.EDITABLE ? null : valid.getMessage(); } catch (InterruptedException ie) { ie.printStackTrace(); } } // shouldn't get here return null; } }; }
56962 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56962/816096641504ba96db7bef449fe01a4b67ff0d37/InputPinName5EditPart.java/buggy/plugins/org.eclipse.uml2.diagram.activity/src/org/eclipse/uml2/diagram/activity/edit/parts/InputPinName5EditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 4020, 6946, 5126, 21221, 1528, 5126, 1435, 288, 202, 202, 2463, 394, 467, 4020, 6946, 5126, 1435, 288, 1082, 202, 482, 514, 4908, 12, 6385, 1033, 460, 13, 288, 9506, 202, 430, 261, 1132, 1276, 514, 13, 288, 6862, 202, 6385, 8091, 930, 273, 20804, 1046, 5621, 6862, 202, 6385, 467, 2678, 2082, 273, 20804, 5621, 6862, 202, 698, 288, 25083, 202, 45, 2678, 4666, 1482, 923, 273, 261, 45, 2678, 4666, 1482, 13, 21221, 310, 3748, 1435, 6862, 9506, 202, 18, 2681, 17075, 12, 2704, 10254, 1190, 1253, 18, 2828, 1435, 288, 6862, 6862, 202, 482, 918, 1086, 1435, 288, 6862, 25083, 202, 542, 1253, 12, 4288, 18, 26810, 4666, 780, 12, 2704, 8091, 4216, 12, 2956, 3631, 261, 780, 13, 460, 10019, 6862, 6862, 202, 97, 6862, 9506, 202, 22938, 25083, 202, 2463, 923, 18, 588, 1085, 1435, 422, 6783, 4666, 1482, 18, 10776, 2782, 692, 446, 294, 923, 18, 24906, 5621, 6862, 202, 97, 1044, 261, 24485, 503, 9228, 13, 288, 25083, 202, 1385, 18, 1188, 6332, 5621, 6862, 202, 97, 9506, 202, 97, 9506, 202, 759, 12044, 1404, 336, 2674, 9506, 202, 2463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 202, 2463, 394, 467, 4020, 6946, 5126, 1435, 288, 1082, 202, 482, 514, 4908, 12, 6385, 1033, 460, 13, 288, 9506, 202, 430, 261, 1132, 1276, 514, 13, 288, 6862, 202, 6385, 8091, 930, 273, 20804, 1046, 5621, 6862, 202, 6385, 467, 2678, 2082, 273, 20804, 5621, 6862, 202, 698, 288, 25083, 202, 45, 2678, 4666, 1482, 923, 273, 261, 45, 2678, 4666, 1482, 13, 21221, 310, 3748, 1435, 6862, 9506, 202, 18, 2681, 17075, 12, 2704, 10254, 1190, 1253, 18, 2828, 1435, 288, 6862, 6862, 202, 482, 918, 1086, 1435, 288, 6862, 25083, 202, 542, 1253, 12, 4288, 18, 26810, 4666, 780, 12, 2704, 8091, 2 ]
} else if(name.equals(latestFilename)) { Logger.minor(this, "Renaming latest to previous"); f.renameTo(previousFilename); continue; }
public void findOldLogFiles() { int slashIndex = baseFilename.lastIndexOf(File.separatorChar); File dir; String prefix; if(slashIndex == -1) { dir = new File(System.getProperty("user.dir")); prefix = baseFilename.toLowerCase(); } else { dir = new File(baseFilename.substring(0, slashIndex)); prefix = baseFilename.substring(slashIndex+1).toLowerCase(); } File[] files = dir.listFiles(); java.util.Arrays.sort(files); long lastStartTime = -1; File oldFile = null; for(int i=0;i<files.length;i++) { File f = files[i]; String name = f.getName(); if(name.toLowerCase().startsWith(prefix)) { if(name.equals(previousFilename)) { Logger.minor(this, "Deleting "+previousFilename); f.delete(); continue; } else if(name.equals(latestFilename)) { Logger.minor(this, "Renaming latest to previous"); f.renameTo(previousFilename); continue; } if(!name.endsWith(".log.gz")) { Logger.minor(this, "Does not end in .log.gz: "+name); f.delete(); continue; } else { name = name.substring(0, name.length()-".log.gz".length()); } name = name.substring(prefix.length()); if(name.length() == 0 || name.charAt(0) != '-') { Logger.minor(this, "Deleting unrecognized: "+name+" ("+f.getPath()+")"); f.delete(); continue; } else name = name.substring(1); String[] tokens = name.split("-"); int[] nums = new int[tokens.length]; for(int j=0;j<tokens.length;j++) { try { nums[j] = Integer.parseInt(tokens[j]); } catch (NumberFormatException e) { Logger.normal(this, "Could not parse: "+tokens[j]+" into number from "+name); // Broken f.delete(); continue; } } // First field: version if(nums[0] != Version.buildNumber) { Logger.minor(this, "Deleting old log from build "+nums[0]+", current="+Version.buildNumber); // Logs that old are useless f.delete(); continue; } GregorianCalendar gc = new GregorianCalendar(); if(nums.length > 1) gc.set(Calendar.YEAR, nums[1]); if(nums.length > 2) gc.set(Calendar.MONTH, nums[2]); if(nums.length > 3) gc.set(Calendar.DAY_OF_MONTH, nums[3]); if(nums.length > 4) gc.set(Calendar.HOUR_OF_DAY, nums[4]); if(nums.length > 5) gc.set(Calendar.MINUTE, nums[5]); long startTime = gc.getTimeInMillis(); if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, startTime, l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } lastStartTime = -1; oldFile = f; } else { // Nothing to do with us Logger.normal(this, "Unknown file: "+name+" in our log directory"); } } if(oldFile != null) { long l = oldFile.length(); OldLogFile olf = new OldLogFile(oldFile, lastStartTime, System.currentTimeMillis(), l); logFiles.addLast(olf); oldLogFilesDiskSpaceUsage += l; } trimOldLogFiles(); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/a4fbc0503efa638a45b13ca5767c814868fc6f8f/FileLoggerHook.java/buggy/src/freenet/support/FileLoggerHook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 7617, 1343, 2697, 1435, 288, 202, 202, 474, 9026, 1016, 273, 1026, 5359, 18, 2722, 31985, 12, 812, 18, 11287, 2156, 1769, 202, 202, 812, 1577, 31, 202, 202, 780, 1633, 31, 202, 202, 430, 12, 12877, 1016, 422, 300, 21, 13, 288, 1082, 202, 1214, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 1082, 202, 3239, 273, 1026, 5359, 18, 869, 5630, 5621, 202, 202, 97, 469, 288, 1082, 202, 1214, 273, 394, 1387, 12, 1969, 5359, 18, 28023, 12, 20, 16, 9026, 1016, 10019, 1082, 202, 3239, 273, 1026, 5359, 18, 28023, 12, 12877, 1016, 15, 21, 2934, 869, 5630, 5621, 202, 202, 97, 202, 202, 812, 8526, 1390, 273, 1577, 18, 1098, 2697, 5621, 202, 202, 6290, 18, 1367, 18, 12726, 18, 3804, 12, 2354, 1769, 202, 202, 5748, 1142, 13649, 273, 300, 21, 31, 202, 202, 812, 1592, 812, 273, 446, 31, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 2354, 18, 2469, 31, 77, 27245, 288, 1082, 202, 812, 284, 273, 1390, 63, 77, 15533, 1082, 202, 780, 508, 273, 284, 18, 17994, 5621, 1082, 202, 430, 12, 529, 18, 869, 5630, 7675, 17514, 1190, 12, 3239, 3719, 288, 9506, 202, 430, 12, 529, 18, 14963, 12, 11515, 5359, 3719, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 20433, 13773, 11515, 5359, 1769, 6862, 202, 74, 18, 3733, 5621, 6862, 202, 17143, 31, 9506, 202, 97, 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, 1104, 7617, 1343, 2697, 1435, 288, 202, 202, 474, 9026, 1016, 273, 1026, 5359, 18, 2722, 31985, 12, 812, 18, 11287, 2156, 1769, 202, 202, 812, 1577, 31, 202, 202, 780, 1633, 31, 202, 202, 430, 12, 12877, 1016, 422, 300, 21, 13, 288, 1082, 202, 1214, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 1082, 202, 3239, 273, 1026, 5359, 18, 869, 5630, 5621, 202, 202, 97, 469, 288, 1082, 202, 1214, 273, 394, 1387, 12, 1969, 5359, 18, 28023, 12, 20, 16, 9026, 1016, 10019, 1082, 202, 3239, 273, 1026, 5359, 18, 28023, 12, 12877, 1016, 15, 21, 2934, 869, 5630, 5621, 202, 202, 97, 202, 202, 2 ]
if (result.isCanceled()) return; VMProvider provider = getViewModelProvider(context); if (provider == null) { result.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfService.INTERNAL_ERROR, "No model provider for object: " + element.toString(), null)); result.done();
IPresentationContext context = null; int firstIdx = 0; int curIdx = 0; for (curIdx = 0; curIdx < updates.length; curIdx++) { if (!updates[curIdx].getPresentationContext().equals(context)) { if (context != null) { callProviderWithUpdate(updates, firstIdx, curIdx); } context = updates[curIdx].getPresentationContext(); firstIdx = curIdx; }
public void run() { if (result.isCanceled()) return; VMProvider provider = getViewModelProvider(context); if (provider == null) { result.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfService.INTERNAL_ERROR, "No model provider for object: " + element.toString(), null)); //$NON-NLS-1$ result.done(); } provider.isContainer(element, result); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/b191075ec4d85f4cc588e7556be42d8f15e4745e/AbstractVMAdapter.java/clean/plugins/org.eclipse.dd.dsf.ui/src/org/eclipse/dd/dsf/ui/viewmodel/AbstractVMAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1086, 1435, 288, 10792, 309, 261, 2088, 18, 291, 23163, 10756, 327, 31, 4766, 3639, 8251, 2249, 2893, 273, 8893, 1488, 2249, 12, 2472, 1769, 10792, 309, 261, 6778, 422, 446, 13, 288, 13491, 563, 18, 542, 1482, 12, 2704, 2685, 12, 45, 1482, 18, 3589, 16, 463, 21668, 5370, 3773, 18, 19415, 67, 734, 16, 7115, 74, 1179, 18, 14005, 67, 3589, 16, 315, 2279, 938, 2893, 364, 733, 30, 315, 397, 930, 18, 10492, 9334, 446, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 13491, 563, 18, 8734, 5621, 10792, 289, 10792, 2893, 18, 291, 2170, 12, 2956, 16, 563, 1769, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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12, 2472, 1769, 10792, 309, 261, 6778, 422, 446, 13, 288, 13491, 563, 18, 542, 1482, 12, 2704, 2685, 12, 45, 1482, 18, 3589, 16, 463, 21668, 5370, 3773, 18, 19415, 67, 734, 16, 7115, 74, 1179, 18, 14005, 67, 3589, 16, 315, 2279, 938, 2893, 364, 733, 30, 315, 397, 930, 18, 10492, 9334, 446, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 13491, 563, 18, 8734, 5621, 10792, 289, 10792, 2893, 18, 291, 2170, 12, 2956, 16, 563, 1769, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setAttribute("class", newValue);
setAttribute("class", newValue);
public void setClassName(String newValue) { setAttribute("class", newValue); }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/a0ba982304fe9f3700209293da4d2533e292e5d2/WMLSelectElementImpl.java/clean/src/org/apache/wml/dom/WMLSelectElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3834, 12, 780, 6129, 13, 288, 202, 542, 1499, 2932, 1106, 3113, 6129, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3834, 12, 780, 6129, 13, 288, 202, 542, 1499, 2932, 1106, 3113, 6129, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Collection servernames = (Collection) getMailetContext().getAttribute(Constants.SERVER_NAMES); if (servernames.size() > 0) { props.put("mail.smtp.localhost", (String) servernames.iterator().next()); }
private boolean deliver(MailImpl mail, Session session) { try { log("attempting to deliver " + mail.getName()); MimeMessage message = mail.getMessage(); //Create an array of the recipients as InternetAddress objects Collection recipients = mail.getRecipients(); InternetAddress addr[] = new InternetAddress[recipients.size()]; int j = 0; for (Iterator i = recipients.iterator(); i.hasNext(); j++) { MailAddress rcpt = (MailAddress)i.next(); addr[j] = rcpt.toInternetAddress(); } //Figure out which servers to try to send to. This collection // will hold all the possible target servers Collection targetServers = null; if (gatewayServer == null) { MailAddress rcpt = (MailAddress) recipients.iterator().next(); String host = rcpt.getHost(); //Lookup the possible targets targetServers = getMailetContext().getMailServers(host); if (targetServers.size() == 0) { log("No mail server found for: " + host); return failMessage(mail, new MessagingException("No route found to " + host), true); } } else { targetServers = new Vector(); targetServers.add(gatewayServer); } MessagingException lastError = null; if (addr.length > 0) { Iterator i = targetServers.iterator(); while ( i.hasNext()) { try { String outgoingmailserver = i.next().toString (); log("attempting delivery of " + mail.getName() + " to host " + outgoingmailserver + " to " + Arrays.asList(addr)); URLName urlname = new URLName("smtp://" + outgoingmailserver); Properties props = session.getProperties(); //This was an older version of JavaMail if (mail.getSender() == null) { props.put("mail.smtp.user", "<>"); props.put("mail.smtp.from", "<>"); } else { props.put("mail.smtp.user", mail.getSender().toString()); props.put("mail.smtp.from", mail.getSender().toString()); } Collection servernames = (Collection) getMailetContext().getAttribute(Constants.SERVER_NAMES); if (servernames.size() > 0) { props.put("mail.smtp.localhost", (String) servernames.iterator().next()); } //Many of these properties are only in later JavaMail versions //"mail.smtp.ehlo" //default true //"mail.smtp.auth" //default false //"mail.smtp.dsn.ret" //default to nothing... appended as RET= after MAIL FROM line. //"mail.smtp.dsn.notify" //default to nothing...appended as NOTIFY= after RCPT TO line. Transport transport = session.getTransport(urlname); transport.connect(); transport.sendMessage(message, addr); transport.close(); log("mail (" + mail.getName() + ") sent successfully to " + outgoingmailserver); return true; } catch (SendFailedException sfe) { throw sfe; } catch (MessagingException me) { //MessagingException are horribly difficult to figure out what actually happened. log("Exception delivering message (" + mail.getName() + ") - " + me.getMessage()); //Assume it is a permanent exception, or prove ourselves otherwise boolean permanent = true; if (me.getNextException() != null && me.getNextException() instanceof java.io.IOException) { //This is more than likely a temporary failure //If it's an IO exception with no nested exception, it's probably // some socket or weird IO related problem. permanent = false; } else if (me.getMessage().startsWith("Could not connect to SMTP host")) { //This is not a permanent exception because permanent = false; } //Now take action based on whether this was a permanent or temporary action if (permanent) { //If it's permanent, fail immediately. return failMessage(mail, me, true); } else { //Record what the last error is and continue the loop in case // there are other servers we could try. lastError = me; continue; } } } // end while //If we encountered an exception while looping through, send the last exception we got if (lastError != null) { throw lastError; } } else { log("no recipients specified... not sure how this could have happened."); } } catch (SendFailedException sfe) { //Would like to log all the types of email addresses if (sfe.getValidSentAddresses() != null) { Address[] validSent = sfe.getValidSentAddresses(); Collection recipients = mail.getRecipients(); //Remove these addresses for the recipients for (int i = 0; i < validSent.length; i++) { try { MailAddress addr = new MailAddress(validSent[i].toString()); recipients.remove(addr); } catch (ParseException pe) { //ignore once debugging done pe.printStackTrace(); } } } //The rest of the recipients failed for one reason or another. //let the fail message handle it like a permanent exception. return failMessage(mail, sfe, true); } catch (MessagingException ex) { //We should do a better job checking this... if the failure is a general //connect exception, this is less descriptive than more specific SMTP command //failure... have to lookup and see what are the various Exception //possibilities //Unable to deliver message after numerous tries... fail accordingly return failMessage(mail, ex, false); } return true; }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/fc41a7bedc009ac3714a910a29137eed778c78ed/RemoteDelivery.java/buggy/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 11795, 12, 6759, 2828, 4791, 16, 3877, 1339, 13, 288, 3639, 775, 288, 5411, 613, 2932, 11764, 310, 358, 11795, 315, 397, 4791, 18, 17994, 10663, 5411, 22059, 1079, 883, 273, 4791, 18, 24906, 5621, 5411, 368, 1684, 392, 526, 434, 326, 12045, 487, 21352, 1887, 2184, 5411, 2200, 12045, 273, 4791, 18, 588, 22740, 5621, 5411, 21352, 1887, 3091, 8526, 273, 394, 21352, 1887, 63, 27925, 18, 1467, 1435, 15533, 5411, 509, 525, 273, 374, 31, 5411, 364, 261, 3198, 277, 273, 12045, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 525, 27245, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 77, 18, 4285, 5621, 7734, 3091, 63, 78, 65, 273, 4519, 337, 18, 869, 26562, 1887, 5621, 5411, 289, 5411, 368, 42, 15906, 596, 1492, 7084, 358, 775, 358, 1366, 358, 18, 225, 1220, 1849, 5411, 368, 225, 903, 6887, 777, 326, 3323, 1018, 7084, 5411, 2200, 1018, 11913, 273, 446, 31, 5411, 309, 261, 11127, 2081, 422, 446, 13, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 12045, 18, 9838, 7675, 4285, 5621, 7734, 514, 1479, 273, 4519, 337, 18, 588, 2594, 5621, 7734, 368, 6609, 326, 3323, 5774, 7734, 1018, 11913, 273, 31991, 278, 1042, 7675, 588, 6759, 11913, 12, 2564, 1769, 7734, 309, 261, 3299, 11913, 18, 1467, 1435, 422, 374, 13, 288, 10792, 613, 2932, 2279, 4791, 1438, 1392, 364, 30, 315, 397, 1479, 1769, 10792, 327, 2321, 1079, 12, 4408, 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, 377, 3238, 1250, 11795, 12, 6759, 2828, 4791, 16, 3877, 1339, 13, 288, 3639, 775, 288, 5411, 613, 2932, 11764, 310, 358, 11795, 315, 397, 4791, 18, 17994, 10663, 5411, 22059, 1079, 883, 273, 4791, 18, 24906, 5621, 5411, 368, 1684, 392, 526, 434, 326, 12045, 487, 21352, 1887, 2184, 5411, 2200, 12045, 273, 4791, 18, 588, 22740, 5621, 5411, 21352, 1887, 3091, 8526, 273, 394, 21352, 1887, 63, 27925, 18, 1467, 1435, 15533, 5411, 509, 525, 273, 374, 31, 5411, 364, 261, 3198, 277, 273, 12045, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 525, 27245, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 77, 18, 4285, 5621, 7734, 3091, 63, 78, 65, 273, 4519, 2 ]
while(it.hasNext()) { String pathName = (String)it.next(); config_.addFinalResource(new Path(pathName));
while (it.hasNext()) { String pathName = (String) it.next(); config_.addFinalResource(new Path(pathName));
protected void setJobConf() throws IOException { msg("hadoopAliasConf_ = " + hadoopAliasConf_); config_ = new Configuration(); if(!cluster_.equals("default")) { config_.addFinalResource(new Path(getHadoopAliasConfFile())); } else { // use only defaults: hadoop-default.xml and hadoop-site.xml } Iterator it = configPath_.iterator(); while(it.hasNext()) { String pathName = (String)it.next(); config_.addFinalResource(new Path(pathName)); } // general MapRed job properties jobConf_ = new JobConf(config_); for(int i=0; i<inputGlobs_.size(); i++) { jobConf_.addInputPath(new Path((String)inputGlobs_.get(i))); } jobConf_.setInputFormat(StreamInputFormat.class); // for SequenceFile, input classes may be overriden in getRecordReader jobConf_.setInputKeyClass(Text.class); jobConf_.setInputValueClass(Text.class); jobConf_.setOutputKeyClass(Text.class); jobConf_.setOutputValueClass(Text.class); //jobConf_.setCombinerClass(); jobConf_.setOutputPath(new Path(output_)); jobConf_.setOutputFormat(StreamOutputFormat.class); jobConf_.set("stream.addenvironment", addTaskEnvironment_); String defaultPackage = this.getClass().getPackage().getName(); Class c = StreamUtil.goodClassOrNull(mapCmd_, defaultPackage); if(c != null) { jobConf_.setMapperClass(c); } else { jobConf_.setMapperClass(PipeMapper.class); jobConf_.set("stream.map.streamprocessor", mapCmd_); } if(comCmd_ != null) { c = StreamUtil.goodClassOrNull(comCmd_, defaultPackage); if(c != null) { jobConf_.setCombinerClass(c); } else { jobConf_.setCombinerClass(PipeCombiner.class); jobConf_.set("stream.combine.streamprocessor", comCmd_); } } if(redCmd_ != null) { c = StreamUtil.goodClassOrNull(redCmd_, defaultPackage); if(c != null) { jobConf_.setReducerClass(c); } else { jobConf_.setReducerClass(PipeReducer.class); jobConf_.set("stream.reduce.streamprocessor", redCmd_); } } if(inReaderSpec_ != null) { String[] args = inReaderSpec_.split(","); String readerClass = args[0]; // this argument can only be a Java class c = StreamUtil.goodClassOrNull(readerClass, defaultPackage); if(c != null) { jobConf_.set("stream.recordreader.class", c.getName()); } else { fail("-inputreader: class not found: " + readerClass); } for(int i=1; i<args.length; i++) { String[] nv = args[i].split("=", 2); String k = "stream.recordreader." + nv[0]; String v = (nv.length>1) ? nv[1] : ""; jobConf_.set(k, v); } } jar_ = packageJobJar(); if(jar_ != null) { jobConf_.setJar(jar_); } // last, allow user to override anything // (although typically used with properties we didn't touch) it = userJobConfProps_.iterator(); while(it.hasNext()) { String prop = (String)it.next(); String[] nv = prop.split("=", 2); msg("xxxJobConf: set(" + nv[0] + ", " + nv[1]+")"); jobConf_.set(nv[0], nv[1]); } msg("submitting to jobconf: " + getJobTrackerHostPort()); }
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/e10b40e8014547113799b2653164e8c990d41209/StreamJob.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 444, 2278, 3976, 1435, 1216, 1860, 225, 288, 565, 1234, 2932, 76, 12460, 2936, 3976, 67, 273, 315, 397, 22840, 2936, 3976, 67, 1769, 565, 642, 67, 273, 394, 4659, 5621, 565, 309, 12, 5, 7967, 27799, 14963, 2932, 1886, 6, 3719, 288, 3639, 642, 27799, 1289, 7951, 1420, 12, 2704, 2666, 12, 588, 44, 12460, 2936, 3976, 812, 1435, 10019, 565, 289, 469, 288, 1377, 368, 999, 1338, 3467, 30, 22840, 17, 1886, 18, 2902, 471, 22840, 17, 4256, 18, 2902, 565, 289, 565, 4498, 518, 273, 16012, 27799, 9838, 5621, 565, 1323, 12, 305, 18, 5332, 2134, 10756, 288, 3639, 514, 22943, 273, 261, 780, 13, 305, 18, 4285, 5621, 3639, 642, 27799, 1289, 7951, 1420, 12, 2704, 2666, 12, 803, 461, 10019, 565, 289, 565, 368, 7470, 1635, 3715, 1719, 1790, 565, 1719, 3976, 67, 273, 394, 3956, 3976, 12, 1425, 67, 1769, 565, 364, 12, 474, 277, 33, 20, 31, 277, 32, 2630, 13499, 87, 27799, 1467, 5621, 277, 27245, 288, 1377, 1719, 3976, 27799, 1289, 1210, 743, 12, 2704, 2666, 12443, 780, 13, 2630, 13499, 87, 27799, 588, 12, 77, 3719, 1769, 565, 289, 565, 1719, 3976, 27799, 542, 1210, 1630, 12, 1228, 1210, 1630, 18, 1106, 1769, 565, 368, 364, 8370, 812, 16, 810, 3318, 2026, 506, 31736, 316, 11674, 2514, 565, 1719, 3976, 27799, 542, 1210, 653, 797, 12, 1528, 18, 1106, 1769, 565, 1719, 3976, 27799, 542, 1210, 620, 797, 12, 1528, 18, 1106, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 444, 2278, 3976, 1435, 1216, 1860, 225, 288, 565, 1234, 2932, 76, 12460, 2936, 3976, 67, 273, 315, 397, 22840, 2936, 3976, 67, 1769, 565, 642, 67, 273, 394, 4659, 5621, 565, 309, 12, 5, 7967, 27799, 14963, 2932, 1886, 6, 3719, 288, 3639, 642, 27799, 1289, 7951, 1420, 12, 2704, 2666, 12, 588, 44, 12460, 2936, 3976, 812, 1435, 10019, 565, 289, 469, 288, 1377, 368, 999, 1338, 3467, 30, 22840, 17, 1886, 18, 2902, 471, 22840, 17, 4256, 18, 2902, 565, 289, 565, 4498, 518, 273, 16012, 27799, 9838, 5621, 565, 1323, 12, 305, 18, 5332, 2134, 10756, 288, 3639, 514, 22943, 273, 261, 780, 13, 305, 18, 4285, 5621, 3639, 642, 27799, 1289, 2 ]
if (jj_scan_token(COMMA)) return true; if (jj_3R_279()) return true;
if (jj_scan_token(IDENTIFIER)) return true; if (jj_scan_token(ASSIGN)) return true; if (jj_3R_88()) return true;
final private boolean jj_3R_280() { if (jj_scan_token(COMMA)) return true; if (jj_3R_279()) return true; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/30dbed0065b5a20aa4e60ae16f7a8e47197c4cee/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 22, 3672, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 29, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 22, 3672, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 29, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_notifyScreenLineChanges(); if(delayedMultilineUpdate) { textArea.invalidateScreenLineRange( textArea.chunkCache .getScreenLineOfOffset( delayedUpdateStart,0), textArea.getVisibleLines()); delayedMultilineUpdate = false; } else { textArea.invalidateLineRange( delayedUpdateStart, delayedUpdateEnd); } int _firstLine = textArea.getFirstPhysicalLine(); int _lastLine = textArea.getLastPhysicalLine(); int line = delayedUpdateStart; if(!isLineVisible(line)) line = getNextVisibleLine(line); while(line != -1 && line <= delayedUpdateEnd) { if(line < _firstLine || line > _lastLine) { getScreenLineCount(line); } line = getNextVisibleLine(line); } int visibleLines = textArea .getVisibleLines(); if(visibleLines != 0) { textArea.chunkCache.getLineInfo( visibleLines - 1); } buffer.getFoldLevel(delayedUpdateEnd);
scrollLineCount += getScreenLineCount(line); line = getNextVisibleLine(line);
public void transactionComplete(Buffer buffer) { if(textArea.getDisplayManager() == DisplayManager.this) { if(delayedUpdate) { // must be before the below call // so that the chunk cache is not // updated with an invisible first // line (see above) _notifyScreenLineChanges(); if(delayedMultilineUpdate) { textArea.invalidateScreenLineRange( textArea.chunkCache .getScreenLineOfOffset( delayedUpdateStart,0), textArea.getVisibleLines()); delayedMultilineUpdate = false; } else { textArea.invalidateLineRange( delayedUpdateStart, delayedUpdateEnd); } int _firstLine = textArea.getFirstPhysicalLine(); int _lastLine = textArea.getLastPhysicalLine(); int line = delayedUpdateStart; if(!isLineVisible(line)) line = getNextVisibleLine(line); while(line != -1 && line <= delayedUpdateEnd) { if(line < _firstLine || line > _lastLine) { getScreenLineCount(line); } line = getNextVisibleLine(line); } // update visible lines int visibleLines = textArea .getVisibleLines(); if(visibleLines != 0) { textArea.chunkCache.getLineInfo( visibleLines - 1); } // force the fold levels to be // updated. // when painting the last line of // a buffer, Buffer.isFoldStart() // doesn't call getFoldLevel(), // hence the foldLevelChanged() // event might not be sent for the // previous line. buffer.getFoldLevel(delayedUpdateEnd); } textArea._finishCaretUpdate(); } //{{{ Debug code if(Debug.SCROLL_VERIFY) { int scrollLineCount = 0; for(int i = 0; i < textArea.getLineCount(); i++) { if(isLineVisible(i)) { scrollLineCount += getScreenLineCount(i); } } if(scrollLineCount != getScrollLineCount()) { throw new InternalError(scrollLineCount + " != " + getScrollLineCount()); } } //}}} delayedUpdate = false; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/e6e3327019fa6a56ac5ebb63c9ba2d29f9287b9f/DisplayManager.java/buggy/org/gjt/sp/jedit/textarea/DisplayManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2492, 6322, 12, 1892, 1613, 13, 202, 202, 95, 1082, 202, 430, 12, 955, 5484, 18, 588, 4236, 1318, 1435, 422, 9311, 1318, 18, 2211, 13, 1082, 202, 95, 9506, 202, 430, 12, 10790, 329, 1891, 13, 9506, 202, 95, 6862, 202, 759, 1297, 506, 1865, 326, 5712, 745, 6862, 202, 759, 1427, 716, 326, 2441, 1247, 353, 486, 6862, 202, 759, 3526, 598, 392, 24697, 1122, 6862, 202, 759, 980, 261, 5946, 5721, 13, 6862, 202, 67, 12336, 7956, 1670, 7173, 5621, 6862, 202, 430, 12, 10790, 329, 5049, 12554, 1891, 13, 6862, 202, 95, 25083, 202, 955, 5484, 18, 5387, 340, 7956, 1670, 2655, 12, 6862, 1082, 202, 955, 5484, 18, 6551, 1649, 6862, 1082, 202, 18, 588, 7956, 1670, 951, 2335, 12, 6862, 1082, 202, 10790, 329, 1891, 1685, 16, 20, 3631, 6862, 1082, 202, 955, 5484, 18, 588, 6207, 5763, 10663, 25083, 202, 10790, 329, 5049, 12554, 1891, 273, 629, 31, 6862, 202, 97, 6862, 202, 12107, 6862, 202, 95, 25083, 202, 955, 5484, 18, 5387, 340, 1670, 2655, 12, 6862, 1082, 202, 10790, 329, 1891, 1685, 16, 6862, 1082, 202, 10790, 329, 1891, 1638, 1769, 6862, 202, 97, 6862, 202, 474, 389, 3645, 1670, 273, 977, 5484, 18, 588, 3759, 18136, 1670, 5621, 6862, 202, 474, 389, 2722, 1670, 273, 977, 5484, 18, 588, 3024, 18136, 1670, 5621, 6862, 202, 474, 980, 273, 15278, 1891, 1685, 31, 6862, 202, 430, 12, 5, 291, 1670, 6207, 12, 1369, 3719, 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, 3196, 202, 482, 918, 2492, 6322, 12, 1892, 1613, 13, 202, 202, 95, 1082, 202, 430, 12, 955, 5484, 18, 588, 4236, 1318, 1435, 422, 9311, 1318, 18, 2211, 13, 1082, 202, 95, 9506, 202, 430, 12, 10790, 329, 1891, 13, 9506, 202, 95, 6862, 202, 759, 1297, 506, 1865, 326, 5712, 745, 6862, 202, 759, 1427, 716, 326, 2441, 1247, 353, 486, 6862, 202, 759, 3526, 598, 392, 24697, 1122, 6862, 202, 759, 980, 261, 5946, 5721, 13, 6862, 202, 67, 12336, 7956, 1670, 7173, 5621, 6862, 202, 430, 12, 10790, 329, 5049, 12554, 1891, 13, 6862, 202, 95, 25083, 202, 955, 5484, 18, 5387, 340, 7956, 1670, 2655, 12, 6862, 1082, 202, 955, 5484, 18, 6551, 1649, 2 ]
jj_la1[50] = jj_gen;
jj_la1[49] = jj_gen;
final public void Directive(ParserBlockBuilder b) throws ParseException { Token t; Object o; Subdirective s; jj_consume_token(POUND); SetState(WM); if (jj_2_8(2147483647) && (b.directiveOk())) { t = jj_consume_token(WORD); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: jj_la1[50] = jj_gen; ; } o = parse_directive(t.image); b.eatTrailingWsNl(); b.addElement(o); } else { b.addElement("#"); } SetState(DEFAULT); }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/9cd8a2e9513b8b6713b9b8b25523a7b87ce463d3/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 31081, 12, 2678, 1768, 1263, 324, 13, 1216, 10616, 288, 225, 3155, 268, 31, 225, 1033, 320, 31, 225, 2592, 22347, 272, 31, 565, 10684, 67, 21224, 67, 2316, 12, 2419, 5240, 1769, 565, 1000, 1119, 12, 25173, 1769, 565, 309, 261, 78, 78, 67, 22, 67, 28, 12, 22, 3461, 30623, 30792, 13, 597, 261, 70, 18, 22347, 8809, 1435, 3719, 288, 1377, 268, 273, 10684, 67, 21224, 67, 2316, 12, 7952, 1769, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 7649, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 2651, 1769, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 7616, 65, 273, 10684, 67, 4507, 31, 3639, 274, 1377, 289, 1377, 320, 273, 1109, 67, 22347, 12, 88, 18, 2730, 1769, 540, 324, 18, 73, 270, 16808, 15444, 50, 80, 5621, 324, 18, 1289, 1046, 12, 83, 1769, 565, 289, 469, 288, 3639, 324, 18, 1289, 1046, 2932, 7, 8863, 565, 289, 565, 1000, 1119, 12, 5280, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 31081, 12, 2678, 1768, 1263, 324, 13, 1216, 10616, 288, 225, 3155, 268, 31, 225, 1033, 320, 31, 225, 2592, 22347, 272, 31, 565, 10684, 67, 21224, 67, 2316, 12, 2419, 5240, 1769, 565, 1000, 1119, 12, 25173, 1769, 565, 309, 261, 78, 78, 67, 22, 67, 28, 12, 22, 3461, 30623, 30792, 13, 597, 261, 70, 18, 22347, 8809, 1435, 3719, 288, 1377, 268, 273, 10684, 67, 21224, 67, 2316, 12, 7952, 1769, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 7649, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 2651, 1769, 3639, 898, 31, 2 ]
for(int i = 0; i < getInputFormat().numInstances(); i++) { convertInstance(getInputFormat().instance(i));
for(int i = 0; i < input.numInstances(); i++) { convertInstance(input.instance(i));
public boolean batchFinished() throws Exception { if (getInputFormat() == null) { throw new Exception("No input instance format defined"); } if (m_MinArray == null) { // Compute minimums and maximums m_MinArray = new double[getInputFormat().numAttributes()]; m_MaxArray = new double[getInputFormat().numAttributes()]; for (int i = 0; i < getInputFormat().numAttributes(); i++) { m_MinArray[i] = Double.NaN; } for (int j = 0; j < getInputFormat().numInstances(); j++) { double[] value = getInputFormat().instance(j).toDoubleArray(); for (int i = 0; i < getInputFormat().numAttributes(); i++) { if (getInputFormat().attribute(i).isNumeric()) { if (!Instance.isMissingValue(value[i])) { if (Double.isNaN(m_MinArray[i])) { m_MinArray[i] = m_MaxArray[i] = value[i]; } else { if (value[i] < m_MinArray[i]) { m_MinArray[i] = value[i]; } if (value[i] > m_MaxArray[i]) { m_MaxArray[i] = value[i]; } } } } } } // Convert pending input instances for(int i = 0; i < getInputFormat().numInstances(); i++) { convertInstance(getInputFormat().instance(i)); } } // Free memory flushInput(); m_NewBatch = true; return (numPendingOutput() != 0); }
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/07d79be1d827125139d45e1eebcb022d05743179/NormalizationFilter.java/buggy/weka/filters/NormalizationFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2581, 10577, 1435, 1216, 1185, 288, 565, 309, 261, 588, 1210, 1630, 1435, 422, 446, 13, 288, 1377, 604, 394, 1185, 2932, 2279, 810, 791, 740, 2553, 8863, 565, 289, 565, 309, 261, 81, 67, 2930, 1076, 422, 446, 13, 288, 540, 368, 8155, 5224, 87, 471, 4207, 87, 1377, 312, 67, 2930, 1076, 273, 394, 1645, 63, 588, 1210, 1630, 7675, 2107, 2498, 1435, 15533, 1377, 312, 67, 2747, 1076, 273, 394, 1645, 63, 588, 1210, 1630, 7675, 2107, 2498, 1435, 15533, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12353, 1630, 7675, 2107, 2498, 5621, 277, 27245, 288, 202, 81, 67, 2930, 1076, 63, 77, 65, 273, 3698, 18, 21172, 31, 1377, 289, 1377, 364, 261, 474, 525, 273, 374, 31, 525, 411, 12353, 1630, 7675, 2107, 5361, 5621, 525, 27245, 288, 202, 9056, 8526, 460, 273, 12353, 1630, 7675, 1336, 12, 78, 2934, 869, 5265, 1076, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 12353, 1630, 7675, 2107, 2498, 5621, 277, 27245, 288, 202, 225, 309, 261, 588, 1210, 1630, 7675, 4589, 12, 77, 2934, 291, 9902, 10756, 288, 202, 565, 309, 16051, 1442, 18, 291, 4841, 620, 12, 1132, 63, 77, 22643, 288, 202, 1377, 309, 261, 5265, 18, 291, 21172, 12, 81, 67, 2930, 1076, 63, 77, 22643, 288, 202, 202, 81, 67, 2930, 1076, 63, 77, 65, 273, 312, 67, 2747, 1076, 63, 77, 65, 273, 460, 63, 77, 15533, 202, 1377, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2581, 10577, 1435, 1216, 1185, 288, 565, 309, 261, 588, 1210, 1630, 1435, 422, 446, 13, 288, 1377, 604, 394, 1185, 2932, 2279, 810, 791, 740, 2553, 8863, 565, 289, 565, 309, 261, 81, 67, 2930, 1076, 422, 446, 13, 288, 540, 368, 8155, 5224, 87, 471, 4207, 87, 1377, 312, 67, 2930, 1076, 273, 394, 1645, 63, 588, 1210, 1630, 7675, 2107, 2498, 1435, 15533, 1377, 312, 67, 2747, 1076, 273, 394, 1645, 63, 588, 1210, 1630, 7675, 2107, 2498, 1435, 15533, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12353, 1630, 7675, 2107, 2498, 5621, 277, 27245, 288, 202, 81, 67, 2930, 1076, 63, 77, 65, 273, 3698, 18, 21172, 31, 1377, 2 ]
jeliotUserProperties.setBooleanProperty("pause_on_message", showMessagesInDialogs);
jeliotUserProperties.setBooleanProperty("pause_on_message", showMessagesInDialogs);
private JMenu makeOptionsMenu() { JMenu menu = new JMenu(messageBundle.getString("menu.options")); menu.setMnemonic(KeyEvent.VK_I); JMenuItem menuItem; //Save Automatically on compilation. if (jeliotUserProperties.containsKey("save_automatically")) { editor.setSaveAutomatically(Boolean.valueOf( jeliotUserProperties.getStringProperty("save_automatically")).booleanValue()); } else { jeliotUserProperties.setStringProperty("save_automatically", Boolean.toString(editor .isSaveAutomatically())); } final JCheckBoxMenuItem saveAutomaticallyOnCompilationMenuItem = new JCheckBoxMenuItem( messageBundle.getString("menu.options.save_automatically"), editor .isSaveAutomatically()); saveAutomaticallyOnCompilationMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, ActionEvent.CTRL_MASK + ActionEvent.ALT_MASK)); saveAutomaticallyOnCompilationMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { boolean saveAutomatically = saveAutomaticallyOnCompilationMenuItem.getState(); editor.setSaveAutomatically(saveAutomatically); jeliotUserProperties.setBooleanProperty("save_automatically", saveAutomatically); } }); menu.add(saveAutomaticallyOnCompilationMenuItem); //Ask for method if (jeliotUserProperties.containsKey("ask_for_method")) { askForMethod = jeliotUserProperties.getBooleanProperty("ask_for_method"); } else { jeliotUserProperties.setBooleanProperty("ask_for_method", askForMethod); } final JCheckBoxMenuItem askForMethodMenuItem = new JCheckBoxMenuItem(messageBundle .getString("menu.options.ask_for_method"), askForMethod); askForMethodMenuItem.setMnemonic(KeyEvent.VK_M); askForMethodMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_M, ActionEvent.CTRL_MASK + ActionEvent.ALT_MASK)); askForMethodMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { askForMethod = askForMethodMenuItem.getState(); jeliotUserProperties.setStringProperty("ask_for_method", Boolean .toString(askForMethod)); } }); menu.add(askForMethodMenuItem); //Pause on message if (jeliotUserProperties.containsKey("pause_on_message")) { showMessagesInDialogs = jeliotUserProperties.getBooleanProperty("pause_on_message"); } else { jeliotUserProperties.setBooleanProperty("pause_on_message", showMessagesInDialogs); } final JCheckBoxMenuItem pauseOnMessageMenuItem = new JCheckBoxMenuItem(messageBundle .getString("menu.options.pause_on_message"), showMessagesInDialogs); pauseOnMessageMenuItem.setMnemonic(KeyEvent.VK_U); pauseOnMessageMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_U, ActionEvent.CTRL_MASK + ActionEvent.ALT_MASK)); pauseOnMessageMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { showMessagesInDialogs = pauseOnMessageMenuItem.getState(); jeliotUserProperties.setBooleanProperty("pause_on_message", showMessagesInDialogs); } }); menu.add(pauseOnMessageMenuItem); //Show history view final Jeliot j = jeliot; final JTabbedPane jtp = this.tabbedPane; final int index = jtp.indexOfTab(messageBundle.getString("tab.title.history")); if (jeliotUserProperties.containsKey("show_history_view")) { j.getHistoryView().setEnabled( jeliotUserProperties.getBooleanProperty("show_history_view")); } else { jeliotUserProperties.setBooleanProperty("show_history_view", j.getHistoryView() .isEnabled()); } final JCheckBoxMenuItem enableHistoryViewMenuItem = new JCheckBoxMenuItem(messageBundle .getString("menu.options.show_history_view"), jeliot.getHistoryView().isEnabled()); enableHistoryViewMenuItem.setMnemonic(KeyEvent.VK_H); enableHistoryViewMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_H, ActionEvent.CTRL_MASK)); enableHistoryViewMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { boolean state = enableHistoryViewMenuItem.getState(); j.getHistoryView().setEnabled(state); if (codeNest.getLeftComponent() instanceof CodePane2) { jtp.setEnabledAt(index, state); } jeliotUserProperties.setBooleanProperty("show_history_view", j.getHistoryView() .isEnabled()); } }); menu.add(enableHistoryViewMenuItem); menu.addSeparator(); //Select font for editor and code pane. menuItem = new JMenuItem(messageBundle.getString("menu.options.font_select")); menuItem.setMnemonic(KeyEvent.VK_F); menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, ActionEvent.CTRL_MASK)); menuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Font f = null; try { f = JFontChooser.showDialog(frame, editor.getTextArea().getPainter().getFont()); } catch (Exception e1) { DebugUtil.handleThrowable(e1); /* if (DebugUtil.DEBUGGING) { jeliot.output(e1.toString()); StackTraceElement[] s = e1.getStackTrace(); for (int i = 0; i < s.length; i++) { jeliot.output(s[i].toString() + "\n"); } } */ } if (f != null) { getCodePane().setFont(f); editor.setFont(f); /* getCodePane().getTextArea().getPainter().setFont(f); propertiesBundle.setFontProperty("font.code_pane", f); editor.getTextArea().getPainter().setFont(f); propertiesBundle.setFontProperty("font.code_editor", f); */ } codeNest.getLeftComponent().requestFocusInWindow(); } }); menu.add(menuItem); return menu; }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/2afb143799924500a7f86421daa0c157cfa3f366/JeliotWindow.java/clean/src/jeliot/gui/JeliotWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 4599, 1221, 1320, 4599, 1435, 288, 3639, 804, 4599, 3824, 273, 394, 804, 4599, 12, 2150, 3405, 18, 588, 780, 2932, 5414, 18, 2116, 7923, 1769, 3639, 3824, 18, 542, 29668, 20918, 12, 653, 1133, 18, 58, 47, 67, 45, 1769, 3639, 804, 12958, 19711, 31, 3639, 368, 4755, 11809, 20271, 603, 8916, 18, 3639, 309, 261, 78, 292, 77, 352, 1299, 2297, 18, 12298, 653, 2932, 5688, 67, 5854, 20271, 6, 3719, 288, 5411, 4858, 18, 542, 4755, 31910, 12, 5507, 18, 1132, 951, 12, 10792, 525, 292, 77, 352, 1299, 2297, 18, 588, 780, 1396, 2932, 5688, 67, 5854, 20271, 7923, 2934, 6494, 620, 10663, 3639, 289, 469, 288, 5411, 525, 292, 77, 352, 1299, 2297, 18, 542, 780, 1396, 2932, 5688, 67, 5854, 20271, 3113, 3411, 18, 10492, 12, 9177, 10792, 263, 291, 4755, 31910, 1435, 10019, 3639, 289, 3639, 727, 804, 19174, 12958, 1923, 31910, 1398, 19184, 12958, 273, 394, 804, 19174, 12958, 12, 7734, 883, 3405, 18, 588, 780, 2932, 5414, 18, 2116, 18, 5688, 67, 5854, 20271, 6, 3631, 4858, 13491, 263, 291, 4755, 31910, 10663, 3639, 1923, 31910, 1398, 19184, 12958, 18, 542, 28417, 12, 653, 14602, 18, 588, 653, 14602, 12, 653, 1133, 18, 58, 47, 67, 55, 16, 7734, 19641, 18, 23876, 48, 67, 11704, 397, 19641, 18, 18255, 67, 11704, 10019, 3639, 1923, 31910, 1398, 19184, 12958, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 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, 804, 4599, 1221, 1320, 4599, 1435, 288, 3639, 804, 4599, 3824, 273, 394, 804, 4599, 12, 2150, 3405, 18, 588, 780, 2932, 5414, 18, 2116, 7923, 1769, 3639, 3824, 18, 542, 29668, 20918, 12, 653, 1133, 18, 58, 47, 67, 45, 1769, 3639, 804, 12958, 19711, 31, 3639, 368, 4755, 11809, 20271, 603, 8916, 18, 3639, 309, 261, 78, 292, 77, 352, 1299, 2297, 18, 12298, 653, 2932, 5688, 67, 5854, 20271, 6, 3719, 288, 5411, 4858, 18, 542, 4755, 31910, 12, 5507, 18, 1132, 951, 12, 10792, 525, 292, 77, 352, 1299, 2297, 18, 588, 780, 1396, 2932, 5688, 67, 5854, 20271, 7923, 2934, 6494, 620, 10663, 3639, 289, 469, 288, 5411, 525, 292, 77, 352, 2 ]
reuseEditorsThreshold.getLabelControl(groupComposite).setEnabled(reuseEditors.getSelection()); reuseEditorsThreshold.getTextControl(groupComposite).setEnabled(reuseEditors.getSelection());
reuseEditorsThreshold.getLabelControl(editorReuseGroup).setEnabled(reuseEditors.getSelection()); reuseEditorsThreshold.getTextControl(editorReuseGroup).setEnabled(reuseEditors.getSelection());
private void createEditorReuseGroup(Composite composite) { final Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = gd.FILL; gd.grabExcessHorizontalSpace = true; groupComposite.setLayoutData(gd); reuseEditors = new Button(groupComposite, SWT.CHECK); reuseEditors.setText(WorkbenchMessages.getString("WorkbenchPreference.reuseEditors")); //$NON-NLS-1$ GridData reuseEditorsData = new GridData(); reuseEditorsData.horizontalSpan = layout.numColumns; reuseEditors.setLayoutData(reuseEditorsData); IPreferenceStore store = WorkbenchPlugin.getDefault().getPreferenceStore(); reuseEditors.setSelection(store.getBoolean(IPreferenceConstants.REUSE_EDITORS_BOOLEAN)); reuseEditors.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e){ reuseEditorsThreshold.getLabelControl(groupComposite).setEnabled(reuseEditors.getSelection()); reuseEditorsThreshold.getTextControl(groupComposite).setEnabled(reuseEditors.getSelection()); } }); reuseEditorsThreshold = new IntegerFieldEditor(IPreferenceConstants.REUSE_EDITORS, WorkbenchMessages.getString("WorkbenchPreference.reuseEditorsThreshold"), groupComposite); //$NON-NLS-1$ reuseEditorsThreshold.setPreferenceStore(WorkbenchPlugin.getDefault().getPreferenceStore()); reuseEditorsThreshold.setPreferencePage(this); reuseEditorsThreshold.setTextLimit(2); reuseEditorsThreshold.setErrorMessage(WorkbenchMessages.getString("WorkbenchPreference.reuseEditorsThresholdError")); //$NON-NLS-1$ reuseEditorsThreshold.setValidateStrategy(StringFieldEditor.VALIDATE_ON_KEY_STROKE); reuseEditorsThreshold.setValidRange(1, 99); reuseEditorsThreshold.load(); reuseEditorsThreshold.getLabelControl(groupComposite).setEnabled(reuseEditors.getSelection()); reuseEditorsThreshold.getTextControl(groupComposite).setEnabled(reuseEditors.getSelection()); reuseEditorsThreshold.setPropertyChangeListener(new IPropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(FieldEditor.IS_VALID)) setValid(reuseEditorsThreshold.isValid()); } }); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1ef7395895b00a9c2f0f7a619909190edfdcadd2/WorkbenchPreferencePage.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6946, 31704, 1114, 12, 9400, 9635, 13, 288, 202, 202, 6385, 14728, 1041, 9400, 273, 394, 14728, 12, 27676, 16, 348, 8588, 18, 10066, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 1655, 9400, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 15551, 273, 394, 7145, 751, 5621, 202, 202, 19016, 18, 18396, 11535, 273, 15551, 18, 29818, 31, 202, 202, 19016, 18, 2752, 70, 424, 614, 14457, 3819, 273, 638, 31, 202, 202, 1655, 9400, 18, 542, 3744, 751, 12, 19016, 1769, 25083, 202, 266, 1202, 4666, 1383, 273, 394, 12569, 12, 1655, 9400, 16, 348, 8588, 18, 10687, 1769, 202, 202, 266, 1202, 4666, 1383, 18, 542, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 2421, 22144, 9624, 18, 266, 1202, 4666, 1383, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 6313, 751, 11827, 4666, 1383, 751, 273, 394, 7145, 751, 5621, 202, 202, 266, 1202, 4666, 1383, 751, 18, 18396, 6952, 273, 3511, 18, 2107, 3380, 31, 202, 202, 266, 1202, 4666, 1383, 18, 542, 3744, 751, 12, 266, 1202, 4666, 1383, 751, 1769, 9506, 202, 45, 9624, 2257, 1707, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 5621, 202, 202, 266, 1202, 4666, 1383, 18, 542, 6233, 12, 2233, 18, 588, 5507, 12, 45, 9624, 2918, 18, 862, 8001, 67, 13208, 55, 67, 17900, 10019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6946, 31704, 1114, 12, 9400, 9635, 13, 288, 202, 202, 6385, 14728, 1041, 9400, 273, 394, 14728, 12, 27676, 16, 348, 8588, 18, 10066, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 273, 576, 31, 202, 202, 1655, 9400, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 15551, 273, 394, 7145, 751, 5621, 202, 202, 19016, 18, 18396, 11535, 273, 15551, 18, 29818, 31, 202, 202, 19016, 18, 2752, 70, 424, 614, 14457, 3819, 273, 638, 31, 202, 202, 1655, 9400, 18, 542, 3744, 751, 12, 19016, 1769, 25083, 202, 266, 1202, 4666, 1383, 273, 394, 12569, 12, 1655, 9400, 16, 348, 8588, 2 ]
checkMod();
public int nextIndex() { checkMod(); return position; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/63ff6161906dfae5c6cd8e9ab83aca650e00923d/AbstractList.java/buggy/core/src/classpath/5.0/java/util/AbstractList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 509, 22262, 1435, 1377, 288, 9079, 327, 1754, 31, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 509, 22262, 1435, 1377, 288, 9079, 327, 1754, 31, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
boolean goon = true;
while ( goon ) { goon = false;
private String getUniqueReportName( ) { IProject[] pjs = ResourcesPlugin.getWorkspace( ) .getRoot( ) .getProjects( ); resetUniqueCount( ); boolean goon = true; while ( goon ) { goon = false; for ( int i = 0; i < pjs.length; i++ ) { if ( pjs[i].isAccessible( ) ) { if ( !validDuplicate( NEW_REPORT_FILE_NAME_PREFIX, NEW_REPORT_FILE_EXTENSION, UNIQUE_COUNTER, pjs[i] ) ) { UNIQUE_COUNTER++; goon = true; break; } } } } if ( UNIQUE_COUNTER == 0 ) { return NEW_REPORT_FILE_NAME; } return NEW_REPORT_FILE_NAME_PREFIX + "_" //$NON-NLS-1$ + UNIQUE_COUNTER + NEW_REPORT_FILE_EXTENSION; //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d219e552bcebaef2383d9c4c5cbdae19bfc29651/NewLibraryWizard.java/clean/UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/ui/wizards/NewLibraryWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 16076, 4820, 461, 12, 262, 202, 95, 202, 202, 45, 4109, 8526, 293, 2924, 273, 8128, 3773, 18, 588, 8241, 12, 262, 9506, 202, 18, 588, 2375, 12, 262, 9506, 202, 18, 588, 15298, 12, 11272, 202, 202, 6208, 6303, 1380, 12, 11272, 202, 202, 6494, 1960, 265, 273, 638, 31, 202, 202, 17523, 261, 1960, 265, 262, 202, 202, 95, 1082, 202, 3240, 265, 273, 629, 31, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 293, 2924, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 430, 261, 293, 2924, 63, 77, 8009, 291, 10451, 12, 262, 262, 9506, 202, 95, 6862, 202, 430, 261, 401, 877, 11826, 12, 12887, 67, 22710, 67, 3776, 67, 1985, 67, 6307, 16, 6862, 1082, 202, 12917, 67, 22710, 67, 3776, 67, 12796, 16, 6862, 1082, 202, 16879, 67, 7240, 654, 16, 6862, 1082, 202, 84, 2924, 63, 77, 65, 262, 262, 6862, 202, 95, 25083, 202, 16879, 67, 7240, 654, 9904, 31, 25083, 202, 3240, 265, 273, 638, 31, 25083, 202, 8820, 31, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 26623, 67, 7240, 654, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 12887, 67, 22710, 67, 3776, 67, 1985, 31, 202, 202, 97, 202, 202, 2463, 12887, 67, 22710, 67, 3776, 67, 1985, 67, 6307, 397, 8802, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 26623, 67, 7240, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 16076, 4820, 461, 12, 262, 202, 95, 202, 202, 45, 4109, 8526, 293, 2924, 273, 8128, 3773, 18, 588, 8241, 12, 262, 9506, 202, 18, 588, 2375, 12, 262, 9506, 202, 18, 588, 15298, 12, 11272, 202, 202, 6208, 6303, 1380, 12, 11272, 202, 202, 6494, 1960, 265, 273, 638, 31, 202, 202, 17523, 261, 1960, 265, 262, 202, 202, 95, 1082, 202, 3240, 265, 273, 629, 31, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 293, 2924, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 430, 261, 293, 2924, 63, 77, 8009, 291, 10451, 12, 262, 262, 9506, 202, 95, 6862, 202, 430, 261, 401, 877, 11826, 12, 2 ]
void execute( String destinationDirectory, Set mojoDescriptors, MavenProject project ) throws Exception;
void execute( String destinationDirectory, Set mojoDescriptors, MavenProject project, String goalPrefix ) throws IOException;
void execute( String destinationDirectory, Set mojoDescriptors, MavenProject project ) throws Exception;
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/24c6328ad361f8e709e2b3fddefd9cde220a0628/Generator.java/buggy/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/Generator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1836, 12, 514, 2929, 2853, 16, 1000, 312, 10007, 12705, 16, 17176, 4109, 1984, 262, 1216, 1185, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.AgreementCurrency getAgreementCurrency() throws FieldNotFound { org.quickfix.field.AgreementCurrency value = new org.quickfix.field.AgreementCurrency();
public quickfix.field.AgreementCurrency getAgreementCurrency() throws FieldNotFound { quickfix.field.AgreementCurrency value = new quickfix.field.AgreementCurrency();
public org.quickfix.field.AgreementCurrency getAgreementCurrency() throws FieldNotFound { org.quickfix.field.AgreementCurrency value = new org.quickfix.field.AgreementCurrency(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequest.java/clean/src/java/src/quickfix/fix44/QuoteRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17420, 7623, 336, 17420, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17420, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17420, 7623, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17420, 7623, 336, 17420, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17420, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17420, 7623, 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, -100, -100, -100 ]
if (released) { for (int i = listeners.length; i-- != 0;) { ((ContextListener)listeners[i]).contextReleased(cx);
if (cx.enterCount == 0) { for (int i = 0; ; ++i) { Object l = Kit.getListener(listeners, i); if (l == null) break; ((ContextListener)l).contextReleased(cx);
public static void exit() { boolean released = false; Context cx = getCurrentContext(); if (cx == null) { throw new IllegalStateException( "Calling Context.exit without previous Context.enter"); } if (Context.check && cx.enterCount < 1) Kit.codeBug(); --cx.enterCount; if (cx.enterCount == 0) { released = true; setThreadContext(null); } Object[] listeners = contextListeners; if (listeners != null) { for (int i = listeners.length; i-- != 0;) { ((ContextListener)listeners[i]).contextExited(cx); } if (released) { for (int i = listeners.length; i-- != 0;) { ((ContextListener)listeners[i]).contextReleased(cx); } } } }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/a9460118c00164250fcfb45ff9c9358f8c28f86e/Context.java/clean/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2427, 1435, 565, 288, 3639, 1250, 15976, 273, 629, 31, 3639, 1772, 9494, 273, 5175, 1042, 5621, 3639, 309, 261, 71, 92, 422, 446, 13, 288, 5411, 604, 394, 5477, 12, 7734, 315, 19677, 1772, 18, 8593, 2887, 2416, 1772, 18, 2328, 8863, 3639, 289, 3639, 309, 261, 1042, 18, 1893, 597, 9494, 18, 2328, 1380, 411, 404, 13, 1475, 305, 18, 710, 19865, 5621, 3639, 1493, 71, 92, 18, 2328, 1380, 31, 3639, 309, 261, 71, 92, 18, 2328, 1380, 422, 374, 13, 288, 5411, 15976, 273, 638, 31, 5411, 444, 3830, 1042, 12, 2011, 1769, 3639, 289, 3639, 1033, 8526, 4679, 273, 819, 5583, 31, 3639, 309, 261, 16072, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 273, 4679, 18, 2469, 31, 277, 413, 480, 374, 30943, 288, 7734, 14015, 1042, 2223, 13, 16072, 63, 77, 65, 2934, 2472, 6767, 329, 12, 71, 92, 1769, 5411, 289, 5411, 309, 261, 9340, 72, 13, 288, 7734, 364, 261, 474, 277, 273, 4679, 18, 2469, 31, 277, 413, 480, 374, 30943, 288, 10792, 14015, 1042, 2223, 13, 16072, 63, 77, 65, 2934, 2472, 26363, 12, 71, 92, 1769, 7734, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 760, 918, 2427, 1435, 565, 288, 3639, 1250, 15976, 273, 629, 31, 3639, 1772, 9494, 273, 5175, 1042, 5621, 3639, 309, 261, 71, 92, 422, 446, 13, 288, 5411, 604, 394, 5477, 12, 7734, 315, 19677, 1772, 18, 8593, 2887, 2416, 1772, 18, 2328, 8863, 3639, 289, 3639, 309, 261, 1042, 18, 1893, 597, 9494, 18, 2328, 1380, 411, 404, 13, 1475, 305, 18, 710, 19865, 5621, 3639, 1493, 71, 92, 18, 2328, 1380, 31, 3639, 309, 261, 71, 92, 18, 2328, 1380, 422, 374, 13, 288, 5411, 15976, 273, 638, 31, 5411, 444, 3830, 1042, 12, 2011, 1769, 3639, 289, 3639, 1033, 8526, 4679, 273, 819, 5583, 31, 3639, 309, 261, 16072, 480, 446, 13, 288, 2 ]
(Collection) new ArrayList(),
new ArrayList(),
public void test01AddCA() throws Exception { log.debug(">test01AddCA()"); boolean ret = false; try { Context context = getInitialContext(); IAuthorizationSessionHome authorizationsessionhome = (IAuthorizationSessionHome) javax.rmi.PortableRemoteObject.narrow(context.lookup("AuthorizationSession"), IAuthorizationSessionHome.class); IAuthorizationSessionRemote authorizationsession = authorizationsessionhome.create(); authorizationsession.initialize(admin, "CN=TEST".hashCode()); SoftCATokenInfo catokeninfo = new SoftCATokenInfo(); catokeninfo.setKeySize(2048); catokeninfo.setAlgorithm(SoftCATokenInfo.KEYALGORITHM_RSA); catokeninfo.setSignatureAlgorithm(CATokenInfo.SIGALG_SHA1_WITH_RSA); // Create and active OSCP CA Service. ArrayList extendedcaservices = new ArrayList(); extendedcaservices.add(new OCSPCAServiceInfo(ExtendedCAServiceInfo.STATUS_ACTIVE, "CN=OCSPSignerCertificate, " + "CN=TEST", "", 2048, OCSPCAServiceInfo.KEYALGORITHM_RSA)); X509CAInfo cainfo = new X509CAInfo("CN=TEST", "TEST", SecConst.CA_ACTIVE, "", SecConst.CERTPROFILE_FIXED_ROOTCA, 1, null, // Expiretime CAInfo.CATYPE_X509, CAInfo.SELFSIGNED, (Collection) null, catokeninfo, "Initial CA", -1, null, null, // PolicyId 24, // CRLPeriod (Collection) new ArrayList(), true, // Authority Key Identifier false, // Authority Key Identifier Critical true, // CRL Number false, // CRL Number Critical true, // Finish User extendedcaservices); cacheAdmin.createCA(admin, cainfo); CAInfo info = cacheAdmin.getCAInfo(admin, "TEST"); X509Certificate cert = (X509Certificate) info.getCertificateChain().iterator().next(); assertTrue("Error in created ca certificate", cert.getSubjectDN().toString().equals("CN=TEST")); assertTrue("Creating CA failed", info.getSubjectDN().equals("CN=TEST")); ret = true; } catch (CAExistsException pee) { log.info("CA exists."); } assertTrue("Creating CA failed", ret); log.debug("<test01AddCA()"); }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/7252922d8cb9bfc101faf67e3ecd4ab689b85a9e/TestCAs.java/clean/src/test/se/anatom/ejbca/ca/caadmin/TestCAs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1611, 986, 3587, 1435, 1216, 1185, 288, 3639, 613, 18, 4148, 2932, 34, 3813, 1611, 986, 3587, 1435, 8863, 3639, 1250, 325, 273, 629, 31, 3639, 775, 288, 5411, 1772, 819, 273, 24044, 1042, 5621, 5411, 467, 6063, 2157, 8684, 2869, 7089, 893, 8712, 273, 261, 45, 6063, 2157, 8684, 13, 6863, 18, 8864, 77, 18, 2617, 429, 5169, 921, 18, 82, 7815, 12, 2472, 18, 8664, 2932, 6063, 2157, 6, 3631, 467, 6063, 2157, 8684, 18, 1106, 1769, 5411, 467, 6063, 2157, 5169, 2869, 7089, 893, 273, 2869, 7089, 893, 8712, 18, 2640, 5621, 5411, 2869, 7089, 893, 18, 11160, 12, 3666, 16, 315, 12821, 33, 16961, 9654, 2816, 1085, 10663, 5411, 12438, 14130, 969, 966, 6573, 969, 1376, 273, 394, 12438, 14130, 969, 966, 5621, 5411, 6573, 969, 1376, 18, 542, 653, 1225, 12, 21573, 28, 1769, 5411, 6573, 969, 1376, 18, 542, 6801, 12, 12468, 14130, 969, 966, 18, 3297, 30077, 67, 15248, 1769, 5411, 6573, 969, 1376, 18, 542, 5374, 6801, 12, 14130, 969, 966, 18, 18513, 1013, 43, 67, 8325, 21, 67, 9147, 67, 15248, 1769, 5411, 368, 1788, 471, 2695, 531, 2312, 52, 6425, 1956, 18, 5411, 2407, 7021, 6349, 264, 2094, 273, 394, 2407, 5621, 5411, 7021, 6349, 264, 2094, 18, 1289, 12, 2704, 531, 28594, 3587, 1179, 966, 12, 11456, 3587, 1179, 966, 18, 8608, 67, 13301, 16, 10792, 315, 12821, 33, 10809, 3118, 15647, 4719, 16, 315, 397, 315, 12821, 33, 16961, 3113, 10792, 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, 1611, 986, 3587, 1435, 1216, 1185, 288, 3639, 613, 18, 4148, 2932, 34, 3813, 1611, 986, 3587, 1435, 8863, 3639, 1250, 325, 273, 629, 31, 3639, 775, 288, 5411, 1772, 819, 273, 24044, 1042, 5621, 5411, 467, 6063, 2157, 8684, 2869, 7089, 893, 8712, 273, 261, 45, 6063, 2157, 8684, 13, 6863, 18, 8864, 77, 18, 2617, 429, 5169, 921, 18, 82, 7815, 12, 2472, 18, 8664, 2932, 6063, 2157, 6, 3631, 467, 6063, 2157, 8684, 18, 1106, 1769, 5411, 467, 6063, 2157, 5169, 2869, 7089, 893, 273, 2869, 7089, 893, 8712, 18, 2640, 5621, 5411, 2869, 7089, 893, 18, 11160, 12, 3666, 16, 315, 12821, 33, 16961, 9654, 2816, 1085, 10663, 5411, 12438, 14130, 2 ]
try { Resource resource = resourceTracker.isResourceCreation(basicBlock, handle, methodGen.getConstantPool()); if (resource != null) { if (DEBUG) System.out.println("Resource creation at " + handle.getPosition()); ResourceValueAnalysis<Resource> analysis = new ResourceValueAnalysis<Resource>(methodGen, cfg, dfs, resourceTracker, resource, bugReporter); Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>> dataflow = new Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>>(cfg, analysis);
try { Resource resource = resourceTracker.isResourceCreation(basicBlock, handle, methodGen.getConstantPool()); if (resource != null) { if (DEBUG) System.out.println("Resource creation at " + handle.getPosition()); ResourceValueAnalysis<Resource> analysis = new ResourceValueAnalysis<Resource>(methodGen, cfg, dfs, resourceTracker, resource, bugReporter); Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>> dataflow = new Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>>(cfg, analysis);
public void visitLocation(Location location) { BasicBlock basicBlock = location.getBasicBlock(); InstructionHandle handle = location.getHandle(); try { Resource resource = resourceTracker.isResourceCreation(basicBlock, handle, methodGen.getConstantPool()); if (resource != null) { if (DEBUG) System.out.println("Resource creation at " + handle.getPosition()); ResourceValueAnalysis<Resource> analysis = new ResourceValueAnalysis<Resource>(methodGen, cfg, dfs, resourceTracker, resource, bugReporter); Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>> dataflow = new Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>>(cfg, analysis); dataflow.execute(); inspectResult(jclass, methodGen, cfg, dataflow, resource); } } catch (DataflowAnalysisException e) { throw new AnalysisException("FindOpenResource caught exception: " + e.toString(), e); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/66a7666d54216aeb059973402ddc4225369c57a1/ResourceTrackingDetector.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ResourceTrackingDetector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 3757, 2735, 12, 2735, 2117, 13, 288, 25083, 202, 8252, 1768, 5337, 1768, 273, 2117, 18, 588, 8252, 1768, 5621, 25083, 202, 11983, 3259, 1640, 273, 2117, 18, 588, 3259, 5621, 25083, 202, 698, 288, 6862, 1082, 202, 1420, 1058, 273, 1058, 8135, 18, 291, 1420, 9906, 12, 13240, 1768, 16, 1640, 16, 707, 7642, 18, 588, 6902, 2864, 10663, 6862, 1082, 202, 430, 261, 3146, 480, 446, 13, 288, 6862, 9506, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 1420, 6710, 622, 315, 397, 1640, 18, 588, 2555, 10663, 6862, 9506, 202, 1420, 620, 9418, 32, 1420, 34, 6285, 273, 6862, 6862, 202, 2704, 2591, 620, 9418, 32, 1420, 34, 12, 2039, 7642, 16, 2776, 16, 13868, 16, 1058, 8135, 16, 1058, 16, 7934, 13289, 1769, 6862, 9506, 202, 751, 2426, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1420, 9778, 501, 2426, 273, 6862, 6862, 202, 2704, 1910, 2426, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1420, 9778, 12, 7066, 16, 6285, 1769, 6862, 6862, 202, 892, 2426, 18, 8837, 5621, 6862, 9506, 202, 12009, 1253, 12, 78, 1106, 16, 707, 7642, 16, 2776, 16, 501, 2426, 16, 1058, 1769, 6862, 1082, 202, 97, 25083, 202, 97, 1044, 261, 751, 2426, 9418, 503, 425, 13, 288, 6862, 1082, 202, 12849, 394, 16318, 503, 2932, 3125, 3678, 1420, 13537, 1520, 30, 315, 397, 425, 18, 10492, 9334, 425, 1769, 25083, 202, 97, 6862, 202, 97, 2, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 3757, 2735, 12, 2735, 2117, 13, 288, 25083, 202, 8252, 1768, 5337, 1768, 273, 2117, 18, 588, 8252, 1768, 5621, 25083, 202, 11983, 3259, 1640, 273, 2117, 18, 588, 3259, 5621, 25083, 202, 698, 288, 6862, 1082, 202, 1420, 1058, 273, 1058, 8135, 18, 291, 1420, 9906, 12, 13240, 1768, 16, 1640, 16, 707, 7642, 18, 588, 6902, 2864, 10663, 6862, 1082, 202, 430, 261, 3146, 480, 446, 13, 288, 6862, 9506, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 1420, 6710, 622, 315, 397, 1640, 18, 588, 2555, 10663, 6862, 9506, 202, 1420, 620, 9418, 32, 1420, 34, 6285, 273, 6862, 6862, 202, 2704, 2591, 620, 9418, 32, 1420, 34, 12, 2 ]
this.tagsForBarrier.add(new String((String) it.next()));
this.tagsForBarrier.add(new String(it.next()));
public void setBarrierTags(LinkedList barrierTags) { this.tagsForBarrier = new LinkedList(); Iterator it = barrierTags.iterator(); while (it.hasNext()) { this.tagsForBarrier.add(new String((String) it.next())); } }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/e3b8385956abcf84ab59d26cc2383f278be460c1/MethodCall.java/clean/src/org/objectweb/proactive/core/mop/MethodCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5190, 10342, 3453, 12, 13174, 682, 24651, 3453, 13, 288, 3639, 333, 18, 4156, 1290, 5190, 10342, 273, 394, 10688, 5621, 3639, 4498, 518, 273, 24651, 3453, 18, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 333, 18, 4156, 1290, 5190, 10342, 18, 1289, 12, 2704, 514, 12, 305, 18, 4285, 1435, 10019, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5190, 10342, 3453, 12, 13174, 682, 24651, 3453, 13, 288, 3639, 333, 18, 4156, 1290, 5190, 10342, 273, 394, 10688, 5621, 3639, 4498, 518, 273, 24651, 3453, 18, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 333, 18, 4156, 1290, 5190, 10342, 18, 1289, 12, 2704, 514, 12, 305, 18, 4285, 1435, 10019, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if ( newContainer instanceof ReportElementModel ) { slotHandle = ( (ReportElementModel) newContainer ).getElementHandle( ) .getSlot( slotID ); }
private void addHandleToReport( DesignElementHandle newHandle ) throws ContentException, NameException { SlotHandle slotHandle = null; if ( newContainer instanceof DesignElementHandle ) { slotHandle = ( (DesignElementHandle) newContainer ).getSlot( slotID ); } else if ( newContainer instanceof SlotHandle ) { slotHandle = (SlotHandle) newContainer; } else if ( newContainer instanceof ReportElementModel ) { slotHandle = ( (ReportElementModel) newContainer ).getElementHandle( ) .getSlot( slotID ); } slotHandle.paste( newHandle, position ); if ( DesignerConstants.TRACING_COMMANDS ) { System.out.println( "PasteCommand >> Finished. Paste " //$NON-NLS-1$ + DEUtil.getDisplayLabel( newHandle ) + " to the slot " //$NON-NLS-1$ + slotHandle.getSlotID( ) + " of " //$NON-NLS-1$ + DEUtil.getDisplayLabel( slotHandle.getElementHandle( ) ) + ",Position: " //$NON-NLS-1$ + position ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e813e4939207f9a25da25a7791da1a881207e029/PasteCommand.java/clean/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/commands/PasteCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 3259, 774, 4820, 12, 29703, 1046, 3259, 394, 3259, 262, 1082, 202, 15069, 3697, 503, 16, 1770, 503, 202, 95, 202, 202, 8764, 3259, 4694, 3259, 273, 446, 31, 202, 202, 430, 261, 394, 2170, 1276, 29703, 1046, 3259, 262, 202, 202, 95, 1082, 202, 14194, 3259, 273, 261, 261, 15478, 1046, 3259, 13, 394, 2170, 262, 18, 588, 8764, 12, 4694, 734, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 394, 2170, 1276, 23195, 3259, 262, 202, 202, 95, 1082, 202, 14194, 3259, 273, 261, 8764, 3259, 13, 394, 2170, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 394, 2170, 1276, 8706, 1046, 1488, 262, 202, 202, 95, 1082, 202, 14194, 3259, 273, 261, 261, 4820, 1046, 1488, 13, 394, 2170, 262, 18, 21336, 3259, 12, 262, 6862, 202, 18, 588, 8764, 12, 4694, 734, 11272, 202, 202, 97, 202, 202, 14194, 3259, 18, 29795, 12, 394, 3259, 16, 1754, 11272, 202, 202, 430, 261, 29703, 264, 2918, 18, 4349, 2226, 1360, 67, 4208, 9560, 3948, 262, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 12, 315, 52, 14725, 2189, 1671, 225, 29745, 18, 453, 14725, 315, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 15, 2030, 1304, 18, 588, 4236, 2224, 12, 394, 3259, 262, 6862, 202, 15, 315, 358, 326, 4694, 315, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 15, 4694, 3259, 18, 588, 8764, 734, 12, 262, 6862, 202, 15, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 3259, 774, 4820, 12, 29703, 1046, 3259, 394, 3259, 262, 1082, 202, 15069, 3697, 503, 16, 1770, 503, 202, 95, 202, 202, 8764, 3259, 4694, 3259, 273, 446, 31, 202, 202, 430, 261, 394, 2170, 1276, 29703, 1046, 3259, 262, 202, 202, 95, 1082, 202, 14194, 3259, 273, 261, 261, 15478, 1046, 3259, 13, 394, 2170, 262, 18, 588, 8764, 12, 4694, 734, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 394, 2170, 1276, 23195, 3259, 262, 202, 202, 95, 1082, 202, 14194, 3259, 273, 261, 8764, 3259, 13, 394, 2170, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 394, 2170, 1276, 8706, 1046, 1488, 262, 202, 202, 95, 1082, 202, 14194, 2 ]
CheckForUpdateAction.actionPerformed();
CheckForUpdateAction.actionPerformed(false);
public void actionPerformed(ActionEvent e) { CheckForUpdateAction.actionPerformed(); updateLastCheckedLabel(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/812bea2e63b5cdef8310ff36ee3da4141007ab04/UpdateSettingsConfigurable.java/clean/source/com/intellij/openapi/updateSettings/impl/UpdateSettingsConfigurable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1850, 2073, 28431, 1803, 18, 1128, 13889, 12, 5743, 1769, 1850, 1089, 3024, 11454, 2224, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1850, 2073, 28431, 1803, 18, 1128, 13889, 12, 5743, 1769, 1850, 1089, 3024, 11454, 2224, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Iterator<Map.Entry<String,Long>> it = detectorTimings.entrySet().iterator(); while (it.hasNext()) { Map.Entry<String,Long> entry = it.next();
for (Map.Entry<String, Long> entry : detectorTimings.entrySet()) {
private void executeAnalysisPass(AnalysisPass analysisPass, List<String> repositoryClassList) throws InterruptedException { // Callback for progress dialog: analysis is starting progressCallback.startAnalysis(repositoryClassList.size()); if (ExecutionPlan.DEBUG) { System.out.println("************* Analysis pass " + (passCount++) + " *************"); for (Iterator<DetectorFactory> i = analysisPass.iterator(); i.hasNext();) { DetectorFactory factory = i.next(); System.out.println("\t" + factory.getFullName()); } } // Examine each class in the application Set<String> examinedClassSet = new HashSet<String>(); for (Iterator<String> i = repositoryClassList.iterator(); i.hasNext();) { String className = i.next(); if (examinedClassSet.add(className)) examineClass(analysisPass, className); } if (DEBUG) { long total = 0; Iterator<Long> timingsIt = detectorTimings.values().iterator(); while (timingsIt.hasNext()) { total += timingsIt.next().longValue(); } System.out.println(); System.out.println("Detector Timings"); Iterator<Map.Entry<String,Long>> it = detectorTimings.entrySet().iterator(); while (it.hasNext()) { Map.Entry<String,Long> entry = it.next(); String detectorName = entry.getKey(); long detectorTime = entry.getValue().longValue(); System.out.println(detectorName + ": " + detectorTime + " ms -> (" + (detectorTime * 100.0f / (float)total) + ") %"); } System.out.println(); detectorTimings = new HashMap<String,Long>(); } // Callback for progress dialog: analysis finished progressCallback.finishPerClassAnalysis(); // Force any detectors which defer work until all classes have // been seen to do that work. this.reportFinal(analysisPass.getDetectorList()); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/6283ec82a0713e109b5a169c0a420974b6bad830/FindBugs.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/FindBugs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1836, 9418, 6433, 12, 9418, 6433, 6285, 6433, 16, 987, 32, 780, 34, 3352, 30546, 13, 1216, 7558, 288, 202, 202, 759, 8444, 364, 4007, 6176, 30, 6285, 353, 5023, 202, 202, 8298, 2428, 18, 1937, 9418, 12, 9071, 30546, 18, 1467, 10663, 9506, 202, 430, 261, 3210, 5365, 18, 9394, 13, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 1644, 23490, 16318, 1342, 315, 397, 261, 5466, 1380, 27245, 397, 315, 380, 1644, 1007, 8863, 1082, 202, 1884, 261, 3198, 32, 12594, 1733, 34, 277, 273, 6285, 6433, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 12594, 1733, 3272, 273, 277, 18, 4285, 5621, 9506, 202, 3163, 18, 659, 18, 8222, 31458, 88, 6, 397, 3272, 18, 588, 19223, 10663, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 1312, 301, 558, 1517, 667, 316, 326, 2521, 202, 202, 694, 32, 780, 34, 19707, 1920, 797, 694, 273, 394, 6847, 32, 780, 34, 5621, 202, 202, 1884, 261, 3198, 32, 780, 34, 277, 273, 3352, 30546, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 780, 2658, 273, 277, 18, 4285, 5621, 1082, 202, 430, 261, 338, 301, 1920, 797, 694, 18, 1289, 12, 12434, 3719, 9506, 202, 338, 301, 558, 797, 12, 12746, 6433, 16, 2658, 1769, 202, 202, 97, 9506, 202, 430, 261, 9394, 13, 288, 1082, 202, 5748, 2078, 273, 374, 31, 1082, 202, 3198, 32, 3708, 34, 1658, 899, 7193, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1836, 9418, 6433, 12, 9418, 6433, 6285, 6433, 16, 987, 32, 780, 34, 3352, 30546, 13, 1216, 7558, 288, 202, 202, 759, 8444, 364, 4007, 6176, 30, 6285, 353, 5023, 202, 202, 8298, 2428, 18, 1937, 9418, 12, 9071, 30546, 18, 1467, 10663, 9506, 202, 430, 261, 3210, 5365, 18, 9394, 13, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 1644, 23490, 16318, 1342, 315, 397, 261, 5466, 1380, 27245, 397, 315, 380, 1644, 1007, 8863, 1082, 202, 1884, 261, 3198, 32, 12594, 1733, 34, 277, 273, 6285, 6433, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 12594, 1733, 3272, 273, 277, 18, 4285, 5621, 9506, 202, 3163, 18, 659, 2 ]
buf.append(table[(string[i] >>> 4) % 0xf]);
buf.append(table[(string[i] >>> 4) & 0xf]);
public String getString() { StringBuffer buf = new StringBuffer("#"); ByteArrayOutputStream bOut = new ByteArrayOutputStream(); ASN1OutputStream aOut = new ASN1OutputStream(bOut); try { aOut.writeObject(this); } catch (IOException e) { throw new RuntimeException("internal error encoding BitString"); } byte[] string = bOut.toByteArray(); for (int i = 0; i != string.length; i++) { buf.append(table[(string[i] >>> 4) % 0xf]); buf.append(table[string[i] & 0xf]); } return buf.toString(); }
53000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53000/5a4048a4f1e5af0234a074a0ff326466b2c3c443/DERBitString.java/buggy/crypto/src/org/bouncycastle/asn1/DERBitString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4997, 1435, 565, 288, 3639, 6674, 1850, 1681, 273, 394, 6674, 2932, 7, 8863, 3639, 11559, 324, 1182, 273, 394, 11559, 5621, 3639, 18598, 21, 4632, 1377, 279, 1182, 273, 394, 18598, 21, 4632, 12, 70, 1182, 1769, 7734, 775, 3639, 288, 5411, 279, 1182, 18, 2626, 921, 12, 2211, 1769, 3639, 289, 3639, 1044, 261, 14106, 425, 13, 3639, 288, 6647, 604, 394, 3235, 2932, 7236, 555, 2688, 6539, 780, 8863, 3639, 289, 7734, 1160, 8526, 565, 533, 273, 324, 1182, 18, 869, 8826, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 480, 533, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 1681, 18, 6923, 12, 2121, 63, 12, 1080, 63, 77, 65, 4080, 1059, 13, 473, 374, 5841, 19226, 5411, 1681, 18, 6923, 12, 2121, 63, 1080, 63, 77, 65, 473, 374, 5841, 19226, 3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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4997, 1435, 565, 288, 3639, 6674, 1850, 1681, 273, 394, 6674, 2932, 7, 8863, 3639, 11559, 324, 1182, 273, 394, 11559, 5621, 3639, 18598, 21, 4632, 1377, 279, 1182, 273, 394, 18598, 21, 4632, 12, 70, 1182, 1769, 7734, 775, 3639, 288, 5411, 279, 1182, 18, 2626, 921, 12, 2211, 1769, 3639, 289, 3639, 1044, 261, 14106, 425, 13, 3639, 288, 6647, 604, 394, 3235, 2932, 7236, 555, 2688, 6539, 780, 8863, 3639, 289, 7734, 1160, 8526, 565, 533, 273, 324, 1182, 18, 869, 8826, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 480, 533, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 1681, 18, 6923, 12, 2121, 63, 12, 1080, 63, 77, 65, 2 ]
log("init: Starting ...");
public void init() { log("init: Starting ..."); log("Compiled at Thu Feb 20 17:32:20 MST 2003"); try { log("init: A"); initialize_configuration(); if (initialization_succeeded) { StartupOptions options = new AppletOptions(); initialize_server_address(); // Can't read files from an applet. log("init: C"); DataSetBuilder data_builder = new DataSetBuilder(connection(), options); log("init: D"); if (data_builder.login_failed()) { if (data_builder.server_response() != null) { report_error(data_builder.server_response()); } else { report_error("Login to the server failed"); } } else { Chart chart = new Chart(data_builder, null, options); } log("init: E"); } } catch (Exception e) { log("Login failed: " + e.toString()); e.printStackTrace(); report_error("Login failed: " + e.toString()); destroy(); } log("init: Exiting ..."); }
13245 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13245/817256cf9e3dd6b5706cbcba2c9dd6abf1f03538/MAS_Applet.java/clean/src/web/application1/client/MAS_Applet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 1435, 288, 202, 202, 1330, 2932, 2738, 30, 24591, 1372, 8863, 202, 202, 1330, 2932, 20733, 622, 935, 89, 5782, 70, 4200, 8043, 30, 1578, 30, 3462, 490, 882, 4044, 23, 8863, 202, 202, 698, 288, 1082, 202, 1330, 2932, 2738, 30, 432, 8863, 1082, 202, 11160, 67, 7025, 5621, 1082, 202, 430, 261, 6769, 1588, 67, 87, 20983, 13, 288, 9506, 202, 22178, 1320, 702, 273, 394, 1716, 1469, 1320, 5621, 9506, 202, 11160, 67, 3567, 67, 2867, 5621, 9506, 202, 759, 4480, 1404, 855, 1390, 628, 392, 21853, 18, 9506, 202, 1330, 2932, 2738, 30, 385, 8863, 9506, 202, 13676, 1263, 501, 67, 9574, 273, 6862, 202, 2704, 14065, 1263, 12, 4071, 9334, 702, 1769, 9506, 202, 1330, 2932, 2738, 30, 463, 8863, 9506, 202, 430, 261, 892, 67, 9574, 18, 5819, 67, 7307, 10756, 288, 6862, 202, 430, 261, 892, 67, 9574, 18, 3567, 67, 2740, 1435, 480, 446, 13, 288, 25083, 202, 6006, 67, 1636, 12, 892, 67, 9574, 18, 3567, 67, 2740, 10663, 6862, 202, 97, 469, 288, 25083, 202, 6006, 67, 1636, 2932, 5358, 358, 326, 1438, 2535, 8863, 6862, 202, 97, 9506, 202, 97, 469, 288, 6862, 202, 7984, 4980, 273, 394, 14804, 12, 892, 67, 9574, 16, 446, 16, 702, 1769, 9506, 202, 97, 9506, 202, 1330, 2932, 2738, 30, 512, 8863, 1082, 202, 97, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 1330, 2932, 5358, 2535, 30, 315, 397, 425, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 1435, 288, 202, 202, 1330, 2932, 2738, 30, 24591, 1372, 8863, 202, 202, 1330, 2932, 20733, 622, 935, 89, 5782, 70, 4200, 8043, 30, 1578, 30, 3462, 490, 882, 4044, 23, 8863, 202, 202, 698, 288, 1082, 202, 1330, 2932, 2738, 30, 432, 8863, 1082, 202, 11160, 67, 7025, 5621, 1082, 202, 430, 261, 6769, 1588, 67, 87, 20983, 13, 288, 9506, 202, 22178, 1320, 702, 273, 394, 1716, 1469, 1320, 5621, 9506, 202, 11160, 67, 3567, 67, 2867, 5621, 9506, 202, 759, 4480, 1404, 855, 1390, 628, 392, 21853, 18, 9506, 202, 1330, 2932, 2738, 30, 385, 8863, 9506, 202, 13676, 1263, 501, 67, 9574, 273, 6862, 202, 2704, 14065, 1263, 12, 4071, 2 ]
subroutine = new Subroutine(j.label, m.maxLocals, j);
jsr = true; merge(indexes.get(j.label), current, new Subroutine(j.label, m.maxLocals, j)); } else { merge(indexes.get(j.label), current, subroutine);
public Frame[] analyze (final String owner, final MethodNode m) throws AnalyzerException { n = m.instructions.size(); indexes = new IntMap(2*n); handlers = new List[n]; frames = new Frame[n]; subroutines = new Subroutine[n]; queued = new boolean[n]; queue = new int[n]; top = 0; // computes instruction indexes for (int i = 0; i < n; ++i) { Object insn = m.instructions.get(i); if (insn instanceof LabelNode) { insn = ((LabelNode)insn).label; } indexes.put(insn, i); } // computes exception handlers for each instruction for (int i = 0; i < m.tryCatchBlocks.size(); ++i) { TryCatchBlockNode tcb = (TryCatchBlockNode)m.tryCatchBlocks.get(i); int begin = indexes.get(tcb.start); int end = indexes.get(tcb.end); for (int j = begin; j < end; ++j) { List insnHandlers = handlers[j]; if (insnHandlers == null) { insnHandlers = new ArrayList(); handlers[j] = insnHandlers; } insnHandlers.add(tcb); } } // initializes the data structures for the control flow analysis algorithm Frame current = newFrame(m.maxLocals, m.maxStack); Frame handler = newFrame(m.maxLocals, m.maxStack); Type[] args = Type.getArgumentTypes(m.desc); int local = 0; if ((m.access & ACC_STATIC) == 0) { Type ctype = Type.getType("L" + owner + ";"); current.setLocal(local++, interpreter.newValue(ctype)); } for (int i = 0; i < args.length; ++i) { current.setLocal(local++, interpreter.newValue(args[i])); if (args[i].getSize() == 2) { current.setLocal(local++, interpreter.newValue(null)); } } while (local < m.maxLocals) { current.setLocal(local++, interpreter.newValue(null)); } merge(0, current, null); // control flow analysis while (top > 0) { int insn = queue[--top]; Frame f = frames[insn]; Subroutine subroutine = subroutines[insn]; queued[insn] = false; try { Object o = m.instructions.get(insn); if (o instanceof LabelNode) { merge(insn + 1, f, subroutine); } else { AbstractInsnNode insnNode = (AbstractInsnNode)o; int insnOpcode = insnNode.getOpcode(); current.init(f).execute(insnNode, interpreter); subroutine = subroutine == null ? null : subroutine.copy(); if (insnNode instanceof JumpInsnNode) { JumpInsnNode j = (JumpInsnNode)insnNode; if (insnOpcode != GOTO && insnOpcode != JSR) { merge(insn + 1, current, subroutine); } if (insnOpcode == JSR) { subroutine = new Subroutine(j.label, m.maxLocals, j); } merge(indexes.get(j.label), current, subroutine); } else if (insnNode instanceof LookupSwitchInsnNode) { LookupSwitchInsnNode lsi = (LookupSwitchInsnNode)insnNode; merge(indexes.get(lsi.dflt), current, subroutine); for (int j = 0; j < lsi.labels.size(); ++j) { Label label = (Label)lsi.labels.get(j); merge(indexes.get(label), current, subroutine); } } else if (insnNode instanceof TableSwitchInsnNode) { TableSwitchInsnNode tsi = (TableSwitchInsnNode)insnNode; merge(indexes.get(tsi.dflt), current, subroutine); for (int j = 0; j < tsi.labels.size(); ++j) { Label label = (Label)tsi.labels.get(j); merge(indexes.get(label), current, subroutine); } } else if (insnOpcode == RET) { if (subroutine == null) { throw new AnalyzerException( "RET instruction outside of a sub routine"); } for (int i = 0; i < subroutine.callers.size(); ++i) { int caller = indexes.get(subroutine.callers.get(i)); merge(caller + 1, frames[caller], current, subroutine.access); } } else if (insnOpcode != ATHROW && (insnOpcode < IRETURN || insnOpcode > RETURN)) { if (subroutine != null) { if (insnNode instanceof VarInsnNode) { int var = ((VarInsnNode)insnNode).var; subroutine.access[var] = true; if (insnOpcode == LLOAD || insnOpcode == DLOAD || insnOpcode == LSTORE || insnOpcode == DSTORE) { subroutine.access[var + 1] = true; } } else if (insnNode instanceof IincInsnNode) { int var = ((IincInsnNode)insnNode).var; subroutine.access[var] = true; } } merge(insn + 1, current, subroutine); } } List insnHandlers = handlers[insn]; if (insnHandlers != null) { for (int i = 0; i < insnHandlers.size(); ++i) { TryCatchBlockNode tcb = (TryCatchBlockNode)insnHandlers.get(i); Type type; if (tcb.type == null) { type = Type.getType("Ljava/lang/Throwable;"); } else { type = Type.getType("L" + tcb.type + ";"); } handler.init(f); handler.clearStack(); handler.push(interpreter.newValue(type)); merge(indexes.get(tcb.handler), handler, subroutine); } } } catch (Exception e) { throw new AnalyzerException( "Error at instruction " + insn + ": " + e.getMessage()); } } return frames; }
2697 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2697/5a4ae382e5048d91453ece2c63115d3356d8a60f/Analyzer.java/buggy/asm/src/org/objectweb/asm/tree/analysis/Analyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8058, 8526, 12375, 261, 6385, 514, 3410, 16, 727, 2985, 907, 312, 13, 377, 1216, 1922, 6893, 503, 225, 288, 565, 290, 273, 312, 18, 25758, 18, 1467, 5621, 565, 5596, 273, 394, 3094, 863, 12, 22, 14, 82, 1769, 565, 4919, 273, 394, 987, 63, 82, 15533, 565, 7793, 273, 394, 8058, 63, 82, 15533, 565, 720, 7028, 1465, 273, 394, 2592, 22640, 63, 82, 15533, 565, 12234, 273, 394, 1250, 63, 82, 15533, 565, 2389, 273, 394, 509, 63, 82, 15533, 3639, 1760, 273, 374, 31, 540, 368, 15881, 7592, 5596, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 1377, 1033, 29821, 273, 312, 18, 25758, 18, 588, 12, 77, 1769, 1377, 309, 261, 2679, 82, 1276, 5287, 907, 13, 288, 3639, 29821, 273, 14015, 2224, 907, 13, 2679, 82, 2934, 1925, 31, 1377, 289, 1377, 5596, 18, 458, 12, 2679, 82, 16, 277, 1769, 565, 289, 565, 368, 15881, 1520, 4919, 364, 1517, 7592, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 312, 18, 698, 14842, 6450, 18, 1467, 5621, 965, 77, 13, 288, 1377, 6161, 14842, 1768, 907, 1715, 70, 273, 261, 7833, 14842, 1768, 907, 13, 81, 18, 698, 14842, 6450, 18, 588, 12, 77, 1769, 1377, 509, 2376, 273, 5596, 18, 588, 12, 5111, 70, 18, 1937, 1769, 1377, 509, 679, 273, 5596, 18, 588, 12, 5111, 70, 18, 409, 1769, 1377, 364, 261, 474, 525, 273, 2376, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8058, 8526, 12375, 261, 6385, 514, 3410, 16, 727, 2985, 907, 312, 13, 377, 1216, 1922, 6893, 503, 225, 288, 565, 290, 273, 312, 18, 25758, 18, 1467, 5621, 565, 5596, 273, 394, 3094, 863, 12, 22, 14, 82, 1769, 565, 4919, 273, 394, 987, 63, 82, 15533, 565, 7793, 273, 394, 8058, 63, 82, 15533, 565, 720, 7028, 1465, 273, 394, 2592, 22640, 63, 82, 15533, 565, 12234, 273, 394, 1250, 63, 82, 15533, 565, 2389, 273, 394, 509, 63, 82, 15533, 3639, 1760, 273, 374, 31, 540, 368, 15881, 7592, 5596, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 1377, 1033, 29821, 273, 312, 18, 25758, 18, 2 ]
}
private boolean requestNextPiece() { // Check that we already know what the other side has. if (bitfield != null) { // Check for adopting an orphaned partial piece Request r = listener.getPeerPartial(bitfield); if (r != null) { synchronized(this) { // Check that r not already in outstandingRequests int[] arr = getRequestedPieces(); boolean found = false; for (int i = 0; arr[i] >= 0; i++) { if (arr[i] == r.piece) { found = true; break; } } if (!found) { outstandingRequests.add(r); if (!choked) out.sendRequest(r); lastRequest = r; return true; } } } int nextPiece = listener.wantPiece(peer, bitfield); if (_log.shouldLog(Log.DEBUG)) _log.debug(peer + " want piece " + nextPiece); synchronized(this) { if (nextPiece != -1 && (lastRequest == null || lastRequest.piece != nextPiece)) { int piece_length = metainfo.getPieceLength(nextPiece); byte[] bs = new byte[piece_length]; int length = Math.min(piece_length, PARTSIZE); Request req = new Request(nextPiece, bs, 0, length); outstandingRequests.add(req); if (!choked) out.sendRequest(req); lastRequest = req; return true; } } } return false; }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/5cf85c1d7b9942ae2d65de227b3396ccf871e46f/PeerState.java/clean/apps/i2psnark/java/src/org/klomp/snark/PeerState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 590, 2134, 22607, 1435, 225, 288, 565, 368, 2073, 716, 732, 1818, 5055, 4121, 326, 1308, 4889, 711, 18, 565, 309, 261, 3682, 1518, 480, 446, 13, 1377, 288, 3639, 368, 2073, 364, 1261, 3838, 310, 392, 31124, 4702, 11151, 3639, 1567, 436, 273, 2991, 18, 588, 6813, 9447, 12, 3682, 1518, 1769, 3639, 309, 261, 86, 480, 446, 13, 288, 1850, 3852, 12, 2211, 13, 5411, 288, 2868, 368, 2073, 716, 436, 486, 1818, 316, 20974, 6421, 2868, 509, 8526, 2454, 273, 4328, 329, 16539, 8610, 5621, 2868, 1250, 1392, 273, 629, 31, 2868, 364, 261, 474, 277, 273, 374, 31, 2454, 63, 77, 65, 1545, 374, 31, 277, 27245, 288, 7734, 309, 261, 5399, 63, 77, 65, 422, 436, 18, 30100, 13, 288, 5375, 1392, 273, 638, 31, 5375, 898, 31, 4766, 1850, 309, 16051, 7015, 13, 288, 7734, 20974, 6421, 18, 1289, 12, 86, 1769, 7734, 309, 16051, 343, 14276, 13, 5375, 596, 18, 4661, 691, 12, 86, 1769, 7734, 1142, 691, 273, 436, 31, 7734, 327, 638, 31, 4766, 4202, 509, 1024, 22607, 273, 2991, 18, 17369, 22607, 12, 12210, 16, 2831, 1518, 1769, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 1850, 389, 1330, 18, 4148, 12, 12210, 397, 315, 2545, 11151, 315, 397, 1024, 22607, 1769, 3639, 3852, 12, 2211, 13, 1850, 288, 5411, 309, 261, 4285, 22607, 480, 300, 21, 7734, 597, 261, 2722, 691, 422, 446, 747, 1142, 691, 18, 30100, 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, 1250, 590, 2134, 22607, 1435, 225, 288, 565, 368, 2073, 716, 732, 1818, 5055, 4121, 326, 1308, 4889, 711, 18, 565, 309, 261, 3682, 1518, 480, 446, 13, 1377, 288, 3639, 368, 2073, 364, 1261, 3838, 310, 392, 31124, 4702, 11151, 3639, 1567, 436, 273, 2991, 18, 588, 6813, 9447, 12, 3682, 1518, 1769, 3639, 309, 261, 86, 480, 446, 13, 288, 1850, 3852, 12, 2211, 13, 5411, 288, 2868, 368, 2073, 716, 436, 486, 1818, 316, 20974, 6421, 2868, 509, 8526, 2454, 273, 4328, 329, 16539, 8610, 5621, 2868, 1250, 1392, 273, 629, 31, 2868, 364, 261, 474, 277, 273, 374, 31, 2454, 63, 77, 65, 1545, 374, 31, 277, 27245, 288, 7734, 309, 261, 5399, 2 ]
AST tmp187_AST_in = (AST)_t;
AST tmp186_AST_in = (AST)_t;
public final void defineparam_var(AST _t) throws RecognitionException { AST defineparam_var_AST_in = (_t == ASTNULL) ? null : (AST)_t; { if (_t==null) _t=ASTNULL; if ((_t.getType()==AS)) { AST __t73 = _t; AST tmp180_AST_in = (AST)_t; match(_t,AS); _t = _t.getFirstChild(); { boolean synPredMatched77 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==HANDLE))) { AST __t77 = _t; synPredMatched77 = true; inputState.guessing++; try { { AST tmp181_AST_in = (AST)_t; match(_t,HANDLE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TO: { AST tmp182_AST_in = (AST)_t; match(_t,TO); _t = _t.getNextSibling(); break; } case BYTE: case CHARACTER: case DOUBLE: case FLOAT: case LONG: case SHORT: case UNSIGNEDSHORT: { break; } default: { throw new NoViableAltException(_t); } } } datatype_dll(_t); _t = _retTree; } } catch (RecognitionException pe) { synPredMatched77 = false; } _t = __t77;inputState.guessing--; } if ( synPredMatched77 ) { AST tmp183_AST_in = (AST)_t; match(_t,HANDLE); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TO: { AST tmp184_AST_in = (AST)_t; match(_t,TO); _t = _t.getNextSibling(); break; } case BYTE: case CHARACTER: case DOUBLE: case FLOAT: case LONG: case SHORT: case UNSIGNEDSHORT: { break; } default: { throw new NoViableAltException(_t); } } } datatype_dll(_t); _t = _retTree; } else if ((_t.getType()==CLASS)) { AST tmp185_AST_in = (AST)_t; match(_t,CLASS); _t = _t.getNextSibling(); AST tmp186_AST_in = (AST)_t; match(_t,TYPE_NAME); _t = _t.getNextSibling(); } else if ((_tokenSet_4.member(_t.getType()))) { datatype_param(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t73; _t = _t.getNextSibling(); } else if ((_tokenSet_5.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } { _loop84: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CASESENSITIVE: case Not_casesens: { casesens_or_not(_t); _t = _retTree; break; } case DECIMALS: { AST __t81 = _t; AST tmp187_AST_in = (AST)_t; match(_t,DECIMALS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t81; _t = _t.getNextSibling(); break; } case LIKE: { AST __t82 = _t; AST tmp188_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALIDATE: { AST tmp189_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t82; _t = _t.getNextSibling(); break; } case INITIAL: { initial_constant(_t); _t = _retTree; break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case NOUNDO: { AST tmp190_AST_in = (AST)_t; match(_t,NOUNDO); _t = _t.getNextSibling(); if ( inputState.guessing==0 ) { tpSupport.noundo(); } break; } case EXTENT: { extentphrase(_t); _t = _retTree; break; } default: if (_t==null) _t=ASTNULL; if ((_t.getType()==FORMAT)) { AST __t80 = _t; AST tmp191_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t80; _t = _t.getNextSibling(); } else { break _loop84; } } } while (true); } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 891, 67, 1401, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 891, 67, 1401, 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, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 3033, 3719, 288, 1082, 202, 9053, 1001, 88, 9036, 273, 389, 88, 31, 1082, 202, 9053, 1853, 18278, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 3033, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 95, 1082, 202, 6494, 6194, 10391, 15400, 4700, 273, 629, 31, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 430, 261, 12443, 67, 88, 18, 588, 559, 1435, 631, 23056, 20349, 288, 9506, 202, 9053, 1001, 88, 4700, 273, 389, 88, 31, 9506, 202, 11982, 10391, 15400, 4700, 273, 638, 31, 9506, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 9506, 202, 698, 288, 6862, 202, 95, 6862, 202, 9053, 1853, 2643, 21, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 1916, 24899, 88, 16, 23056, 1769, 6862, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 6862, 202, 95, 6862, 202, 430, 261, 67, 88, 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, 4426, 891, 67, 1401, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 891, 67, 1401, 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, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 3033, 3719, 288, 1082, 202, 9053, 1001, 88, 9036, 273, 389, 88, 31, 1082, 202, 9053, 1853, 18278, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 3033, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 2 ]
d.height += i.top + i.bottom; int arrowButtonWidth = d.height - (i.top + i.bottom); cachedMinimumSize = new Dimension(d.width + arrowButtonWidth + i.left + i.right, d.height);
d.width += i.left + i.right + d.height; cachedMinimumSize = new Dimension(d.width, d.height + i.top + i.bottom);
public Dimension getMinimumSize(JComponent c) { if (isMinimumSizeDirty) { Insets i = getInsets(); Dimension d = getDisplaySize(); d.height += i.top + i.bottom; int arrowButtonWidth = d.height - (i.top + i.bottom); cachedMinimumSize = new Dimension(d.width + arrowButtonWidth + i.left + i.right, d.height); isMinimumSizeDirty = false; } return new Dimension(cachedMinimumSize); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 30665, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 309, 261, 291, 13042, 1225, 10785, 13, 1377, 288, 3639, 22300, 277, 273, 7854, 4424, 5621, 565, 13037, 302, 273, 13854, 1225, 5621, 3639, 302, 18, 4210, 1011, 277, 18, 3669, 397, 277, 18, 9176, 31, 3639, 509, 12274, 3616, 2384, 273, 302, 18, 4210, 300, 261, 77, 18, 3669, 397, 277, 18, 9176, 1769, 3639, 3472, 13042, 1225, 273, 394, 13037, 12, 72, 18, 2819, 397, 12274, 3616, 2384, 397, 277, 18, 4482, 4766, 1850, 397, 277, 18, 4083, 16, 302, 18, 4210, 1769, 202, 291, 13042, 1225, 10785, 273, 629, 31, 1377, 289, 565, 327, 394, 13037, 12, 7097, 13042, 1225, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 30665, 1225, 12, 46, 1841, 276, 13, 225, 288, 565, 309, 261, 291, 13042, 1225, 10785, 13, 1377, 288, 3639, 22300, 277, 273, 7854, 4424, 5621, 565, 13037, 302, 273, 13854, 1225, 5621, 3639, 302, 18, 4210, 1011, 277, 18, 3669, 397, 277, 18, 9176, 31, 3639, 509, 12274, 3616, 2384, 273, 302, 18, 4210, 300, 261, 77, 18, 3669, 397, 277, 18, 9176, 1769, 3639, 3472, 13042, 1225, 273, 394, 13037, 12, 72, 18, 2819, 397, 12274, 3616, 2384, 397, 277, 18, 4482, 4766, 1850, 397, 277, 18, 4083, 16, 302, 18, 4210, 1769, 202, 291, 13042, 1225, 10785, 273, 629, 31, 1377, 289, 565, 327, 394, 13037, 12, 7097, 13042, 1225, 1769, 225, 289, 2 ]
if (self.nItems < 0)
if (!self.isLeaf())
public final int action(Object o, int s, final int [] i0) { Cell self = (Cell) o; if (self.nItems < 0) return 0; for (int i = 0; i < self.nItems; i++) { Vertex2D v = (Vertex2D) self.subCell[i]; double [] param = v.getUV(); coord[index] = param[0]; coord[index+1] = param[1]; index += 2; } return 0; }
46701 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46701/50370aed291f847c841cdf0c61e381540ff0b136/QuadTreeTest.java/buggy/amibe/src/org/jcae/mesh/amibe/patch/QuadTreeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 727, 509, 1301, 12, 921, 320, 16, 509, 272, 16, 727, 509, 5378, 277, 20, 13, 202, 202, 95, 1082, 202, 4020, 365, 273, 261, 4020, 13, 320, 31, 1082, 202, 430, 261, 2890, 18, 82, 3126, 411, 374, 13, 9506, 202, 2463, 374, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 365, 18, 82, 3126, 31, 277, 27245, 1082, 202, 95, 9506, 202, 6475, 22, 40, 331, 273, 261, 6475, 22, 40, 13, 365, 18, 1717, 4020, 63, 77, 15533, 9506, 202, 9056, 5378, 579, 273, 331, 18, 588, 20147, 5621, 9506, 202, 5732, 63, 1615, 65, 273, 579, 63, 20, 15533, 9506, 202, 5732, 63, 1615, 15, 21, 65, 273, 579, 63, 21, 15533, 9506, 202, 1615, 1011, 576, 31, 1082, 202, 97, 1082, 202, 2463, 374, 31, 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, 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, 13, 9506, 202, 2463, 374, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 365, 18, 82, 3126, 31, 277, 27245, 1082, 202, 95, 9506, 202, 6475, 22, 40, 331, 273, 261, 6475, 22, 40, 13, 365, 18, 1717, 4020, 63, 77, 15533, 9506, 202, 9056, 5378, 579, 273, 331, 18, 588, 20147, 5621, 9506, 202, 5732, 63, 1615, 65, 273, 579, 63, 20, 15533, 9506, 202, 5732, 63, 1615, 15, 21, 65, 273, 2 ]
private static int getParameterAsInt( HttpServletRequest request, String parameterName )
private static int getParameterAsInt( HttpServletRequest request, String parameterName )
private static int getParameterAsInt( HttpServletRequest request, String parameterName ) { int iValue = -1; String value = getParameter( request, parameterName ); if( value != null && value.length() > 0) { try { iValue = Integer.parseInt( value ); } catch ( NumberFormatException ex ) { iValue = -1; } } return iValue; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/4f8d9ec70a9a4bdebe627870db17ed54ddb4e8ef/ParameterAccessor.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 5575, 31720, 12, 9984, 590, 16, 514, 15524, 262, 202, 95, 202, 202, 474, 277, 620, 273, 300, 21, 31, 202, 202, 780, 460, 273, 5575, 12, 590, 16, 15524, 11272, 202, 202, 430, 12, 460, 480, 446, 597, 460, 18, 2469, 1435, 405, 374, 13, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 77, 620, 273, 2144, 18, 2670, 1702, 12, 460, 11272, 1082, 202, 97, 1082, 202, 14683, 261, 12100, 431, 262, 1082, 202, 95, 9506, 202, 77, 620, 273, 300, 21, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 277, 620, 31, 202, 97, 2, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 5575, 31720, 12, 9984, 590, 16, 514, 15524, 262, 202, 95, 202, 202, 474, 277, 620, 273, 300, 21, 31, 202, 202, 780, 460, 273, 5575, 12, 590, 16, 15524, 11272, 202, 202, 430, 12, 460, 480, 446, 597, 460, 18, 2469, 1435, 405, 374, 13, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 77, 620, 273, 2144, 18, 2670, 1702, 12, 460, 11272, 1082, 202, 97, 1082, 202, 14683, 261, 12100, 431, 262, 1082, 202, 95, 9506, 202, 77, 620, 273, 300, 21, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 277, 620, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop);
double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop);
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/052726b68e684efc593535d50a73767571084837/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2146, 16, 15261, 16, 833, 16, 2295, 1162, 3651, 16, 326, 751, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 509, 277, 31, 3639, 1033, 8499, 31, 3639, 727, 509, 943, 2624, 273, 326, 751, 18, 1282, 2747, 2624, 31, 3639, 727, 509, 943, 5555, 273, 261, 4293, 1162, 3651, 18, 3175, 1557, 422, 446, 13, 18701, 692, 374, 294, 2295, 1162, 3651, 18, 3175, 1557, 18, 2469, 31, 3639, 727, 509, 943, 1333, 1031, 273, 326, 751, 18, 1282, 2747, 1333, 1031, 31, 3639, 727, 509, 943, 7833, 6148, 273, 326, 751, 18, 1282, 2747, 7833, 6148, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 943, 2624, 31, 3639, 727, 509, 15234, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2 ]
m_driverManager.getVfsDriver().createFolder(context.currentUser(), onlineProject, newFolder, newFolder.getParentId(), newFolder.getResourceName());
m_driverManager.getVfsDriver().createFolder(onlineProject, newFolder, newFolder.getParentId());
public synchronized Vector publishProject(CmsRequestContext context, CmsProject onlineProject, boolean backupEnabled, int backupTagId, I_CmsReport report, Hashtable exportpoints, CmsResource directPublishResource, int maxVersions) throws CmsException { CmsExportPointDriver discAccess = null; CmsFolder currentFolder = null; CmsFile currentFile = null; CmsResource currentFileHeader = null; CmsLock currentLock = null; CmsFolder newFolder = null; CmsFile newFile = null; CmsFile onlineFile = null; List offlineFolders = null; List offlineFiles = null; List deletedFolders = (List) new ArrayList(); Vector changedResources = new Vector(); String currentExportKey = null; String currentResourceName = null; long publishDate = System.currentTimeMillis(); Iterator i = null; boolean publishCurrentResource = false; List projectResources = null; Map properties = null; CmsFolder onlineFolder = null; Map sortedFolderMap = null; List sortedFolderList = null; CmsResource delOnlineFolder = null; byte[] contents = null; int publishHistoryId = nextPublishVersionId(); String encoding = null; int m, n; try { discAccess = new CmsExportPointDriver(exportpoints); if (backupEnabled) { // write an entry in the publish project log m_driverManager.backupProject(context, context.currentProject(), backupTagId, publishDate); } // read the project resources of the project that gets published projectResources = m_driverManager.readProjectResources(context, context.currentProject()); // read all changed/new/deleted folders offlineFolders = m_driverManager.getVfsDriver().readFolders(context.currentProject().getId()); // ensure that the folders appear in the correct (DFS) tree order // sort out folders that will not be published sortedFolderMap = (Map) new HashMap(); i = offlineFolders.iterator(); while (i.hasNext()) { publishCurrentResource = false; currentFolder = (CmsFolder) i.next(); currentResourceName = m_driverManager.readPath(context, currentFolder, true); currentFolder.setFullResourceName(currentResourceName); currentLock = m_driverManager.getLock(context, currentResourceName); // the resource must have either a new/deleted state in the link or a new/delete state in the resource record publishCurrentResource = currentFolder.getState() > I_CmsConstants.C_STATE_UNCHANGED; if (context.currentProject().getType() == I_CmsConstants.C_PROJECT_TYPE_DIRECT_PUBLISH && directPublishResource != null) { // the resource must be a sub resource of the direct-publish-resource in case of a "direct publish" publishCurrentResource = publishCurrentResource && currentResourceName.startsWith(directPublishResource.getFullResourceName()); } else { // the resource must have a changed state and must be changed in the project that is currently published publishCurrentResource = publishCurrentResource && currentFolder.getProjectId() == context.currentProject().getId(); // the resource must be in one of the paths defined for the project publishCurrentResource = publishCurrentResource && CmsProject.isInsideProject(projectResources, currentFolder); } // the resource must be unlocked publishCurrentResource = publishCurrentResource && currentLock.isNullLock(); if (publishCurrentResource) { sortedFolderMap.put(currentResourceName, currentFolder); } } sortedFolderList = (List) new ArrayList(sortedFolderMap.keySet()); Collections.sort(sortedFolderList); offlineFolders.clear(); offlineFolders = null; m = 1; n = sortedFolderList.size(); i = sortedFolderList.iterator(); if (n > 0) { report.println(report.key("report.publish_folders_begin"), I_CmsReport.C_FORMAT_HEADLINE); } while (i.hasNext()) { currentResourceName = (String) i.next(); currentFolder = (CmsFolder) sortedFolderMap.get(currentResourceName); currentExportKey = checkExport(currentResourceName, exportpoints); if (currentFolder.getState() == I_CmsConstants.C_STATE_DELETED) { // C_STATE_DELETE deletedFolders.add(currentFolder); changedResources.addElement(currentResourceName); } else if (currentFolder.getState() == I_CmsConstants.C_STATE_NEW) { // I_CmsConstants.C_STATE_NEW report.print("( " + (m++) + " / " + n + " ) " + report.key("report.publishing.folder"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); changedResources.addElement(currentResourceName); // export to filesystem if necessary if (currentExportKey != null) { discAccess.createFolder(currentResourceName, currentExportKey); } // create the new folder in the online project try { newFolder = (CmsFolder) currentFolder.clone(); newFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); newFolder.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().createFolder(context.currentUser(), onlineProject, newFolder, newFolder.getParentId(), newFolder.getResourceName()); } catch (CmsException e) { if (e.getType() == CmsException.C_FILE_EXISTS) { try { onlineFolder = m_driverManager.getVfsDriver().readFolder(onlineProject.getId(), newFolder.getId()); onlineFolder.setFullResourceName(currentResourceName); } catch (CmsException exc) { throw exc; } m_driverManager.getVfsDriver().publishResource(onlineFolder, currentFolder); } else { throw e; } } // copy the access control entries of the folder m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFolder.getResourceAceId(), newFolder.getResourceAceId()); // copy properties try { properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFolder, currentFolder.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), newFolder, newFolder.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, copy properties for " + newFolder.toString() + " message: " + exc.getMessage()); } } if (backupEnabled) { // backup the offline resource and its properties m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFolder, properties, backupTagId, publishDate, maxVersions); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFolder); if (currentFolder.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the state of current folder in the offline project to unchanged currentFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFolder, CmsDriverManager.C_UPDATE_ALL); } } else if (currentFolder.getState() == I_CmsConstants.C_STATE_CHANGED) { // I_CmsConstants.C_STATE_CHANGED report.print("( " + (m++) + " / " + n + " ) " + report.key("report.publishing.folder"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); changedResources.addElement(currentResourceName); try { onlineFolder = m_driverManager.getVfsDriver().readFolder(onlineProject.getId(), currentFolder.getId()); onlineFolder.setFullResourceName(currentResourceName); } catch (CmsException exc) { // if folder does not exist online if (exc.getType() == CmsException.C_NOT_FOUND) { // create the new folder onlineFolder = m_driverManager.getVfsDriver().createFolder(context.currentUser(), onlineProject, currentFolder, currentFolder.getParentId(), currentFolder.getResourceName()); onlineFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); onlineFolder.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), onlineFolder, CmsDriverManager.C_UPDATE_ALL); } else { throw exc; } } // export to filesystem if necessary if (currentExportKey != null) { discAccess.createFolder(currentResourceName, currentExportKey); } m_driverManager.getVfsDriver().publishResource(onlineFolder, currentFolder); // copy the access control entries of the folder m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFolder.getResourceAceId(), onlineFolder.getResourceAceId()); // copy properties try { m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), onlineFolder); properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFolder, currentFolder.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), onlineFolder, currentFolder.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + onlineFolder.toString() + " message: " + exc.getMessage()); } } if (backupEnabled) { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFolder, properties, backupTagId, publishDate, maxVersions); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFolder); if (currentFolder.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the state of current folder in the offline project to unchanged currentFolder.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFolder, CmsDriverManager.C_UPDATE_ALL); } } m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFolder); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", currentFolder))); i.remove(); properties = null; currentFolder = null; newFolder = null; onlineFolder = null; } if (n > 0) { report.println(report.key("report.publish_folders_end"), I_CmsReport.C_FORMAT_HEADLINE); } if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } /////////////////////////////////////////////////////////////////////////////////////// // now read all changed/new/deleted files offlineFiles = m_driverManager.getVfsDriver().readFiles(context.currentProject().getId()); // sort out files that will not be published i = offlineFiles.iterator(); while (i.hasNext()) { publishCurrentResource = false; currentFileHeader = (CmsResource) i.next(); currentResourceName = m_driverManager.readPath(context, currentFileHeader, true); currentFileHeader.setFullResourceName(currentResourceName); currentLock = m_driverManager.getLock(context, currentResourceName); switch (currentFileHeader.getState()) { // the current resource is deleted case I_CmsConstants.C_STATE_DELETED : // it is published, if it was changed to deleted in the current project String delProject = m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_INTERNAL, context.currentProject().getId(), currentFileHeader, currentFileHeader.getType()); if (delProject != null && delProject.equals("" + context.currentProject().getId())) { publishCurrentResource = true; } else { publishCurrentResource = false; } break; // the current resource is new case I_CmsConstants.C_STATE_NEW : // it is published, if it was created in the current project // or if it is a new sibling of another resource that is currently not changed in any project publishCurrentResource = currentFileHeader.getProjectId() == context.currentProject().getId() || currentFileHeader.getProjectId() == 0; break; // the current resource is changed case I_CmsConstants.C_STATE_CHANGED : // it is published, if it was changed in the current project publishCurrentResource = currentFileHeader.getProjectId() == context.currentProject().getId(); break; // the current resource is unchanged case I_CmsConstants.C_STATE_UNCHANGED : default : // so it is not published publishCurrentResource = false; break; } if (context.currentProject().getType() == I_CmsConstants.C_PROJECT_TYPE_DIRECT_PUBLISH && directPublishResource != null) { // the resource must be a sub resource of the direct-publish-resource in case of a "direct publish" publishCurrentResource = publishCurrentResource && currentResourceName.startsWith(directPublishResource.getFullResourceName()); } else { // the resource must be in one of the paths defined for the project publishCurrentResource = publishCurrentResource && CmsProject.isInsideProject(projectResources, currentFileHeader); } // do not publish resource that are locked publishCurrentResource = publishCurrentResource && currentLock.isNullLock(); // handle temporary files immediately here coz they aren't "published" anyway if (currentLock.isNullLock()) { // remove any possible temporary files for this resource m_driverManager.getVfsDriver().removeTemporaryFile(currentFileHeader); } if (currentFileHeader.getResourceName().startsWith(I_CmsConstants.C_TEMP_PREFIX)) { // trash the current resource if it is a temporary file m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), currentFileHeader); m_driverManager.getVfsDriver().removeFile(context.currentProject(), currentFileHeader); } if (!publishCurrentResource) { i.remove(); } } m = 1; n = offlineFiles.size(); i = offlineFiles.iterator(); if (n > 0) { report.println(report.key("report.publish_files_begin"), I_CmsReport.C_FORMAT_HEADLINE); } while (i.hasNext()) { currentFileHeader = (CmsResource) i.next(); currentResourceName = currentFileHeader.getFullResourceName(); currentFile = m_driverManager.getVfsDriver().readFile(context.currentProject().getId(), true, currentFileHeader.getId()); currentFile.setFullResourceName(currentResourceName); currentExportKey = checkExport(currentResourceName, exportpoints); /* * Only use getState() of the currentFileHeader to determine if a resource has * to be published or not! * * In case a resource has siblings, after a sibling is published the structure * and resource states are reset to UNCHANGED -> the state of the corresponding * currentFileHeader is still NEW,DELETED or CHANGED, but the state of currentFile * is UNCHANGED because currentFile is read AFTER siblings already got published. * Thus, using currentFile.getState() will inevitably result in unpublished resources! */ if (currentFileHeader.getState() == I_CmsConstants.C_STATE_DELETED) { // C_STATE_DELETE report.print("( " + (m++) + " / " + n + " ) " + report.key("report.deleting.file"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); changedResources.addElement(currentResourceName); if (currentExportKey != null) { // delete the export point try { discAccess.removeResource(currentResourceName, currentExportKey); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error deleting export point, type: " + e.getType() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error deleting export point " + currentFile.toString()); } } } try { //onlineFile = m_driverManager.readFileInProject(context, onlineProject.getId(), currentFile.getId(), false); onlineFile = m_driverManager.getVfsDriver().readFile(onlineProject.getId(), true, currentFile.getId()); onlineFile.setFullResourceName(currentResourceName); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error reading resource online, type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error reading resource online " + currentFile.toString()); } } if (currentFile.isLabeled() && !m_driverManager.hasLabeledLinks(context, context.currentProject(), currentFile)) { // update the resource flags to "unlabel" the siblings for the offline resource int flags = currentFile.getFlags(); flags &= ~I_CmsConstants.C_RESOURCEFLAG_LABELLINK; currentFile.setFlags(flags); } if (onlineFile.isLabeled() && !m_driverManager.hasLabeledLinks(context, onlineProject, onlineFile)) { // update the resource flags to "unlabel" the siblings for the online resource int flags = onlineFile.getFlags(); flags &= ~I_CmsConstants.C_RESOURCEFLAG_LABELLINK; onlineFile.setFlags(flags); } if (backupEnabled) { // backup the offline resource try { properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFile, currentFile.getType()); m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFile, properties, backupTagId, publishDate, maxVersions); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing backup for " + currentFile.toString() + ", type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing backup for " + currentFile.toString()); } } } try { // delete the online properties m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), onlineFile); // delete the offline properties m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), currentFile); // if the offline file has a resource ID different from the online file // (probably because a (deleted) file was replaced by a new file with the // same name), the properties with the "old" resource ID have to be // deleted also offline if (!onlineFile.getResourceId().equals(currentFile.getResourceId())) { m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), onlineFile); } } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + onlineFile.toString() + " message: " + exc.getMessage()); } } try { // remove the file online and offline m_driverManager.getVfsDriver().removeFile(onlineProject, onlineFile); m_driverManager.getVfsDriver().removeFile(context.currentProject(), currentFile); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error removing resource online, type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error removing resource online " + currentFile.toString()); } } try { // delete the ACLs online and offline m_driverManager.getUserDriver().removeAllAccessControlEntries(onlineProject, onlineFile.getResourceAceId()); m_driverManager.getUserDriver().removeAllAccessControlEntries(context.currentProject(), currentFile.getResourceAceId()); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error removing ACLs for " + currentFile.toString() + ", type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error removing ACLs for " + currentFile.toString()); } } try { // write the publish history writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFile); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing publish history for " + currentFile.toString() + ", type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing publish history for " + currentFile.toString()); } } } else if (currentFileHeader.getState() == I_CmsConstants.C_STATE_CHANGED) { // C_STATE_CHANGED report.print("( " + (m++) + " / " + n + " ) " + report.key("report.publishing.file"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); changedResources.addElement(currentResourceName); if (currentExportKey != null) { // write the export point try { // make sure files are written in the right encoding contents = currentFile.getContents(); encoding = m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_CONTENT_ENCODING, context.currentProject().getId(), currentFile, currentFile.getType()); if (encoding != null) { // only files that have the encodig property set will be encoded, // other files will be ignored. images etc. are not touched. try { contents = (new String(contents, encoding)).getBytes(); } catch (UnsupportedEncodingException uex) { // noop } } discAccess.writeFile(currentResourceName, currentExportKey, contents); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing export point, type: " + e.getType() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing export point " + currentFile.toString()); } } } try { // read the existing online file onlineFile = m_driverManager.getVfsDriver().readFile(onlineProject.getId(), true, currentFile.getId()); onlineFile.setFullResourceName(currentResourceName); // delete the existing online properties m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), onlineFile); // if the offline file has a resource ID different from the online file // (probably because a (deleted) file was replaced by a new file with the // same name), the properties with the "old" resource ID have to be // deleted also offline if (!onlineFile.getResourceId().equals(currentFile.getResourceId())) { m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), onlineFile); } // remove the existing online file m_driverManager.getVfsDriver().removeFile(onlineProject, onlineFile); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error removing resource online, type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error removing resource online " + currentFile.toString()); } } try { // re-create the online file newFile = (CmsFile) currentFile.clone(); newFile.setState(I_CmsConstants.C_STATE_UNCHANGED); newFile.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().createFile(onlineProject, newFile, context.currentUser().getId(), newFile.getParentId(), newFile.getResourceName()); m_driverManager.getVfsDriver().publishResource(newFile,currentFile); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error re-creating resource online, type: " + e.getTypeText() + ", " + newFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error re-creating resource online " + currentFile.toString()); } } try { // write the properties online properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFile, currentFile.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), newFile, newFile.getType()); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error deleting properties for " + newFile.toString() + ", type: " + e.getTypeText()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error deleting properties for " + currentFile.toString()); } } try { // write the access control entries online m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, newFile.getResourceAceId(), onlineFile.getResourceAceId()); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing ACL for " + currentFile.toString() + ", type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing ACL for " + currentFile.toString()); } } if (backupEnabled) { try { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFile, properties, backupTagId, publishDate, maxVersions); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing backup for " + currentFile.toString() + ", type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error writing backup for " + currentFile.toString()); } } } try { writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFile); if (currentFileHeader.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the file state to unchanged currentFile.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFile, CmsDriverManager.C_UPDATE_ALL); } m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFile); } catch (CmsException e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error updating resource state for " + currentFile.toString() + ", type: " + e.getTypeText() + ", " + currentFile.toString()); } } catch (Exception e) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject()] error updating resource state for " + currentFile.toString()); } } } else if (currentFileHeader.getState() == I_CmsConstants.C_STATE_NEW) { // C_STATE_NEW report.print("( " + (m++) + " / " + n + " ) " + report.key("report.publishing.file"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); changedResources.addElement(currentResourceName); // export to filesystem if necessary if (currentExportKey != null) { // Encoding project: Make sure files are written in the right encoding contents = currentFile.getContents(); encoding = m_driverManager.getVfsDriver().readProperty(I_CmsConstants.C_PROPERTY_CONTENT_ENCODING, context.currentProject().getId(), currentFile, currentFile.getType()); if (encoding != null) { // Only files that have the encodig property set will be encoded, // the other files will be ignored. So images etc. are not touched. try { contents = (new String(contents, encoding)).getBytes(); } catch (UnsupportedEncodingException uex) { // contents will keep original value } } discAccess.writeFile(currentResourceName, currentExportKey, contents); } // create the new file try { newFile = (CmsFile) currentFile.clone(); newFile.setState(I_CmsConstants.C_STATE_UNCHANGED); newFile.setFullResourceName(currentResourceName); m_driverManager.getVfsDriver().createFile(onlineProject, newFile, context.currentUser().getId(), newFile.getParentId(), newFile.getResourceName()); } catch (CmsException e) { if (e.getType() == CmsException.C_FILE_EXISTS) { m_driverManager.getVfsDriver().removeFile(onlineProject, currentFile); m_driverManager.getVfsDriver().createFile(onlineProject, newFile, context.currentUser().getId(), newFile.getParentId(), newFile.getResourceName()); } else { throw e; } } // copy properties try { properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFile, currentFile.getType()); m_driverManager.getVfsDriver().writeProperties(properties, onlineProject.getId(), newFile, newFile.getType()); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, copy properties for " + newFile.toString() + " message: " + exc.getMessage()); } } // copy access control entries m_driverManager.getUserDriver().publishAccessControlEntries(context.currentProject(), onlineProject, currentFile.getResourceAceId(), newFile.getResourceAceId()); if (backupEnabled) { // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFile, properties, backupTagId, publishDate, maxVersions); } writePublishHistory(context.currentProject(), publishHistoryId, backupTagId, currentResourceName, currentFile); if (currentFileHeader.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // set the file state to unchanged currentFile.setState(I_CmsConstants.C_STATE_UNCHANGED); m_driverManager.getVfsDriver().updateResourceState(context.currentProject(), currentFile, CmsDriverManager.C_UPDATE_ALL); } m_driverManager.getVfsDriver().resetProjectId(context.currentProject(), currentFile); } OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", currentFile))); i.remove(); properties = null; currentFile = null; currentFileHeader = null; newFile = null; onlineFile = null; contents = null; encoding = null; } if (n > 0) { report.println(report.key("report.publish_files_end"), I_CmsReport.C_FORMAT_HEADLINE); } if (offlineFiles != null) { offlineFiles.clear(); offlineFiles = null; } //////////////////////////////////////////////////////////////////////////////////////// // now delete the "deleted" folders if (deletedFolders.isEmpty()) { return changedResources; } // ensure that the folders appear in the correct (DFS) tree order sortedFolderMap = (Map) new HashMap(); i = deletedFolders.iterator(); while (i.hasNext()) { currentFolder = (CmsFolder) i.next(); currentResourceName = currentFolder.getFullResourceName(); sortedFolderMap.put(currentResourceName, currentFolder); } sortedFolderList = (List) new ArrayList(sortedFolderMap.keySet()); Collections.sort(sortedFolderList); // reverse the order of the folder to delete them in a bottom-up order Collections.reverse(sortedFolderList); if (deletedFolders != null) { deletedFolders.clear(); deletedFolders = null; } m = 1; n = sortedFolderList.size(); i = sortedFolderList.iterator(); if (n > 0) { report.println(report.key("report.publish_delete_folders_begin"), I_CmsReport.C_FORMAT_HEADLINE); } while (i.hasNext()) { currentResourceName = (String) i.next(); currentFolder = (CmsFolder) sortedFolderMap.get(currentResourceName); currentExportKey = checkExport(currentResourceName, exportpoints); report.print("( " + (m++) + " / " + n + " ) " + report.key("report.deleting.folder"), I_CmsReport.C_FORMAT_NOTE); report.println(context.removeSiteRoot(currentResourceName)); if (currentExportKey != null) { discAccess.removeResource(currentResourceName, currentExportKey); } if (backupEnabled) { properties = m_driverManager.getVfsDriver().readProperties(context.currentProject().getId(), currentFolder, currentFolder.getType()); // backup the offline resource m_driverManager.getBackupDriver().writeBackupResource(context.currentUser(), context.currentProject(), currentFolder, properties, backupTagId, publishDate, maxVersions); } delOnlineFolder = m_driverManager.readFolder(context, currentFolder.getId(), true); delOnlineFolder.setFullResourceName(currentResourceName); try { m_driverManager.getVfsDriver().deleteAllProperties(onlineProject.getId(), delOnlineFolder); m_driverManager.getVfsDriver().deleteAllProperties(context.currentProject().getId(), currentFolder); } catch (CmsException exc) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_INFO)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_INFO, "[" + this.getClass().getName() + "] error publishing, deleting properties for " + currentFolder.toString() + " message: " + exc.getMessage()); } } m_driverManager.getVfsDriver().removeFolder(onlineProject, currentFolder); m_driverManager.getVfsDriver().removeFolder(context.currentProject(), currentFolder); // delete both online and offline access control entries applied to this folder m_driverManager.getUserDriver().removeAllAccessControlEntries(onlineProject, delOnlineFolder.getResourceAceId()); m_driverManager.getUserDriver().removeAllAccessControlEntries(context.currentProject(), currentFolder.getResourceAceId()); OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", currentFolder))); i.remove(); currentFolder = null; delOnlineFolder = null; } if (n > 0) { report.println(report.key("report.publish_delete_folders_end"), I_CmsReport.C_FORMAT_HEADLINE); } if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } } catch (CmsException e) { // these are dummy catch blocks to have a finally block for clearing // allocated resources. thus the exceptions are just logged and // immediately thrown to the upper app. layer. if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject] " + e.getMessage()); } throw e; } catch (OutOfMemoryError o) { if (OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, "[" + this.getClass().getName() + ".publishProject] out of memory error!"); } // clear all caches to reclaim memory OpenCms.fireCmsEvent(new CmsEvent(new CmsObject(), I_CmsEventListener.EVENT_CLEAR_CACHES, new HashMap(), false)); // force a complete object finalization and garbage collection System.runFinalization(); Runtime.getRuntime().runFinalization(); System.gc(); Runtime.getRuntime().gc(); throw o; } finally { if (sortedFolderList != null) { sortedFolderList.clear(); sortedFolderList = null; } if (sortedFolderMap != null) { sortedFolderMap.clear(); sortedFolderMap = null; } if (deletedFolders != null) { deletedFolders.clear(); deletedFolders = null; } if (offlineFiles != null) { offlineFiles.clear(); offlineFiles = null; } properties = null; currentFile = null; currentFileHeader = null; newFile = null; onlineFile = null; currentFolder = null; newFolder = null; onlineFolder = null; discAccess = null; delOnlineFolder = null; currentExportKey = null; contents = null; } return changedResources; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/e32e986189f4d8353adaddc338780dc5f8a073fc/CmsProjectDriver.java/buggy/src/org/opencms/db/generic/CmsProjectDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 5589, 3808, 4109, 12, 4747, 21426, 819, 16, 2149, 4109, 12365, 4109, 16, 1250, 5114, 1526, 16, 509, 5114, 1805, 548, 16, 467, 67, 25702, 2605, 16, 18559, 3359, 4139, 16, 7630, 2657, 6024, 1420, 16, 509, 943, 5940, 13, 1216, 11228, 288, 3639, 2149, 6144, 2148, 4668, 19169, 1862, 273, 446, 31, 3639, 2149, 3899, 783, 3899, 273, 446, 31, 3639, 28118, 22650, 273, 446, 31, 3639, 7630, 22650, 1864, 273, 446, 31, 3639, 2149, 2531, 783, 2531, 273, 446, 31, 3639, 2149, 3899, 394, 3899, 273, 446, 31, 3639, 28118, 20592, 273, 446, 31, 3639, 28118, 12365, 812, 273, 446, 31, 3639, 987, 13493, 14885, 273, 446, 31, 3639, 987, 13493, 2697, 273, 446, 31, 3639, 987, 4282, 14885, 273, 261, 682, 13, 394, 2407, 5621, 3639, 5589, 3550, 3805, 273, 394, 5589, 5621, 3639, 514, 783, 6144, 653, 273, 446, 31, 3639, 514, 783, 19327, 273, 446, 31, 3639, 1525, 3808, 1626, 273, 2332, 18, 2972, 28512, 5621, 3639, 4498, 277, 273, 446, 31, 3639, 1250, 3808, 3935, 1420, 273, 629, 31, 3639, 987, 1984, 3805, 273, 446, 31, 3639, 1635, 1790, 273, 446, 31, 3639, 2149, 3899, 12365, 3899, 273, 446, 31, 3639, 1635, 3115, 3899, 863, 273, 446, 31, 3639, 987, 3115, 3899, 682, 273, 446, 31, 3639, 7630, 1464, 16860, 3899, 273, 446, 31, 3639, 1160, 8526, 2939, 273, 446, 31, 3639, 509, 3808, 5623, 548, 273, 1024, 6024, 28039, 5621, 3639, 514, 2688, 273, 446, 31, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 5589, 3808, 4109, 12, 4747, 21426, 819, 16, 2149, 4109, 12365, 4109, 16, 1250, 5114, 1526, 16, 509, 5114, 1805, 548, 16, 467, 67, 25702, 2605, 16, 18559, 3359, 4139, 16, 7630, 2657, 6024, 1420, 16, 509, 943, 5940, 13, 1216, 11228, 288, 3639, 2149, 6144, 2148, 4668, 19169, 1862, 273, 446, 31, 3639, 2149, 3899, 783, 3899, 273, 446, 31, 3639, 28118, 22650, 273, 446, 31, 3639, 7630, 22650, 1864, 273, 446, 31, 3639, 2149, 2531, 783, 2531, 273, 446, 31, 3639, 2149, 3899, 394, 3899, 273, 446, 31, 3639, 28118, 20592, 273, 446, 31, 3639, 28118, 12365, 812, 273, 446, 31, 3639, 987, 13493, 14885, 273, 446, 31, 3639, 987, 13493, 2697, 273, 446, 2 ]
m_ops.m_opMap[addPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[addPos + opPlusLeftHandLen + 1] + opPlusLeftHandLen;
m_ops.setOp(addPos + OpMap.MAPINDEX_LENGTH, m_ops.getOp(addPos + opPlusLeftHandLen + 1) + opPlusLeftHandLen);
protected int MultiplicativeExpr(int addPos) throws javax.xml.transform.TransformerException { int opPos = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH]; if (-1 == addPos) addPos = opPos; UnaryExpr(); if (null != m_token) { if (tokenIs('*')) { nextToken(); insertOp(addPos, 2, OpCodes.OP_MULT); int opPlusLeftHandLen = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - addPos; addPos = MultiplicativeExpr(addPos); m_ops.m_opMap[addPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[addPos + opPlusLeftHandLen + 1] + opPlusLeftHandLen; addPos += 2; } else if (tokenIs("div")) { nextToken(); insertOp(addPos, 2, OpCodes.OP_DIV); int opPlusLeftHandLen = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - addPos; addPos = MultiplicativeExpr(addPos); m_ops.m_opMap[addPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[addPos + opPlusLeftHandLen + 1] + opPlusLeftHandLen; addPos += 2; } else if (tokenIs("mod")) { nextToken(); insertOp(addPos, 2, OpCodes.OP_MOD); int opPlusLeftHandLen = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - addPos; addPos = MultiplicativeExpr(addPos); m_ops.m_opMap[addPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[addPos + opPlusLeftHandLen + 1] + opPlusLeftHandLen; addPos += 2; } else if (tokenIs("quo")) { nextToken(); insertOp(addPos, 2, OpCodes.OP_QUO); int opPlusLeftHandLen = m_ops.m_opMap[OpMap.MAPINDEX_LENGTH] - addPos; addPos = MultiplicativeExpr(addPos); m_ops.m_opMap[addPos + OpMap.MAPINDEX_LENGTH] = m_ops.m_opMap[addPos + opPlusLeftHandLen + 1] + opPlusLeftHandLen; addPos += 2; } } return addPos; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f136f83081069756bcd71950054569f3ad4d2ce5/XPathParser.java/clean/src/org/apache/xpath/compiler/XPathParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 509, 5991, 28884, 4742, 12, 474, 527, 1616, 13, 1216, 6863, 18, 2902, 18, 6547, 18, 8319, 503, 225, 288, 565, 509, 1061, 1616, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 15533, 565, 309, 24927, 21, 422, 527, 1616, 13, 1377, 527, 1616, 273, 1061, 1616, 31, 565, 20324, 4742, 5621, 565, 309, 261, 2011, 480, 312, 67, 2316, 13, 565, 288, 1377, 309, 261, 2316, 2520, 2668, 4035, 3719, 1377, 288, 3639, 9617, 5621, 3639, 2243, 3817, 12, 1289, 1616, 16, 576, 16, 6066, 6295, 18, 3665, 67, 12845, 1769, 3639, 509, 1061, 13207, 3910, 1144, 2891, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 65, 300, 527, 1616, 31, 3639, 527, 1616, 273, 5991, 28884, 4742, 12, 1289, 1616, 1769, 3639, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 1289, 1616, 397, 6066, 863, 18, 8352, 9199, 67, 7096, 65, 273, 1850, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 1289, 1616, 397, 1061, 13207, 3910, 1144, 2891, 397, 404, 65, 397, 1061, 13207, 3910, 1144, 2891, 31, 3639, 527, 1616, 1011, 576, 31, 1377, 289, 1377, 469, 309, 261, 2316, 2520, 2932, 2892, 6, 3719, 1377, 288, 3639, 9617, 5621, 3639, 2243, 3817, 12, 1289, 1616, 16, 576, 16, 6066, 6295, 18, 3665, 67, 31901, 1769, 3639, 509, 1061, 13207, 3910, 1144, 2891, 273, 312, 67, 4473, 18, 81, 67, 556, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 509, 5991, 28884, 4742, 12, 474, 527, 1616, 13, 1216, 6863, 18, 2902, 18, 6547, 18, 8319, 503, 225, 288, 565, 509, 1061, 1616, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 63, 3817, 863, 18, 8352, 9199, 67, 7096, 15533, 565, 309, 24927, 21, 422, 527, 1616, 13, 1377, 527, 1616, 273, 1061, 1616, 31, 565, 20324, 4742, 5621, 565, 309, 261, 2011, 480, 312, 67, 2316, 13, 565, 288, 1377, 309, 261, 2316, 2520, 2668, 4035, 3719, 1377, 288, 3639, 9617, 5621, 3639, 2243, 3817, 12, 1289, 1616, 16, 576, 16, 6066, 6295, 18, 3665, 67, 12845, 1769, 3639, 509, 1061, 13207, 3910, 1144, 2891, 273, 312, 67, 4473, 18, 81, 67, 556, 863, 2 ]
this.m_entryLruCache.remove(nextObject);
this.m_variationCache.remove(nextObject);
private synchronized void clearAccordingToSuffix(String suffix, boolean entriesOnly) { java.util.Set keys = new java.util.HashSet(m_resourceMap.keySet()); java.util.Iterator i = keys.iterator(); while (i.hasNext()) { String s = (String)i.next(); if (s.endsWith(suffix)) { CmsFlexCacheVariation v = (CmsFlexCacheVariation)m_resourceMap.get(s); if (entriesOnly) { // Clear only entry m_size -= v.m_map.size(); java.util.Iterator allEntries = v.m_map.values().iterator(); while (allEntries.hasNext()) { I_CmsLruCacheObject nextObject = (I_CmsLruCacheObject)allEntries.next(); allEntries.remove(); this.m_entryLruCache.remove(nextObject); } v.m_map = java.util.Collections.synchronizedMap(new HashMap(C_INITIAL_CAPACITY_VARIATIONS)); } else { // Clear key and entry m_size -= v.m_map.size(); java.util.Iterator allEntries = v.m_map.values().iterator(); while (allEntries.hasNext()) { I_CmsLruCacheObject nextObject = (I_CmsLruCacheObject)allEntries.next(); allEntries.remove(); this.m_entryLruCache.remove(nextObject); } v.m_map = null; v.m_key = null; m_resourceMap.remove(s); } } } if (OpenCms.getLog(this).isInfoEnabled()) OpenCms.getLog(this).info("Part of the FlexCache cleared - clearOneHalf(" + suffix + ", " + entriesOnly + ") called"); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/1db71f472298adbe7822b50e4e7b94c90b9f57cd/CmsFlexCache.java/clean/src/org/opencms/flex/CmsFlexCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 2424, 9988, 4643, 774, 5791, 12, 780, 3758, 16, 1250, 3222, 3386, 13, 288, 3639, 2252, 18, 1367, 18, 694, 1311, 273, 394, 2252, 18, 1367, 18, 13482, 12, 81, 67, 3146, 863, 18, 856, 694, 10663, 3639, 2252, 18, 1367, 18, 3198, 277, 273, 1311, 18, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 514, 272, 273, 261, 780, 13, 77, 18, 4285, 5621, 5411, 309, 261, 87, 18, 5839, 1190, 12, 8477, 3719, 288, 7734, 2149, 19667, 1649, 23771, 331, 273, 261, 4747, 19667, 1649, 23771, 13, 81, 67, 3146, 863, 18, 588, 12, 87, 1769, 7734, 309, 261, 8219, 3386, 13, 288, 10792, 368, 10121, 1338, 1241, 10792, 312, 67, 1467, 3947, 331, 18, 81, 67, 1458, 18, 1467, 5621, 10792, 2252, 18, 1367, 18, 3198, 777, 5400, 273, 331, 18, 81, 67, 1458, 18, 2372, 7675, 9838, 5621, 10792, 1323, 261, 454, 5400, 18, 5332, 2134, 10756, 288, 13491, 467, 67, 4747, 48, 8653, 1649, 921, 1024, 921, 273, 261, 45, 67, 4747, 48, 8653, 1649, 921, 13, 454, 5400, 18, 4285, 5621, 13491, 777, 5400, 18, 4479, 5621, 13491, 333, 18, 81, 67, 28815, 1649, 18, 4479, 12, 4285, 921, 1769, 10792, 289, 10792, 331, 18, 81, 67, 1458, 273, 2252, 18, 1367, 18, 15150, 18, 22043, 863, 12, 2704, 4317, 12, 39, 67, 28497, 67, 17296, 30041, 67, 29744, 15297, 10019, 7734, 289, 469, 288, 10792, 368, 10121, 498, 471, 1241, 10792, 312, 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, 3852, 918, 2424, 9988, 4643, 774, 5791, 12, 780, 3758, 16, 1250, 3222, 3386, 13, 288, 3639, 2252, 18, 1367, 18, 694, 1311, 273, 394, 2252, 18, 1367, 18, 13482, 12, 81, 67, 3146, 863, 18, 856, 694, 10663, 3639, 2252, 18, 1367, 18, 3198, 277, 273, 1311, 18, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 514, 272, 273, 261, 780, 13, 77, 18, 4285, 5621, 5411, 309, 261, 87, 18, 5839, 1190, 12, 8477, 3719, 288, 7734, 2149, 19667, 1649, 23771, 331, 273, 261, 4747, 19667, 1649, 23771, 13, 81, 67, 3146, 863, 18, 588, 12, 87, 1769, 7734, 309, 261, 8219, 3386, 13, 288, 10792, 368, 10121, 1338, 1241, 10792, 2 ]
fail( "Too few lines in the actual file. Was " + actualLines.size() + ", expected: " + expectedLines.size() );
fail( "Too few lines in the actual file. Was " + actualLines.size() + ", expected: " + expectedLines.size() );
private void assertFileEquals( String mavenRepo, File expectedFile, File actualFile ) throws IOException { List expectedLines = getLines( mavenRepo, expectedFile ); List actualLines = getLines( mavenRepo, actualFile ); for ( int i = 0; i < expectedLines.size(); i++ ) { String expected = expectedLines.get( i ).toString(); // replace some vars in the expected line, to account // for absolute paths that are different on each installation. expected = StringUtils.replace( expected, "${basedir}", basedir.replace( '\\', '/' ) ); if ( actualLines.size() <= i ) { fail( "Too few lines in the actual file. Was " + actualLines.size() + ", expected: " + expectedLines.size() ); } String actual = actualLines.get( i ).toString(); if ( expected.startsWith( "#" ) && actual.startsWith( "#" ) ) { //ignore comments, for settings file continue; } assertEquals( "Checking line #" + ( i + 1 ), expected, actual ); } assertTrue( "Unequal number of lines.", expectedLines.size() == actualLines.size() ); }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/e3899c9cbcad8544a3c599e5c393373e7ee8694f/EclipsePluginTest.java/clean/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1815, 812, 8867, 12, 514, 20499, 8791, 16, 1387, 2665, 812, 16, 1387, 3214, 812, 262, 3639, 1216, 1860, 565, 288, 3639, 987, 2665, 5763, 273, 336, 5763, 12, 20499, 8791, 16, 2665, 812, 11272, 3639, 987, 3214, 5763, 273, 336, 5763, 12, 20499, 8791, 16, 3214, 812, 11272, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 2665, 5763, 18, 1467, 5621, 277, 9904, 262, 3639, 288, 5411, 514, 2665, 273, 2665, 5763, 18, 588, 12, 277, 262, 18, 10492, 5621, 5411, 368, 1453, 2690, 4153, 316, 326, 2665, 980, 16, 358, 2236, 5411, 368, 364, 4967, 2953, 716, 854, 3775, 603, 1517, 13193, 18, 5411, 2665, 273, 5778, 18, 2079, 12, 2665, 16, 27214, 31722, 1532, 16, 15573, 18, 2079, 12, 3718, 2187, 2023, 262, 11272, 5411, 309, 261, 3214, 5763, 18, 1467, 1435, 1648, 277, 262, 5411, 288, 7734, 2321, 12, 315, 10703, 11315, 2362, 316, 326, 3214, 585, 18, 28938, 315, 397, 3214, 5763, 18, 1467, 1435, 397, 3104, 2665, 30, 315, 10792, 397, 2665, 5763, 18, 1467, 1435, 11272, 5411, 289, 5411, 514, 3214, 273, 3214, 5763, 18, 588, 12, 277, 262, 18, 10492, 5621, 5411, 309, 261, 2665, 18, 17514, 1190, 12, 13092, 262, 597, 3214, 18, 17514, 1190, 12, 13092, 262, 262, 5411, 288, 7734, 368, 6185, 5678, 16, 364, 1947, 585, 7734, 1324, 31, 5411, 289, 5411, 1815, 8867, 12, 315, 14294, 980, 31526, 397, 261, 277, 397, 404, 262, 16, 2665, 16, 3214, 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, 3238, 918, 1815, 812, 8867, 12, 514, 20499, 8791, 16, 1387, 2665, 812, 16, 1387, 3214, 812, 262, 3639, 1216, 1860, 565, 288, 3639, 987, 2665, 5763, 273, 336, 5763, 12, 20499, 8791, 16, 2665, 812, 11272, 3639, 987, 3214, 5763, 273, 336, 5763, 12, 20499, 8791, 16, 3214, 812, 11272, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 2665, 5763, 18, 1467, 5621, 277, 9904, 262, 3639, 288, 5411, 514, 2665, 273, 2665, 5763, 18, 588, 12, 277, 262, 18, 10492, 5621, 5411, 368, 1453, 2690, 4153, 316, 326, 2665, 980, 16, 358, 2236, 5411, 368, 364, 4967, 2953, 716, 854, 3775, 603, 1517, 13193, 18, 5411, 2665, 273, 5778, 18, 2079, 12, 2665, 16, 2 ]
return java.sql.Connection.TRANSACTION_SERIALIZABLE;
ExecSQL("show xactisolevel"); SQLWarning w = getWarnings(); if (w != null) { if (w.getMessage().indexOf("READ COMMITTED") != -1) return java.sql.Connection.TRANSACTION_READ_COMMITTED; else if (w.getMessage().indexOf("READ UNCOMMITTED") != -1) return java.sql.Connection.TRANSACTION_READ_UNCOMMITTED; else if (w.getMessage().indexOf("REPEATABLE READ") != -1) return java.sql.Connection.TRANSACTION_REPEATABLE_READ; else if (w.getMessage().indexOf("SERIALIZABLE") != -1) return java.sql.Connection.TRANSACTION_SERIALIZABLE; } return java.sql.Connection.TRANSACTION_READ_COMMITTED;
public int getTransactionIsolation() throws SQLException { return java.sql.Connection.TRANSACTION_SERIALIZABLE; }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/24c82830cf8e7cc6d378c622ef1028937a4ee488/Connection.java/clean/src/interfaces/jdbc/postgresql/jdbc1/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 15674, 22982, 1435, 1216, 6483, 225, 288, 565, 3889, 3997, 2932, 4500, 619, 621, 291, 790, 941, 8863, 225, 3063, 6210, 341, 273, 336, 4312, 5621, 309, 261, 91, 480, 446, 13, 288, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 6949, 5423, 6068, 6404, 7923, 480, 300, 21, 13, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 6949, 67, 18658, 6404, 31, 469, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 6949, 5019, 18658, 6404, 7923, 480, 300, 21, 13, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 6949, 67, 2124, 18658, 6404, 31, 469, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 862, 31804, 2782, 10746, 7923, 480, 300, 21, 13, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 862, 31804, 2782, 67, 6949, 31, 469, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 2123, 15154, 2782, 7923, 480, 300, 21, 13, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 2123, 15154, 2782, 31, 289, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 6949, 67, 18658, 6404, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 15674, 22982, 1435, 1216, 6483, 225, 288, 565, 3889, 3997, 2932, 4500, 619, 621, 291, 790, 941, 8863, 225, 3063, 6210, 341, 273, 336, 4312, 5621, 309, 261, 91, 480, 446, 13, 288, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 6949, 5423, 6068, 6404, 7923, 480, 300, 21, 13, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 6949, 67, 18658, 6404, 31, 469, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 6949, 5019, 18658, 6404, 7923, 480, 300, 21, 13, 327, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 6949, 67, 2124, 18658, 6404, 31, 469, 309, 261, 91, 18, 24906, 7675, 31806, 2932, 862, 31804, 2782, 10746, 7923, 480, 300, 21, 13, 327, 2 ]
parent.addChild (child);
parent.addChild(child);
private static void updatePolicyTree(X509Certificate cert, PolicyNodeImpl root, int depth, PKIXParameters params, boolean explicitPolicy) throws CertPathValidatorException { if (DEBUG) debug("updatePolicyTree depth == " + depth); Set nodes = new HashSet(); LinkedList stack = new LinkedList(); Iterator current = null; stack.addLast(Collections.singleton(root).iterator()); do { current = (Iterator) stack.removeLast(); while (current.hasNext()) { PolicyNodeImpl p = (PolicyNodeImpl) current.next(); if (DEBUG) debug("visiting node == " + p); if (p.getDepth() == depth - 1) { if (DEBUG) debug("added node"); nodes.add(p); } else { if (DEBUG) debug("skipped node"); stack.addLast(current); current = p.getChildren(); } } } while (!stack.isEmpty()); Extension e = null; CertificatePolicies policies = null; List qualifierInfos = null; if (cert instanceof GnuPKIExtension) { e = ((GnuPKIExtension) cert).getExtension(CertificatePolicies.ID); if (e != null) policies = (CertificatePolicies) e.getValue(); } List cp = null; if (policies != null) cp = policies.getPolicies(); else cp = Collections.EMPTY_LIST; boolean match = false; if (DEBUG) debug("nodes are == " + nodes); if (DEBUG) debug("cert policies are == " + cp); for (Iterator it = nodes.iterator(); it.hasNext(); ) { PolicyNodeImpl parent = (PolicyNodeImpl) it.next(); if (DEBUG) debug("adding policies to " + parent); for (Iterator it2 = cp.iterator(); it2.hasNext(); ) { OID policy = (OID) it2.next(); if (DEBUG) debug("trying to add policy == " + policy); if (policy.toString().equals(ANY_POLICY) && params.isAnyPolicyInhibited()) continue; PolicyNodeImpl child = new PolicyNodeImpl(); child.setValidPolicy(policy.toString()); child.addExpectedPolicy(policy.toString()); if (parent.getExpectedPolicies().contains(policy.toString())) { parent.addChild(child); match = true; } else if (parent.getExpectedPolicies().contains(ANY_POLICY)) { parent.addChild(child); match = true; } else if (ANY_POLICY.equals (policy.toString())) { parent.addChild (child); match = true; } if (match && policies != null) { List qualifiers = policies.getPolicyQualifierInfos (policy); if (qualifiers != null) child.addAllPolicyQualifiers (qualifiers); } } } if (!match && (params.isExplicitPolicyRequired() || explicitPolicy)) throw new CertPathValidatorException("policy tree building failed"); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/PKIXCertPathValidatorImpl.java/buggy/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1089, 2582, 2471, 12, 60, 5995, 4719, 3320, 16, 7436, 907, 2828, 1365, 16, 4766, 4202, 509, 3598, 16, 11327, 12507, 2402, 859, 16, 4766, 4202, 1250, 5515, 2582, 13, 565, 1216, 11921, 743, 5126, 503, 225, 288, 565, 309, 261, 9394, 13, 1198, 2932, 2725, 2582, 2471, 3598, 422, 315, 397, 3598, 1769, 565, 1000, 2199, 273, 394, 6847, 5621, 565, 10688, 2110, 273, 394, 10688, 5621, 565, 4498, 783, 273, 446, 31, 565, 2110, 18, 1289, 3024, 12, 15150, 18, 24487, 12, 3085, 2934, 9838, 10663, 565, 741, 1377, 288, 3639, 783, 273, 261, 3198, 13, 2110, 18, 4479, 3024, 5621, 3639, 1323, 261, 2972, 18, 5332, 2134, 10756, 1850, 288, 5411, 7436, 907, 2828, 293, 273, 261, 2582, 907, 2828, 13, 783, 18, 4285, 5621, 5411, 309, 261, 9394, 13, 1198, 2932, 11658, 310, 756, 422, 315, 397, 293, 1769, 5411, 309, 261, 84, 18, 588, 6148, 1435, 422, 3598, 300, 404, 13, 2868, 288, 7734, 309, 261, 9394, 13, 1198, 2932, 9665, 756, 8863, 7734, 2199, 18, 1289, 12, 84, 1769, 2868, 289, 5411, 469, 2868, 288, 7734, 309, 261, 9394, 13, 1198, 2932, 25346, 756, 8863, 7734, 2110, 18, 1289, 3024, 12, 2972, 1769, 7734, 783, 273, 293, 18, 588, 4212, 5621, 2868, 289, 1850, 289, 1377, 289, 565, 1323, 16051, 3772, 18, 291, 1921, 10663, 565, 10021, 425, 273, 446, 31, 565, 6660, 8825, 8923, 273, 446, 31, 565, 987, 12327, 7655, 273, 446, 31, 565, 309, 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, 760, 918, 1089, 2582, 2471, 12, 60, 5995, 4719, 3320, 16, 7436, 907, 2828, 1365, 16, 4766, 4202, 509, 3598, 16, 11327, 12507, 2402, 859, 16, 4766, 4202, 1250, 5515, 2582, 13, 565, 1216, 11921, 743, 5126, 503, 225, 288, 565, 309, 261, 9394, 13, 1198, 2932, 2725, 2582, 2471, 3598, 422, 315, 397, 3598, 1769, 565, 1000, 2199, 273, 394, 6847, 5621, 565, 10688, 2110, 273, 394, 10688, 5621, 565, 4498, 783, 273, 446, 31, 565, 2110, 18, 1289, 3024, 12, 15150, 18, 24487, 12, 3085, 2934, 9838, 10663, 565, 741, 1377, 288, 3639, 783, 273, 261, 3198, 13, 2110, 18, 4479, 3024, 5621, 3639, 1323, 261, 2972, 18, 5332, 2134, 10756, 1850, 288, 5411, 7436, 2 ]
if (parent != null && !parent.equals(m.getParentMember())) { parent = null; break; } } } } if (parent != null) { if (parent.isAll() || potentialParents.contains(parent) ) { int nChildren = -1; SchemaReader scr = star.getSchema().getSchemaReader(); nChildren = scr.getChildrenCountFromCache(parent);
if (parent != null && !parent.equals(m.getParentMember())) { parent = null; break; } } } } if (parent != null) { if (parent.isAll() || potentialParents.contains(parent) ) { int nChildren = -1; SchemaReader scr = star.getSchema().getSchemaReader(); nChildren = scr.getChildrenCountFromCache(parent);
public synchronized ColumnConstraint[][] optimizeConstraints(ColumnConstraint[][] constraintses) { final int MAXLEN_ORACLE = 1000; Util.assertTrue(constraintses.length == columns.length); ColumnConstraint[][] newConstraintses = (ColumnConstraint[][]) constraintses.clone(); double[] bloats = new double[columns.length]; // We want to handle the special case "drilldown" which occurs pretty often. // Here, the parent is here as a constraint with a single member // and the list of children as well. List potentialParents = new ArrayList(); for (int i = 0; i < constraintses.length; i++) { if (constraintses[i] != null && constraintses[i].length == 1 && constraintses[i][0].isMember()) potentialParents.add(constraintses[i][0].getMember()); } for (int i = 0; i < newConstraintses.length; i++) { double constraintLength = (double) newConstraintses[i].length; // a set of constraints with only one entry will not be optimized away if (newConstraintses[i] == null || newConstraintses[i].length < 2) { bloats[i] = 0.0; } else { // Oracle can only handle up to 1000 elements inside an IN(..) clause if (oracle && newConstraintses[i].length > MAXLEN_ORACLE) { bloats[i] = 1.0; // will be optimized away continue; } // more than one - check for children of same parent Member parent = null; for (int j = 0; j < newConstraintses[i].length; j++) { if (!(newConstraintses[i][j].isMember())) { // should not occur - but // we compute bloat by #constraints / column cardinality parent = null; bloats[i] = constraintLength / columns[i].getCardinality(); break; } else { Member m = newConstraintses[i][j].getMember(); if (j == 0) { parent = m.getParentMember(); } else { if (parent != null && !parent.equals(m.getParentMember())) { parent = null; // no common parent break; } } } } if (parent != null) { // common parent exists if (parent.isAll() || potentialParents.contains(parent) ) { // common parent is there as constraint // if the children are complete, this constraint set is unneccessary // try to get the children directly from cache // for the drilldown case, the children will be in the cache // - if not, forget this optimization. int nChildren = -1; SchemaReader scr = star.getSchema().getSchemaReader(); nChildren = scr.getChildrenCountFromCache(parent); if (nChildren == -1) { // nothing gotten from cache if (parent.isAll()) { bloats[i] = constraintLength / columns[i].getCardinality(); } else { // no information about children cardinality // constraints will not be optimized away bloats[i] = 0.0; } } else { bloats[i] = constraintLength / nChildren; } } else { // the parent is not in the constraints bloats[i] = constraintLength / columns[i].getCardinality(); } } else { // no common parent bloats[i] = constraintLength / columns[i].getCardinality(); } } } // build a list of constraints sorted by 'bloat factor' ConstraintComparator comparator = new ConstraintComparator(bloats); Integer[] indexes = new Integer[columns.length]; for (int i = 0; i < columns.length; i++) { indexes[i] = new Integer(i); } // sort indexes by bloat descending Arrays.sort(indexes, comparator); // eliminate constraints one by one, until the estimated cell count // doubles. We can not have an absolute value here, because its // very different if we fetch data for 2 years or 10 years (5 times // more means 5 times slower). So a relative comparison is ok here // but not an absolute one. double abloat = 1.0; final double aBloatLimit = 0.5; for (int i = 0; i < indexes.length; i++) { int j = indexes[i].intValue(); abloat = abloat * bloats[j]; if (abloat > aBloatLimit) { // eliminate this constraint newConstraintses[j] = null; } else { break; } } return newConstraintses; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/Aggregation.java/buggy/src/main/mondrian/rolap/agg/Aggregation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 4753, 5806, 63, 6362, 65, 10979, 4878, 12, 1494, 5806, 63, 6362, 65, 4954, 2420, 13, 288, 202, 202, 6385, 509, 4552, 13017, 67, 916, 2226, 900, 273, 4336, 31, 202, 202, 1304, 18, 11231, 5510, 12, 13364, 2420, 18, 2469, 422, 2168, 18, 2469, 1769, 202, 202, 1494, 5806, 63, 6362, 65, 394, 5806, 2420, 273, 261, 1494, 5806, 63, 6362, 5717, 4954, 2420, 18, 14056, 5621, 202, 202, 9056, 8526, 324, 1159, 87, 273, 394, 1645, 63, 5112, 18, 2469, 15533, 202, 202, 759, 1660, 2545, 358, 1640, 326, 4582, 648, 315, 3069, 737, 2378, 6, 1492, 9938, 7517, 16337, 18, 202, 202, 759, 13743, 16, 326, 982, 353, 2674, 487, 279, 4954, 598, 279, 2202, 3140, 202, 202, 759, 225, 471, 326, 666, 434, 2325, 487, 5492, 18, 202, 202, 682, 8555, 13733, 273, 394, 2407, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4954, 2420, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 13364, 2420, 63, 77, 65, 480, 446, 597, 4954, 2420, 63, 77, 8009, 2469, 422, 404, 6862, 202, 10, 10, 4954, 2420, 63, 77, 6362, 20, 8009, 291, 4419, 10756, 9506, 202, 26451, 13733, 18, 1289, 12, 13364, 2420, 63, 77, 6362, 20, 8009, 588, 4419, 10663, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 394, 5806, 2420, 18, 2469, 31, 277, 27245, 288, 1082, 202, 9056, 4954, 1782, 273, 261, 9056, 13, 394, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 4753, 5806, 63, 6362, 65, 10979, 4878, 12, 1494, 5806, 63, 6362, 65, 4954, 2420, 13, 288, 202, 202, 6385, 509, 4552, 13017, 67, 916, 2226, 900, 273, 4336, 31, 202, 202, 1304, 18, 11231, 5510, 12, 13364, 2420, 18, 2469, 422, 2168, 18, 2469, 1769, 202, 202, 1494, 5806, 63, 6362, 65, 394, 5806, 2420, 273, 261, 1494, 5806, 63, 6362, 5717, 4954, 2420, 18, 14056, 5621, 202, 202, 9056, 8526, 324, 1159, 87, 273, 394, 1645, 63, 5112, 18, 2469, 15533, 202, 202, 759, 1660, 2545, 358, 1640, 326, 4582, 648, 315, 3069, 737, 2378, 6, 1492, 9938, 7517, 16337, 18, 202, 202, 759, 13743, 16, 326, 982, 353, 2674, 487, 279, 4954, 2 ]
try { testFailureMatcher.invoked(invocation); } catch (AssertionFailedError ex) { } }
try { testFailureMatcher.invoked(invocation); } catch (AssertionFailedError ex) { } }
private void invokeMatcher() { try { testFailureMatcher.invoked(invocation); } catch (AssertionFailedError ex) { // expected } }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/TestFailureMatcherTest.java/clean/jmock/core/src/test/jmock/core/matcher/TestFailureMatcherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4356, 6286, 1435, 288, 202, 202, 698, 288, 1082, 202, 3813, 5247, 6286, 18, 5768, 14276, 12, 5768, 4431, 1769, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 431, 13, 288, 1082, 202, 759, 2665, 202, 202,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4356, 6286, 1435, 288, 202, 202, 698, 288, 1082, 202, 3813, 5247, 6286, 18, 5768, 14276, 12, 5768, 4431, 1769, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 431, 13, 288, 1082, 202, 759, 2665, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Zimlet getZimlet(String name) { return sZimlets.get(name.toLowerCase());
public synchronized Zimlet getZimlet(String name) { return mZimlets.get(name.toLowerCase());
public Zimlet getZimlet(String name) { return sZimlets.get(name.toLowerCase()); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f7887fe038d09a2917c4312e46e0d727013cf619/OfflineProvisioning.java/clean/ZimbraOffline/src/java/com/zimbra/cs/account/offline/OfflineProvisioning.java
[ 1, 8585, 326, 22398, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 381, 1810, 23448, 381, 1810, 12, 780, 508, 13, 288, 3639, 327, 272, 62, 381, 17307, 18, 588, 12, 529, 18, 869, 5630, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (BUG_84724) System.err.println("Test " + getName() + " disabled due to JDT/Core bug #84724."); else singleUnitHelper(true);
singleUnitHelper(true);
public void testVarArgsCtor() throws Exception { // RMF - As of I20050202, search engine doesn't reliably find call sites to varargs methods if (BUG_84724) System.err.println("Test " + getName() + " disabled due to JDT/Core bug #84724."); else singleUnitHelper(true); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/15e16f1db5ca011a573b8cb1b8f5f697a24a2b29/IntroduceFactoryTests.java/buggy/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/IntroduceFactoryTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1537, 2615, 27425, 1435, 1216, 1185, 288, 202, 565, 368, 534, 13542, 300, 2970, 434, 467, 6976, 25, 3103, 3103, 16, 1623, 4073, 3302, 1404, 14719, 6906, 1104, 745, 9180, 358, 19732, 2590, 202, 202, 430, 261, 4827, 67, 5193, 27, 3247, 13, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 4709, 315, 397, 1723, 1435, 397, 315, 5673, 6541, 358, 804, 9081, 19, 4670, 7934, 468, 5193, 27, 3247, 1199, 1769, 202, 202, 12107, 1082, 202, 7526, 2802, 2276, 12, 3767, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1537, 2615, 27425, 1435, 1216, 1185, 288, 202, 565, 368, 534, 13542, 300, 2970, 434, 467, 6976, 25, 3103, 3103, 16, 1623, 4073, 3302, 1404, 14719, 6906, 1104, 745, 9180, 358, 19732, 2590, 202, 202, 430, 261, 4827, 67, 5193, 27, 3247, 13, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 4709, 315, 397, 1723, 1435, 397, 315, 5673, 6541, 358, 804, 9081, 19, 4670, 7934, 468, 5193, 27, 3247, 1199, 1769, 202, 202, 12107, 1082, 202, 7526, 2802, 2276, 12, 3767, 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 ]
final PsiExpression arrayExpression =
PsiExpression arrayExpression =
public void visitAssignmentExpression(@NotNull PsiAssignmentExpression assignment){ if(assigned) { return; } super.visitAssignmentExpression(assignment); final PsiExpression arg = assignment.getLExpression(); if(!(arg instanceof PsiArrayAccessExpression)){ return; } final PsiExpression arrayExpression = ((PsiArrayAccessExpression) arg).getArrayExpression(); if(!(arrayExpression instanceof PsiReferenceExpression)){ return; } final PsiElement referent = ((PsiReference) arrayExpression).resolve(); if(referent == null){ return; } if(referent.equals(variable)){ assigned = true; } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/923a0ce1ac22b60cf082bbcaea6d582839296d0e/ArrayContentsAssignedVisitor.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ArrayContentsAssignedVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 7729, 2300, 26964, 5962, 453, 7722, 7729, 2300, 6661, 15329, 3639, 309, 12, 15938, 13, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 11658, 7729, 2300, 12, 12960, 1769, 3639, 727, 453, 7722, 2300, 1501, 273, 6661, 18, 588, 48, 2300, 5621, 3639, 309, 12, 5, 12, 3175, 1276, 453, 7722, 1076, 1862, 2300, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 453, 7722, 2300, 526, 2300, 273, 7734, 14015, 52, 7722, 1076, 1862, 2300, 13, 1501, 2934, 588, 1076, 2300, 5621, 3639, 309, 12, 5, 12, 1126, 2300, 1276, 453, 7722, 2404, 2300, 3719, 95, 5411, 327, 31, 3639, 289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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 7729, 2300, 26964, 5962, 453, 7722, 7729, 2300, 6661, 15329, 3639, 309, 12, 15938, 13, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 11658, 7729, 2300, 12, 12960, 1769, 3639, 727, 453, 7722, 2300, 1501, 273, 6661, 18, 588, 48, 2300, 5621, 3639, 309, 12, 5, 12, 3175, 1276, 453, 7722, 1076, 1862, 2300, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 453, 7722, 2300, 526, 2300, 273, 7734, 14015, 52, 7722, 1076, 1862, 2300, 13, 1501, 2934, 588, 1076, 2300, 5621, 3639, 309, 12, 5, 12, 1126, 2300, 1276, 453, 7722, 2404, 2300, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 727, 453, 7722, 1046, 283, 3518, 273, 14015, 52, 7722, 2404, 2 ]
public static <T> List<T> unmodifiableList(List<T> l)
public static <T> List<T> unmodifiableList(List<? extends T> l)
public static <T> List<T> unmodifiableList(List<T> l) { if (l instanceof RandomAccess) return new UnmodifiableRandomAccessList<T>(l); return new UnmodifiableList<T>(l); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/63ff6161906dfae5c6cd8e9ab83aca650e00923d/Collections.java/buggy/core/src/classpath/5.0/java/util/Collections.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 411, 56, 34, 987, 32, 56, 34, 27070, 12, 682, 12880, 3231, 399, 34, 328, 13, 225, 288, 565, 309, 261, 80, 1276, 8072, 1862, 13, 1377, 327, 394,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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, 760, 411, 56, 34, 987, 32, 56, 34, 27070, 12, 682, 12880, 3231, 399, 34, 328, 13, 225, 288, 565, 309, 261, 80, 1276, 8072, 1862, 13, 1377, 327, 394, 1351, 13388, 8529, 1862, 682, 32, 56, 34, 12, 80, 1769, 565, 327, 394, 1351, 13388, 682, 32, 56, 34, 12, 80, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
disconnect();
cleanup();
private void reconnect() { int numTries; // clean up at first disconnect(); this.reader = null; this.readerThread = null; // try to reconnect numTries = 0; while (this.keepAlive) { try { if (numTries < 10) { // try to reconnect quite fast for the firt 10 times // this succeeds if the server has just been restarted Thread.sleep(50); } else { // slow down after 10 unsuccessful attempts asuming a // shutdown of the server Thread.sleep(5000); } } catch (InterruptedException e1) { // it's ok to wake us } try { connect(); try { login(); logger.info("Successfully reconnected."); // everything is ok again, so we leave break; } catch (AuthenticationFailedException e1) { if (this.keepAliveAfterAuthenticationFailure) { logger.error("Unable to log in after reconnect: " + e1.getMessage()); } else { logger.error("Unable to log in after reconnect: " + e1.getMessage() + ". Giving up."); this.keepAlive = false; } disconnect(); } catch (TimeoutException e1) { // shouldn't happen - but happens! logger.error("TimeoutException while trying to log in " + "after reconnect."); disconnect(); } } catch (IOException e) { // server seems to be still down, just continue to attempt // reconnection logger.warn("Exception while trying to reconnect: " + e.getMessage()); } numTries++; } }
25582 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25582/3a4361975d7fcb23a128cdfdee243bb0ab47434e/ManagerConnectionImpl.java/clean/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11812, 1435, 565, 288, 3639, 509, 818, 13652, 31, 3639, 368, 2721, 731, 622, 1122, 3639, 6686, 5621, 3639, 333, 18, 10530, 273, 446, 31, 3639, 333, 18, 10530, 3830, 273, 446, 31, 3639, 368, 775, 358, 11812, 3639, 818, 13652, 273, 374, 31, 3639, 1323, 261, 2211, 18, 10102, 10608, 13, 3639, 288, 5411, 775, 5411, 288, 7734, 309, 261, 2107, 13652, 411, 1728, 13, 7734, 288, 10792, 368, 775, 358, 11812, 25102, 4797, 364, 326, 284, 2714, 1728, 4124, 10792, 368, 333, 21933, 309, 326, 1438, 711, 2537, 2118, 28893, 10792, 4884, 18, 19607, 12, 3361, 1769, 7734, 289, 7734, 469, 7734, 288, 10792, 368, 11816, 2588, 1839, 1728, 29411, 7531, 487, 21249, 279, 10792, 368, 5731, 434, 326, 1438, 10792, 4884, 18, 19607, 12, 25, 3784, 1769, 7734, 289, 5411, 289, 5411, 1044, 261, 24485, 503, 425, 21, 13, 5411, 288, 7734, 368, 518, 1807, 1529, 358, 19891, 584, 5411, 289, 5411, 775, 5411, 288, 7734, 3077, 5621, 7734, 775, 7734, 288, 10792, 3925, 5621, 10792, 1194, 18, 1376, 2932, 18303, 283, 8537, 1199, 1769, 10792, 368, 7756, 353, 1529, 3382, 16, 1427, 732, 8851, 10792, 898, 31, 7734, 289, 7734, 1044, 261, 6492, 12417, 425, 21, 13, 7734, 288, 10792, 309, 261, 2211, 18, 10102, 10608, 4436, 6492, 5247, 13, 10792, 288, 13491, 1194, 18, 1636, 2932, 3370, 358, 613, 316, 1839, 11812, 30, 315, 27573, 397, 425, 21, 18, 24906, 10663, 10792, 289, 10792, 469, 10792, 288, 13491, 1194, 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, 11812, 1435, 565, 288, 3639, 509, 818, 13652, 31, 3639, 368, 2721, 731, 622, 1122, 3639, 6686, 5621, 3639, 333, 18, 10530, 273, 446, 31, 3639, 333, 18, 10530, 3830, 273, 446, 31, 3639, 368, 775, 358, 11812, 3639, 818, 13652, 273, 374, 31, 3639, 1323, 261, 2211, 18, 10102, 10608, 13, 3639, 288, 5411, 775, 5411, 288, 7734, 309, 261, 2107, 13652, 411, 1728, 13, 7734, 288, 10792, 368, 775, 358, 11812, 25102, 4797, 364, 326, 284, 2714, 1728, 4124, 10792, 368, 333, 21933, 309, 326, 1438, 711, 2537, 2118, 28893, 10792, 4884, 18, 19607, 12, 3361, 1769, 7734, 289, 7734, 469, 7734, 288, 10792, 368, 11816, 2588, 1839, 1728, 29411, 7531, 487, 21249, 279, 2 ]
parserPool.put(createNewParser());
parserPool.put (createNewParser());
private void initializeParserPool() { int numParsers = getInt(PARSER_POOL_SIZE, NUMBER_OF_PARSERS); parserPool = new SimplePool(numParsers); for (int i = 0; i < numParsers; i++) { parserPool.put(createNewParser()); } info("Created '" + numParsers + "' parsers."); }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/89173502837b4d67a69cd30d0b93cf47ed84c8cc/RuntimeInstance.java/buggy/src/java/org/apache/velocity/runtime/RuntimeInstance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 2678, 2864, 1435, 565, 288, 3639, 509, 818, 26954, 273, 8145, 12, 30692, 67, 20339, 67, 4574, 16, 15532, 67, 3932, 67, 30692, 55, 1769, 3639, 2082, 2864, 273, 394, 4477, 2864, 12, 2107, 26954, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 818, 26954, 31, 277, 27245, 3639, 288, 5411, 2082, 2864, 18, 458, 261, 2640, 1908, 2678, 10663, 3639, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 2678, 2864, 1435, 565, 288, 3639, 509, 818, 26954, 273, 8145, 12, 30692, 67, 20339, 67, 4574, 16, 15532, 67, 3932, 67, 30692, 55, 1769, 3639, 2082, 2864, 273, 394, 4477, 2864, 12, 2107, 26954, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 818, 26954, 31, 277, 27245, 3639, 288, 5411, 2082, 2864, 18, 458, 261, 2640, 1908, 2678, 10663, 3639, 289, 3639, 1123, 2932, 6119, 2119, 397, 818, 26954, 397, 2491, 14212, 1199, 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 ]
return getMediator( getReportDesignHandle( ) );
if ( handle != null ) { handle.addDisposeListener( disposeLitener ); } ReportMediator mediator = (ReportMediator) mediatorMap.get( handle ); if ( mediator == null ) { mediator = new ReportMediator( ); mediatorMap.put( handle, mediator ); } return mediator;
public ReportMediator getMediator( ) { return getMediator( getReportDesignHandle( ) ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/2ebc37cd501a6a4eed154c9429a519694a531cb2/SessionHandleAdapter.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8706, 13265, 10620, 2108, 329, 10620, 12, 262, 202, 95, 202, 202, 2463, 2108, 329, 10620, 12, 22452, 15478, 3259, 12, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
w.endElement();
w.endElement();
private void writeGoalParameterTable( MojoDescriptor mojoDescriptor, XMLWriter w ) { w.startElement( "table" ); w.startElement( "tr" ); w.startElement( "th" ); w.writeText( "Parameter" ); w.endElement(); w.startElement( "th" ); w.writeText( "Type" ); w.endElement(); w.startElement( "th" ); w.writeText( "Expression" ); w.endElement(); w.startElement( "th" ); w.writeText( "Description" ); w.endElement(); w.endElement(); List parameters = mojoDescriptor.getParameters(); for ( int i = 0; i < parameters.size(); i++ ) { Parameter parameter = (Parameter) parameters.get( i ); w.startElement( "tr" ); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); String paramName = parameter.getAlias(); if ( StringUtils.isEmpty( paramName ) ) { paramName = parameter.getName(); } w.startElement( "code" ); w.writeText( paramName ); w.endElement(); if ( !parameter.isRequired() ) { w.writeMarkup( " <i>(Optional)</i>" ); } if ( parameter.getExpression() != null && parameter.getExpression().startsWith( "${component." ) ) { w.writeMarkup( " <i>(Discovered)</i>" ); } w.endElement(); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); w.startElement( "code" ); w.addAttribute( "title", parameter.getType() ); int index = parameter.getType().lastIndexOf( "." ); if ( index >= 0 ) { w.writeText( parameter.getType().substring( index + 1 ) ); } else { w.writeText( parameter.getType() ); } w.endElement(); w.endElement(); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); w.startElement( "code" ); if ( StringUtils.isNotEmpty( parameter.getExpression() ) && !parameter.getExpression().startsWith( "${component." ) ) { w.writeText( parameter.getExpression() ); } else { w.writeText( "-" ); } w.endElement(); w.endElement(); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); if ( StringUtils.isNotEmpty( parameter.getDescription() ) ) { w.writeMarkup( parameter.getDescription() ); } else { w.writeText( "No description." ); } String deprecationWarning = parameter.getDeprecated(); if ( deprecationWarning != null ) { w.writeMarkup( "<br/><b>Deprecated:</b> " ); w.writeMarkup( deprecationWarning ); if ( deprecationWarning.length() == 0 ) { w.writeText( "No reason given." ); } w.endElement(); } w.endElement(); w.endElement(); } w.endElement(); w.endElement(); }
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/76d49b7d7be734d97e5e9357a6a84d8d60ef02fe/PluginXdocGenerator.java/buggy/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 27716, 1662, 1388, 12, 15931, 3187, 312, 10007, 3187, 16, 3167, 2289, 341, 262, 565, 288, 3639, 341, 18, 1937, 1046, 12, 315, 2121, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 313, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 1662, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 559, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 2300, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 3291, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 409, 1046, 5621, 3639, 987, 1472, 273, 312, 10007, 3187, 18, 588, 2402, 5621, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 1472, 18, 1467, 5621, 277, 9904, 262, 3639, 288, 5411, 5498, 1569, 273, 261, 1662, 13, 1472, 18, 588, 12, 277, 11272, 5411, 341, 18, 1937, 1046, 12, 315, 313, 6, 11272, 5411, 368, 8879, 13465, 5411, 368, 5411, 368, 8879, 13465, 5411, 341, 18, 1937, 1046, 12, 315, 4465, 6, 11272, 5411, 514, 11466, 273, 1569, 18, 588, 2936, 5621, 5411, 309, 261, 5778, 18, 291, 1921, 12, 11466, 262, 262, 5411, 288, 7734, 11466, 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, 1045, 27716, 1662, 1388, 12, 15931, 3187, 312, 10007, 3187, 16, 3167, 2289, 341, 262, 565, 288, 3639, 341, 18, 1937, 1046, 12, 315, 2121, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 313, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 1662, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 559, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 2300, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 2 ]
results.add(rs.getString(0));
results.add(rs.getString(1));
public List executeSelectDistinct(Column col) throws SQLException { String colName = col.getName(); String tableName = col.getTable().getName(); Schema schema = col.getTable().getSchema(); // The complex case - where we need to do a union of // select distincts. if (schema instanceof SchemaGroup) { Set results = new HashSet(); for (Iterator i = ((SchemaGroup) schema).getSchemas().iterator(); i .hasNext();) { Schema member = (Schema) i.next(); results.addAll(this.executeSelectDistinct(member .getTableByName(tableName).getColumnByName(colName))); } return new ArrayList(results); } // The simple case where we actually do a select distinct. List results = new ArrayList(); String schemaName = ((JDBCSchema) schema).getDatabaseSchema(); Connection conn = ((JDBCSchema) schema).getConnection(); ResultSet rs = conn.prepareStatement( "select distinct " + colName + " from " + schemaName + "." + tableName).executeQuery(); while (rs.next()) results.add(rs.getString(0)); rs.close(); return results; }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/ac1c15b377c38c54fb60fe592f77f35c3ba0b6ad/PostgreSQLDialect.java/buggy/src/java/org/biomart/builder/controller/dialects/PostgreSQLDialect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 1836, 3391, 23402, 12, 1494, 645, 13, 1216, 6483, 288, 202, 202, 780, 18655, 273, 645, 18, 17994, 5621, 202, 202, 780, 4775, 273, 645, 18, 588, 1388, 7675, 17994, 5621, 202, 202, 3078, 1963, 273, 645, 18, 588, 1388, 7675, 588, 3078, 5621, 202, 202, 759, 1021, 7233, 648, 300, 1625, 732, 1608, 358, 741, 279, 7812, 434, 202, 202, 759, 2027, 10217, 87, 18, 202, 202, 430, 261, 4821, 1276, 4611, 1114, 13, 288, 1082, 202, 694, 1686, 273, 394, 6847, 5621, 1082, 202, 1884, 261, 3198, 277, 273, 14015, 3078, 1114, 13, 1963, 2934, 588, 16749, 7675, 9838, 5621, 277, 6862, 202, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 3078, 3140, 273, 261, 3078, 13, 277, 18, 4285, 5621, 9506, 202, 4717, 18, 1289, 1595, 12, 2211, 18, 8837, 3391, 23402, 12, 5990, 25083, 202, 18, 588, 1388, 5911, 12, 18033, 2934, 588, 1494, 5911, 12, 1293, 461, 3719, 1769, 1082, 202, 97, 1082, 202, 2463, 394, 2407, 12, 4717, 1769, 202, 202, 97, 202, 202, 759, 1021, 4143, 648, 1625, 732, 6013, 741, 279, 2027, 10217, 18, 202, 202, 682, 1686, 273, 394, 2407, 5621, 202, 202, 780, 21960, 273, 14015, 30499, 3078, 13, 1963, 2934, 588, 4254, 3078, 5621, 202, 202, 1952, 1487, 273, 14015, 30499, 3078, 13, 1963, 2934, 588, 1952, 5621, 202, 202, 13198, 3597, 273, 1487, 18, 9366, 3406, 12, 9506, 202, 6, 4025, 10217, 315, 397, 18655, 397, 315, 628, 315, 397, 21960, 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, 987, 1836, 3391, 23402, 12, 1494, 645, 13, 1216, 6483, 288, 202, 202, 780, 18655, 273, 645, 18, 17994, 5621, 202, 202, 780, 4775, 273, 645, 18, 588, 1388, 7675, 17994, 5621, 202, 202, 3078, 1963, 273, 645, 18, 588, 1388, 7675, 588, 3078, 5621, 202, 202, 759, 1021, 7233, 648, 300, 1625, 732, 1608, 358, 741, 279, 7812, 434, 202, 202, 759, 2027, 10217, 87, 18, 202, 202, 430, 261, 4821, 1276, 4611, 1114, 13, 288, 1082, 202, 694, 1686, 273, 394, 6847, 5621, 1082, 202, 1884, 261, 3198, 277, 273, 14015, 3078, 1114, 13, 1963, 2934, 588, 16749, 7675, 9838, 5621, 277, 6862, 202, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 3078, 3140, 2 ]
return _consoleHelp;
return consoleHelp;
public String getConsoleHelp() { return _consoleHelp; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/PropertyType.java/clean/modules/interop/src/java/org/apache/geronimo/interop/properties/PropertyType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 10215, 6696, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 10215, 6696, 1435, 288, 3639, 327, 2983, 6696, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public synchronized void showWaitCursor() { if(waitCount++ == 0) { // still needed even though glass pane // has a wait cursor Cursor cursor = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR); setCursor(cursor); EditPane[] editPanes = getEditPanes(); for(int i = 0; i < editPanes.length; i++) { EditPane editPane = editPanes[i]; editPane.getTextArea().getPainter() .setCursor(cursor); } } }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/693b1cbf063a472c935e4e227f8dc5c374f91c12/View.java/buggy/org/gjt/sp/jedit/View.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 2405, 5480, 6688, 1435, 202, 95, 202, 202, 430, 12, 7048, 1380, 9904, 422, 374, 13, 202, 202, 95, 1082, 202, 759, 4859, 3577, 5456, 11376, 314, 459, 13618, 1082, 202, 759, 711, 279, 2529, 3347, 1082, 202, 6688, 3347, 273, 13949, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 19046, 67, 7509, 55, 916, 1769, 1082, 202, 542, 6688, 12, 9216, 1769, 1082, 202, 4666, 8485, 8526, 3874, 4069, 281, 273, 21221, 4069, 281, 5621, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 3874, 4069, 281, 18, 2469, 31, 277, 27245, 1082, 202, 95, 9506, 202, 4666, 8485, 3874, 8485, 273, 3874, 4069, 281, 63, 77, 15533, 9506, 202, 4619, 8485, 18, 588, 1528, 5484, 7675, 588, 15775, 1435, 6862, 202, 18, 542, 6688, 12, 9216, 1769, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3852, 918, 2405, 5480, 6688, 1435, 202, 95, 202, 202, 430, 12, 7048, 1380, 9904, 422, 374, 13, 202, 202, 95, 1082, 202, 759, 4859, 3577, 5456, 11376, 314, 459, 13618, 1082, 202, 759, 711, 279, 2529, 3347, 1082, 202, 6688, 3347, 273, 13949, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 19046, 67, 7509, 55, 916, 1769, 1082, 202, 542, 6688, 12, 9216, 1769, 1082, 202, 4666, 8485, 8526, 3874, 4069, 281, 273, 21221, 4069, 281, 5621, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 3874, 4069, 281, 18, 2469, 31, 277, 27245, 1082, 202, 95, 9506, 202, 4666, 8485, 3874, 8485, 273, 3874, 4069, 281, 63, 77, 15533, 9506, 202, 4619, 2 ]
RepositoryTaskData report = new RepositoryTaskData(attributeFactory, BugzillaCorePlugin.REPOSITORY_KIND, repository .getUrl(), bugid);
RepositoryTaskData report = new RepositoryTaskData(attributeFactory, BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), bugid);
public void testReadingReport218() throws Exception { String bugid = "1"; TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_218_URL); RepositoryTaskData report = new RepositoryTaskData(attributeFactory, BugzillaCorePlugin.REPOSITORY_KIND, repository .getUrl(), bugid); BugzillaServerFacade.setupExistingBugAttributes(repository.getUrl(), report); factory.populateReport(report, repository.getUrl(), null, repository.getUserName(), repository.getPassword(), null); assertNotNull(report); assertEquals("1", report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue()); assertEquals("search-match-test 1", report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString()) .getValue()); assertEquals("TestProduct", report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue()); assertEquals("TestComponent", report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue()); assertEquals("PC", report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue()); assertEquals("Windows XP", report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue()); assertEquals("other", report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue()); assertEquals("P2", report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue()); assertEquals("normal", report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue()); assertEquals("NEW", report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue()); assertEquals("2006-03-02 18:09", report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString()) .getValue()); assertEquals("2006-05-05 17:45:24", report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString()) .getValue()); assertEquals("---", report.getAttribute(BugzillaReportElement.TARGET_MILESTONE.getKeyString()).getValue()); assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.REPORTER.getKeyString()).getValue()); assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.ASSIGNED_TO.getKeyString()) .getValue()); assertEquals(1, report.getComments().size()); assertEquals("relves@cs.ubc.ca", report.getComments().get(0).getAttribute( BugzillaReportElement.WHO.getKeyString()).getValue()); assertEquals("2006-03-02 18:09", report.getComments().get(0).getAttribute( BugzillaReportElement.BUG_WHEN.getKeyString()).getValue()); assertEquals("search-match-test 1", report.getComments().get(0).getAttribute( BugzillaReportElement.THETEXT.getKeyString()).getValue()); assertEquals(0, report.getAttachments().size()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/966a3ff447459fc5fe6045627781c2f0f386edaf/RepositoryReportFactoryTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 15714, 4820, 22, 2643, 1435, 1216, 1185, 288, 202, 202, 780, 7934, 350, 273, 315, 21, 14432, 202, 202, 2174, 3305, 3352, 273, 394, 3837, 3305, 12, 19865, 15990, 4670, 3773, 18, 862, 30986, 67, 47, 2356, 16, 9506, 202, 13450, 637, 15990, 2918, 18, 16961, 67, 4827, 62, 2627, 2534, 67, 22, 2643, 67, 1785, 1769, 202, 202, 3305, 2174, 751, 2605, 273, 394, 6281, 2174, 751, 12, 4589, 1733, 16, 16907, 15990, 4670, 3773, 18, 862, 30986, 67, 47, 2356, 16, 3352, 9506, 202, 18, 588, 1489, 9334, 7934, 350, 1769, 202, 202, 19865, 15990, 2081, 12467, 18, 8401, 9895, 19865, 2498, 12, 9071, 18, 588, 1489, 9334, 2605, 1769, 202, 202, 6848, 18, 19936, 4820, 12, 6006, 16, 3352, 18, 588, 1489, 9334, 446, 16, 3352, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 9506, 202, 2011, 1769, 202, 202, 11231, 5962, 12, 6006, 1769, 202, 202, 11231, 8867, 2932, 21, 3113, 2605, 18, 588, 1499, 12, 19865, 15990, 4820, 1046, 18, 4827, 67, 734, 18, 588, 653, 780, 1435, 2934, 24805, 10663, 202, 202, 11231, 8867, 2932, 3072, 17, 1916, 17, 3813, 404, 3113, 2605, 18, 588, 1499, 12, 19865, 15990, 4820, 1046, 18, 15993, 67, 10964, 18, 588, 653, 780, 10756, 9506, 202, 18, 24805, 10663, 202, 202, 11231, 8867, 2932, 4709, 4133, 3113, 2605, 18, 588, 1499, 12, 19865, 15990, 4820, 1046, 18, 25883, 18, 588, 653, 780, 1435, 2934, 24805, 10663, 202, 202, 11231, 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, 15714, 4820, 22, 2643, 1435, 1216, 1185, 288, 202, 202, 780, 7934, 350, 273, 315, 21, 14432, 202, 202, 2174, 3305, 3352, 273, 394, 3837, 3305, 12, 19865, 15990, 4670, 3773, 18, 862, 30986, 67, 47, 2356, 16, 9506, 202, 13450, 637, 15990, 2918, 18, 16961, 67, 4827, 62, 2627, 2534, 67, 22, 2643, 67, 1785, 1769, 202, 202, 3305, 2174, 751, 2605, 273, 394, 6281, 2174, 751, 12, 4589, 1733, 16, 16907, 15990, 4670, 3773, 18, 862, 30986, 67, 47, 2356, 16, 3352, 9506, 202, 18, 588, 1489, 9334, 7934, 350, 1769, 202, 202, 19865, 15990, 2081, 12467, 18, 8401, 9895, 19865, 2498, 12, 9071, 18, 588, 1489, 9334, 2605, 1769, 202, 202, 2 ]
try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext)) != null) setProperty(string);
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setMaxlength((String) evalAttr("maxlength", getMaxlengthExpr(), String.class)); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setRedisplay(((Boolean) evalAttr("redisplay", getRedisplayExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSize((String) evalAttr("size", getSizeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/161d973cb8d39005faf380ea401e605000b8884b/ELPasswordTag.java/buggy/struts-el/src/share/org/apache/strutsel/taglib/html/ELPasswordTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 10851, 2469, 12443, 780, 13, 5302, 3843, 2932, 27875, 3113, 7288, 2469, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 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, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 1862, 856, 12443, 780, 13, 5302, 3843, 2932, 3860, 653, 3113, 21909, 856, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 2 ]
new Thread() { public void run() { try { Thread.sleep(1000); } catch (InterruptedException e) { Log.logException(Log.LEVEL_ERROR, MODULE, e); }
public void newAlbum() { NewAlbumDialog dialog = new NewAlbumDialog(this, getCurrentGallery(), getCurrentAlbum()); final String newAlbumName = dialog.getNewAlbumName(); if (newAlbumName == null || newAlbumName.length() == 0) { return; } Log.log(Log.LEVEL_TRACE, MODULE, "Album '" + newAlbumName + "' created."); // there is probably a better way... this is needed to give the UI time to catch up // and load the combo up with the reloaded album list new Thread() { public void run() { try { Thread.sleep(1000); } catch (InterruptedException e) { Log.logException(Log.LEVEL_ERROR, MODULE, e); } //SwingUtilities.invokeLater(new Runnable() { // public void run() { // todo: none of the calls below seem to have any effect Log.log(Log.LEVEL_TRACE, MODULE, "Selecting " + newAlbumName); TreePath path = getCurrentGallery().getPathForAlbum(getCurrentGallery().getAlbumByName(newAlbumName)); //jAlbumTree.expandPath(path); //jAlbumTree.makeVisible(path); jAlbumTree.setSelectionPath(path); //jAlbumTree.repaint(); // } //}); } }.start(); // We've been modified, we are now dirty. setDirtyFlag(true); }
5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/5cf2b7e1ee6b9baf73fe02c93ab79442307b8b4f/MainFrame.java/buggy/gallery_remote/com/gallery/GalleryRemote/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 394, 30330, 1435, 288, 202, 202, 1908, 30330, 6353, 6176, 273, 394, 1166, 30330, 6353, 12, 2211, 16, 5175, 18511, 9334, 5175, 30330, 10663, 202, 202, 6385, 514, 394, 30330, 461, 273, 6176, 18, 588, 1908, 30330, 461, 5621, 202, 202, 430, 261, 2704, 30330, 461, 422, 446, 747, 394, 30330, 461, 18, 2469, 1435, 422, 374, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 1343, 18, 1330, 12, 1343, 18, 10398, 67, 23827, 16, 14057, 16, 315, 30330, 2119, 397, 394, 30330, 461, 397, 2491, 2522, 1199, 1769, 202, 202, 759, 1915, 353, 8656, 279, 7844, 4031, 2777, 333, 353, 3577, 358, 8492, 326, 6484, 813, 358, 1044, 731, 202, 202, 759, 471, 1262, 326, 16778, 731, 598, 326, 283, 4230, 14844, 666, 202, 202, 2704, 4884, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 3830, 18, 19607, 12, 18088, 1769, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 1343, 18, 1330, 503, 12, 1343, 18, 10398, 67, 3589, 16, 14057, 16, 425, 1769, 9506, 202, 97, 9506, 202, 759, 6050, 310, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 9506, 202, 759, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 10621, 30, 6555, 434, 326, 4097, 5712, 19264, 358, 1240, 1281, 5426, 9506, 202, 1343, 18, 1330, 12, 1343, 18, 10398, 67, 23827, 16, 14057, 16, 315, 3391, 310, 315, 397, 394, 30330, 461, 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, 394, 30330, 1435, 288, 202, 202, 1908, 30330, 6353, 6176, 273, 394, 1166, 30330, 6353, 12, 2211, 16, 5175, 18511, 9334, 5175, 30330, 10663, 202, 202, 6385, 514, 394, 30330, 461, 273, 6176, 18, 588, 1908, 30330, 461, 5621, 202, 202, 430, 261, 2704, 30330, 461, 422, 446, 747, 394, 30330, 461, 18, 2469, 1435, 422, 374, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 1343, 18, 1330, 12, 1343, 18, 10398, 67, 23827, 16, 14057, 16, 315, 30330, 2119, 397, 394, 30330, 461, 397, 2491, 2522, 1199, 1769, 202, 202, 759, 1915, 353, 8656, 279, 7844, 4031, 2777, 333, 353, 3577, 358, 8492, 326, 6484, 813, 358, 1044, 731, 202, 202, 2 ]
setValue(selectedState); }
setValue(selectedState); }
public final void setSelectedState(java.lang.String selectedState) { setValue(selectedState); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/CheckButton3StatesComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/CheckButton3StatesComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 23006, 1119, 12, 6290, 18, 4936, 18, 780, 3170, 1119, 13, 288, 3639, 5524, 12, 8109, 1119, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 23006, 1119, 12, 6290, 18, 4936, 18, 780, 3170, 1119, 13, 288, 3639, 5524, 12, 8109, 1119, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
parse(buffer.toString(), ParserLanguage.CPP, true, true);
parse(buffer.toString(), ParserLanguage.CPP, true, 0);
public void test8_5_3s5a() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("double d = 2.0;\n"); //$NON-NLS-1$ buffer.append("double& rd = d; // rd refers to d\n"); //$NON-NLS-1$ buffer.append("const double& rcd = d; // rcd refers to d\n"); //$NON-NLS-1$ buffer.append("struct A { };\n"); //$NON-NLS-1$ buffer.append("struct B : public A { } b;\n"); //$NON-NLS-1$ buffer.append("A& ra = b; // ra refers to A subobject in b\n"); //$NON-NLS-1$ buffer.append("const A& rca = b; // rca refers to A subobject in b\n"); //$NON-NLS-1$ parse(buffer.toString(), ParserLanguage.CPP, true, true); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7d7fa374bfd169ce8924a5c15bd01444e6e6e445/AST2CPPSpecTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 28, 67, 25, 67, 23, 87, 25, 69, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 2932, 9056, 302, 273, 576, 18, 20, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 9056, 10, 9437, 273, 302, 31, 368, 9437, 21368, 358, 302, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 10248, 1645, 10, 436, 4315, 273, 302, 31, 368, 436, 4315, 21368, 358, 302, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 1697, 432, 288, 289, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 1697, 605, 294, 1071, 432, 288, 289, 324, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 37, 10, 767, 273, 324, 31, 368, 767, 21368, 358, 432, 720, 1612, 316, 324, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 10248, 432, 10, 4519, 69, 273, 324, 31, 368, 4519, 69, 21368, 358, 432, 720, 1612, 316, 324, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2670, 12, 4106, 18, 10492, 9334, 6783, 3779, 18, 4258, 52, 16, 638, 16, 638, 1769, 202, 97, 2, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 28, 67, 25, 67, 23, 87, 25, 69, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 2932, 9056, 302, 273, 576, 18, 20, 9747, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 9056, 10, 9437, 273, 302, 31, 368, 9437, 21368, 358, 302, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 10248, 1645, 10, 436, 4315, 273, 302, 31, 368, 436, 4315, 21368, 358, 302, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 1697, 432, 288, 289, 9747, 82, 8863, 4329, 2 ]
return ClassUtils.getShortClassName(getName()).toUpperCase();
return this.tableName;
public String getTableName() { return ClassUtils.getShortClassName(getName()).toUpperCase(); }
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/dec0fa78218a8b1af82788a12897703d0f051864/DefaultGrailsDomainClass.java/clean/grails/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11996, 1435, 288, 3639, 327, 333, 18, 18033, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11996, 1435, 288, 3639, 327, 333, 18, 18033, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void decodeOccurred( StatefulDecoder decoder, Object obj )
public void decodeOccurred( StatefulDecoder decoder, Object decoded )
public void decodeOccurred( StatefulDecoder decoder, Object obj ) { decoded[0] = obj ; }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/643dcc596a8e1511d9f6b03fb506923427396c42/DefaultDecoderManager.java/clean/frontend/impl/src/java/org/apache/eve/decoder/DefaultDecoderManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 2495, 30096, 12, 3287, 2706, 7975, 8320, 16, 1033, 6383, 262, 5411, 288, 7734, 6383, 63, 20, 65, 273, 1081, 274, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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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 ]
gfx.drawLine(x0, y, xmax, y);
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight() + table.getRowMargin(); int x0 = 0, y0 = 0; int x = x0; int y = y0; Dimension gap = table.getIntercellSpacing(); int ymax = clip.y + clip.height; int xmax = clip.x + clip.width; Rectangle bounds = new Rectangle(); // paint the cell contents for (int c = 0; c < ncols && x < xmax; ++c) { y = y0; TableColumn col = cols.getColumn(c); int width = col.getWidth(); int halfGapWidth = gap.width / 2; int halfGapHeight = gap.height / 2; for (int r = 0; r < nrows && y < ymax; ++r) { bounds.x = x + halfGapWidth; bounds.y = y + halfGapHeight + 1; bounds.width = width - gap.width + 1; bounds.height = height - gap.height; if (bounds.intersects(clip)) { paintCell(gfx, r, c, bounds, table.getCellRenderer(r, c)); } y += height; } x += width; } // tighten up the x and y max bounds ymax = y; xmax = x; Color grid = table.getGridColor(); // paint vertical grid lines if (grid != null && table.getShowVerticalLines()) { x = x0; Color save = gfx.getColor(); gfx.setColor(grid); for (int c = 0; c < ncols && x < xmax; ++c) { x += cols.getColumn(c).getWidth(); gfx.drawLine(x, y0, x, ymax); } gfx.setColor(save); } // paint horizontal grid lines if (grid != null && table.getShowHorizontalLines()) { y = y0; Color save = gfx.getColor(); gfx.setColor(grid); for (int r = 0; r < nrows && y < ymax; ++r) { y += height; gfx.drawLine(x0, y, xmax, y); } gfx.setColor(save); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/49ad2f4c3e74f0a8e99b839c938a312898850fa0/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 12, 17558, 30940, 16, 29058, 5455, 13, 282, 288, 565, 509, 21330, 273, 1014, 18, 588, 1494, 1380, 5621, 565, 509, 18871, 273, 1014, 18, 588, 26359, 5621, 565, 309, 261, 82, 3870, 422, 374, 747, 21330, 422, 374, 13, 1377, 327, 31, 565, 13264, 6807, 273, 30940, 18, 588, 15339, 5694, 5621, 565, 3555, 1494, 1488, 5347, 273, 1014, 18, 588, 1494, 1488, 5621, 565, 509, 2072, 273, 1014, 18, 588, 1999, 2686, 1435, 397, 1014, 18, 588, 1999, 9524, 5621, 565, 509, 619, 20, 273, 374, 16, 677, 20, 273, 374, 31, 565, 509, 619, 273, 619, 20, 31, 565, 509, 677, 273, 677, 20, 31, 565, 13037, 9300, 273, 1014, 18, 588, 2465, 3855, 18006, 5621, 565, 509, 15275, 273, 6807, 18, 93, 397, 6807, 18, 4210, 31, 565, 509, 14016, 273, 6807, 18, 92, 397, 6807, 18, 2819, 31, 565, 13264, 4972, 273, 394, 13264, 5621, 565, 368, 12574, 326, 2484, 2939, 565, 364, 261, 474, 276, 273, 374, 31, 276, 411, 21330, 597, 619, 411, 14016, 31, 965, 71, 13, 1377, 288, 3639, 677, 273, 677, 20, 31, 3639, 3555, 1494, 645, 273, 5347, 18, 588, 1494, 12, 71, 1769, 3639, 509, 1835, 273, 645, 18, 588, 2384, 5621, 3639, 509, 8816, 14001, 2384, 273, 9300, 18, 2819, 342, 576, 31, 3639, 509, 8816, 14001, 2686, 273, 9300, 18, 4210, 342, 576, 31, 7734, 364, 261, 474, 436, 273, 374, 31, 436, 411, 18871, 597, 677, 411, 15275, 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, 12, 17558, 30940, 16, 29058, 5455, 13, 282, 288, 565, 509, 21330, 273, 1014, 18, 588, 1494, 1380, 5621, 565, 509, 18871, 273, 1014, 18, 588, 26359, 5621, 565, 309, 261, 82, 3870, 422, 374, 747, 21330, 422, 374, 13, 1377, 327, 31, 565, 13264, 6807, 273, 30940, 18, 588, 15339, 5694, 5621, 565, 3555, 1494, 1488, 5347, 273, 1014, 18, 588, 1494, 1488, 5621, 565, 509, 2072, 273, 1014, 18, 588, 1999, 2686, 1435, 397, 1014, 18, 588, 1999, 9524, 5621, 565, 509, 619, 20, 273, 374, 16, 677, 20, 273, 374, 31, 565, 509, 619, 273, 619, 20, 31, 565, 509, 677, 273, 677, 20, 31, 565, 13037, 9300, 273, 1014, 18, 588, 2 ]
Check check2 = new Check(form, "check2", new Model("check2"));
Check<String> check2 = new Check<String>(form, "check2", new Model<String>("check2"));
public CheckGroupTestPage5() { List list = new ArrayList(); Form form = new Form(this, "form"); CheckGroup group = new CheckGroup(form, "group", new Model(list)); WebMarkupContainer container = new WebMarkupContainer(group, "container"); Check check1 = new Check(group, "check1", new Model("check1")); // here we add check2 to the form so it is outside the group - it should // throw an exception when rendering Check check2 = new Check(form, "check2", new Model("check2")); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/a0560bd8dbeb447d7e2c8a5813a2d715809fcc24/CheckGroupTestPage5.java/buggy/wicket/src/test/wicket/markup/html/form/CheckGroupTestPage5.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2073, 1114, 4709, 1964, 25, 1435, 202, 95, 202, 202, 682, 666, 273, 394, 2407, 5621, 202, 202, 1204, 646, 273, 394, 2748, 12, 2211, 16, 315, 687, 8863, 202, 202, 1564, 1114, 1041, 273, 394, 2073, 1114, 12, 687, 16, 315, 1655, 3113, 394, 3164, 12, 1098, 10019, 202, 202, 4079, 13111, 2170, 1478, 273, 394, 2999, 13111, 2170, 12, 1655, 16, 315, 3782, 8863, 202, 202, 1564, 866, 21, 273, 394, 2073, 12, 1655, 16, 315, 1893, 21, 3113, 394, 3164, 2932, 1893, 21, 7923, 1769, 202, 202, 759, 2674, 732, 527, 866, 22, 358, 326, 646, 1427, 518, 353, 8220, 326, 1041, 300, 518, 1410, 202, 202, 759, 604, 392, 1520, 1347, 9782, 202, 202, 1564, 866, 22, 273, 394, 2073, 12, 687, 16, 315, 1893, 22, 3113, 394, 3164, 2932, 1893, 22, 7923, 1769, 202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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2073, 1114, 4709, 1964, 25, 1435, 202, 95, 202, 202, 682, 666, 273, 394, 2407, 5621, 202, 202, 1204, 646, 273, 394, 2748, 12, 2211, 16, 315, 687, 8863, 202, 202, 1564, 1114, 1041, 273, 394, 2073, 1114, 12, 687, 16, 315, 1655, 3113, 394, 3164, 12, 1098, 10019, 202, 202, 4079, 13111, 2170, 1478, 273, 394, 2999, 13111, 2170, 12, 1655, 16, 315, 3782, 8863, 202, 202, 1564, 866, 21, 273, 394, 2073, 12, 1655, 16, 315, 1893, 21, 3113, 394, 3164, 2932, 1893, 21, 7923, 1769, 202, 202, 759, 2674, 732, 527, 866, 22, 358, 326, 646, 1427, 518, 353, 8220, 326, 1041, 300, 518, 1410, 202, 202, 759, 604, 392, 1520, 1347, 9782, 2 ]
return ref.getRegisteredName();
return Util.safeString(ref.getRegisteredName());
public String getName() { WorkbenchPartReference ref = (WorkbenchPartReference) pane .getPartReference(); return ref.getRegisteredName(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/77b02fd9f4d4de72edc72a194457f51bf2d82659/PresentableViewPart.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PresentableViewPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 3639, 4147, 22144, 1988, 2404, 1278, 273, 261, 2421, 22144, 1988, 2404, 13, 13618, 7734, 263, 588, 1988, 2404, 5621, 3639, 327, 3564, 18, 4626, 780, 12, 1734, 18, 588, 10868, 461, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 3639, 4147, 22144, 1988, 2404, 1278, 273, 261, 2421, 22144, 1988, 2404, 13, 13618, 7734, 263, 588, 1988, 2404, 5621, 3639, 327, 3564, 18, 4626, 780, 12, 1734, 18, 588, 10868, 461, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void deliverMessage(AttributedMessage msg, MessageAddress destination)
public MessageAttributes deliverMessage(AttributedMessage msg, MessageAddress destination)
public void deliverMessage(AttributedMessage msg, MessageAddress destination) throws MisdeliveredMessageException { MulticastMessageAddress mcastAddr = (MulticastMessageAddress) msg.getAttribute(MCAST); if (mcastAddr != null) { if (Debug.isDebugEnabled(loggingService,MULTICAST)) loggingService.debug("MCAST: Received multicast to " + mcastAddr); Iterator i = getRegistry().findLocalMulticastReceivers(mcastAddr); MessageAddress localDestination = null; AttributedMessage copy = new AttributedMessage(msg.getRawMessage(), msg); while (i.hasNext()) { localDestination = (MessageAddress) i.next(); if (Debug.isDebugEnabled(loggingService,MULTICAST)) loggingService.debug("MCAST: Delivering to " + localDestination); super.deliverMessage(copy, localDestination); } } else { super.deliverMessage(msg, destination); } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/1d374fb64fcdc5dd00cee0996bed428772994c6d/MulticastAspect.java/buggy/core/src/org/cougaar/core/mts/MulticastAspect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 11795, 1079, 12, 861, 11050, 1079, 1234, 16, 4405, 282, 2350, 1887, 2929, 13, 3196, 565, 1216, 16584, 26672, 329, 31270, 202, 95, 202, 565, 7778, 12544, 1079, 1887, 312, 4155, 3178, 273, 3196, 202, 12, 5049, 12544, 1079, 1887, 13, 1234, 18, 588, 1499, 12, 49, 21871, 1769, 202, 377, 202, 565, 309, 261, 81, 4155, 3178, 480, 446, 13, 288, 202, 202, 430, 261, 2829, 18, 291, 2829, 1526, 12, 11167, 1179, 16, 12845, 2871, 9053, 3719, 1875, 565, 2907, 1179, 18, 4148, 2932, 49, 21871, 30, 21066, 24470, 358, 315, 25083, 1377, 397, 312, 4155, 3178, 1769, 202, 202, 3198, 277, 273, 1875, 565, 29675, 7675, 4720, 2042, 5049, 12544, 4779, 6760, 12, 81, 4155, 3178, 1769, 202, 202, 1079, 1887, 1191, 5683, 273, 446, 31, 202, 202, 861, 11050, 1079, 1610, 273, 1875, 565, 394, 2380, 11050, 1079, 12, 3576, 18, 588, 4809, 1079, 9334, 1234, 1769, 202, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 288, 1082, 565, 1191, 5683, 273, 261, 1079, 1887, 13, 277, 18, 4285, 5621, 1082, 565, 309, 261, 2829, 18, 291, 2829, 1526, 12, 11167, 1179, 16, 12845, 2871, 9053, 3719, 1082, 202, 11167, 1179, 18, 4148, 2932, 49, 21871, 30, 6603, 1667, 310, 358, 315, 6862, 1082, 225, 397, 1191, 5683, 1769, 1082, 565, 2240, 18, 26672, 1079, 12, 3530, 16, 1191, 5683, 1769, 202, 202, 97, 202, 565, 289, 469, 288, 1082, 202, 9565, 18, 26672, 1079, 12, 3576, 16, 2929, 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, 11795, 1079, 12, 861, 11050, 1079, 1234, 16, 4405, 282, 2350, 1887, 2929, 13, 3196, 565, 1216, 16584, 26672, 329, 31270, 202, 95, 202, 565, 7778, 12544, 1079, 1887, 312, 4155, 3178, 273, 3196, 202, 12, 5049, 12544, 1079, 1887, 13, 1234, 18, 588, 1499, 12, 49, 21871, 1769, 202, 377, 202, 565, 309, 261, 81, 4155, 3178, 480, 446, 13, 288, 202, 202, 430, 261, 2829, 18, 291, 2829, 1526, 12, 11167, 1179, 16, 12845, 2871, 9053, 3719, 1875, 565, 2907, 1179, 18, 4148, 2932, 49, 21871, 30, 21066, 24470, 358, 315, 25083, 1377, 397, 312, 4155, 3178, 1769, 202, 202, 3198, 277, 273, 1875, 565, 29675, 7675, 4720, 2042, 5049, 12544, 4779, 6760, 2 ]
if (jj_scan_token(GT)) return true;
if (jj_scan_token(RBRACE)) return true;
final private boolean jj_3R_101() { if (jj_scan_token(LT)) return true; if (jj_3R_158()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_159()) { jj_scanpos = xsp; break; } } if (jj_scan_token(GT)) return true; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 15168, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12050, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 25984, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 24872, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 19437, 9254, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 15168, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 12050, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 25984, 10756, 327, 638, 31, 565, 3155, 619, 1752, 31, 565, 1323, 261, 3767, 13, 288, 1377, 619, 1752, 273, 10684, 67, 9871, 917, 31, 1377, 309, 261, 78, 78, 67, 23, 54, 67, 24872, 10756, 288, 10684, 67, 9871, 917, 273, 619, 1752, 31, 898, 31, 289, 565, 289, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 19437, 9254, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MessageStruct.ONE_WAY_MEP); try{
MessageStruct.ONE_WAY_MEP); try {
protected boolean callHandlersOnRequest(XMLHandlerContext handlerContext) { HandlerChainCaller caller = getHandlerChainCaller( handlerContext.getMessageInfo()); boolean responseExpected = (handlerContext.getMessageInfo().getMEP() != MessageStruct.ONE_WAY_MEP); try{ return caller.callHandlers(Direction.OUTBOUND, RequestOrResponse.REQUEST, handlerContext, responseExpected); } catch (ProtocolException pe) { if (MessageContextUtil.ignoreFaultInMessage( handlerContext.getMessageContext())) { // Ignore fault in this case and use exception. throw pe; } else return false; } catch (WebServiceException wse) { throw wse; } catch (RuntimeException re) { // handlers are expected to be able to throw RE throw new WebServiceException(re); } }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/47778bd7e0202a4abe218e4420d672d0c4a75034/XMLMessageDispatcher.java/clean/jaxws-ri/rt/src/com/sun/xml/ws/protocol/xml/client/XMLMessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 745, 6919, 1398, 691, 12, 4201, 1503, 1042, 1838, 1042, 13, 288, 7734, 4663, 3893, 11095, 4894, 273, 18945, 3893, 11095, 12, 7734, 1838, 1042, 18, 24906, 966, 10663, 3639, 1250, 766, 6861, 273, 261, 4176, 1042, 18, 24906, 966, 7675, 588, 958, 52, 1435, 480, 7734, 2350, 3823, 18, 5998, 67, 18098, 67, 958, 52, 1769, 3639, 775, 95, 5411, 327, 4894, 18, 1991, 6919, 12, 8212, 18, 5069, 19318, 16, 10792, 1567, 1162, 1064, 18, 5519, 16, 1838, 1042, 16, 766, 6861, 1769, 3639, 289, 1044, 261, 5752, 503, 2804, 13, 288, 5411, 309, 261, 1079, 1042, 1304, 18, 6185, 7083, 382, 1079, 12, 10792, 1838, 1042, 18, 24906, 1042, 1435, 3719, 288, 7734, 368, 8049, 12530, 316, 333, 648, 471, 999, 1520, 18, 7734, 604, 2804, 31, 5411, 289, 469, 7734, 327, 629, 31, 3639, 289, 1044, 261, 4079, 15133, 341, 307, 13, 288, 5411, 604, 341, 307, 31, 3639, 289, 1044, 261, 11949, 283, 13, 288, 5411, 368, 4919, 854, 2665, 358, 506, 7752, 358, 604, 2438, 5411, 604, 394, 2999, 15133, 12, 266, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 745, 6919, 1398, 691, 12, 4201, 1503, 1042, 1838, 1042, 13, 288, 7734, 4663, 3893, 11095, 4894, 273, 18945, 3893, 11095, 12, 7734, 1838, 1042, 18, 24906, 966, 10663, 3639, 1250, 766, 6861, 273, 261, 4176, 1042, 18, 24906, 966, 7675, 588, 958, 52, 1435, 480, 7734, 2350, 3823, 18, 5998, 67, 18098, 67, 958, 52, 1769, 3639, 775, 95, 5411, 327, 4894, 18, 1991, 6919, 12, 8212, 18, 5069, 19318, 16, 10792, 1567, 1162, 1064, 18, 5519, 16, 1838, 1042, 16, 766, 6861, 1769, 3639, 289, 1044, 261, 5752, 503, 2804, 13, 288, 5411, 309, 261, 1079, 1042, 1304, 18, 6185, 7083, 382, 1079, 12, 10792, 1838, 1042, 18, 24906, 1042, 1435, 3719, 288, 7734, 2 ]
if (evt.getPropertyName() == MouseDelegator.ActiveModeProperty) { mmID = ((MapMouseMode)evt.getNewValue()).getID().intern(); checkMouseMode(); }
if (evt.getPropertyName() == MouseDelegator.ActiveModeProperty) { mmID = ((MapMouseMode)evt.getNewValue()).getID().intern(); checkMouseMode(); }
public void propertyChange(PropertyChangeEvent evt) { if (evt.getPropertyName() == MouseDelegator.ActiveModeProperty) { mmID = ((MapMouseMode)evt.getNewValue()).getID().intern(); checkMouseMode(); } }
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/edbeffa6fb72058fbd5312d50c86c88fa8d47f6b/ScaleFilterLayer.java/buggy/src/openmap/com/bbn/openmap/layer/ScaleFilterLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 6324, 13, 288, 202, 430, 261, 73, 11734, 18, 588, 13073, 1435, 422, 17013, 15608, 639, 18, 3896, 2309, 1396, 13, 288, 202, 565, 9740, 734, 273, 14015, 863, 9186, 2309, 13, 73, 11734, 18, 588, 1908, 620, 1435, 2934, 588, 734, 7675, 267, 798, 5621, 202, 565, 866, 9186, 2309, 5621, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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3896, 2309, 1396, 13, 288, 202, 565, 9740, 734, 273, 14015, 863, 9186, 2309, 13, 73, 11734, 18, 588, 1908, 620, 1435, 2934, 588, 734, 7675, 267, 798, 5621, 202, 565, 866, 9186, 2309, 5621, 202, 97, 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 ]
public boolean isEmpty();
boolean isEmpty();
public boolean isEmpty();
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/6f181de4aafbe2a9534fc417eee9f0b8d8ae805d/Relation.java/buggy/joeq_core/joeq/Util/Relation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 2709, 5621, 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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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 final AccessRuleList parseAccessRuleList(String descriptor, int interval)
public static final AccessRuleList parseAccessRuleList(String descriptor)
public static final AccessRuleList parseAccessRuleList(String descriptor, int interval) throws IllegalArgumentException, ParseException { // Check preconditions MandatoryArgumentChecker.check("descriptor", descriptor); // Tokenize the descriptor descriptor = descriptor.trim(); StringTokenizer tokenizer = new StringTokenizer(descriptor, ";"); int ruleCount = tokenizer.countTokens(); // Parse all tokens AccessRuleContainer[] rules = new AccessRuleContainer[ruleCount]; for (int i = 0; i < ruleCount; i++) { // Remove leading and trailing whitespace from the next token String token = tokenizer.nextToken().trim(); // Parse and add the rule if (token.startsWith("allow") || token.startsWith("deny")) { rules[i] = AccessRule.parseAccessRule(token); } else if (token.startsWith("file")) { rules[i] = new AccessRuleFile(token, interval); } else { throw new ParseException("Incorrect access rule"); } } return new AccessRuleList(rules); }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/b1cafa539561dfb51b222597c681d8535b06a5a5/AccessRuleList.java/clean/src/java-server-framework/org/xins/server/AccessRuleList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 727, 5016, 2175, 682, 1109, 1862, 2175, 682, 12, 780, 4950, 16, 4766, 12900, 509, 565, 3673, 13, 282, 1216, 2754, 16, 10616, 288, 1377, 368, 2073, 675, 6381, 1377, 490, 10018, 1379, 8847, 18, 1893, 2932, 12628, 3113, 4950, 1769, 1377, 368, 3155, 554, 326, 4950, 1377, 4950, 273, 4950, 18, 5290, 5621, 1377, 16370, 10123, 273, 394, 16370, 12, 12628, 16, 11430, 1769, 1377, 509, 1720, 1380, 273, 10123, 18, 1883, 5157, 5621, 1377, 368, 2884, 777, 2430, 1377, 5016, 2175, 2170, 8526, 2931, 273, 394, 5016, 2175, 2170, 63, 5345, 1380, 15533, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1720, 1380, 31, 277, 27245, 288, 540, 368, 3581, 7676, 471, 7341, 7983, 628, 326, 1024, 1147, 540, 514, 1147, 273, 10123, 18, 4285, 1345, 7675, 5290, 5621, 540, 368, 2884, 471, 527, 326, 1720, 540, 309, 261, 2316, 18, 17514, 1190, 2932, 5965, 7923, 747, 1147, 18, 17514, 1190, 2932, 13002, 93, 6, 3719, 288, 5411, 2931, 63, 77, 65, 273, 5016, 2175, 18, 2670, 1862, 2175, 12, 2316, 1769, 540, 289, 469, 309, 261, 2316, 18, 17514, 1190, 2932, 768, 6, 3719, 288, 5411, 2931, 63, 77, 65, 273, 394, 5016, 2175, 812, 12, 2316, 16, 3673, 1769, 540, 289, 469, 288, 5411, 604, 394, 10616, 2932, 16268, 2006, 1720, 8863, 540, 289, 1377, 289, 1377, 327, 394, 5016, 2175, 682, 12, 7482, 1769, 282, 289, 2, 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, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 727, 5016, 2175, 682, 1109, 1862, 2175, 682, 12, 780, 4950, 16, 4766, 12900, 509, 565, 3673, 13, 282, 1216, 2754, 16, 10616, 288, 1377, 368, 2073, 675, 6381, 1377, 490, 10018, 1379, 8847, 18, 1893, 2932, 12628, 3113, 4950, 1769, 1377, 368, 3155, 554, 326, 4950, 1377, 4950, 273, 4950, 18, 5290, 5621, 1377, 16370, 10123, 273, 394, 16370, 12, 12628, 16, 11430, 1769, 1377, 509, 1720, 1380, 273, 10123, 18, 1883, 5157, 5621, 1377, 368, 2884, 777, 2430, 1377, 5016, 2175, 2170, 8526, 2931, 273, 394, 5016, 2175, 2170, 63, 5345, 1380, 15533, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1720, 1380, 31, 277, 27245, 288, 540, 368, 3581, 7676, 471, 2 ]
throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier);
throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier, global);
public ClientPutDirMessage(SimpleFieldSet fs) throws MessageInvalidException { identifier = fs.get("Identifier"); defaultName = fs.get("DefaultName"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); FreenetURI uu = new FreenetURI(fs.get("URI")); // Client is allowed to put a slash at the end if it wants to, but this is discouraged. String[] meta = uu.getAllMetaStrings(); if(meta != null && meta.length == 1 && meta[0].length() == 0) uu = uu.setMetaString(null); uri = uu; } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if((persistenceString == null) || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); earlyEncode = Fields.stringToBool(fs.get("EarlyEncode"), false); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientPutDirMessage.java/buggy/src/freenet/node/fcp/ClientPutDirMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 1621, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 1886, 461, 273, 2662, 18, 588, 2932, 1868, 461, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 42, 2842, 278, 3098, 582, 89, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 1082, 202, 759, 2445, 353, 2935, 358, 1378, 279, 9026, 622, 326, 679, 309, 518, 14805, 358, 16, 1496, 333, 353, 19169, 477, 11349, 18, 1082, 202, 780, 8526, 2191, 273, 582, 89, 18, 588, 1595, 2781, 7957, 5621, 1082, 202, 430, 12, 3901, 480, 446, 597, 2191, 18, 2469, 422, 404, 597, 2191, 63, 20, 8009, 2469, 1435, 422, 374, 13, 9506, 202, 24286, 273, 582, 89, 18, 542, 2781, 780, 12, 2011, 1769, 1082, 202, 1650, 273, 582, 89, 31, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 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, 2445, 6426, 1621, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 1886, 461, 273, 2662, 18, 588, 2932, 1868, 461, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 42, 2842, 278, 3098, 2 ]
createOverwriteExistingFilesCheckbox(optionsGroup);
createOverwriteExistingFilesCheckbox(optionsGroup);
protected void createOptionsGroup(Composite parent) { // options group Composite optionsGroup = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(1, false); optionsGroup.setLayout(layout); // source files... checkbox createSourceFilesCheckbox(optionsGroup); // overwrite... checkbox createOverwriteExistingFilesCheckbox(optionsGroup); // advanced button if (shouldShowProjectFilesCheckbox()) { createProjectFilesCheckbox(optionsGroup); } }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/c042cd500354f705a7aa1eab86333bb81f51934c/J2EEExportPage.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/J2EEExportPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 1320, 1114, 12, 9400, 982, 13, 288, 202, 202, 759, 702, 1041, 202, 202, 9400, 702, 1114, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 21, 16, 629, 1769, 202, 202, 2116, 1114, 18, 542, 3744, 12, 6741, 1769, 202, 202, 759, 1084, 1390, 2777, 11832, 202, 202, 2640, 1830, 2697, 21272, 12, 2116, 1114, 1769, 202, 202, 759, 6156, 2777, 11832, 202, 202, 2640, 20832, 9895, 2697, 21272, 12, 2116, 1114, 1769, 202, 202, 759, 16111, 3568, 202, 202, 430, 261, 13139, 5706, 4109, 2697, 21272, 10756, 288, 1082, 202, 2640, 4109, 2697, 21272, 12, 2116, 1114, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 1320, 1114, 12, 9400, 982, 13, 288, 202, 202, 759, 702, 1041, 202, 202, 9400, 702, 1114, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 21, 16, 629, 1769, 202, 202, 2116, 1114, 18, 542, 3744, 12, 6741, 1769, 202, 202, 759, 1084, 1390, 2777, 11832, 202, 202, 2640, 1830, 2697, 21272, 12, 2116, 1114, 1769, 202, 202, 759, 6156, 2777, 11832, 202, 202, 2640, 20832, 9895, 2697, 21272, 12, 2116, 1114, 1769, 202, 202, 759, 16111, 3568, 202, 202, 430, 261, 13139, 5706, 4109, 2697, 21272, 10756, 288, 1082, 202, 2640, 4109, 2697, 21272, 12, 2116, 1114, 1769, 202, 202, 2 ]
Matcher m = GrailsResourceUtils.GRAILS_RESOURCE_PATTERN_FIRST_MATCH.matcher(path); boolean matched = m.find(); if(!matched) { matched = GRAILS_RESOURCE_PATTERN_SECOND_MATCH.matcher(path).find(); } return matched;
for (int i = 0; i < patterns.length; i++) { Matcher m = patterns[i].matcher(path); if(m.find()) { return true; } } return false;
public static boolean isGrailsPath(String path) { Matcher m = GrailsResourceUtils.GRAILS_RESOURCE_PATTERN_FIRST_MATCH.matcher(path); boolean matched = m.find(); if(!matched) { matched = GRAILS_RESOURCE_PATTERN_SECOND_MATCH.matcher(path).find(); } return matched; }
52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/c875ce11ffd6a5eeac485c70791892f8b1c062e0/GrailsResourceUtils.java/buggy/src/commons/org/codehaus/groovy/grails/commons/GrailsResourceUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 353, 14571, 14573, 743, 12, 780, 589, 13, 288, 202, 202, 6286, 312, 273, 10812, 14573, 1420, 1989, 18, 24554, 2627, 55, 67, 11395, 67, 10831, 67, 15354, 67, 11793, 18, 22761, 12, 803, 1769, 3639, 1250, 4847, 273, 312, 18, 4720, 5621, 3639, 309, 12, 5, 11073, 13, 288, 540, 202, 11073, 273, 611, 2849, 2627, 55, 67, 11395, 67, 10831, 67, 16328, 67, 11793, 18, 22761, 12, 803, 2934, 4720, 5621, 3639, 289, 3639, 327, 4847, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 353, 14571, 14573, 743, 12, 780, 589, 13, 288, 202, 202, 6286, 312, 273, 10812, 14573, 1420, 1989, 18, 24554, 2627, 55, 67, 11395, 67, 10831, 67, 15354, 67, 11793, 18, 22761, 12, 803, 1769, 3639, 1250, 4847, 273, 312, 18, 4720, 5621, 3639, 309, 12, 5, 11073, 13, 288, 540, 202, 11073, 273, 611, 2849, 2627, 55, 67, 11395, 67, 10831, 67, 16328, 67, 11793, 18, 22761, 12, 803, 2934, 4720, 5621, 3639, 289, 3639, 327, 4847, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SimpleSymbolList tsl = new SimpleSymbolList(sl1); SymbolList sub_tsl = tsl.subList(2, 6); tsl.edit(new Edit(4, 2, sl2)); assertTrue(compareSymbolList(tsl, DNATools.createDNA("gatatggaa"))); assertTrue(compareSymbolList(sub_tsl, DNATools.createDNA("ataca")));
SimpleSymbolList tsl = new SimpleSymbolList(sl1); SymbolList sub_tsl = tsl.subList(2, 6); tsl.edit(new Edit(4, 2, sl2)); assertTrue(compareSymbolList(tsl, DNATools.createDNA("gatatggaa"))); assertTrue(compareSymbolList(sub_tsl, DNATools.createDNA("ataca")));
public void testEditSuperlist() throws Exception { SimpleSymbolList tsl = new SimpleSymbolList(sl1); SymbolList sub_tsl = tsl.subList(2, 6); tsl.edit(new Edit(4, 2, sl2)); assertTrue(compareSymbolList(tsl, DNATools.createDNA("gatatggaa"))); assertTrue(compareSymbolList(sub_tsl, DNATools.createDNA("ataca"))); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/a25dd6bab447cf7b7b432186ce0eed525eaa1f20/SimpleSymbolListTest.java/buggy/tests/org/biojava/bio/symbol/SimpleSymbolListTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4666, 8051, 1098, 1435, 3639, 1216, 1185, 565, 288, 202, 5784, 5335, 682, 268, 2069, 273, 394, 4477, 5335, 682, 12, 2069, 21, 1769, 202, 5335, 682, 720, 67, 88, 2069, 273, 268, 2069, 18, 1717, 682, 12, 22, 16, 1666, 1769, 202, 88, 2069, 18, 4619, 12, 2704, 15328, 12, 24, 16, 576, 16, 2020, 22, 10019, 202, 11231, 5510, 12, 9877, 5335, 682, 12, 88, 2069, 16, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 75, 270, 270, 14253, 7598, 6, 3719, 1769, 202, 11231, 5510, 12, 9877, 5335, 682, 12, 1717, 67, 88, 2069, 16, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 396, 5353, 6, 3719, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 4666, 8051, 1098, 1435, 3639, 1216, 1185, 565, 288, 202, 5784, 5335, 682, 268, 2069, 273, 394, 4477, 5335, 682, 12, 2069, 21, 1769, 202, 5335, 682, 720, 67, 88, 2069, 273, 268, 2069, 18, 1717, 682, 12, 22, 16, 1666, 1769, 202, 88, 2069, 18, 4619, 12, 2704, 15328, 12, 24, 16, 576, 16, 2020, 22, 10019, 202, 11231, 5510, 12, 9877, 5335, 682, 12, 88, 2069, 16, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 75, 270, 270, 14253, 7598, 6, 3719, 1769, 202, 11231, 5510, 12, 9877, 5335, 682, 12, 1717, 67, 88, 2069, 16, 463, 11277, 10348, 18, 2640, 8609, 37, 2932, 396, 5353, 6, 3719, 1769, 565, 289, 2, -100, -100 ]
ArrayList mods = null;
public ArrayList getHistory(Date lastBuild, Date now, long quietPeriod) { ArrayList mods = null; //Init last modified to last build date. lastModified = lastBuild; String[] commandArray = {"cvs", "-d", cvsroot, "log", "-d" + CVSDATE.format(lastBuild) +"<" + CVSDATE.format(now) + "", getLocalPath()}; String logCommand = ""; for (int i=0; i<commandArray.length; i++) { logCommand += commandArray[i] + " "; } log("[cvselement] " + logCommand); try { Process p = Runtime.getRuntime().exec(commandArray); //Logging the error stream. StreamPumper errorPumper = new StreamPumper(p.getErrorStream(), null, new PrintWriter(System.err, true)); errorPumper.start(); //The input stream has the log information that we want to parse. InputStream input = p.getInputStream(); mods = parseStream(input); //Using another stream pumper here will get rid of any leftover data in the stream. StreamPumper outPumper = new StreamPumper(input, null, null); outPumper.start(); p.waitFor(); } catch (Exception ioe) { ioe.printStackTrace(); } if (mods == null) { mods = new ArrayList(); } return mods; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/038b8d199a7ef0347769aaa2f5436fc94ddf037d/CVSElement.java/buggy/main/src/net/sourceforge/cruisecontrol/CVSElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 1071, 2407, 15546, 273, 446, 31, 2407, 2407, 15546, 273, 446, 31, 336, 5623, 12, 1626, 2407, 15546, 273, 446, 31, 1142, 3116, 16, 2407, 15546, 273, 446, 31, 2167, 2407, 15546, 273, 446, 31, 2037, 16, 2407, 15546, 273, 446, 31, 1525, 2407, 15546, 273, 446, 31, 10902, 5027, 13, 2407, 15546, 273, 446, 31, 288, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 2407, 2407, 15546, 273, 446, 31, 15546, 2407, 15546, 273, 446, 31, 273, 2407, 15546, 273, 446, 31, 446, 31, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 368, 2570, 2407, 15546, 273, 446, 31, 1142, 2407, 15546, 273, 446, 31, 4358, 2407, 15546, 273, 446, 31, 358, 2407, 15546, 273, 446, 31, 1142, 2407, 15546, 273, 446, 31, 1361, 2407, 15546, 273, 446, 31, 1509, 18, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 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, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 1071, 2407, 15546, 273, 446, 31, 2407, 2407, 15546, 273, 446, 31, 336, 5623, 12, 1626, 2407, 15546, 273, 446, 31, 1142, 3116, 16, 2407, 15546, 273, 446, 31, 2167, 2407, 15546, 273, 446, 31, 2037, 16, 2407, 15546, 273, 446, 31, 1525, 2407, 15546, 273, 446, 31, 10902, 5027, 13, 2407, 15546, 273, 446, 31, 288, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 273, 446, 31, 225, 2407, 15546, 2 ]
{ doPost(req, resp); }
{ doPost(req, resp); }
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException { doPost(req, resp); }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/730c25333fee1fa3ddb17fa35e69fda9aa161d13/DwrServlet.java/buggy/java/uk/ltd/getahead/dwr/servlet/DwrServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 4750, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 1718, 13, 1216, 1860, 16, 16517, 377, 288, 540, 741, 3349, 12, 3658, 16, 1718, 1769, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 4750, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 1718, 13, 1216, 1860, 16, 16517, 377, 288, 540, 741, 3349, 12, 3658, 16, 1718, 1769, 377, 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 ]