rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
args = ArgsUtil.setupArgs(threadContext, this, iVisited.getArgsNode()); | args = ArgsUtil.setupArgs(runtime, threadContext, this, iVisited.getArgsNode()); | public void visitCallNode(CallNode iVisited) { Block tmpBlock = ArgsUtil.beginCallArgs(threadContext); IRubyObject receiver = null; IRubyObject[] args = null; try { receiver = eval(iVisited.getReceiverNode()); args = ArgsUtil.setupArgs(threadContext, this, iVisited.... | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f5c9a1ebd775712f2dc086acfce1a14a123ec632/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
1477,
907,
12,
1477,
907,
277,
30019,
13,
288,
3639,
3914,
1853,
1768,
273,
6634,
1304,
18,
10086,
1477,
2615,
12,
5930,
1042,
1769,
3639,
15908,
10340,
921,
5971,
273,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
1477,
907,
12,
1477,
907,
277,
30019,
13,
288,
3639,
3914,
1853,
1768,
273,
6634,
1304,
18,
10086,
1477,
2615,
12,
5930,
1042,
1769,
3639,
15908,
10340,
921,
5971,
273,
4... |
/* if (this.sourceLevel >= ClassFileConstants.JDK1_5) { int temp = this.currentPosition; if (getNextChar('.')) { if (getNextChar('.')) { return TokenNameELLIPSIS; } else { this.currentPosition = temp; return TokenNameDOT; } } else { this.currentPosition = temp; return TokenNameDOT; } } else { return TokenNameDOT; }... | public int getNextToken() throws InvalidInputException { this.wasAcr = false; if (this.diet) { jumpOverMethodBody(); this.diet = false; return this.currentPosition > this.source.length ? TokenNameEOF : TokenNameRBRACE; } int whiteStart = 0; try { while (true) { //loop for jumping over comments this.withoutUnicode... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f56c0e1e9dcd69c29df729084f0860c1996ff08b/PublicScanner.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/PublicScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
22616,
1435,
1216,
31989,
288,
202,
2211,
18,
17416,
37,
3353,
273,
629,
31,
202,
430,
261,
2211,
18,
3211,
278,
13,
288,
202,
202,
24574,
4851,
1305,
2250,
5621,
202,
202,
2211,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
22616,
1435,
1216,
31989,
288,
202,
2211,
18,
17416,
37,
3353,
273,
629,
31,
202,
430,
261,
2211,
18,
3211,
278,
13,
288,
202,
202,
24574,
4851,
1305,
2250,
5621,
202,
202,
2211,
... | |
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters) throws CmsException { if(C_DEBUG && A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_DEBUG, "[CmsDumpTemplate] Now dumping contents of file " + templateFile); ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/893f594636a637b13259b605c3b1d00189c3aad7/CmsNewExplorerFileList.java/buggy/src/com/opencms/workplace/CmsNewExplorerFileList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
7229,
8526,
588,
1350,
12,
4747,
921,
6851,
16,
780,
3202,
812,
16,
780,
2956,
461,
16,
5582,
14544,
3977,
13,
15069,
4747,
503,
95,
430,
12,
39,
67,
9394,
10,
10,
37,
67,
3678,
4747... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
7229,
8526,
588,
1350,
12,
4747,
921,
6851,
16,
780,
3202,
812,
16,
780,
2956,
461,
16,
5582,
14544,
3977,
13,
15069,
4747,
503,
95,
430,
12,
39,
67,
9394,
10,
10,
37,
67,
3678,
4747... | ||
NodeList paths = cache.getChildNodes(); | final NodeList paths = cache.getChildNodes(); | private Element findDOMPath(String name) { if (currentPath != null) { if (name.equals(currentPath.getAttribute(CacheConfiguration.NAME))) { return currentPath; } } NodeList paths = cache.getChildNodes(); for (int i = 0; i < paths.getLength(); i++) { Element path = (Element) paths.item(i); if (name.equal... | 49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/a99ccf809bc2c155102602b3d87cbe7a3ae5ce0b/CacheBuilder.java/buggy/src/net/sf/statcvs/input/CacheBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3010,
1104,
8168,
743,
12,
780,
508,
13,
288,
202,
202,
430,
261,
2972,
743,
480,
446,
13,
288,
1082,
202,
430,
261,
529,
18,
14963,
12,
2972,
743,
18,
588,
1499,
12,
1649,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3010,
1104,
8168,
743,
12,
780,
508,
13,
288,
202,
202,
430,
261,
2972,
743,
480,
446,
13,
288,
1082,
202,
430,
261,
529,
18,
14963,
12,
2972,
743,
18,
588,
1499,
12,
1649,... |
_log.debug("Placing GarlicMessage into the new tunnel message bound for " + lease.getTunnelId() + " on " + lease.getRouterIdentity().getHash().toBase64()); | _log.debug("Placing GarlicMessage into the new tunnel message bound for " + lease.getTunnelId() + " on " + lease.getRouterIdentity().getHash().toBase64()); | private void send(Lease lease) { // send it as a garlic with a DeliveryStatusMessage clove and a message selector w/ successJob on reply long token = _context.random().nextInt(Integer.MAX_VALUE); PublicKey key = _status.getLeaseSet().getEncryptionKey(); SessionKey sessKey = new SessionKe... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/7202ea33407d4116d3c4b03f4d325d77f35834b2/OutboundClientMessageJob.java/buggy/router/java/src/net/i2p/router/message/OutboundClientMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
12,
17746,
11863,
13,
288,
3639,
368,
1366,
518,
487,
279,
314,
13007,
335,
598,
279,
17390,
1482,
1079,
1219,
537,
471,
279,
883,
3451,
341,
19,
2216,
2278,
603,
4332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1366,
12,
17746,
11863,
13,
288,
3639,
368,
1366,
518,
487,
279,
314,
13007,
335,
598,
279,
17390,
1482,
1079,
1219,
537,
471,
279,
883,
3451,
341,
19,
2216,
2278,
603,
4332,
... |
} else { SVNErrorManager.error(0, null); | } finally { SVNFileUtil.sleepForTimestamp(); myIsDoNotSleepForTimeStamp = false; | public long doCheckout(String url, File dstPath, SVNRevision pegRevision, SVNRevision revision, boolean recursive) throws SVNException { url = validateURL(url); if (dstPath == null) { dstPath = new File(".", PathUtil.tail(url)); } if (!revision.isValid() && !pegRevision.isVali... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/35c4eff3cdefe26dc93ca64dd0977a77801e7b74/SVNUpdater.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/ws/log/SVNUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
741,
18581,
12,
780,
880,
16,
1387,
29845,
16,
29537,
50,
7939,
29231,
7939,
16,
29537,
50,
7939,
6350,
16,
1250,
5904,
13,
1216,
29537,
50,
503,
288,
3639,
880,
273,
1954,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1525,
741,
18581,
12,
780,
880,
16,
1387,
29845,
16,
29537,
50,
7939,
29231,
7939,
16,
29537,
50,
7939,
6350,
16,
1250,
5904,
13,
1216,
29537,
50,
503,
288,
3639,
880,
273,
1954,
... |
throw new TypeError(runtime, args[0], runtime.getClasses().getStringClass()); | throw getRuntime().newTypeError(args[0], getRuntime().getClasses().getStringClass()); | public IRubyObject reopen(IRubyObject arg1, IRubyObject[] args) { if (arg1.isKindOf(getRuntime().getClasses().getIoClass())) { RubyIO ios = (RubyIO) arg1; int keepFileno = handler.getFileno(); // When we reopen, we want our fileno to be preserved even // though we ... | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyIO.java/clean/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
31563,
12,
7937,
10340,
921,
1501,
21,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
3175,
21,
18,
291,
5677,
951,
12,
588,
5576,
7675,
588,
4818,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
31563,
12,
7937,
10340,
921,
1501,
21,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
3175,
21,
18,
291,
5677,
951,
12,
588,
5576,
7675,
588,
4818,
... |
private int solveDirtyPaths() { int numSolved = 0; boolean pathFoundCheck = false; for (int i = 0; i < workingPaths.size(); i++) { Path path = (Path)workingPaths.get(i); path.refreshExcludedObstacles(userObstacles); if (!path.isDirty) { path.reset(); continue; } numSolved++; path.fullReset(); pathFoun... | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/375f5ca5b08f799014f10ca6a967bc6d7290c7d6/ShortestPathRouter.java/buggy/org.eclipse.draw2d/src/org/eclipse/draw2d/graph/ShortestPathRouter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
509,
12439,
10785,
4466,
1435,
288,
202,
474,
818,
55,
12894,
273,
374,
31,
202,
6494,
589,
2043,
1564,
273,
629,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5960,
4466,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
509,
12439,
10785,
4466,
1435,
288,
202,
474,
818,
55,
12894,
273,
374,
31,
202,
6494,
589,
2043,
1564,
273,
629,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5960,
4466,... | ||
if(tracker == null) return false; | if(tracker == null) { Logger.minor(this, "Tracker == null"); return false; } | private boolean tryProcess(byte[] buf, int offset, int length, KeyTracker tracker) { // Need to be able to call with tracker == null to simplify code above if(tracker == null) return false; Logger.minor(this,"Entering tryProcess: "+buf+","+offset+","+length+","+tracker); /** * E... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/17ab83798dc1588df0a327af91db347bb77392d7/FNPPacketMangler.java/buggy/src/freenet/node/FNPPacketMangler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
775,
2227,
12,
7229,
8526,
1681,
16,
509,
1384,
16,
509,
769,
16,
1929,
8135,
9745,
13,
288,
3639,
368,
12324,
358,
506,
7752,
358,
745,
598,
9745,
422,
446,
358,
16499,
981... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
775,
2227,
12,
7229,
8526,
1681,
16,
509,
1384,
16,
509,
769,
16,
1929,
8135,
9745,
13,
288,
3639,
368,
12324,
358,
506,
7752,
358,
745,
598,
9745,
422,
446,
358,
16499,
981... |
pstmt.setInt(1, i); assertTrue(pstmt.executeUpdate() == 1); | pstmt.setInt(1, i); assertEquals(pstmt.executeUpdate(), 1); | public void testUpdateCount1() throws Exception { int count = 500; Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #updateCount1 (data INT)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("INSERT INTO #updateCount1 (data) VALUES (?)"); f... | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/ba8dbcfb4c76f4e59cc1c80c3e20bdd3252ec4c4/PreparedStatementTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/PreparedStatementTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1891,
1380,
21,
1435,
1216,
1185,
288,
377,
202,
474,
1056,
273,
6604,
31,
377,
202,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
2932,
9344,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1891,
1380,
21,
1435,
1216,
1185,
288,
377,
202,
474,
1056,
273,
6604,
31,
377,
202,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
2932,
9344,
... |
if (!_bangobj.isActive() || !_bangobj.isInPlay()) { | if (!_bangobj.isActive() || _bangobj.state != BangObject.IN_PLAY) { | public void expired () { // cope if the game has been ended and destroyed since we were // queued up for execution if (!_bangobj.isActive() || !_bangobj.isInPlay()) { return; } // reset the extra tick time and update the game's tick counter ... | 8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/0ef65426e9f245f5d38e71407ff6aa959731e96d/BangManager.java/buggy/src/java/com/threerings/bang/game/server/BangManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7708,
1832,
288,
5411,
368,
276,
1306,
309,
326,
7920,
711,
2118,
16926,
471,
17689,
3241,
732,
4591,
5411,
368,
12234,
731,
364,
4588,
5411,
309,
16051,
67,
70,
539,
2603,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
7708,
1832,
288,
5411,
368,
276,
1306,
309,
326,
7920,
711,
2118,
16926,
471,
17689,
3241,
732,
4591,
5411,
368,
12234,
731,
364,
4588,
5411,
309,
16051,
67,
70,
539,
2603,
18,... |
InstallUtil.getRemoteCa(getController().getModel()); | getRemoteCa(); | public void execute() throws InstallerException { fireStarted(); int stepCount = 2; double percentPerStep = 100/stepCount; double percent = 0; InstallUtil.getRemoteCa(getController().getModel()); fireProgress("...ca complete!", (int)percent); createScConfig()... | 25778 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25778/e0174ba5e6bc124b37fdeb42b70a998b804400ea/GrmScConfigurationTask.java/buggy/src/com/sun/grid/grm/install/tasks/GrmScConfigurationTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
1216,
10284,
264,
503,
288,
3639,
4452,
9217,
5621,
7734,
509,
2235,
1380,
273,
576,
31,
3639,
1645,
5551,
2173,
4160,
273,
2130,
19,
4119,
1380,
31,
3639,
1645,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
1435,
1216,
10284,
264,
503,
288,
3639,
4452,
9217,
5621,
7734,
509,
2235,
1380,
273,
576,
31,
3639,
1645,
5551,
2173,
4160,
273,
2130,
19,
4119,
1380,
31,
3639,
1645,
55... |
CompositeModelCommand cc = new CompositeModelCommand(PresentationResourceManager.getInstance().getString("AddCommand.Label")); | CompositeModelCommand cc = new CompositeModelCommand(DiagramResourceManager.getInstance().getString("AddCommand.Label")); | protected Command getCreateCommand(CreateRequest request) { CreateViewRequest req = (CreateViewRequest) request; CompositeModelCommand cc = new CompositeModelCommand(PresentationResourceManager.getInstance().getString("AddCommand.Label")); //$NON-NLS-1$ Iterator iter = req.getViewDescriptors().iterator(); final Re... | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/XYLayoutEditPolicy.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/editpolicies/XYLayoutEditPolicy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
3498,
25667,
2189,
12,
1684,
691,
590,
13,
288,
202,
202,
1684,
1767,
691,
1111,
273,
261,
1684,
1767,
691,
13,
590,
31,
202,
202,
9400,
1488,
2189,
4946,
273,
394,
14728,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3498,
25667,
2189,
12,
1684,
691,
590,
13,
288,
202,
202,
1684,
1767,
691,
1111,
273,
261,
1684,
1767,
691,
13,
590,
31,
202,
202,
9400,
1488,
2189,
4946,
273,
394,
14728,
14... |
log(pAnnotationType, annotationType); | log(2, pAnnotationType, annotationType); | public static AnnotationTypeEnum valueOf(String pAnnotationType) { if (pAnnotationType == null) { throw new IllegalArgumentException("pAnnotationType is null"); } AnnotationTypeEnum annotationType; if (pAnnotationType.equals(JAVADOC_ANNOTATION_TYPE)) { annotationType = JAVADOC; } else ... | 47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/fd3d62963585c7d537041ba7ed53ebda5eef31c4/AnnotationTypeEnum.java/clean/src/main/org/testng/internal/AnnotationTypeEnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
6090,
10549,
4323,
12,
780,
293,
3257,
559,
13,
288,
565,
309,
261,
84,
3257,
559,
422,
446,
13,
288,
1377,
604,
394,
2754,
2932,
84,
3257,
559,
353,
446,
8863,
565,
289,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
6090,
10549,
4323,
12,
780,
293,
3257,
559,
13,
288,
565,
309,
261,
84,
3257,
559,
422,
446,
13,
288,
1377,
604,
394,
2754,
2932,
84,
3257,
559,
353,
446,
8863,
565,
289,
3... |
if (index == 0 || index == qualifiedName.length() - 1) { | int lastIndex = qualifiedName.lastIndexOf(':'); if (index == 0 || index == qualifiedName.length() - 1 || lastIndex!=index) { | public DocumentType createDocumentType(String qualifiedName, String publicID, String systemID) { if (!CoreDocumentImpl.isXMLName(qualifiedName)) { throw new DOMException(DOMException.INVALID_CHARACTER... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/25e906f235891acf1ba2cfbd534ab27ba546e85b/DOMImplementationImpl.java/clean/src/org/apache/xerces/dom/DOMImplementationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4319,
559,
4202,
27569,
559,
12,
780,
24133,
16,
4766,
5375,
514,
1071,
734,
16,
4766,
5375,
514,
2619,
734,
13,
565,
288,
377,
202,
430,
16051,
4670,
2519,
2828,
18,
291,
4201,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4319,
559,
4202,
27569,
559,
12,
780,
24133,
16,
4766,
5375,
514,
1071,
734,
16,
4766,
5375,
514,
2619,
734,
13,
565,
288,
377,
202,
430,
16051,
4670,
2519,
2828,
18,
291,
4201,
4... |
public void setVar(String varname, Thing value) { setVar(varname, value, -1); | public void setVar(Thing varname, Thing value) { setVar(varname.toString(), value); | public void setVar(String varname, Thing value) { setVar(varname, value, -1); } | 47447 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47447/1ededafc11e01105c14809fc998cf2fc5b38fae2/Interp.java/clean/trunk/hecl/com/dedasys/hecl/Interp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
1537,
12,
780,
15434,
16,
25803,
460,
13,
288,
202,
542,
1537,
12,
1401,
529,
16,
460,
16,
300,
21,
1769,
565,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
1537,
12,
780,
15434,
16,
25803,
460,
13,
288,
202,
542,
1537,
12,
1401,
529,
16,
460,
16,
300,
21,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Adventure skiAdventure = SampleData.WINTER_HOLIDAY; | IObservableList lodgings = BeansObservables.observeList(Realm .getDefault(), catalog, "lodgings"); ObservableListContentProvider contentProvider = new ObservableListContentProvider(); | public void test_ROCombo_Scenario03_vanilla() { Adventure skiAdventure = SampleData.WINTER_HOLIDAY; // selection will // change its defaultLodging cviewer.setLabelProvider(lodgingLabelProvider); // Bind the ComboViewer's content to the available lodging cviewer.setContentProvider(... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a469cb14d7815f1d5dea6c4a44ea9ea80e229bed/ComboScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ComboScenarios.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
1457,
16156,
67,
21390,
4630,
67,
90,
26476,
1435,
288,
3639,
4052,
616,
594,
4343,
77,
1871,
616,
594,
273,
11474,
751,
18,
59,
9125,
67,
44,
1741,
734,
5255,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
67,
1457,
16156,
67,
21390,
4630,
67,
90,
26476,
1435,
288,
3639,
4052,
616,
594,
4343,
77,
1871,
616,
594,
273,
11474,
751,
18,
59,
9125,
67,
44,
1741,
734,
5255,
31,
... |
return rs.getString( "sysdata_value" ); | return new Table_users( rs ); | public Object mapOneRow( ResultSet rs ) throws SQLException { return rs.getString( "sysdata_value" ); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1006917dfe63a5d85d047011540205a2b02407a8/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
852,
3335,
1999,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
3555,
67,
5577,
12,
3597,
11272,
5411,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
852,
3335,
1999,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
3555,
67,
5577,
12,
3597,
11272,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
msg = pg_stream.ReceiveString(4096); | msg = pg_stream.ReceiveString(receive_sbuf,4096,getEncoding()); | public java.sql.ResultSet ExecSQL(String sql) throws SQLException { // added Oct 7 1998 to give us thread safety. synchronized(pg_stream) { Field[] fields = null; Vector tuples = new Vector(); byte[] buf = null; int fqp = 0; boolean hfr = false; String recv_status = null, msg; in... | 45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/f41dcbe4d810f0906f43d1b345cf506d72c792ac/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
4669,
18,
13198,
3889,
3997,
12,
780,
1847,
13,
1216,
6483,
565,
288,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
18,
202,
22043,
12,
8365,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2252,
18,
4669,
18,
13198,
3889,
3997,
12,
780,
1847,
13,
1216,
6483,
565,
288,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
18,
202,
22043,
12,
8365,
67,
... |
assertStatusContains(parser.getStatus(), "Invalid kind"); | StatusCheck.assertStatusContains(parser.getStatus(), "Invalid kind"); | public void testLeafTaskInvalidKind() { assertNull(parseTestFile("LeafTaskInvalidKind.xml")); assertEquals(IStatus.ERROR, parser.getStatus().getSeverity()); assertStatusContains(parser.getStatus(), "Invalid kind"); } | 13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/d0e465b219e69c0f5651f0f117339d9894cd4bef/TestCompositeParser.java/buggy/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestCompositeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9858,
2174,
1941,
5677,
1435,
288,
202,
202,
11231,
2041,
12,
2670,
4709,
812,
2932,
9858,
2174,
1941,
5677,
18,
2902,
7923,
1769,
202,
202,
11231,
8867,
12,
45,
1482... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9858,
2174,
1941,
5677,
1435,
288,
202,
202,
11231,
2041,
12,
2670,
4709,
812,
2932,
9858,
2174,
1941,
5677,
18,
2902,
7923,
1769,
202,
202,
11231,
8867,
12,
45,
1482... |
boolean didRelayout = false; | boolean clearedPage = false; int clearDelta = 0; | private static void positionFloatOnPage( final LayoutContext c, FloatedBlockContent content, LineBox curr_line, FloatedBlockBox block, boolean movedVertically) { boolean didRelayout = false; if (block.getStyle().isForcePageBreakBefore() || (block.getStyle... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/868e29fe0bd81b55cbd739f60feedbe5488f9adb/LayoutUtil.java/clean/src/java/org/xhtmlrenderer/layout/LayoutUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1754,
4723,
1398,
1964,
12,
5411,
727,
9995,
1042,
276,
16,
478,
383,
690,
1768,
1350,
913,
16,
2398,
5377,
3514,
4306,
67,
1369,
16,
478,
383,
690,
1768,
3514,
1203,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1754,
4723,
1398,
1964,
12,
5411,
727,
9995,
1042,
276,
16,
478,
383,
690,
1768,
1350,
913,
16,
2398,
5377,
3514,
4306,
67,
1369,
16,
478,
383,
690,
1768,
3514,
1203,
16... |
String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( ); | String webappLocation = Platform.asLocalURL( Platform.resolve( webappURL ) ).getFile( ); | private static IPath getWebappPath( String pluginId, IPath path ) throws CoreException { Bundle bundle = Platform.getBundle( pluginId ); if ( bundle == null ) { throw new CoreException( new Status( IStatus.ERROR, ViewerPlugin.PLUGIN_ID, IStatus.OK, ViewerPlugin.getFormattedResourceString("viewer.app... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3ff8c8c7dcc1456137e4ae046739e5dc4d3f729d/WebappAccessor.java/clean/viewer/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/WebappAccessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
467,
743,
20312,
2910,
743,
12,
514,
1909,
548,
16,
467,
743,
589,
262,
1082,
202,
15069,
30015,
202,
95,
202,
202,
3405,
3440,
273,
11810,
18,
588,
3405,
12,
1909,
548,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
467,
743,
20312,
2910,
743,
12,
514,
1909,
548,
16,
467,
743,
589,
262,
1082,
202,
15069,
30015,
202,
95,
202,
202,
3405,
3440,
273,
11810,
18,
588,
3405,
12,
1909,
548,... |
if ( this.getSelected() == 0 && request.getType() == RequestConstants.REQ_SELECTION ) | if ( this.getSelected() == 0 && isActive() && request.getType() == RequestConstants.REQ_SELECTION ) | public void showTargetFeedback(Request request) { if ( this.getSelected() == 0 && request.getType() == RequestConstants.REQ_SELECTION ) { this.getViewer().setCursor( ReportPlugin.getDefault().getCellCursor() ); } super.showTargetFeedback( request ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d83e9ce357552ccee889709a0e69d109f4dcfa0b/TableCellEditPart.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/TableCellEditPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2405,
2326,
15888,
12,
691,
590,
13,
202,
95,
202,
565,
309,
261,
333,
18,
588,
7416,
1435,
422,
374,
597,
590,
18,
588,
559,
1435,
422,
1567,
2918,
18,
20373,
67,
1090... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2405,
2326,
15888,
12,
691,
590,
13,
202,
95,
202,
565,
309,
261,
333,
18,
588,
7416,
1435,
422,
374,
597,
590,
18,
588,
559,
1435,
422,
1567,
2918,
18,
20373,
67,
1090... |
default : | default : | private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2){ switch(hiByte) { case 0: return ((jjbitVec2[i2] & l2) != 0L); default : if ((jjbitVec0[i1] & l1) != 0L) return true; return false; }} | 4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAParserTokenManager.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
760,
727,
1250,
10684,
2568,
7607,
67,
20,
12,
474,
10118,
3216,
16,
509,
277,
21,
16,
509,
277,
22,
16,
1525,
328,
21,
16,
1525,
328,
22,
15329,
282,
1620,
12,
12266,
3216,
13,
282,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
760,
727,
1250,
10684,
2568,
7607,
67,
20,
12,
474,
10118,
3216,
16,
509,
277,
21,
16,
509,
277,
22,
16,
1525,
328,
21,
16,
1525,
328,
22,
15329,
282,
1620,
12,
12266,
3216,
13,
282,... |
public String getSCDRunnableCommand() { | public String getSCDRunnableCommand(boolean quoteIncludePaths) { | public String getSCDRunnableCommand() { String commandAsString = new String(); for (Iterator i = compilerCommand.iterator(); i.hasNext(); ) { KVStringPair optionPair = (KVStringPair)i.next(); if (optionPair.getKey().equals(SCDOptionsEnum.COMMAND.toString())) { commandAsString += optionPai... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/346e8f27c9b46a93a67ee8bf34e5fff556bf6893/CCommandDSC.java/buggy/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/util/CCommandDSC.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1322,
10160,
20013,
2189,
1435,
288,
202,
202,
780,
1296,
8092,
273,
394,
514,
5621,
202,
202,
1884,
261,
3198,
277,
273,
5274,
2189,
18,
9838,
5621,
277,
18,
5332,
2134,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1322,
10160,
20013,
2189,
1435,
288,
202,
202,
780,
1296,
8092,
273,
394,
514,
5621,
202,
202,
1884,
261,
3198,
277,
273,
5274,
2189,
18,
9838,
5621,
277,
18,
5332,
2134,
... |
while(I.hasNext()){ | while (I.hasNext()) { | private DropdownMenu getTagDrop(String name,int iCategoryId){ List L = ContractFinder.listOfContractTagsInUse(iCategoryId); DropdownMenu drp = new DropdownMenu(name); drp.addMenuElementFirst("tag",iwrb.getLocalizedString("tags","Tags")); if(L!=null){ java.util.Iterator I = L.iterator(); while(I.hasNext())... | 13540 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13540/05d1d81503aac633fe98b577b342917ea27752d2/ContractTextSetter.java/clean/src/java/com/idega/block/contract/presentation/ContractTextSetter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
10895,
2378,
4599,
11362,
7544,
12,
780,
508,
16,
474,
277,
21197,
15329,
202,
202,
682,
511,
273,
13456,
8441,
18,
1098,
951,
8924,
3453,
15435,
12,
77,
21197,
1769,
565,
10895,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10895,
2378,
4599,
11362,
7544,
12,
780,
508,
16,
474,
277,
21197,
15329,
202,
202,
682,
511,
273,
13456,
8441,
18,
1098,
951,
8924,
3453,
15435,
12,
77,
21197,
1769,
565,
10895,
23... |
if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); } this.callbackTypes = CallbackInfo.determineTypes(callbackTypes); | if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); | public void setCallbackTypes(Class[] callbackTypes) { if (callbackTypes != null && callbackTypes.length == 0) { throw new IllegalArgumentException("Array cannot be empty"); } this.callbackTypes = CallbackInfo.determineTypes(callbackTypes); } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4c632c609488fb8900f7eb5390cd16cbaaf04adf/AdvancedEnhancer.java/clean/source/net/sf/cglib/proxy/AdvancedEnhancer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2428,
2016,
12,
797,
8526,
1348,
2016,
13,
288,
3639,
309,
261,
3394,
2016,
480,
446,
597,
1348,
2016,
18,
2469,
422,
374,
13,
288,
5411,
604,
394,
2754,
2932,
1076,
278... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
2428,
2016,
12,
797,
8526,
1348,
2016,
13,
288,
3639,
309,
261,
3394,
2016,
480,
446,
597,
1348,
2016,
18,
2469,
422,
374,
13,
288,
5411,
604,
394,
2754,
2932,
1076,
278... |
bw.write("FORCE=" + (this.forceCompile ? "1" : "0")); | bw.write("FORCECOMPILE=" + (this.forceCompile ? "1" : "0")); | private void writeParams() throws BuildException { try { BufferedWriter bw = new BufferedWriter(new FileWriter(params)); bw.write("FILESETS=" + fsList.getAbsolutePath()); bw.newLine(); bw.write("OUTPUTDIR=" + destDir.getAbsolutePath()); bw.newLine(); ... | 47244 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47244/6c0d1fd5fb6d9c7557daa8a2e402671fc9dfdbb9/PCTCompile.java/clean/src/java/com/phenix/pct/PCTCompile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
1370,
1435,
1216,
18463,
288,
3639,
775,
288,
5411,
22490,
12986,
273,
394,
22490,
12,
2704,
24639,
12,
2010,
10019,
5411,
12986,
18,
2626,
2932,
3776,
28092,
1546,
397,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1370,
1435,
1216,
18463,
288,
3639,
775,
288,
5411,
22490,
12986,
273,
394,
22490,
12,
2704,
24639,
12,
2010,
10019,
5411,
12986,
18,
2626,
2932,
3776,
28092,
1546,
397,
26... |
private void processAddToGroupNode(AnAction action, Element element) { if (LOG.isDebugEnabled()) { LOG.debug("enter: processAddToGroupNode(" + action + "," + element.getName() + ")"); } // Real subclasses of AnAction should not be here if (!(action instanceof Separator)) { assertActionIsGroupOrS... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
2567,
986,
774,
1114,
907,
12,
979,
1803,
1128,
16,
1046,
2956,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
986,
774,
1114,
907,
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,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
2567,
986,
774,
1114,
907,
12,
979,
1803,
1128,
16,
1046,
2956,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
986,
774,
1114,
907,
2... | ||
String path = Generator2.getCodePath(cls); | String path = GeneratorManager.getCodePath(cls); | private boolean isCodeRelevantClassifier(Object/*MClassifier*/ cls) { if (cls == null) { return false; } if (!Model.getFacade().isAClass(cls) && !Model.getFacade().isAInterface(cls)) { return false; } String path = Generator2.getCodePath(cls);... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/c99b75760de33eb52c56d9340ec1a41960167d4f/ActionGenerateProjectCode.java/clean/src_new/org/argouml/uml/ui/ActionGenerateProjectCode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
1085,
17018,
7445,
13860,
12,
921,
20308,
49,
13860,
5549,
2028,
13,
288,
3639,
309,
261,
6429,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
16051,
1488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
353,
1085,
17018,
7445,
13860,
12,
921,
20308,
49,
13860,
5549,
2028,
13,
288,
3639,
309,
261,
6429,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
16051,
1488,
... |
Object rval = execSub(cx, thisObj, args, funObj, true, funObj); | Object rval = execSub(cx, thisObj, args, funObj, TEST, funObj); | public static Object test(Context cx, Scriptable thisObj, Object[] args, Function funObj) { Object rval = execSub(cx, thisObj, args, funObj, true, funObj); if (rval == null || !rval.equals(Boolean.TRUE)) rval = Boolean.FALSE; return rval; } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/9d8af8e17d97d2f8879112efae076088793bcb6f/NativeRegExp.java/buggy/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
1842,
12,
1042,
9494,
16,
22780,
15261,
16,
17311,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
288,
3639,
1033,
14267,
273,
1196,
1676,
12,
71,
92,
16,
15261,
16,
833,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
12,
1042,
9494,
16,
22780,
15261,
16,
17311,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
288,
3639,
1033,
14267,
273,
1196,
1676,
12,
71,
92,
16,
15261,
16,
833,
1... |
public void init(IExtensionStateModel aStateModel, IMemento aMemento) { | public void init(IExtensionStateModel aStateModel, IMemento aMemento) { | public void init(IExtensionStateModel aStateModel, IMemento aMemento) { } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c93d807ed962723d90daba76fc2003e2c1801cbc/SkeletonTreeContentProvider.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/SkeletonTreeContentProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
45,
3625,
1119,
1488,
279,
1119,
1488,
16,
6246,
820,
83,
279,
49,
820,
83,
13,
288,
1875,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
45,
3625,
1119,
1488,
279,
1119,
1488,
16,
6246,
820,
83,
279,
49,
820,
83,
13,
288,
1875,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if ( m_AutoResponse == null) { | if (m_AutoResponse == null) { | public void getAutoresponse(Commandline cmd) { if ( m_AutoResponse == null) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_DEF); } else if ( m_AutoResponse.equalsIgnoreCase("Y")) { cmd.createArgument().setValue(FLAG_AUTORESPONSE_YES); } else if ( m_AutoResponse.equalsIg... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/MSVSSCHECKOUT.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26707,
2740,
12,
2189,
1369,
1797,
13,
288,
3639,
309,
261,
81,
67,
4965,
1064,
422,
446,
13,
288,
5411,
1797,
18,
2640,
1379,
7675,
542,
620,
12,
9651,
67,
37,
1693,
8607,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26707,
2740,
12,
2189,
1369,
1797,
13,
288,
3639,
309,
261,
81,
67,
4965,
1064,
422,
446,
13,
288,
5411,
1797,
18,
2640,
1379,
7675,
542,
620,
12,
9651,
67,
37,
1693,
8607,
... |
} else if (IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = preferenceStore.getBoolean(IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS); | } else if (IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { boolean traditionalTab = apiPreferenceStore.getBoolean(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS); | public void propertyChange(PropertyChangeEvent propertyChangeEvent) { if (IPreferenceConstants.VIEW_TAB_POSITION.equals(propertyChangeEvent.getProperty()) && !isDisposed()) { int tabLocation = preferenceStore.getInt(IPreferenceConstants.VIEW_TAB_POSITION); getTabFolder().setTabPosition(tabLocation); } else... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4c0c864491ea8f27d7773b211ddae0e40a81354f/PartTabFolderPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PartTabFolderPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1272,
3043,
12,
1396,
20930,
1272,
20930,
13,
288,
1082,
202,
430,
261,
45,
9624,
2918,
18,
12145,
67,
28899,
67,
15258,
18,
14963,
12,
4468,
20930,
18,
588,
1396,
10756,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1272,
3043,
12,
1396,
20930,
1272,
20930,
13,
288,
1082,
202,
430,
261,
45,
9624,
2918,
18,
12145,
67,
28899,
67,
15258,
18,
14963,
12,
4468,
20930,
18,
588,
1396,
10756,
... |
throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor.getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final SearchScope useS... | throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor .getPsiElement(); final PsiClass innerClass = (PsiClass) classNameToken.getParent(); assert innerClass != null; final PsiManager manager = innerClass.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelp... | public void doFix(Project project, ProblemDescriptor descriptor) throws IncorrectOperationException{ final PsiJavaToken classNameToken = (PsiJavaToken) descriptor.getPsiElement(); final PsiClass innerClass = (PsiCl... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/bd57f07c33c419f20715b114b71a7e93425b34c9/InnerClassMayBeStaticInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/InnerClassMayBeStaticInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
741,
8585,
12,
4109,
1984,
16,
21685,
3187,
4950,
13,
28524,
540,
1216,
657,
6746,
10602,
95,
5411,
727,
453,
7722,
5852,
1345,
2658,
1345,
273,
261,
52,
7722,
5852,
1345,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
741,
8585,
12,
4109,
1984,
16,
21685,
3187,
4950,
13,
28524,
540,
1216,
657,
6746,
10602,
95,
5411,
727,
453,
7722,
5852,
1345,
2658,
1345,
273,
261,
52,
7722,
5852,
1345,
13,
... |
if (iSeries != null) { return iSeries.length; | if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; | public int getLength() { if (iSeries != null) { return iSeries.length; } if (sSeries != null) { return sSeries.length; } if (fSeries != null) { return fSeries.length; } if (dSeries != null) { return dSeries.length; } return 0; } | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05e078356cbf684ec12612d15c6a53faa346f073/Statistics.java/buggy/src/edu/sc/seis/fissuresUtil/bag/Statistics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9888,
1435,
288,
565,
309,
261,
77,
6485,
480,
446,
13,
288,
3639,
327,
277,
6485,
18,
2469,
31,
565,
289,
565,
309,
261,
87,
6485,
480,
446,
13,
288,
3639,
327,
272,
6485,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9888,
1435,
288,
565,
309,
261,
77,
6485,
480,
446,
13,
288,
3639,
327,
277,
6485,
18,
2469,
31,
565,
289,
565,
309,
261,
87,
6485,
480,
446,
13,
288,
3639,
327,
272,
6485,... |
if (!(element instanceof ITaskListCategory) && !(element instanceof IQuery)) { manager.add(activateAction); manager.add(deactivateAction); | if ((element instanceof ITask) || (element instanceof IQueryHit)) { ITask task = null; if (element instanceof IQueryHit) { task = ((IQueryHit)element).getOrCreateCorrespondingTask(); } else { task = (ITask)element; } if (task.isActive()) { manager.add(deactivateAction); } else { manager.add(activateAction); } | void fillContextMenu(IMenuManager manager) { updateDrillDownActions(); ITaskListElement element = null;; final Object selectedObject = ((IStructuredSelection)getViewer().getSelection()).getFirstElement(); if (selectedObject instanceof ITaskListElement) { element = (ITaskListElemen... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/73fe837e24d18f3f28b242f55d664e81d02c4868/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3636,
27315,
12,
3445,
2104,
1318,
3301,
13,
288,
377,
202,
2725,
8956,
737,
4164,
6100,
5621,
377,
202,
377,
202,
1285,
835,
682,
1046,
930,
273,
446,
25708,
3639,
727,
1033,
3170,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3636,
27315,
12,
3445,
2104,
1318,
3301,
13,
288,
377,
202,
2725,
8956,
737,
4164,
6100,
5621,
377,
202,
377,
202,
1285,
835,
682,
1046,
930,
273,
446,
25708,
3639,
727,
1033,
3170,
... |
ExecSQL("begin"); | ExecSQL(null, "begin"); | public void commit() throws SQLException { if (autoCommit) return; ExecSQL("commit"); autoCommit = true; ExecSQL("begin"); autoCommit = false; } | 45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/Connection.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3294,
1435,
1216,
6483,
225,
288,
565,
309,
261,
6079,
5580,
13,
1377,
327,
31,
565,
3889,
3997,
2932,
7371,
8863,
565,
3656,
5580,
273,
638,
31,
565,
3889,
3997,
12,
2011,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3294,
1435,
1216,
6483,
225,
288,
565,
309,
261,
6079,
5580,
13,
1377,
327,
31,
565,
3889,
3997,
2932,
7371,
8863,
565,
3656,
5580,
273,
638,
31,
565,
3889,
3997,
12,
2011,
1... |
void INT_stddev_using_precalc_ma( double inReal[], double inMovAvg[], int inMovAvgBegIdx, int inMovAvgNbElement, int timePeriod, double output[] ){ double tempReal, periodTotal2, meanValue2; int outIdx; int startSum, endSum; startSum = 1+inMovAvgBegIdx-timePeriod; endSum = inMovAvgBegIdx; periodTotal2 = 0; for( outId... | 2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/69e0567047ad75d101e30d35826ecbb51165ba43/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
3217,
67,
27661,
67,
9940,
67,
1484,
12448,
67,
2540,
12,
9056,
267,
6955,
63,
6487,
9056,
267,
49,
1527,
22823,
63,
6487,
474,
267,
49,
1527,
22823,
24059,
4223,
16,
474,
267,
49,
1527... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
3217,
67,
27661,
67,
9940,
67,
1484,
12448,
67,
2540,
12,
9056,
267,
6955,
63,
6487,
9056,
267,
49,
1527,
22823,
63,
6487,
474,
267,
49,
1527,
22823,
24059,
4223,
16,
474,
267,
49,
1527... | ||
((IStructuredSelection)selection).getFirstElement() instanceof TreeObject && ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode(); | ((IStructuredSelection)selection).getFirstElement() instanceof DOMASTNodeLeaf && ((DOMASTNodeLeaf)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { IASTName name = (IASTName)((DOMASTNodeLeaf)((IStructuredSelection)selection).getFirstElement()).getNode(); | public void run() { ISelection selection = viewer.getSelection(); if (selection instanceof IStructuredSelection && ((IStructuredSelection)selection).getFirstElement() instanceof TreeObject && ((TreeObject)((IStructuredSelection)selection).getFirstElement()).getNode() instanceof IASTName) { ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7a1f792fe6a4780bc309b94ddba65d9b41a96fd7/DOMAST.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/DOMAST.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
1377,
202,
45,
6233,
4421,
273,
14157,
18,
588,
6233,
5621,
1377,
202,
430,
261,
10705,
1276,
467,
30733,
6233,
597,
1377,
1082,
202,
12443,
45,
30733,
623... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
1435,
288,
1377,
202,
45,
6233,
4421,
273,
14157,
18,
588,
6233,
5621,
1377,
202,
430,
261,
10705,
1276,
467,
30733,
6233,
597,
1377,
1082,
202,
12443,
45,
30733,
623... |
fAnimation.setImageTemplate("/grendel/ui/images/animation/Contest{0,number,00}.gif", | fAnimation.setImageTemplate("ui/images/animation/Contest{0,number,00}.gif", | public GeneralFrame(String aTitle, String aID) { fThis = this; fID = aID; String title = aTitle; try { title = fLabels.getString(title); } catch (MissingResourceException e) {} setTitle(title); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { dis... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/dba8c3b6ca55297114840a7e8d6a99e1d87d27cb/GeneralFrame.java/buggy/grendel/sources/grendel/ui/GeneralFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9544,
3219,
12,
780,
279,
4247,
16,
514,
279,
734,
13,
288,
565,
284,
2503,
273,
333,
31,
565,
284,
734,
273,
279,
734,
31,
565,
514,
2077,
273,
279,
4247,
31,
565,
775,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9544,
3219,
12,
780,
279,
4247,
16,
514,
279,
734,
13,
288,
565,
284,
2503,
273,
333,
31,
565,
284,
734,
273,
279,
734,
31,
565,
514,
2077,
273,
279,
4247,
31,
565,
775,
288,
... |
return getIdValue(id, start); | return getIdValue(id); | public Object get(String name, Scriptable start) { if (maxId != 0) { int id = getId(name); if (id != 0) { Object[] data = idMapData; if (data == null) { return getIdValue(id, start); } else { ... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/3db7f50283cb2dd0859494c7e36c278004f2f6a8/IdScriptable.java/buggy/src/org/mozilla/javascript/IdScriptable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
309,
261,
1896,
548,
480,
374,
13,
288,
5411,
509,
612,
273,
2634,
12,
529,
1769,
5411,
309,
261,
350,
480,
374,
13,
288,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
336,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
309,
261,
1896,
548,
480,
374,
13,
288,
5411,
509,
612,
273,
2634,
12,
529,
1769,
5411,
309,
261,
350,
480,
374,
13,
288,... |
if (y instanceof Complex) return add (this, (Complex) y, k); return ((Numeric)y).add_reversed (this, k); | return Complex.make (RealNum.add(x.re(), y.re(), k), RealNum.add(x.im(), y.im(), k)); | public Numeric add (Object y, int k) { if (y instanceof Complex) return add (this, (Complex) y, k); return ((Numeric)y).add_reversed (this, k); } | 40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/574164486706f277677c0e9fe01d898bd9abc03a/Complex.java/buggy/gnu/math/Complex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16980,
527,
261,
921,
677,
16,
509,
417,
13,
225,
288,
565,
309,
261,
93,
1276,
16060,
13,
1377,
327,
527,
261,
2211,
16,
261,
12795,
13,
677,
16,
417,
1769,
565,
327,
14015,
99... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
16980,
527,
261,
921,
677,
16,
509,
417,
13,
225,
288,
565,
309,
261,
93,
1276,
16060,
13,
1377,
327,
527,
261,
2211,
16,
261,
12795,
13,
677,
16,
417,
1769,
565,
327,
14015,
99... |
TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); } | TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSelection(newItems); } | protected void setSelection(List items) { Item[] current = getSelection(getTree()); //Don't bother resetting the same selection if (isSameSelection(items, current)) return; TreeItem[] newItems = new TreeItem[items.size()]; items.toArray(newItems); getTree().setSe... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d94e309c616b79ca7e205fa94a5f9687ffcbe4f8/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
6233,
12,
682,
1516,
13,
288,
3639,
4342,
8526,
783,
273,
23204,
12,
588,
2471,
10663,
3639,
368,
22293,
1404,
23440,
30691,
326,
1967,
4421,
3639,
309,
261,
291,
8650,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
6233,
12,
682,
1516,
13,
288,
3639,
4342,
8526,
783,
273,
23204,
12,
588,
2471,
10663,
3639,
368,
22293,
1404,
23440,
30691,
326,
1967,
4421,
3639,
309,
261,
291,
8650,
62... |
if (htmlMsg.length() > 0 || !m_attachments.isEmpty()) { email = new CmsHtmlMail(); ((CmsHtmlMail)email).setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient)); | if ((htmlMsg.length() > 0) || !m_attachments.isEmpty()) { CmsHtmlMail htmlMail = new CmsHtmlMail(); htmlMail.setHtmlMsg(replaceMacros(htmlMsg.toString(), recipient)); | public Email getEmail(CmsObject cms, I_CmsNewsletterRecipient recipient) throws MessagingException, CmsException { StringBuffer htmlMsg = new StringBuffer(1024); StringBuffer txtMsg = new StringBuffer(1024); Iterator contents = m_contents.iterator(); while (contents.hasNext()) { ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/4284dbc36f3fe9a49e28198378e30ed5d1a83773/CmsNewsletter.java/clean/src/org/opencms/newsletter/CmsNewsletter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8166,
17297,
12,
4747,
921,
6166,
16,
467,
67,
4747,
17948,
13449,
18241,
8027,
13,
1216,
23794,
503,
16,
11228,
288,
3639,
6674,
1729,
3332,
273,
394,
6674,
12,
2163,
3247,
1769,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8166,
17297,
12,
4747,
921,
6166,
16,
467,
67,
4747,
17948,
13449,
18241,
8027,
13,
1216,
23794,
503,
16,
11228,
288,
3639,
6674,
1729,
3332,
273,
394,
6674,
12,
2163,
3247,
1769,
3... |
} else{ | } else { | private List getVirtualSelection() { List result = new ArrayList(); int[] selectionIndices = getTable().getSelectionIndices(); if(getContentProvider() instanceof ILazyContentProvider){ ILazyContentProvider lazy = (ILazyContentProvider) getContentProvider(); for (int i = 0; i < selectionIndices.length; i++) {... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/72b02dfa9a75652d45af68d329d447e0e8bbe40d/TableViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
336,
6466,
6233,
1435,
288,
9506,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
474,
8526,
4421,
8776,
273,
5638,
7675,
588,
6233,
8776,
5621,
3196,
202,
430,
12,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
336,
6466,
6233,
1435,
288,
9506,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
474,
8526,
4421,
8776,
273,
5638,
7675,
588,
6233,
8776,
5621,
3196,
202,
430,
12,
588,
... |
protected synchronized int next(int bits) { //Logger.minor(this,"In "+this+" next("+bits+")"); int[] parameters = bitTable[bits]; int offset = getBytes(parameters[0]); int val = output_buffer[offset]; if (parameters[0] == 4) val += (output_buffer[offset + 1] << 24) + (output_buffer[offset + 2] << 16) +... | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/bc50c0ab3552700dd11500ebecd9c37ad70a191e/Yarrow.java/buggy/src/freenet/crypt/Yarrow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
22043,
474,
4285,
12,
474,
6789,
15329,
202,
759,
3328,
18,
17364,
12,
2211,
10837,
382,
6,
15,
2211,
9078,
4285,
2932,
15,
6789,
9078,
2225,
1769,
202,
202,
474,
8526,
3977,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22043,
474,
4285,
12,
474,
6789,
15329,
202,
759,
3328,
18,
17364,
12,
2211,
10837,
382,
6,
15,
2211,
9078,
4285,
2932,
15,
6789,
9078,
2225,
1769,
202,
202,
474,
8526,
3977,
... | ||
existing.addElement(_stackTopTemplate); | existing.addElement(_currentTemplate); | public void endElement(java.lang.String name) { if(_stackTopTemplate != null) { String body = _stackTopTemplate.getBody().trim(); body = expandMacros(body); _stackTopTemplate.setBody(body); Class classObj = _stackTopTemplate.getClass(); Vector existing = (Vector) _templates.get(classObj); ... | 1732 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1732/c9a732c3347ebfb5f4e93bc0b0c749a5b14a1c95/TemplateReader.java/buggy/src/org/tigris/gef/ocl/TemplateReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
14840,
12,
6290,
18,
4936,
18,
780,
508,
13,
288,
565,
309,
24899,
3772,
3401,
2283,
480,
446,
13,
288,
1377,
514,
1417,
273,
389,
3772,
3401,
2283,
18,
588,
2250,
7675,
5290... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14840,
12,
6290,
18,
4936,
18,
780,
508,
13,
288,
565,
309,
24899,
3772,
3401,
2283,
480,
446,
13,
288,
1377,
514,
1417,
273,
389,
3772,
3401,
2283,
18,
588,
2250,
7675,
5290... |
ctx.println("<a href='" + ctx.url() + "&do=list'>[Manage " + ctx.session.user.org + " Users]</a>"); | ctx.println("<a href='" + ctx.url() + ctx.urlConnector() +"do=list'>[Manage " + ctx.session.user.org + " Users]</a>"); | public void printUserMenu(WebContext ctx) { ctx.println("<b>Welcome " + ctx.session.user.name + " (" + ctx.session.user.org + ") !</b>"); ctx.println("<a href=\"" + ctx.base() + "?s="+SURVEYTOOL_COOKIE_NONE+"\">[Sign Out (Session remains active)]</a><br/>"); if(UserRegistry.userIsAdmin(ctx.sess... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/d99f45a31f02fcac5c82ee137c8dde03d6babbc5/SurveyMain.java/buggy/tools/java/org/unicode/cldr/web/SurveyMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
1299,
4599,
12,
4079,
1042,
1103,
13,
288,
3639,
1103,
18,
8222,
2932,
32,
70,
34,
59,
16312,
315,
397,
1103,
18,
3184,
18,
1355,
18,
529,
397,
315,
7566,
397,
1103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1172,
1299,
4599,
12,
4079,
1042,
1103,
13,
288,
3639,
1103,
18,
8222,
2932,
32,
70,
34,
59,
16312,
315,
397,
1103,
18,
3184,
18,
1355,
18,
529,
397,
315,
7566,
397,
1103,
... |
} else{ | } else { | public void read(String filename) { try{ FileReader f = new FileReader(filename); BufferedReader fr = new BufferedReader(f); String line = ""; String content = ""; boolean in_section = false; while (line != null){ li... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/AbstractSection.java/clean/src_new/org/argouml/uml/generator/AbstractSection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
855,
12,
780,
1544,
13,
288,
3639,
775,
95,
13491,
23010,
284,
273,
394,
23010,
12,
3459,
1769,
5411,
10633,
3812,
273,
394,
10633,
12,
74,
1769,
5411,
514,
980,
273,
1408,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
855,
12,
780,
1544,
13,
288,
3639,
775,
95,
13491,
23010,
284,
273,
394,
23010,
12,
3459,
1769,
5411,
10633,
3812,
273,
394,
10633,
12,
74,
1769,
5411,
514,
980,
273,
1408,
3... |
public int hashCode() | public int hashCode() | public int hashCode() { if (id == null) return 0; else return id.intValue(); } | 5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/ItemPK.java/clean/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/ItemPK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
13374,
1435,
282,
288,
565,
309,
261,
350,
422,
446,
13,
1377,
327,
374,
31,
565,
469,
1377,
327,
612,
18,
474,
620,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
13374,
1435,
282,
288,
565,
309,
261,
350,
422,
446,
13,
1377,
327,
374,
31,
565,
469,
1377,
327,
612,
18,
474,
620,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:924:17: (id= ID | 'import' | 'use' | 'rule' | 'que... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/31d63bcc9d3d8766c62d2c237554a38462a57456/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2076,
1435,
1216,
9539,
288,
6647,
514,
2076,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
3155,
609,
33,
2011,
31,
540,
202,
202,
1095,
273,
446,
31,
540,
202,
3639,
775,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2076,
1435,
1216,
9539,
288,
6647,
514,
2076,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
3155,
609,
33,
2011,
31,
540,
202,
202,
1095,
273,
446,
31,
540,
202,
3639,
775,
288,
... | ||
java.sql.ResultSet r = connection.ExecSQL("SELECT relname, relacl FROM pg_class, pg_user WHERE ( relkind = 'r' OR relkind = 'i') and relname !~ '^pg_' and relname !~ '^xin[vx][0-9]+' and usesysid = relowner and relname like '" + tableNamePattern.toLowerCase() + "' ORDER BY relname"); while (r.next()) { byte[][] tuple ... | if (tableNamePattern != null && !"".equals(tableNamePattern)) { sql += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern.toLowerCase())+"' "; } sql += " ORDER BY nspname, relname "; | public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { Field f[] = new Field[8]; Vector v = new Vector(); if (tableNamePattern == null) tableNamePattern = "%"; f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new... | 45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
5638,
27692,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
28,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
5638,
27692,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
28,
1... |
adjunctContributions.remove(item); } | adjunctContributions.remove(item); } | /* package */void removeAdjunctContribution(ContributionItem item) { adjunctContributions.remove(item); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f1c8b0aa355c00a6c82a289c808984de6778bfca/ActionSetActionBars.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionSetActionBars.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1748,
2181,
1195,
6459,
1206,
17886,
6931,
442,
4027,
12,
442,
4027,
1180,
761,
13,
288,
3639,
8307,
6931,
442,
15326,
18,
4479,
12,
1726,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
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,
1748,
2181,
1195,
6459,
1206,
17886,
6931,
442,
4027,
12,
442,
4027,
1180,
761,
13,
288,
3639,
8307,
6931,
442,
15326,
18,
4479,
12,
1726,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,... |
} Item[] items = getRootItems(); for (int i = 0; i < items.length; i++) { Item item = items[i]; item.screen = this; | public void init() { if (this.style != null) { setStyle( this.style ); } if (this.container != null) { this.container.screen = this; this.container.setVerticalDimensions( 0, this.screenHeight - this.titleHeight ); } // inform all root items that they belong to this screen: Item[] items = getRootItems(); f... | 9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/3363df7fed3f7f6df1d57baf3b197e270665d515/Screen.java/clean/enough-polish-j2me/source/src/de/enough/polish/ui/Screen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
1435,
288,
202,
202,
430,
261,
2211,
18,
4060,
480,
446,
13,
288,
1082,
202,
542,
2885,
12,
333,
18,
4060,
11272,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
3782... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
430,
261,
2211,
18,
4060,
480,
446,
13,
288,
1082,
202,
542,
2885,
12,
333,
18,
4060,
11272,
202,
202,
97,
202,
202,
430,
261,
2211,
18,
3782... | |
if (result != 0) | if (result != 0) { | public static void main(String args[]) { try { if (Boolean.getBoolean("rhino.use_java_policy_security")) { initJavaPolicySecuritySupport(); } }catch (SecurityException ex) { ex.printStackTrace(System.err); } int result = exec(args); ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/51883200681e42e9342202712a313e8f8967c446/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
833,
63,
5717,
288,
3639,
775,
288,
5411,
309,
261,
5507,
18,
588,
5507,
2932,
30138,
15020,
18,
1202,
67,
6290,
67,
5086,
67,
7462,
6,
3719,
288,
7734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
833,
63,
5717,
288,
3639,
775,
288,
5411,
309,
261,
5507,
18,
588,
5507,
2932,
30138,
15020,
18,
1202,
67,
6290,
67,
5086,
67,
7462,
6,
3719,
288,
7734,
... |
return getAttribute("xml:lang"); } | return getAttribute("xml:lang"); } | public String getXmlLang() { return getAttribute("xml:lang"); } | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLTdElementImpl.java/buggy/src/org/apache/wml/dom/WMLTdElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
28504,
7275,
1435,
288,
565,
327,
4061,
2932,
2902,
30,
4936,
8863,
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,... | [
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
28504,
7275,
1435,
288,
565,
327,
4061,
2932,
2902,
30,
4936,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token op=null; Token bvc=null; String lc = null; String rvc = null; PatternDescr d = null; try { // C:\Projects\jboss-rules-new... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/e3fb9256ae6e5fcb8c78a2c3dbd47f678d9b1287/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4954,
12,
682,
6237,
13,
1216,
9539,
288,
6647,
3155,
12754,
33,
2011,
31,
3639,
3155,
284,
33,
2011,
31,
3639,
3155,
1061,
33,
2011,
31,
3639,
3155,
324,
4227,
33,
2011,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4954,
12,
682,
6237,
13,
1216,
9539,
288,
6647,
3155,
12754,
33,
2011,
31,
3639,
3155,
284,
33,
2011,
31,
3639,
3155,
1061,
33,
2011,
31,
3639,
3155,
324,
4227,
33,
2011,
31,... | ||
ISelection selection = viewer.getSelection(); Object obj = ((IStructuredSelection)selection).getFirstElement(); if (obj instanceof ITask) { ((ITask)obj).openTaskInEditor(); } | MylarUiPlugin.getDefault().setFilterCompleteMode(isChecked()); | public void run() { ISelection selection = viewer.getSelection(); Object obj = ((IStructuredSelection)selection).getFirstElement(); if (obj instanceof ITask) { ((ITask)obj).openTaskInEditor(); } viewer.refresh(); ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/048e90ff952c70cf3f93175f8d65b55056736e57/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
467,
6233,
4421,
273,
14157,
18,
588,
6233,
5621,
7734,
1033,
1081,
273,
14015,
45,
30733,
6233,
13,
10705,
2934,
588,
3759,
1046,
5621,
7734,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2398,
1071,
918,
1086,
1435,
288,
7734,
467,
6233,
4421,
273,
14157,
18,
588,
6233,
5621,
7734,
1033,
1081,
273,
14015,
45,
30733,
6233,
13,
10705,
2934,
588,
3759,
1046,
5621,
7734,
309,
261,
... |
public void set(String val) throws InvalidConfigValueException { if(nodeDir.equals(new File(val))) return; throw new InvalidConfigValueException("Moving node directory on the fly not supported at present"); | public void set(int val) throws InvalidConfigValueException { swapInterval.set(val); | public void set(String val) throws InvalidConfigValueException { if(nodeDir.equals(new File(val))) return; // FIXME throw new InvalidConfigValueException("Moving node directory on the fly not supported at present"); } | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/0e73e63698410905555b43e69172b80870e39ae5/Node.java/buggy/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
444,
12,
780,
1244,
13,
1216,
1962,
809,
9738,
288,
25083,
202,
430,
12,
2159,
1621,
18,
14963,
12,
2704,
1387,
12,
1125,
20349,
327,
31,
25083,
202,
759,
9852,
25083,
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,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
444,
12,
780,
1244,
13,
1216,
1962,
809,
9738,
288,
25083,
202,
430,
12,
2159,
1621,
18,
14963,
12,
2704,
1387,
12,
1125,
20349,
327,
31,
25083,
202,
759,
9852,
25083,
2... |
void createNativeProcessors (int needed) { int needToCreate = needed - VM_Scheduler.nativeProcessorQueue.length(); if (needToCreate <= 0) return; // reset startup locks count VM.sysInitializeStartupLocks(needToCreate); while (needToCreate > 0) { VM_Processor processor = VM_Processor.createNativeProc... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d16f62daccb2f310d9be3df28e7179f231e03be4/VM_NativeDaemonThread.java/buggy/rvm/src/vm/scheduler/VM_NativeDaemonThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
918,
282,
752,
9220,
18155,
282,
261,
474,
282,
3577,
13,
282,
288,
5411,
509,
282,
1608,
774,
1684,
282,
273,
282,
3577,
282,
300,
282,
8251,
67,
11870,
18,
13635,
5164,
3183,
18,
246... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
918,
282,
752,
9220,
18155,
282,
261,
474,
282,
3577,
13,
282,
288,
5411,
509,
282,
1608,
774,
1684,
282,
273,
282,
3577,
282,
300,
282,
8251,
67,
11870,
18,
13635,
5164,
3183,
18,
246... | ||
options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_CONTROL_STATEMENTS, JavaCore.DO_NOT_INSERT); | options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE... | public void test289() { Hashtable options = new Hashtable(); options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_CONTROL_STATEMENTS, JavaCore.DO_NOT_INSERT); options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, DefaultCodeFormatterConstants.END_OF_LIN... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/efbaf5f01b1dd1c4f8135936aa48ce411ca71c6c/FormatterRegressionTests.java/buggy/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
6030,
29,
1435,
288,
202,
202,
5582,
14544,
702,
273,
394,
18559,
5621,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
12917,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6030,
29,
1435,
288,
202,
202,
5582,
14544,
702,
273,
394,
18559,
5621,
202,
202,
2116,
18,
458,
12,
1868,
1085,
5074,
2918,
18,
7254,
2560,
67,
11356,
67,
12917,
6... |
protected void activateIdMap() { int max = getMaximumId(); if (max != 0) { idMapData = new Object[max * ID_MULT + VALUE_SHIFT + 1]; } | protected void activateIdMap(Context cx, boolean sealed) { maxId = getMaximumId(); useDynamicScope = cx.hasCompileFunctionsWithDynamicScope(); sealFunctions = sealed; | protected void activateIdMap() { int max = getMaximumId(); if (max != 0) { idMapData = new Object[max * ID_MULT + VALUE_SHIFT + 1]; } } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/d5c6a2fda4600410fcf91dde4a3709ea9429783f/IdScriptable.java/clean/src/org/mozilla/javascript/IdScriptable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
10235,
548,
863,
1435,
288,
3639,
509,
943,
273,
25194,
548,
5621,
3639,
309,
261,
1896,
480,
374,
13,
288,
5411,
612,
863,
751,
273,
394,
1033,
63,
1896,
380,
1599,
67,
1284... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
10235,
548,
863,
1435,
288,
3639,
509,
943,
273,
25194,
548,
5621,
3639,
309,
261,
1896,
480,
374,
13,
288,
5411,
612,
863,
751,
273,
394,
1033,
63,
1896,
380,
1599,
67,
1284... |
return (LocationPath)fLocationPath.clone(); | return (LocationPath)fLocationPaths[0].clone(); | public LocationPath getLocationPath() { return (LocationPath)fLocationPath.clone(); } // getLocationPath(LocationPath) | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1f538f2abc028fd2c3c1b85fdd68ed769609a967/XPath.java/buggy/src/org/apache/xerces/validators/schema/identity/XPath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7050,
743,
13312,
743,
1435,
288,
3639,
327,
261,
2735,
743,
13,
74,
2735,
4466,
63,
20,
8009,
14056,
5621,
565,
289,
368,
13312,
743,
12,
2735,
743,
13,
2,
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,
0,
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,
7050,
743,
13312,
743,
1435,
288,
3639,
327,
261,
2735,
743,
13,
74,
2735,
4466,
63,
20,
8009,
14056,
5621,
565,
289,
368,
13312,
743,
12,
2735,
743,
13,
2,
-100,
-100,
-100,
-100... |
return (! saveOnly) && (outputFile != null) && (outputFile.length() > 0); | boolean hasOutput = false; if ((! saveOnly) && (outputFile != null)) { long len = outputFile.length(); log.debug ("outputFile=" + outputFile.getPath() + ", size=" + len); hasOutput = (len > 0); } log.debug ("hasGeneratedOutput? " + hasOutput); return hasOutput; | public boolean hasGeneratedOutput() { return (! saveOnly) && (outputFile != null) && (outputFile.length() > 0); } | 71 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/71/55492fa6c862b8c76024a0a0ed2ad14b94d92c3d/FileOutputHandler.java/clean/src/org/clapper/curn/output/FileOutputHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
711,
7823,
1447,
1435,
565,
288,
3639,
327,
16051,
1923,
3386,
13,
597,
9079,
261,
2844,
812,
480,
446,
13,
597,
9079,
261,
2844,
812,
18,
2469,
1435,
405,
374,
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,
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,
711,
7823,
1447,
1435,
565,
288,
3639,
327,
16051,
1923,
3386,
13,
597,
9079,
261,
2844,
812,
480,
446,
13,
597,
9079,
261,
2844,
812,
18,
2469,
1435,
405,
374,
1769,
565,
2... |
assertEquals(new String(((Message)sent.getArg()).getBuffer()),"hello"); | assertEquals("hello", new String(((Message)sent.getArg()).getBuffer())); | public void testViewChangeBecomeKeyserver() throws Exception{ // set up the peer ENCRYPT encrypt = new ENCRYPT(); try { encrypt.init(); } catch (Exception e){ fail(e.getMessage()); } // set in the observer MockAddress tempAddress = new MockAddress("encrypt"); encrypt.setLocal_addr(tempAddress); MockObse... | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/28be62b4097e0b01b17ca403d23ca6a4aac01eca/ENCRYPTAsymmetricTest.java/buggy/tests/junit/org/jgroups/protocols/ENCRYPTAsymmetricTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1767,
3043,
38,
557,
1742,
653,
3567,
1435,
1216,
1185,
95,
202,
202,
759,
444,
731,
326,
4261,
202,
202,
1157,
14306,
7347,
273,
394,
6693,
14306,
5621,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1767,
3043,
38,
557,
1742,
653,
3567,
1435,
1216,
1185,
95,
202,
202,
759,
444,
731,
326,
4261,
202,
202,
1157,
14306,
7347,
273,
394,
6693,
14306,
5621,
202,
202,
... |
suffix = s.substring(x); | if(x < (s.length()-1)) suffix = s.substring(x); else suffix = ""; | public DecodedStringThingy(String s) { if(s.startsWith("url(")) { s = s.substring("url(".length()); url = true; } char q = s.charAt(0); if(q == '\'' || q == '\"') { quote = q; s = s.substring(1); } else quote = ' '; StringBuffer buffer = new StringBuffer(); int x = 0; boolean justEscaping ... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/28e3bcfbcfb76cbbc160d6e3a8af9fadf0e03e18/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
6209,
72,
780,
10193,
93,
12,
780,
272,
13,
288,
1082,
202,
430,
12,
87,
18,
17514,
1190,
2932,
718,
2932,
3719,
288,
9506,
202,
87,
273,
272,
18,
28023,
2932,
718,
2932,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6209,
72,
780,
10193,
93,
12,
780,
272,
13,
288,
1082,
202,
430,
12,
87,
18,
17514,
1190,
2932,
718,
2932,
3719,
288,
9506,
202,
87,
273,
272,
18,
28023,
2932,
718,
2932,
1... |
return (RolapMember[]) v.toArray(emptyMemberArray); | RolapMember[] members = new RolapMember[v.size()]; v.copyInto(members); return members; | static final RolapMember[] toArray(List v) { return (RolapMember[]) v.toArray(emptyMemberArray); } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/00b025d7d12a0274bdded1e076a64c2ad4ab20af/RolapUtil.java/buggy/src/main/mondrian/rolap/RolapUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
727,
11714,
438,
4419,
8526,
4434,
12,
682,
331,
13,
202,
95,
202,
202,
2463,
261,
4984,
438,
4419,
63,
5717,
331,
18,
31447,
12,
5531,
4419,
1076,
1769,
202,
97,
2,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
727,
11714,
438,
4419,
8526,
4434,
12,
682,
331,
13,
202,
95,
202,
202,
2463,
261,
4984,
438,
4419,
63,
5717,
331,
18,
31447,
12,
5531,
4419,
1076,
1769,
202,
97,
2,
-100,
... |
uri = project.findMember(raw).getLocationURI(); | fullPath = "/"+project.getName()+"/"+raw; IResource member = project.findMember(raw); uri = member == null ? null : member.getLocationURI(); | public IIndexFileLocation fromInternalFormat(String raw) { String fullPath = null; URI uri; if(raw.startsWith(EXTERNAL)) { try { uri = new URI(raw.substring(EXTERNAL.length())); } catch(URISyntaxException use) { uri = null; } } else { uri = project.findMember(raw).getLocationURI(); } return new I... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/94a253b32742985dc2668c1083f5c88fe0020d04/PDOMProjectIndexLocationConverter.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMProjectIndexLocationConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1016,
812,
2735,
628,
3061,
1630,
12,
780,
1831,
13,
288,
202,
202,
780,
11225,
273,
446,
31,
202,
202,
3098,
2003,
31,
202,
202,
430,
12,
1899,
18,
17514,
1190,
12,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1016,
812,
2735,
628,
3061,
1630,
12,
780,
1831,
13,
288,
202,
202,
780,
11225,
273,
446,
31,
202,
202,
3098,
2003,
31,
202,
202,
430,
12,
1899,
18,
17514,
1190,
12,
22... |
+ keySequenceText + "'. This binding came from preferences."); | + keySequenceText + "': preferences, '" + commandId + "'."); | private static final void readBindingsFromPreferences( final IMemento preferences, final BindingManager bindingManager) { if (preferences != null) { final IMemento[] preferenceMementos = preferences .getChildren(ELEMENT_ACTIVE_KEY_CONFIGURATION); int preferenceMementoCount = preferenceMementos.length; for... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c350fa733fe68f3ff1119e1d15c08a077786b013/BindingPersistence.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
10497,
1265,
12377,
12,
1082,
202,
6385,
6246,
820,
83,
12750,
16,
727,
15689,
1318,
5085,
1318,
13,
288,
202,
202,
430,
261,
23219,
480,
446,
13,
288,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
918,
855,
10497,
1265,
12377,
12,
1082,
202,
6385,
6246,
820,
83,
12750,
16,
727,
15689,
1318,
5085,
1318,
13,
288,
202,
202,
430,
261,
23219,
480,
446,
13,
288,
10... |
/* (non-Javadoc) * @see org.concord.framework.data.stream.DataConsumer#removeDataProducer(org.concord.framework.data.stream.DataProducer) */ public void removeDataProducer(DataProducer source) { } }; sdManager.prepareDataProducer(request, consumer); | }); | public static void main(String[] args) { UserMessageHandler messenger = new MyUserMessageHandler(); SensorDataManager sdManager = new InterfaceManager(messenger); // This should be loaded from the OTrunk. Each computer // might have a different set of devices configured. DeviceConfig [] dConfigs = new Device... | 57859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57859/0c70429bffe966bdfcd265602e797395a12774ed/TestNative.java/clean/src/java/org/concord/sensor/nativelib/TestNative.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
225,
202,
95,
202,
202,
1299,
1079,
1503,
31086,
273,
394,
8005,
1299,
1079,
1503,
5621,
202,
202,
22294,
751,
1318,
225,
8349,
1318,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
225,
202,
95,
202,
202,
1299,
1079,
1503,
31086,
273,
394,
8005,
1299,
1079,
1503,
5621,
202,
202,
22294,
751,
1318,
225,
8349,
1318,
2... |
ImageIcon result = new ImageIcon(image); return result; | } else { Debug.err("images/stern2.gif not found for ThreeStateButton"); } ImageIcon result = new ImageIcon(image); return result; | private Icon starIcon(Icon imageIcon, int width, int height){ Image i1 = ((ImageIcon) imageIcon).getImage(); Image image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics g = image.getGraphics(); g.drawImage(i1, 0, 0, null); java.net.URL imageURL = ThreeStateButton3.class.getRe... | 7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/5c9aadff6f8f2598be3058e7d00ea280d587fc3f/ThreeStateButton3.java/buggy/jfritz/src/de/moonflower/jfritz/utils/threeStateButton/ThreeStateButton3.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
16011,
10443,
5554,
12,
5554,
1316,
5554,
16,
509,
1835,
16,
509,
2072,
15329,
1082,
202,
2040,
277,
21,
273,
14015,
2040,
5554,
13,
1316,
5554,
2934,
588,
2040,
5621,
1082,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16011,
10443,
5554,
12,
5554,
1316,
5554,
16,
509,
1835,
16,
509,
2072,
15329,
1082,
202,
2040,
277,
21,
273,
14015,
2040,
5554,
13,
1316,
5554,
2934,
588,
2040,
5621,
1082,
20... |
private HashMap canScheduleTrace(Trace trace) | private boolean canScheduleTrace(Trace trace) | private HashMap canScheduleTrace(Trace trace) { if (getAvailTiles() < trace.getNumFilters()) return null; LinkedList tiles = new LinkedList(); for (int i = 0; i < rawChip.getTotalTiles(); i++) { tiles.add(rawChip.getTile(i)); } //first try starting tiles that are either endpoints of upstream //or star... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/d8519047ac0f2d0f47e5efd7235f549a90ffb72d/SimpleScheduler.java/buggy/streams/src/at/dms/kjc/spacetime/SimpleScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
848,
6061,
3448,
12,
3448,
2606,
13,
377,
288,
202,
430,
261,
588,
3769,
671,
27669,
1435,
411,
2606,
18,
588,
2578,
5422,
10756,
202,
565,
327,
446,
31,
202,
202,
13174,
68... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
848,
6061,
3448,
12,
3448,
2606,
13,
377,
288,
202,
430,
261,
588,
3769,
671,
27669,
1435,
411,
2606,
18,
588,
2578,
5422,
10756,
202,
565,
327,
446,
31,
202,
202,
13174,
68... |
case DbType.VIEW_TYPE: | case DbType.VIEW_TYPE : | private String getSelectedDbType() { IStructuredSelection selection = (IStructuredSelection)filterComboViewer.getSelection(); String type = DbType.ALL_STRING; if(selection != null && selection.getFirstElement() != null ) { DbType dbType = (DbType)selection.getFirstElement(); switch ( dbType.getType()) ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7369d4ae09cc536f7476a2e0abe49a3be2517225/SQLDataSetEditorPage.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
225,
16625,
4331,
559,
1435,
202,
95,
9506,
202,
45,
30733,
6233,
4421,
273,
261,
45,
30733,
6233,
13,
2188,
16156,
18415,
18,
588,
6233,
5621,
202,
202,
780,
618,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
16625,
4331,
559,
1435,
202,
95,
9506,
202,
45,
30733,
6233,
4421,
273,
261,
45,
30733,
6233,
13,
2188,
16156,
18415,
18,
588,
6233,
5621,
202,
202,
780,
618,
273,
... |
jjCheckNAdd(7); break; case 10: | jjCheckNAdd(12); break; case 15: | private final int jjMoveNfa_3(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 25; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/8e9e155e88430402b0d51d6b344267b73292ca2c/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
23,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
23,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... |
findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null); | findSpecialRelevanceChanges(pipelineContext, children1.subList(size2, size1), null, eventsToDispatch); | private void findSpecialRelevanceChanges(PipelineContext pipelineContext, List state1, List state2) { // Trivial case if (state1 == null && state2 == null) return; // Both lists must have the same size if present; state1 can be null if (state1 != null && state2 != null && stat... | 10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/3f51d1d62c218dfa0bec18ef28443000c6350153/XFormsControls.java/clean/src/java/org/orbeon/oxf/xforms/XFormsControls.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1104,
12193,
17018,
5882,
7173,
12,
8798,
1042,
5873,
1042,
16,
987,
919,
21,
16,
987,
919,
22,
13,
288,
3639,
368,
840,
20109,
648,
3639,
309,
261,
2019,
21,
422,
446,
597,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1104,
12193,
17018,
5882,
7173,
12,
8798,
1042,
5873,
1042,
16,
987,
919,
21,
16,
987,
919,
22,
13,
288,
3639,
368,
840,
20109,
648,
3639,
309,
261,
2019,
21,
422,
446,
597,
... |
super(ruby, ruby.getExceptions().getNameError(), msg); | super(ruby, ruby.getExceptions().getRangeError(), msg); | public RangeError(Ruby ruby, String msg) { super(ruby, ruby.getExceptions().getNameError(), msg); } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/5c7d9e094aa97d5066c802a80d5e119852f62221/RangeError.java/buggy/org/jruby/exceptions/RangeError.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8086,
668,
12,
54,
10340,
22155,
16,
514,
1234,
13,
288,
3639,
2240,
12,
27768,
16,
22155,
18,
588,
11416,
7675,
588,
2655,
668,
9334,
1234,
1769,
565,
289,
2,
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,
0,
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,
8086,
668,
12,
54,
10340,
22155,
16,
514,
1234,
13,
288,
3639,
2240,
12,
27768,
16,
22155,
18,
588,
11416,
7675,
588,
2655,
668,
9334,
1234,
1769,
565,
289,
2,
-100,
-100,
-100,
-... |
m_Indices = null; | public boolean setInputFormat(Instances instanceInfo) throws Exception { super.setInputFormat(instanceInfo); if (instanceInfo.classIndex() < 0) { throw new UnassignedClassException("No class has been assigned to the instances"); } setOutputFormat(); m_Indices = null; if (instanceInfo.cla... | 4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/bc1393b87c827cb914a591fdeedeb677d2e8560b/NominalToBinaryFilter.java/buggy/branches/stable-3-2-1/weka/filters/NominalToBinaryFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
21687,
1630,
12,
5361,
791,
966,
13,
3639,
1216,
1185,
288,
565,
2240,
18,
542,
1210,
1630,
12,
1336,
966,
1769,
565,
309,
261,
1336,
966,
18,
1106,
1016,
1435,
411,
374,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21687,
1630,
12,
5361,
791,
966,
13,
3639,
1216,
1185,
288,
565,
2240,
18,
542,
1210,
1630,
12,
1336,
966,
1769,
565,
309,
261,
1336,
966,
18,
1106,
1016,
1435,
411,
374,
13... | |
TaskListView.getDefault().showMessage("Please enter a valid report number"); | TaskListView.getDefault().showMessage("Invalid report id."); | public ITask createTaskFromExistingId(TaskRepository repository, String id) { int bugId = -1; try { if (id != null) { bugId = Integer.parseInt(id); } else { return null; } } catch (NumberFormatException nfe) { TaskListView.getDefault().showMessage("Please enter a valid report number"); return null; ... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/3e33caec44b8717decf7be5acff0920be035447a/BugzillaTaskRepositoryClient.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskRepositoryClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2174,
752,
2174,
1265,
9895,
548,
12,
2174,
3305,
3352,
16,
514,
612,
13,
288,
202,
202,
474,
7934,
548,
273,
300,
21,
31,
202,
202,
698,
288,
1082,
202,
430,
261,
350,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2174,
752,
2174,
1265,
9895,
548,
12,
2174,
3305,
3352,
16,
514,
612,
13,
288,
202,
202,
474,
7934,
548,
273,
300,
21,
31,
202,
202,
698,
288,
1082,
202,
430,
261,
350,... |
List<Label> labels = vcs.getLabelsFor(p("file1")); | List<Label> labels = vcs.getLabelsFor(p("/file1")); | public void testTreatingRenamedAndCreatedFilesWithSameNameDifferently() { vcs.createFile(p("file1"), "content1"); vcs.apply(); vcs.rename(p("file1"), "file2"); vcs.createFile(p("file1"), "content2"); vcs.apply(); List<Label> labels = vcs.getLabelsFor(p("file1")); assertEquals(1, labels.size()); ... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsDifferencesTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsDifferencesTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
56,
266,
1776,
16290,
2808,
1876,
6119,
2697,
1190,
8650,
461,
26270,
715,
1435,
288,
565,
20255,
18,
2640,
812,
12,
84,
2932,
768,
21,
6,
3631,
315,
1745,
21,
8863,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
56,
266,
1776,
16290,
2808,
1876,
6119,
2697,
1190,
8650,
461,
26270,
715,
1435,
288,
565,
20255,
18,
2640,
812,
12,
84,
2932,
768,
21,
6,
3631,
315,
1745,
21,
8863,
56... |
super(position); | super(position, NodeTypes.SCLASSNODE); | public SClassNode(ISourcePosition position, Node recvNode, ScopeNode bodyNode) { super(position); this.receiverNode = recvNode; this.bodyNode = bodyNode; } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/6e15491217631472c05c6928672f9c7064a978b3/SClassNode.java/buggy/src/org/jruby/ast/SClassNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
348,
797,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
10665,
907,
16,
5468,
907,
1417,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
2312,
3979,
8744,
1769,
3639,
333,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
348,
797,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
10665,
907,
16,
5468,
907,
1417,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
2312,
3979,
8744,
1769,
3639,
333,
18,
... |
public Scriptable getSessionScope(Environment environment) { Map objectModel = environment.getObjectModel(); Request request = ObjectModelHelper.getRequest(objectModel); Session session = request.getSession(false); if (session == null) { return null; } Scripta... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/3eaf33e52949d473662ae9606cfe84feb4e21b4b/JavaScriptInterpreter.java/clean/src/java/org/apache/cocoon/components/flow/javascript/JavaScriptInterpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3651,
429,
588,
2157,
3876,
12,
5494,
10274,
15329,
863,
1612,
1488,
33,
10274,
18,
588,
921,
1488,
5621,
691,
2293,
33,
921,
1488,
2276,
18,
588,
691,
12,
1612,
1488,
1769,
2157,
3184,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3651,
429,
588,
2157,
3876,
12,
5494,
10274,
15329,
863,
1612,
1488,
33,
10274,
18,
588,
921,
1488,
5621,
691,
2293,
33,
921,
1488,
2276,
18,
588,
691,
12,
1612,
1488,
1769,
2157,
3184,
... | ||
throw new IndexError(getRuntime(), "negative length"); | throw getRuntime().newIndexError("negative length"); | public IRubyObject aset(IRubyObject[] args) { testFrozen("class"); int strLen = getValue().length(); if (checkArgumentCount(args, 2, 3) == 3) { RubyString repl = stringValue(args[2]); int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (len < 0) { throw new IndexError(getRu... | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyString.java/buggy/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
487,
278,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
202,
3813,
42,
9808,
2932,
1106,
8863,
202,
202,
474,
609,
2891,
273,
2366,
7675,
2469,
5621,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
487,
278,
12,
7937,
10340,
921,
8526,
833,
13,
288,
202,
202,
3813,
42,
9808,
2932,
1106,
8863,
202,
202,
474,
609,
2891,
273,
2366,
7675,
2469,
5621,
202,
... |
MyResourceDeltaVisitor vis = new MyResourceDeltaVisitor(); | protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws CoreException { boolean bPerformBuild = true; IMakeBuilderInfo info = MakeCorePlugin.createBuildInfo(args, MakeBuilder.BUILDER_ID); if (!shouldBuild(kind, info)) { forgetLastBuiltState(); return new IProject[0]; } if (kind == Incr... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/74cf4886029b3a6190f85ce4fb77c8ffdb4651b7/MakeBuilder.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
4109,
8526,
1361,
12,
474,
3846,
16,
1635,
833,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
6494,
324,
4990,
3116,
273,
638,
31,
202,
202,
3445,
911,
1263... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
4109,
8526,
1361,
12,
474,
3846,
16,
1635,
833,
16,
467,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
6494,
324,
4990,
3116,
273,
638,
31,
202,
202,
3445,
911,
1263... | |
try { | public void execSqlUpdateQuery(String server, String sqlStr ) throws IOException { imcode.server.IMCServiceInterface imc = getInterface( server ) ; try { imc.sqlUpdateQuery(sqlStr) ; return ; } catch (IOException ex) { imc = renewInterface(server) ; ... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/cbaf8fbf9eeaf7b9db5163cf0496eea1be5ce141/RmiLayer.java/clean/server/src/imcode/external/diverse/RmiLayer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1196,
5101,
1891,
1138,
12,
780,
1438,
16,
514,
1847,
1585,
262,
1216,
1860,
288,
3639,
709,
710,
18,
3567,
18,
3445,
39,
18348,
709,
71,
273,
336,
1358,
12,
1438,
262,
274,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1196,
5101,
1891,
1138,
12,
780,
1438,
16,
514,
1847,
1585,
262,
1216,
1860,
288,
3639,
709,
710,
18,
3567,
18,
3445,
39,
18348,
709,
71,
273,
336,
1358,
12,
1438,
262,
274,
... | |
throw new SAXParseException("Unexpected element \"" + name + "\"", locator); | throw new SAXParseException("Unexpected element \"" + name + "\"", locator); | public void startElement(String name, AttributeList attrs) throws SAXParseException { if (name.equals("taskdef")) { handleTaskdef(name, attrs); } else if (name.equals("property")) { handleProperty(name, attrs); } else if (name.equals("ta... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/adbdf5d6c830f14edbfd28f91c2c7b1a14229291/ProjectHelper.java/buggy/src/main/org/apache/tools/ant/ProjectHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
13591,
12,
780,
508,
16,
3601,
682,
3422,
13,
2398,
1216,
10168,
13047,
288,
5411,
309,
261,
529,
18,
14963,
2932,
4146,
536,
6,
3719,
288,
7734,
1640,
2174,
536,
12,
529,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
13591,
12,
780,
508,
16,
3601,
682,
3422,
13,
2398,
1216,
10168,
13047,
288,
5411,
309,
261,
529,
18,
14963,
2932,
4146,
536,
6,
3719,
288,
7734,
1640,
2174,
536,
12,
529,
16... |
return "/xava/list." + getType(); | return "/xava/list." + getType() + "?application=" + request.getParameter("application") + "&module=" + request.getParameter("module"); | public String getForwardURI() { return "/xava/list." + getType(); } | 14127 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14127/97c11f754ea74a7442db830fdd448200f6115e9e/GenerateReportAction.java/buggy/OpenXava/src/org/openxava/actions/GenerateReportAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
8514,
3098,
1435,
288,
9506,
202,
2463,
2206,
92,
1629,
19,
1098,
1199,
397,
3130,
5621,
202,
97,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
8514,
3098,
1435,
288,
9506,
202,
2463,
2206,
92,
1629,
19,
1098,
1199,
397,
3130,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
writeAttribute( writer, "org.eclipse.jdt.launching.DEFAULT_CLASSPATH", true ); | protected void addAttributes( XMLWriter writer ) { // ant specific writeAttribute( writer, "process_factory_id", "org.eclipse.ant.ui.remoteAntProcessFactory" ); writeAttribute( writer, "org.eclipse.ant.ui.DEFAULT_VM_INSTALL", false ); writeAttribute( writer, "org.eclipse.jdt.launching... | 7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/604b48a27606ac1b6534212fb6874a243a1aeb87/EclipseAntExternalLaunchConfigurationWriter.java/buggy/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseAntExternalLaunchConfigurationWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
2498,
12,
3167,
2289,
2633,
262,
565,
288,
3639,
368,
17841,
2923,
3639,
12325,
12,
2633,
16,
315,
2567,
67,
6848,
67,
350,
3113,
315,
3341,
18,
20416,
18,
970,
18,
4881... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
2498,
12,
3167,
2289,
2633,
262,
565,
288,
3639,
368,
17841,
2923,
3639,
12325,
12,
2633,
16,
315,
2567,
67,
6848,
67,
350,
3113,
315,
3341,
18,
20416,
18,
970,
18,
4881... | |
Object[] bindings = (Object[]) SharedUIDefaults.get("MenuBar.windowBindings"); InputMap inputMap = LookAndFeel.makeComponentInputMap(menuBar, bindings); SwingUtilities.replaceUIInputMap(menuBar, JComponent.WHEN_IN_FOCUSED_WINDOW, inputMap); SwingUtilities.replaceUIActionMap(menuBar, getActionMap()); | protected void installKeyboardActions() throws NotImplementedException { // FIXME: implement } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicMenuBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuBarUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1033,
8526,
7394,
273,
261,
921,
63,
5717,
10314,
3060,
73,
643,
87,
18,
588,
2932,
4599,
5190,
18,
5668,
10497,
8863,
2741,
863,
810,
863,
273,
10176,
1876,
2954,
292,
18,
6540,
1841,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8526,
7394,
273,
261,
921,
63,
5717,
10314,
3060,
73,
643,
87,
18,
588,
2932,
4599,
5190,
18,
5668,
10497,
8863,
2741,
863,
810,
863,
273,
10176,
1876,
2954,
292,
18,
6540,
1841,
... | |
return new IField[] { message, resource, folder, lineNumber, | return new IField[] { severityAndMessage, resource, folder, lineNumber, | protected IField[] getAllFields() { // Add the marker ID so the table sorter won't reduce // errors on the same line bug 82502 return new IField[] { message, resource, folder, lineNumber, creationTime }; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0d709da83531dbf226078c4683d1b014a03521c8/ProblemView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
974,
8526,
5514,
2314,
1435,
288,
202,
202,
759,
1436,
326,
5373,
1599,
1427,
326,
1014,
19867,
8462,
1404,
5459,
202,
202,
759,
1334,
603,
326,
1967,
980,
7934,
1725,
294... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
974,
8526,
5514,
2314,
1435,
288,
202,
202,
759,
1436,
326,
5373,
1599,
1427,
326,
1014,
19867,
8462,
1404,
5459,
202,
202,
759,
1334,
603,
326,
1967,
980,
7934,
1725,
294... |
if (val instanceof String) return toNumber((String) val); if (val instanceof Boolean) return ((Boolean) val).booleanValue() ? 1 : +0.0; warnAboutNonJSObject(val); return NaN; | public static double toNumber(Object val) { if (val instanceof Number) return ((Number) val).doubleValue(); if (val == null) return +0.0; if (val instanceof Scriptable) { val = ((Scriptable) val).getDefaultValue(NumberClass); if (val != null && val... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/cf0577f71eb8e686b61be9a52b8c5dc6f08821f6/ScriptRuntime.java/buggy/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1645,
358,
1854,
12,
921,
1244,
13,
565,
288,
3639,
309,
261,
1125,
1276,
3588,
13,
5411,
327,
14015,
1854,
13,
1244,
2934,
9056,
620,
5621,
3639,
309,
261,
1125,
422,
446,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
358,
1854,
12,
921,
1244,
13,
565,
288,
3639,
309,
261,
1125,
1276,
3588,
13,
5411,
327,
14015,
1854,
13,
1244,
2934,
9056,
620,
5621,
3639,
309,
261,
1125,
422,
446,
1... | |
AST tmp467_AST_in = (AST)_t; | AST tmp466_AST_in = (AST)_t; | public final void return_options(AST _t) throws RecognitionException { AST return_options_AST_in = (_t == ASTNULL) ? null : (AST)_t; { boolean synPredMatched1949 = false; if (_t==null) _t=ASTNULL; if (((_tokenSet_3.member(_t.getType())))) { AST __t1949 = _t; synPredMatched1949 = true; inputState.guessin... | 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,
327,
67,
2116,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
327,
67,
2116,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
327,
67,
2116,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
327,
67,
2116,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
2... |
assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() ); | Assert.assertEquals( "/model/mailingLists[" + i + "]/unsubscribe", expected.getUnsubscribe(), actual.getUnsubscribe() ); | public void assertMailingList( int i, MailingList expected, Object actualObject ) { assertNotNull( "/model/mailingLists[" + i + "]", actualObject ); assertInstanceOf( "/model/mailingLists", MailingList.class, actualObject.getClass() ); MailingList actual = (MailingList) actualObject; ... | 47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/8d22b8877982d05d783e10993c6d0064b846e44a/Xpp3Verifier.java/clean/modello/modello-plugins/modello-plugin-xpp3/src/test/verifiers/xpp3/Xpp3Verifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1815,
6759,
310,
682,
12,
509,
277,
16,
11542,
310,
682,
2665,
16,
1033,
3214,
921,
262,
565,
288,
3639,
25395,
12,
2206,
2284,
19,
4408,
310,
7432,
9614,
397,
277,
397,
9850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1815,
6759,
310,
682,
12,
509,
277,
16,
11542,
310,
682,
2665,
16,
1033,
3214,
921,
262,
565,
288,
3639,
25395,
12,
2206,
2284,
19,
4408,
310,
7432,
9614,
397,
277,
397,
9850... |
public org.quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { org.quickfix.field.ListSeqNo value = new org.quickfix.field.ListSeqNo(); | public quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { quickfix.field.ListSeqNo value = new quickfix.field.ListSeqNo(); | public org.quickfix.field.ListSeqNo getListSeqNo() throws FieldNotFound { org.quickfix.field.ListSeqNo value = new org.quickfix.field.ListSeqNo(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
682,
6926,
2279,
10033,
6926,
2279,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
682,
6926,
2279,
460,
273,
394,
2358,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
682,
6926,
2279,
10033,
6926,
2279,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
682,
6926,
2279,
460,
273,
394,
2358,
... |
public int showConfirmDialog(String pMessageText, String pTitle, int pType) { final String messageText = pMessageText; final String title = pTitle; final int type = pType; final ResponseWrapper fResponseWrapper = new ResponseWrapper(); Runnable runMe = new Runnable() { public void run() { fRespon... | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/55c2ef8139608f0f93fb72272ca8300eb9ac663e/MessageFrame.java/clean/src/net/suberic/pooka/gui/MessageFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
2405,
11269,
6353,
12,
780,
293,
1079,
1528,
16,
514,
293,
4247,
16,
509,
29171,
13,
288,
565,
727,
514,
883,
1528,
273,
293,
1079,
1528,
31,
565,
727,
514,
2077,
273,
293,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
2405,
11269,
6353,
12,
780,
293,
1079,
1528,
16,
514,
293,
4247,
16,
509,
29171,
13,
288,
565,
727,
514,
883,
1528,
273,
293,
1079,
1528,
31,
565,
727,
514,
2077,
273,
293,
... | ||
+"I" | private void generateFunctionInit(ClassFileWriter cfw, OptFunctionNode ofn) { final int CONTEXT_ARG = 1; final int SCOPE_ARG = 2; cfw.startMethod(getFunctionInitMethodName(ofn), FUNCTION_INIT_SIGNATURE, (short... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/08f0cfede0b5665f6b5139b8993251dc3a80ec16/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
2083,
2570,
12,
797,
812,
2289,
6080,
91,
16,
4766,
1377,
12056,
2083,
907,
434,
82,
13,
565,
288,
3639,
727,
509,
13862,
67,
10973,
273,
404,
31,
3639,
727,
509,
19296... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
2083,
2570,
12,
797,
812,
2289,
6080,
91,
16,
4766,
1377,
12056,
2083,
907,
434,
82,
13,
565,
288,
3639,
727,
509,
13862,
67,
10973,
273,
404,
31,
3639,
727,
509,
19296... | |
seriesBaseRuntime.setSeriesIdentifier( "Category 1" ); | seriesBaseRuntime.setSeriesIdentifier( "Category" ); | public final void createSampleRuntimeSeries( ) { Chart chart = this; SampleData sd = chart.getSampleData( ); if ( sd == null || sd.getBaseSampleData( ).size( ) == 0 || sd.getOrthogonalSampleData( ).size( ) == 0 ) { return; } try { // Process Base SeriesDefinitions Series seriesBaseRuntime = (Series)... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f5232133228aeb30b8fa3d436cfd1df3a5d1cd7b/ChartImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
752,
8504,
5576,
6485,
12,
262,
202,
95,
202,
202,
7984,
4980,
273,
333,
31,
202,
202,
8504,
751,
8349,
273,
4980,
18,
588,
8504,
751,
12,
11272,
202,
202,
430,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
8504,
5576,
6485,
12,
262,
202,
95,
202,
202,
7984,
4980,
273,
333,
31,
202,
202,
8504,
751,
8349,
273,
4980,
18,
588,
8504,
751,
12,
11272,
202,
202,
430,
26... |
fAssocitedCheckButton.setText( "&Associate with" ); | fAssocitedCheckButton.setText( CDebugUIPlugin.getResourceString("AddDirectorySourceLocationBlock.Associate_with") ); | protected void createAssociationControls( Composite parent ) { Composite composite = new Composite( parent, SWT.NONE ); composite.setLayout( new GridLayout() ); GridData data = new GridData( GridData.FILL_BOTH ); composite.setLayoutData( data ); fAssocitedCheckButton = new Button( composite, SWT.CHECK ); fAssoci... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7c50719ee75ad53d8a6bd367d0f569749c3680bc/AddDirectorySourceLocationBlock.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddDirectorySourceLocationBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
7174,
16795,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9635,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
27676,
18,
542,
3744,
12,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7174,
16795,
12,
14728,
982,
262,
202,
95,
202,
202,
9400,
9635,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
27676,
18,
542,
3744,
12,
394,
... |
PATH_ELOCALTOOL + "view_menu.gif", true); declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_HOVER, | private final static void declareImages() { declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR, PATH_ETOOL + "pin_editor.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR_DISABLED, PATH_DTOOL + "pin_editor.gif", false); //$... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2681a6ecadd52dd841e83586a7574d0fc5192344/WorkbenchImages.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
760,
918,
14196,
8946,
1435,
288,
3639,
14196,
2040,
12,
45,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
52,
706,
67,
13208,
16,
7734,
7767,
67,
1584,
51,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
760,
918,
14196,
8946,
1435,
288,
3639,
14196,
2040,
12,
45,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
52,
706,
67,
13208,
16,
7734,
7767,
67,
1584,
51,... | |
this.setLayout( new GridLayout(0, 1) ); | Panel tempPanel = new Panel(); tempPanel.setLayout( new GridLayout(0, 1) ); | public CommonSettingsDialog( Frame owner) { // Initialize our superclass with a title. super( owner, "Client Settings" ); // Lay out this dialog. this.setLayout( new GridLayout(0, 1) ); // Add the setting controls. Panel panSetting; minimapEnabled = new Ch... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/246e85e58006e2da5090b2caaf79dfd61fd288d1/CommonSettingsDialog.java/clean/megamek/src/megamek/client/ui/AWT/CommonSettingsDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5658,
2628,
6353,
12,
8058,
3410,
13,
288,
3639,
368,
9190,
3134,
12098,
598,
279,
2077,
18,
3639,
2240,
12,
3410,
16,
315,
1227,
8709,
6,
11272,
3639,
368,
511,
528,
596,
333,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5658,
2628,
6353,
12,
8058,
3410,
13,
288,
3639,
368,
9190,
3134,
12098,
598,
279,
2077,
18,
3639,
2240,
12,
3410,
16,
315,
1227,
8709,
6,
11272,
3639,
368,
511,
528,
596,
333,
61... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.