rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
ret += "\n" + spellDifference + " spells from lower levels are using slots for this level.";
ret += "\n" + spellDifference + " spells from lower levels are using slots for this level.";
public String addSpell(CharacterSpell acs, final List aFeatList, final String className, final String bookName, final int adjSpellLevel, final int spellLevel) { if (acs == null) { return "Invalid parameter to add spell"; } PCClass aClass = null; final Spell aSpell = acs.getSpell(); if ((bookName == null) || (...
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/8ce24dae71e590a1255ba1449adf8b06f5a2b1b9/PlayerCharacter.java/buggy/code/src/java/pcgen/core/PlayerCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 527, 3389, 1165, 12, 7069, 3389, 1165, 1721, 87, 16, 727, 987, 279, 11667, 682, 16, 727, 514, 2658, 16, 727, 514, 6978, 461, 16, 727, 509, 8307, 3389, 1165, 2355, 16, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 527, 3389, 1165, 12, 7069, 3389, 1165, 1721, 87, 16, 727, 987, 279, 11667, 682, 16, 727, 514, 2658, 16, 727, 514, 6978, 461, 16, 727, 509, 8307, 3389, 1165, 2355, 16, 2...
StringBuilder buf = new StringBuilder(1000);
StringBuffer buf = new StringBuffer(1000);
private void printDSpaceInfoRecords(List bitstreams, OutputStreamWriter osw) throws IOException { Iterator iter = bitstreams.iterator(); while (iter.hasNext()) { DSpaceBitstreamInfo info = (DSpaceBitstreamInfo) iter.next(); StringBuilder buf = new StringBuild...
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/7b13cb9f8850c8f6be9672186092f81def7e5d61/SimpleReporterImpl.java/buggy/dspace/src/org/dspace/checker/SimpleReporterImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1172, 40, 3819, 966, 6499, 12, 682, 2831, 16320, 16, 24248, 1140, 91, 13, 5411, 1216, 1860, 565, 288, 3639, 4498, 1400, 273, 2831, 16320, 18, 9838, 5621, 3639, 1323, 261, 2165,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1172, 40, 3819, 966, 6499, 12, 682, 2831, 16320, 16, 24248, 1140, 91, 13, 5411, 1216, 1860, 565, 288, 3639, 4498, 1400, 273, 2831, 16320, 18, 9838, 5621, 3639, 1323, 261, 2165,...
execute(getProgramFromContextMenuActionEvent(evt));
execute(program);
public void actionPerformed(ActionEvent evt) { execute(getProgramFromContextMenuActionEvent(evt)); }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/48241b59b1b5bf02af634666e505861e67019783/Plugin.java/buggy/tvbrowser/src/devplugin/Plugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 1850, 1836, 12, 12890, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 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, 540, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 1850, 1836, 12, 12890, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
} catch (ReturnJump rExcptn) { return rExcptn.getReturnValue();
} catch (BreakJump rExcptn) { throw new ReturnJump(ruby.getNil());
public IRubyObject yield(IRubyObject value, IRubyObject self, RubyModule klass, boolean checkArguments) { if (! ruby.isBlockGiven()) { throw new RaiseException(ruby, ruby.getExceptions().getLocalJumpError(), "yield called out of block"); } pushDynamicVars(); Block currentBlock...
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/7677ca971349ae5011a3a094c25cc087b47cfaa4/ThreadContext.java/clean/org/jruby/runtime/ThreadContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2824, 12, 7937, 10340, 921, 460, 16, 15908, 10340, 921, 365, 16, 19817, 3120, 7352, 16, 1250, 866, 4628, 13, 288, 3639, 309, 16051, 22155, 18, 291, 1768, 6083, 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, 377, 1071, 15908, 10340, 921, 2824, 12, 7937, 10340, 921, 460, 16, 15908, 10340, 921, 365, 16, 19817, 3120, 7352, 16, 1250, 866, 4628, 13, 288, 3639, 309, 16051, 22155, 18, 291, 1768, 6083, 10...
List<Integer> ids; if(this.randomSampleSize >= 0) { ids = db.randomSample(this.randomSampleSize,1);
} } Matrix solution = gaussJordan.gaussJordanElimination(); if (isVerbose()) { System.out.println("Solution:"); System.out.println(solution.toString(NF)); } this.solution = new CorrelationAnalysisSolution(solution, NF); long end = System.currentTimeMillis(); if (isTime()) { long elapsedTime = end - start; System.out....
public void run(Database<DoubleVector> db) throws IllegalStateException { long start = System.currentTimeMillis(); if(isVerbose()) { System.out.println("retrieving database objects..."); } List<Integer> ids; if(this.randomSampleSize >= 0) { i...
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/58f97a800c5bedc06c5a523ca0bc3f2bbb44e6d8/DependencyDerivator.java/buggy/src/de/lmu/ifi/dbs/algorithm/DependencyDerivator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 4254, 32, 27047, 34, 1319, 13, 1216, 5477, 565, 288, 3639, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 3639, 309, 12, 291, 14489, 10756, 3639, 288, 5411, 2332, 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, 377, 1071, 918, 1086, 12, 4254, 32, 27047, 34, 1319, 13, 1216, 5477, 565, 288, 3639, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 3639, 309, 12, 291, 14489, 10756, 3639, 288, 5411, 2332, 18, ...
bound.wait(5000);
if (!proxy.started) bound.wait(5000);
public void testUsingProxySelector() throws Exception { // Regression for HARMONY-570 MockServer server = new MockServer("server"); MockServer proxy = new MockServer("proxy"); URL url = new URL("http://localhost:" + server.port()); // keep default proxy selector ProxySelect...
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/3f58dc27a365fd77ec7a16b7f766f3d45872337b/HttpURLConnectionTest.java/buggy/modules/luni/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/http/HttpURLConnectionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 7736, 3886, 4320, 1435, 1216, 1185, 288, 3639, 368, 868, 2329, 285, 364, 670, 985, 17667, 61, 17, 25, 7301, 3639, 7867, 2081, 1438, 273, 394, 7867, 2081, 2932, 3567, 8863...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7736, 3886, 4320, 1435, 1216, 1185, 288, 3639, 368, 868, 2329, 285, 364, 670, 985, 17667, 61, 17, 25, 7301, 3639, 7867, 2081, 1438, 273, 394, 7867, 2081, 2932, 3567, 8863...
urlcon.setIfModifiedSince(dateLastModified);
urlcon.setIfModifiedSince(dateLastModified); if (OpenCms.getLog(this).isDebugEnabled()) { OpenCms.getLog(this).debug("req "+exportFile.getName()+" [Timestamp="+(dateLastModified / 1000) *1000+"]"); }
private void exportTemplateResources(CmsObject cms, I_CmsReport report) throws CmsException { String rfsName; String url; // get all template resources which are potential candidates for an static export List publishedTemplateResources = cms.readStaticExportResources(false); int s...
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/493446e022a0906ed7ce05a14c6f26a9288df528/CmsStaticExportManager.java/buggy/src/org/opencms/staticexport/CmsStaticExportManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3359, 2283, 3805, 12, 4747, 921, 6166, 16, 467, 67, 25702, 2605, 13, 1216, 11228, 288, 3639, 514, 436, 2556, 461, 31, 3639, 514, 880, 31, 3639, 368, 336, 777, 1542, 2703, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3359, 2283, 3805, 12, 4747, 921, 6166, 16, 467, 67, 25702, 2605, 13, 1216, 11228, 288, 3639, 514, 436, 2556, 461, 31, 3639, 514, 880, 31, 3639, 368, 336, 777, 1542, 2703, 149...
final ISwingContainerPeer containerPeer = getContainerPeer(component); if (containerPeer != null) { containerPeer.addAWTComponent(component, peer); } }
final ISwingContainerPeer containerPeer = getContainerPeer(component); if (containerPeer != null) { containerPeer.addAWTComponent(component, peer); } }
public static void add(Component component, JComponent peer) { final ISwingContainerPeer containerPeer = getContainerPeer(component); if (containerPeer != null) { containerPeer.addAWTComponent(component, peer); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3fecc4797b433a10203c51309b9d8626f7783895/SwingToolkit.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/SwingToolkit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 527, 12, 1841, 1794, 16, 29058, 4261, 13, 288, 3639, 727, 4437, 91, 310, 2170, 6813, 1478, 6813, 273, 9272, 6813, 12, 4652, 1769, 3639, 309, 261, 3782, 6813, 480, 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, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 527, 12, 1841, 1794, 16, 29058, 4261, 13, 288, 3639, 727, 4437, 91, 310, 2170, 6813, 1478, 6813, 273, 9272, 6813, 12, 4652, 1769, 3639, 309, 261, 3782, 6813, 480, 446, 1...
try { in = new FileInputStream(infile); load(in); in.close(); } catch (IOException e) { e.printStackTrace();
if (infile.exists() && infile.canRead() && infile.canWrite()) { try { in = new FileInputStream(infile); load(in); in.close(); } catch (IOException e) { e.printStackTrace(); } } else { try { RandomAccessFile newPrefsFile = new RandomAccessFile(infile, "rw"); newPrefsFile.close(); } catch (IOException e) { e.printStackTr...
PreferencesBase() { super(); // create the dir if it doesn't exist gPrefsPath.mkdirs(); File infile = new File(gPrefsPath, gPrefsFile); InputStream in = null; try { in = new FileInputStream(infile); load(in); in.close(); } catch (IOException e) { e.printStackTrace(); } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/dcbed3ebf86ee76e937fc8b43e03508e901b2596/PreferencesBase.java/clean/grendel/calypso/util/PreferencesBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 28310, 2171, 1435, 288, 565, 2240, 5621, 565, 368, 752, 326, 1577, 309, 518, 3302, 1404, 1005, 565, 314, 1386, 2556, 743, 18, 24816, 8291, 5621, 565, 1387, 14568, 273, 394, 1387, 12, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28310, 2171, 1435, 288, 565, 2240, 5621, 565, 368, 752, 326, 1577, 309, 518, 3302, 1404, 1005, 565, 314, 1386, 2556, 743, 18, 24816, 8291, 5621, 565, 1387, 14568, 273, 394, 1387, 12, 75, ...
checkRemote(p.getAddress(), p.getPort());
public void send(DatagramPacket p) throws IOException { synchronized (p) { if (this.address == null) { // not connected if (p.getAddress() == null || p.getPort() == -1) { throw new IOException("no destination"); } //checkRemote(p.getAddress(), p.getPort()); } else if (p.getAddress() == null) { p.se...
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/c69d482b4d19601999295a7d6c03dd0832689ea8/DatagramSocket.java/buggy/libraries/javalib/java/net/DatagramSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1893, 5169, 12, 84, 18, 588, 1887, 9334, 293, 18, 588, 2617, 10663, 918, 1893, 5169, 12, 84, 18, 588, 1887, 9334, 293, 18, 588, 2617, 10663, 1366, 12, 5139, 17049, 4420, 1593, 762, 516...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1893, 5169, 12, 84, 18, 588, 1887, 9334, 293, 18, 588, 2617, 10663, 918, 1893, 5169, 12, 84, 18, 588, 1887, 9334, 293, 18, 588, 2617, 10663, 1366, 12, 5139, 17049, 4420, 1593, 762, 516...
return v.subseq(start, end);
throw new ConditionThrowable(new TypeError(args[0], "positive integer or positive float"));
public LispObject execute(LispObject first, LispObject second, LispObject third) throws ConditionThrowable { AbstractVector v = checkVector(first); int start = Fixnum.getValue(second); int end = third != NIL ? Fixnum.getValue(th...
8279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8279/e15bb4df9c5817583e4227bb9a7c8cb68d23e4f3/Primitives.java/clean/j/src/org/armedbear/lisp/Primitives.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 1122, 16, 511, 23831, 921, 2205, 16, 21394, 511, 23831, 921, 12126, 13, 5411, 1216, 7949, 15155, 3639, 288, 5411, 4115, 5018, 331, 273, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 511, 23831, 921, 1836, 12, 48, 23831, 921, 1122, 16, 511, 23831, 921, 2205, 16, 21394, 511, 23831, 921, 12126, 13, 5411, 1216, 7949, 15155, 3639, 288, 5411, 4115, 5018, 331, 273, 86...
protected Control createContents(Composite parent) { Composite container = new Composite(parent, SWT.NONE); GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true); container.setLayoutData(gridData); GridLayout gridLayout = new GridLayout(); gridLayout.numColumns = 1; gridLayout.horizontalSpacing = 0; ...
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ec38e8e79bb481591eda5b282cb65b6e12c4ed99/StartupProgressMonitorDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/StartupProgressMonitorDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3367, 2640, 6323, 12, 799, 1724, 881, 817, 15329, 202, 202, 799, 1724, 31313, 1521, 33, 2704, 9400, 12, 2938, 16, 55, 8588, 18, 9826, 1769, 202, 202, 6313, 5139, 22239, 751, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3367, 2640, 6323, 12, 799, 1724, 881, 817, 15329, 202, 202, 799, 1724, 31313, 1521, 33, 2704, 9400, 12, 2938, 16, 55, 8588, 18, 9826, 1769, 202, 202, 6313, 5139, 22239, 751, ...
Namespace constructNamespace(Context cx)
Namespace constructNamespace(Context cx, Object uriValue)
Namespace constructNamespace(Context cx) { return new Namespace(this, "", ""); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/45600b4578761ce844b56f522c2da35af3b559c0/XMLLibImpl.java/buggy/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 6005, 4872, 3402, 12, 1042, 9494, 16, 1033, 2003, 620, 13, 565, 288, 3639, 327, 394, 6005, 12, 2211, 16, 23453, 1408, 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, 0, 0, 0, 0, 0, 0, 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, 6005, 4872, 3402, 12, 1042, 9494, 16, 1033, 2003, 620, 13, 565, 288, 3639, 327, 394, 6005, 12, 2211, 16, 23453, 1408, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
if (cmtDialog.processResults()) { final String trialId = cmtDialog.getTrialId(); if (log.isDebugEnabled()) { log.debug("selectExptFromDB after cmtDialog.processResults with new name/id: " + cmtDialog.getExperimentName() + "/" + cmtDialog.getExperimentId() + " trialID: " + trialId + " and orig name: " + originalExperim...
Experiment experiment = helper.createExperiment(originalExperimentName, expName, expId, trialId); if (experiment != null) addExperimentAndComponentsToWorkspace(experiment, getSelectedNode()); GUIUtils.timeConsumingTaskEnd(organizer); }
public void run() { // a potentially long process if (cmtDialog.processResults()) { final String trialId = cmtDialog.getTrialId(); if (log.isDebugEnabled()) { log.debug("selectExptFromDB after cmtDialog.processResults with new name/id: " + cmtDialog.getExperimentName(...
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/af184b188ea31a0f0d53806376705e9151cb40f9/Organizer.java/clean/csmart/src/org/cougaar/tools/csmart/ui/viewer/Organizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 1086, 1435, 288, 5411, 368, 279, 13935, 1525, 1207, 5411, 309, 261, 71, 1010, 6353, 18, 2567, 3447, 10756, 288, 2868, 727, 514, 12950, 548, 273, 276, 1010, 6353, 18, 588, 6251...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 1086, 1435, 288, 5411, 368, 279, 13935, 1525, 1207, 5411, 309, 261, 71, 1010, 6353, 18, 2567, 3447, 10756, 288, 2868, 727, 514, 12950, 548, 273, 276, 1010, 6353, 18, 588, 6251...
Attribute resolvedAttribute = new Attribute(BugReport.ATTR_STATUS); if (completed) { resolvedAttribute.setValue(BugReport.VAL_STATUS_RESOLVED);
AbstractRepositoryReportAttribute resolvedAttribute = new BugzillaReportAttribute( BugzillaReportElement.BUG_STATUS); if (completed) { resolvedAttribute.setValue(BugzillaReport.VAL_STATUS_RESOLVED); Comment comment = new Comment(report, 1); AbstractRepositoryReportAttribute attribute = new BugzillaReportAttribute(Bugzi...
public static void setBugTaskCompleted(BugzillaTask bugzillaTask, boolean completed) { BugReport report = new BugReport(1, IBugzillaConstants.ECLIPSE_BUGZILLA_URL); bugzillaTask.setBugReport(report); Attribute resolvedAttribute = new Attribute(BugReport.ATTR_STATUS); if (completed) { resolvedAttribute.setValue(B...
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/83cf0584c09e67ead32e09ae9585eafa8dce592e/TaskTestUtil.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskTestUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 15268, 637, 2174, 9556, 12, 19865, 15990, 2174, 7934, 15990, 2174, 16, 1250, 5951, 13, 288, 202, 202, 19865, 4820, 2605, 273, 394, 16907, 4820, 12, 21, 16, 467, 19865,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15268, 637, 2174, 9556, 12, 19865, 15990, 2174, 7934, 15990, 2174, 16, 1250, 5951, 13, 288, 202, 202, 19865, 4820, 2605, 273, 394, 16907, 4820, 12, 21, 16, 467, 19865,...
field.setShort(obj, val);
field.setShort(obj, val);
final void setShortField(Object obj, short val) { try { field.setShort(obj, val); } catch(IllegalAccessException x) { throw new InternalError(x.getMessage()); } }
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/126d7770c7bb5b9c74598afb0864a336d457fd92/ObjectStreamField.java/clean/libjava/java/io/ObjectStreamField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 918, 444, 4897, 974, 12, 921, 1081, 16, 3025, 1244, 13, 225, 288, 1377, 775, 1377, 288, 202, 225, 652, 18, 542, 4897, 12, 2603, 16, 1244, 1769, 1377, 289, 1377, 1044, 12, 12195, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 918, 444, 4897, 974, 12, 921, 1081, 16, 3025, 1244, 13, 225, 288, 1377, 775, 1377, 288, 202, 225, 652, 18, 542, 4897, 12, 2603, 16, 1244, 1769, 1377, 289, 1377, 1044, 12, 12195, ...
case XMLStreamConstants.END_ENTITY:
case END_ENTITY:
public static void main(String[] args) throws Exception { boolean xIncludeAware = false; if (args.length > 1 && "-x".equals(args[1])) xIncludeAware = true; XMLParser p = new XMLParser(new java.io.FileInputStream(args[0]), absolutize(null, args[0]), ...
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/89208158729137f73c8259a059fc5845c4da3e56/XMLParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 565, 1216, 1185, 225, 288, 565, 1250, 619, 8752, 10155, 273, 629, 31, 565, 309, 261, 1968, 18, 2469, 405, 404, 597, 3701, 92, 9654, 14963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 565, 1216, 1185, 225, 288, 565, 1250, 619, 8752, 10155, 273, 629, 31, 565, 309, 261, 1968, 18, 2469, 405, 404, 597, 3701, 92, 9654, 14963, ...
public void startElement( String namespaceURI, String localName, String rawName, Attributes attrs ) { int i; boolean preserveSpace; ElementState state; String name; String value; boolean addNSAttr = false; ...
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/dd948484b263b86cdb338f54e5dc5dc2f91af666/XMLSerializer.java/buggy/src/org/apache/xml/serialize/XMLSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 514, 19421, 16, 514, 11927, 16, 17311, 514, 1831, 461, 16, 9055, 3422, 262, 565, 288, 3639, 509, 1850, 277, 31, 3639, 1250, 1377, 9420, 3819, 31, 3639, 3010, 1119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13591, 12, 514, 19421, 16, 514, 11927, 16, 17311, 514, 1831, 461, 16, 9055, 3422, 262, 565, 288, 3639, 509, 1850, 277, 31, 3639, 1250, 1377, 9420, 3819, 31, 3639, 3010, 1119, ...
public double jsFunction_getUTCFullYear() {
private double jsFunction_getUTCFullYear() {
public double jsFunction_getUTCFullYear() { if (this.date != this.date) return this.date; return YearFromTime(this.date); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/1f40b84b6c54487dd6f26829d1ebda36a7567a38/NativeDate.java/clean/js/rhino/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 11471, 5080, 5593, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 16666, 1265, 950, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 11471, 5080, 5593, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 16666, 1265, 950, 12, 2211, ...
this.sendErrorPage(ctx, 200, "Failed to remove request", "Failed to remove "+HTMLEncoder.encode(identifier)+" : "+HTMLEncoder.encode(e.getMessage()));
this.sendErrorPage(ctx, 200, "Failed to remove request", "Failed to remove " + identifier + ": " + e.getMessage());
public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { HTTPRequest request = new HTTPRequest(uri, data, ctx); try { if ((data.size() > 1024 * 1024) && (request.getPartAsString("insert", 128).length() == 0)) { this.writeReply(ctx, 4...
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/144c6fa8b4af3023cb6f0c50203b29af750a73e7/QueueToadlet.java/clean/src/freenet/clients/http/QueueToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 3349, 12, 3098, 2003, 16, 7408, 501, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 23891, 590...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 3349, 12, 3098, 2003, 16, 7408, 501, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 23891, 590...
scanlines[j % 3][(width * i) + (j / 3)] =
scanlines[j % 3][(width * i) + (j / 3)] =
public BufferedImage mjpbUncompress(byte[] input) throws FormatException { byte[] raw = null; byte[] raw2 = null; int pt = 16; // pointer into the compressed data // official documentation at // http://developer.apple.com/documentation/QuickTime/QTFF/QTFFChap3/ // chapter_4_section_2.html // info...
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/f8fea5aec2de454fd84e68759019ac47d99be52a/QTReader.java/buggy/loci/formats/QTReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12362, 312, 78, 5733, 984, 14706, 12, 7229, 8526, 810, 13, 1216, 4077, 503, 288, 565, 1160, 8526, 1831, 273, 446, 31, 565, 1160, 8526, 1831, 22, 273, 446, 31, 565, 509, 5818, 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, 282, 1071, 12362, 312, 78, 5733, 984, 14706, 12, 7229, 8526, 810, 13, 1216, 4077, 503, 288, 565, 1160, 8526, 1831, 273, 446, 31, 565, 1160, 8526, 1831, 22, 273, 446, 31, 565, 509, 5818, 273,...
return super.transform(tree, enclosing);
return super.transform(tree);
public Node transform(Node tree, Node enclosing) { // Collect all of the contained functions into a hashtable // so that the call optimizer can access the class name & parameter // count for any call it encounters collectContainedFunctions(tree.getFirstChild()); return super.trans...
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3abddeba71ba7a501cb802a83ea2023698be5bfc/OptTransformer.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/OptTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 2510, 12, 907, 2151, 16, 2029, 16307, 13, 288, 3639, 368, 9302, 777, 434, 326, 7542, 4186, 1368, 279, 711, 14544, 3639, 368, 1427, 716, 326, 745, 13066, 848, 2006, 326, 667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2029, 2510, 12, 907, 2151, 16, 2029, 16307, 13, 288, 3639, 368, 9302, 777, 434, 326, 7542, 4186, 1368, 279, 711, 14544, 3639, 368, 1427, 716, 326, 745, 13066, 848, 2006, 326, 667, ...
protected void executeTask() throws MojoExecutionException { try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_INITIALIZED ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } if ( !...
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/8c97337f8b1e7590b5b50936679ff46b9845de63/PrepareReleaseMojo.java/buggy/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 90, 11359, 561, 557, 624, 2174, 1435, 15069, 49, 10007, 14576, 95, 698, 95, 588, 7391, 5491, 7675, 25414, 12, 31722, 16, 7391, 5491, 8135, 18, 4258, 67, 12919, 25991, 1769, 97, 14683, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 90, 11359, 561, 557, 624, 2174, 1435, 15069, 49, 10007, 14576, 95, 698, 95, 588, 7391, 5491, 7675, 25414, 12, 31722, 16, 7391, 5491, 8135, 18, 4258, 67, 12919, 25991, 1769, 97, 14683, 12...
return ((Short)rs.row[numCol]).shortValue();
return XSQLVAR.decodeShort(rs.row[numCol]);
short getShort() throws SQLException { if (rs.row[numCol]==null) return SHORT_NULL_VALUE; return ((Short)rs.row[numCol]).shortValue(); }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/6d280b185bdd30f8356c739f865606941fcf330e/FBShortField.java/buggy/src/main/org/firebirdsql/jdbc/FBShortField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3025, 13157, 1435, 1216, 6483, 288, 3639, 309, 261, 5453, 18, 492, 63, 2107, 914, 65, 631, 2011, 13, 327, 20079, 67, 8560, 67, 4051, 31, 3639, 327, 1139, 3997, 7716, 18, 3922, 4897, 12,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3025, 13157, 1435, 1216, 6483, 288, 3639, 309, 261, 5453, 18, 492, 63, 2107, 914, 65, 631, 2011, 13, 327, 20079, 67, 8560, 67, 4051, 31, 3639, 327, 1139, 3997, 7716, 18, 3922, 4897, 12,...
double scale = getRscale(); int rwidth = (int)((getX()+getWidth())*scale)-getRx(); int height = (int)(getY()*scale+Constants.TEMPLATE_INITIAL_HEIGHT)-getRy();
VDBTemplate tmpl = (VDBTemplate)VDBData.getTemplates().get(getTemplateData().getTemplate().getId()); if (tmpl!=getTemplateData().getTemplate()) { getTemplateData().setTemplate(tmpl); synchronizeLinkFields(); } else { if (getTemplateData().getTemplate().getPortsGeneratedID()!=portsID) synchronizePortLinkFields(); if (g...
protected void validate() { // template change check VDBTemplate tmpl = (VDBTemplate)VDBData.getTemplates().get(getTemplateData().getTemplate().getId()); if (tmpl!=getTemplateData().getTemplate()) { getTemplateData().setTemplate(tmpl); synchronizeLinkFields(); } else { if (getTemplat...
8177 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8177/eaaab1b587521fe886d498a3c021e7b7af480986/Template.java/buggy/src/com/cosylab/vdct/graphics/objects/Template.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1954, 1435, 202, 95, 6862, 225, 368, 1542, 2549, 866, 1082, 225, 776, 2290, 2283, 10720, 273, 261, 58, 2290, 2283, 13, 58, 2290, 751, 18, 588, 8218, 7675, 588, 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, 1117, 918, 1954, 1435, 202, 95, 6862, 225, 368, 1542, 2549, 866, 1082, 225, 776, 2290, 2283, 10720, 273, 261, 58, 2290, 2283, 13, 58, 2290, 751, 18, 588, 8218, 7675, 588, 12, 588, ...
return new OneTouchButton(/* left */ true);
int dir = SwingConstants.WEST; if (orientation == JSplitPane.VERTICAL_SPLIT) dir = SwingConstants.NORTH; JButton button = new BasicArrowButton(dir); button.setBorderPainted(false); return button;
protected JButton createLeftOneTouchButton() { return new OneTouchButton(/* left */ true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 28804, 752, 3910, 3335, 10491, 3616, 1435, 225, 288, 565, 509, 1577, 273, 26145, 2918, 18, 31285, 31, 309, 261, 19235, 422, 804, 5521, 8485, 18, 21654, 10109, 67, 17482, 13, 1577, 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, 282, 4750, 28804, 752, 3910, 3335, 10491, 3616, 1435, 225, 288, 565, 509, 1577, 273, 26145, 2918, 18, 31285, 31, 309, 261, 19235, 422, 804, 5521, 8485, 18, 21654, 10109, 67, 17482, 13, 1577, 2...
public void testIndentGrowTabAtStart() throws BadLocationException, OperationCanceledException {
public void testIndentGrowTabAtStart() throws BadLocationException, OperationCanceledException {
public void testIndentGrowTabAtStart() throws BadLocationException, OperationCanceledException { OpenDefinitionsDocument openDoc = _getOpenDoc(); openDoc.insertString(0, FOO_EX_1, null); openDoc.insertString(FOO_EX_1.length(), " " + FOO_EX_2, null); openDoc.setCurrentLocation(FOO_EX_1.length()); ...
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/4e9024f79382344df7a15499ea8826062a420a5f/GlobalIndentTest.java/buggy/drjava/src/edu/rice/cs/drjava/model/GlobalIndentTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 7790, 30948, 5661, 861, 1685, 1435, 1377, 1216, 6107, 2735, 503, 16, 4189, 23163, 503, 288, 565, 3502, 7130, 2519, 1696, 1759, 273, 389, 588, 3678, 1759, 5621, 3639, 1696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7790, 30948, 5661, 861, 1685, 1435, 1377, 1216, 6107, 2735, 503, 16, 4189, 23163, 503, 288, 565, 3502, 7130, 2519, 1696, 1759, 273, 389, 588, 3678, 1759, 5621, 3639, 1696, ...
public BigInteger modInverse(BigInteger mod) { BigInteger r = new BigInteger(); r.modinv0(this, mod); return (r); }
public BigInteger modInverse(BigInteger y) { if (y.isNegative() || y.isZero()) throw new ArithmeticException("non-positive modulo"); if (y.isOne()) return ZERO; if (isOne()) return ONE; BigInteger result = new BigInteger(); boolean swapped = false; if (y.words == null) { int xval = (words != null || isNeg...
public BigInteger modInverse(BigInteger mod) { BigInteger r = new BigInteger(); r.modinv0(this, mod); return (r);}
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/68b80747f6ef61fa252b04c040ea0702ced2f387/BigInteger.java/buggy/libraries/javalib/java/math/BigInteger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 10246, 681, 16376, 12, 24198, 681, 13, 288, 202, 24198, 436, 273, 394, 10246, 5621, 202, 86, 18, 1711, 5768, 20, 12, 2211, 16, 681, 1769, 202, 2463, 261, 86, 1769, 97, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 10246, 681, 16376, 12, 24198, 681, 13, 288, 202, 24198, 436, 273, 394, 10246, 5621, 202, 86, 18, 1711, 5768, 20, 12, 2211, 16, 681, 1769, 202, 2463, 261, 86, 1769, 97, 2, -100, -100, ...
String root = getCommitRoot((String[])paths.toArray(new String[paths.size()])); ISVNEntry rootEntry = locateEntry(root); if (rootEntry == null || rootEntry.getPropertyValue(SVNProperty.URL) == null) { throw new SVNException(root + " does not contain working copy files"); }
String root = getCommitRoot((String[]) paths .toArray(new String[paths.size()])); ISVNEntry rootEntry = locateEntry(root); if (rootEntry == null || rootEntry.getPropertyValue(SVNProperty.URL) == null) { throw new SVNException(root + " does not contain working copy files"); }
public long commitPaths(List paths, String message, boolean keepLocks, ISVNProgressViewer progressViewer) throws SVNException { long start = System.currentTimeMillis(); try { final Set modified = new HashSet(); for (Iterator it = paths.iterator(); it.hasNext();) { final String path = (String)it.next(); ...
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/299b43e154938f7743c4c04297b94660dcac9cf2/SVNWorkspace.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/SVNWorkspace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1525, 3294, 4466, 12, 682, 2953, 16, 514, 883, 16, 1250, 3455, 19159, 16, 4437, 58, 50, 5491, 18415, 4007, 18415, 13, 1216, 29537, 50, 503, 288, 202, 202, 5748, 787, 273, 2332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1525, 3294, 4466, 12, 682, 2953, 16, 514, 883, 16, 1250, 3455, 19159, 16, 4437, 58, 50, 5491, 18415, 4007, 18415, 13, 1216, 29537, 50, 503, 288, 202, 202, 5748, 787, 273, 2332...
if (method.getName().startsWith("access$")){ if (!method.isStatic() ) return;
if (method.isStatic() && method.getName().startsWith("access$")){
public void visitMethod(Method method) { // we search for outer-class-access functions, which // are static, have exactly one argument of this class' type and // return an instance of the outer class' type if (method.getName().startsWith("access$")){ if (!method.isStatic() ) return; String returnType = Type...
56789 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56789/4ec5ee92e1ae3b87f8c7108d35e46b56ade5b60c/ClassModifyingVisitor.java/buggy/src/org/caesarj/mixer/intern/ClassModifyingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 25138, 12, 1305, 707, 13, 288, 202, 202, 759, 732, 1623, 364, 6390, 17, 1106, 17, 3860, 4186, 16, 1492, 202, 202, 759, 854, 760, 16, 1240, 8950, 1245, 1237, 434, 333, 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, 25138, 12, 1305, 707, 13, 288, 202, 202, 759, 732, 1623, 364, 6390, 17, 1106, 17, 3860, 4186, 16, 1492, 202, 202, 759, 854, 760, 16, 1240, 8950, 1245, 1237, 434, 333, 6...
FacesContext context = FacesContext.getCurrentInstance(); Map reqMap = context.getExternalContext().getRequestMap(); Map requestParams = context.getExternalContext().getRequestParameterMap(); AuthorBean author = (AuthorBean) cu.lookupBean( "author"); AssessmentSettingsBean assessmentSettings = (AssessmentSettingsBean)...
synchronized(repeatedPublish) { FacesContext context = FacesContext.getCurrentInstance(); UIComponent eventSource = (UIComponent) ae.getSource(); ValueBinding vb = eventSource.getValueBinding("value"); String buttonValue = (String) vb.getExpressionString(); if(buttonValue.endsWith("#{msg.button_unique_save_and_publish...
public void processAction(ActionEvent ae) throws AbortProcessingException { FacesContext context = FacesContext.getCurrentInstance(); Map reqMap = context.getExternalContext().getRequestMap(); Map requestParams = context.getExternalContext().getRequestParameterMap(); AuthorBean author = (AuthorBean) cu.lo...
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/f7775698a438e67a678c8b2ef2795f478426c3d4/PublishAssessmentListener.java/clean/samigo/tool/src/java/org/sakaiproject/tool/assessment/ui/listener/author/PublishAssessmentListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1207, 1803, 12, 1803, 1133, 14221, 13, 1216, 14263, 23684, 288, 565, 20306, 819, 273, 20306, 18, 588, 3935, 1442, 5621, 565, 1635, 1111, 863, 273, 819, 18, 588, 6841, 1042, 767...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1207, 1803, 12, 1803, 1133, 14221, 13, 1216, 14263, 23684, 288, 565, 20306, 819, 273, 20306, 18, 588, 3935, 1442, 5621, 565, 1635, 1111, 863, 273, 819, 18, 588, 6841, 1042, 767...
public Iterator features() { final Iterator wrappedIterator = baseSet.features(); return new Iterator() { public boolean hasNext() { return wrappedIterator.hasNext(); } public Object next() { return projectFeature((Feature) wrappedIterator.next()); } pu...
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/6af69e6d2e15b3553ee1bc70f261ad615ee61682/ReparentContext.java/clean/src/org/biojava/bio/seq/projection/ReparentContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3198, 7139, 1435, 95, 6385, 3198, 18704, 3198, 33, 1969, 694, 18, 7139, 5621, 2463, 2704, 3198, 1435, 95, 482, 6494, 5332, 2134, 1435, 95, 2463, 18704, 3198, 18, 5332, 2134, 5621, 97, 48...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3198, 7139, 1435, 95, 6385, 3198, 18704, 3198, 33, 1969, 694, 18, 7139, 5621, 2463, 2704, 3198, 1435, 95, 482, 6494, 5332, 2134, 1435, 95, 2463, 18704, 3198, 18, 5332, 2134, 5621, 97, 48...
}
public static String getSchemaType(int type) { switch (type) { case Types.ARRAY: return "array"; case Types.BIGINT: return "xsd:long"; case Types.BINARY: return "xsd:hexBinary"; case Types.BIT: return "xsd:boolean"; case Types.BLOB: return "xsd:h...
626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/626/b30344a36aa33ce48a8764cba1029698770fe945/DatabaseBuilder.java/buggy/src/nu/xom/samples/DatabaseBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 11088, 559, 12, 474, 618, 13, 288, 4202, 1620, 261, 723, 13, 288, 1377, 648, 7658, 18, 8552, 30, 540, 327, 315, 1126, 14432, 1377, 648, 7658, 18, 19044, 3217, 30, 3639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 11088, 559, 12, 474, 618, 13, 288, 4202, 1620, 261, 723, 13, 288, 1377, 648, 7658, 18, 8552, 30, 540, 327, 315, 1126, 14432, 1377, 648, 7658, 18, 19044, 3217, 30, 3639, ...
String s = t.nextToken();
t.nextToken();
private static SimpleOnset parseOnset(String rrule, String dtstart) { int week = 0; int dayOfWeek = 0; int month = 0; int dayOfMonth = 0; int hour = 0; int minute = 0; int second = 0; if (rrule != null) { for (StringTokenizer t = new StringTokenizer...
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/6b77e1c2e944cf869b178987a88c86b7707494b6/ICalTimeZone.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/calendar/ICalTimeZone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 4477, 1398, 542, 1109, 1398, 542, 12, 780, 436, 5345, 16, 514, 3681, 1937, 13, 288, 3639, 509, 4860, 273, 374, 31, 3639, 509, 21990, 273, 374, 31, 3639, 509, 3138, 273, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4477, 1398, 542, 1109, 1398, 542, 12, 780, 436, 5345, 16, 514, 3681, 1937, 13, 288, 3639, 509, 4860, 273, 374, 31, 3639, 509, 21990, 273, 374, 31, 3639, 509, 3138, 273, 374, ...
return fStore; }
return fStore; }
public Store getStore() { return fStore; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b13c667b376deb4a8f2c235ffd847b57616d23c4/ViewedStoreBase.java/buggy/grendel/sources/grendel/view/ViewedStoreBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4994, 15818, 1435, 288, 565, 327, 284, 2257, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4994, 15818, 1435, 288, 565, 327, 284, 2257, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public boolean performOk() { IPreferenceStore store = getPreferenceStore(); // inform the workbench of whether it should do autobuilds or not IWorkspaceDescription description = ResourcesPlugin.getWorkspace().getDescription(); boolean coreAutoBuildSetting = description.isAutoBuilding(); boolean preferenceStoreCur...
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/22bda34e4452682f99383b7352b0fbc66c20e628/WorkbenchPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 8809, 1435, 288, 202, 202, 45, 9624, 2257, 1707, 273, 336, 9624, 2257, 5621, 202, 202, 759, 13235, 326, 1440, 22144, 434, 2856, 518, 1410, 741, 2059, 947, 680, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 8809, 1435, 288, 202, 202, 45, 9624, 2257, 1707, 273, 336, 9624, 2257, 5621, 202, 202, 759, 13235, 326, 1440, 22144, 434, 2856, 518, 1410, 741, 2059, 947, 680, 87, ...
Object obj[] = (Object[])localDestinations.get(name); if (obj == null) obj = new Object[3]; if (obj[2] != null) return false; obj[2] = destination; localDestinations.put(name, obj); localPageDestinations.put(destination, null); return true;
Object obj[] = (Object[])localDestinations.get(name); if (obj == null) obj = new Object[3]; if (obj[2] != null) return false; obj[2] = destination; localDestinations.put(name, obj); localPageDestinations.put(destination, null); return true;
boolean localDestination(String name, PdfDestination destination) { Object obj[] = (Object[])localDestinations.get(name); if (obj == null) obj = new Object[3]; if (obj[2] != null) return false; obj[2] = destination; localDestinations.put(name, obj); lo...
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/6288f051b807f9da0a0f308a00b5851da285b8fb/PdfDocument.java/buggy/itext/src/com/lowagie/text/pdf/PdfDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 1191, 5683, 12, 780, 508, 16, 9989, 5683, 2929, 13, 288, 3639, 1033, 1081, 8526, 273, 261, 921, 63, 5717, 3729, 27992, 18, 588, 12, 529, 1769, 3639, 309, 261, 2603, 422, 446, 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, 377, 1250, 1191, 5683, 12, 780, 508, 16, 9989, 5683, 2929, 13, 288, 3639, 1033, 1081, 8526, 273, 261, 921, 63, 5717, 3729, 27992, 18, 588, 12, 529, 1769, 3639, 309, 261, 2603, 422, 446, 13, ...
boolean autoActivated = false;
public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { StringBuffer sb; if (e.type == SWT.Traverse) { sb = new StringBuffer("Traverse"); //$NON-NLS-1$ } else { sb = new StringBuffer("KeyDown"...
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/af27fa6d683a2ec423870c0c5d8b1631b31fdbbd/ContentProposalAdapter.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1640, 1133, 12, 1133, 425, 13, 288, 9506, 202, 430, 16051, 291, 1526, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 9610, 261, 73, 18, 723, 13, 288, 9506, 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, 1875, 202, 482, 918, 1640, 1133, 12, 1133, 425, 13, 288, 9506, 202, 430, 16051, 291, 1526, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 9610, 261, 73, 18, 723, 13, 288, 9506, 20...
/* System.out.println(wget.grep("src=S(.*)E","<img src=SwyonacmsunipublicimagegifE alt=SImageE> <br> <img src=S/wyona-cms/unipublic/another_image.gifE alt=SAnother ImageE>")); if(true){return;} */
public static void main(String[] args) { if (args.length == 0) { System.out.println("Usage: org.wyona.net.WGet [URL] -P/home/wyona/download"); return; } try { WGet wget = new WGet(); /* //System.out.println(wget.grep("src=\"(.*)\"","<...
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/a1078ed762987fa0f30ca0489c45ddf390caf251/WGet.java/buggy/src/java/org/apache/lenya/net/WGet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 5357, 30, 2358, 18, 91, 93, 265, 69, 18, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 5357, 30, 2358, 18, 91, 93, 265, 69, 18, 2...
"element:equals completion:public boolean equals(Object arg0) relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE),
"element:equals completion:public boolean equals(Object obj) relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE),
public void testCompletionMethodDeclaration3() throws JavaModelException { CompletionTestsRequestor requestor = new CompletionTestsRequestor(); ICompilationUnit cu= getCompilationUnit("Completion", "src", "", "CompletionMethodDeclaration3.java"); String str = cu.getSource(); String completeBehind = "eq"; int cursorLoca...
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/aa7a65081771999e54f29a295541444307143029/CompletionTests.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 11238, 1305, 6094, 23, 1435, 1216, 5110, 1488, 503, 288, 202, 11238, 4709, 8943, 280, 590, 280, 273, 394, 20735, 4709, 8943, 280, 5621, 202, 45, 19184, 2802, 15985, 33, 336, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 11238, 1305, 6094, 23, 1435, 1216, 5110, 1488, 503, 288, 202, 11238, 4709, 8943, 280, 590, 280, 273, 394, 20735, 4709, 8943, 280, 5621, 202, 45, 19184, 2802, 15985, 33, 336, 1...
Point2D position = gv.getGlyphPosition(0);
Rectangle2D logicalBounds = gv.getLogicalBounds();
protected Shape getStrikethroughShape() { double y = metrics.getStrikethroughOffset(); Stroke strikethroughStroke = new BasicStroke(metrics.getStrikethroughThickness()); Point2D position = gv.getGlyphPosition(0); return strikethroughStroke.createStrokedShape( ...
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/4869183dd452b1d4d6d9508ed6ab36070c6f2b0c/GlyphLayout.java/clean/sources/org/apache/batik/gvt/text/GlyphLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 12383, 24017, 1766, 546, 2642, 8500, 1435, 288, 3639, 1645, 677, 273, 4309, 18, 588, 1585, 1766, 546, 2642, 2335, 5621, 3639, 934, 6822, 609, 1766, 546, 2642, 14602, 273, 5411, 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, 377, 4750, 12383, 24017, 1766, 546, 2642, 8500, 1435, 288, 3639, 1645, 677, 273, 4309, 18, 588, 1585, 1766, 546, 2642, 2335, 5621, 3639, 934, 6822, 609, 1766, 546, 2642, 14602, 273, 5411, 394, ...
(new com.ibm.math.DiagBigDecimal.Test("mcn063")).ok=(mccon3.toString()).equals("digits=5 form=PLAIN lostDigits=1 roundingMode=ROUND_HALF_UP");
(new Test("mcn063")).ok=(mccon3.toString()).equals("digits=5 form=PLAIN lostDigits=1 roundingMode=ROUND_HALF_UP");
public void diagmathcontext(){ com.ibm.math.MathContext mccon1; com.ibm.math.MathContext mccon2; com.ibm.math.MathContext mccon3; com.ibm.math.MathContext mccon4; com.ibm.math.MathContext mcrmc; com.ibm.math.MathContext mcrmd; com.ibm.math.MathContext mcrmf; com.ibm.math.MathContext mcrmhd; com.ibm.math.MathC...
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/9d7cfece10981dede4d5303274403593abc1a92d/DiagBigDecimal.java/clean/icu4j/src/com/ibm/icu/dev/test/bigdec/DiagBigDecimal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 918, 6643, 15949, 2472, 1435, 95, 225, 532, 18, 10827, 18, 15949, 18, 10477, 1042, 6108, 591, 21, 31, 225, 532, 18, 10827, 18, 15949, 18, 10477, 1042, 6108, 591, 22, 31, 225, 532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 918, 6643, 15949, 2472, 1435, 95, 225, 532, 18, 10827, 18, 15949, 18, 10477, 1042, 6108, 591, 21, 31, 225, 532, 18, 10827, 18, 15949, 18, 10477, 1042, 6108, 591, 22, 31, 225, 532,...
if (!fNamespacesEnabled) { attribute.clear(); attribute.localpart = entityReader.scanName('='); attribute.rawname = attribute.localpart; } else { entityReader.scanQName('=', attribute); if (entityReader.lookingAtChar(':', false)) { fErrorReporter.reportError(fErrorReporter.getLocator(), XMLMessages.XML_DOMAIN, XMLMessa...
if (!fNamespacesEnabled) { attribute.clear(); attribute.localpart = entityReader.scanName('='); attribute.rawname = attribute.localpart; } else { entityReader.scanQName('=', attribute); if (entityReader.lookingAtChar(':', false)) { fErrorReporter.reportError(fErrorReporter.getLocator(), XMLMessages.XML_DOMAIN, XMLMessa...
public void scanAttributeName(XMLEntityHandler.EntityReader entityReader, QName element, QName attribute) throws Exception { if (!fSeenRootElement) { fSeenRootElement = true; rootElementSpecified(element); fStringPool.resetShuffleCount();...
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f2b9ad84920b2015a53c9a67b4dfb5460fa0465e/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4135, 19240, 12, 60, 9687, 1628, 1503, 18, 1943, 2514, 1522, 2514, 16, 4766, 282, 16723, 930, 16, 16723, 1566, 13, 377, 1216, 1185, 288, 3639, 309, 16051, 74, 15160, 2375, 1046...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4135, 19240, 12, 60, 9687, 1628, 1503, 18, 1943, 2514, 1522, 2514, 16, 4766, 282, 16723, 930, 16, 16723, 1566, 13, 377, 1216, 1185, 288, 3639, 309, 16051, 74, 15160, 2375, 1046...
public long getLength(File f) throws IOException { f = makeAbsolute(f); return f.length();
public long getLength(Path f) throws IOException { return pathToFile(f).length();
public long getLength(File f) throws IOException { f = makeAbsolute(f); return f.length(); }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/ee01fef4b4fb82c7492a4a747793839a4d14cd39/LocalFileSystem.java/clean/src/java/org/apache/hadoop/fs/LocalFileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 9888, 12, 812, 284, 13, 1216, 1860, 288, 3639, 284, 273, 1221, 10368, 12, 74, 1769, 3639, 327, 284, 18, 2469, 5621, 565, 289, 2, 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, 1525, 9888, 12, 812, 284, 13, 1216, 1860, 288, 3639, 284, 273, 1221, 10368, 12, 74, 1769, 3639, 327, 284, 18, 2469, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -1...
String content =
final String content =
public void testReload() throws Exception { String content = "<html>\n" + " <head><title>test</title></head>\n" + " <body>\n" + " <a href='javascript:window.location.reload();' id='link1'>reload</a>\n" + " </body>\n" + "</html>"; ...
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/5cc5624b4386fdebb2c3ccc18840e11237b4776b/LocationTest.java/buggy/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/LocationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13013, 1435, 1216, 1185, 288, 3639, 727, 514, 913, 273, 2868, 3532, 2620, 5333, 82, 6, 5411, 397, 315, 225, 411, 1978, 4438, 2649, 34, 3813, 1757, 2649, 4695, 1978, 5333,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13013, 1435, 1216, 1185, 288, 3639, 727, 514, 913, 273, 2868, 3532, 2620, 5333, 82, 6, 5411, 397, 315, 225, 411, 1978, 4438, 2649, 34, 3813, 1757, 2649, 4695, 1978, 5333,...
public void initSize()
public void initSize(int size)
public void initSize() { m_lastMove = null; m_field = new Field[m_board.getSize()][m_board.getSize()]; removeAll(); int size = m_board.getSize(); setLayout(new GridLayout(size + 2, size + 2)); addColumnLabels(); for (int y = size - 1; y >= 0; --y) { ...
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/c65e110a6cb0c977679bc969485468cf4820bbcf/Board.java/clean/src/gui/Board.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1225, 12, 474, 963, 13, 565, 288, 3639, 312, 67, 2722, 7607, 273, 446, 31, 3639, 312, 67, 1518, 273, 394, 2286, 63, 81, 67, 3752, 18, 588, 1225, 1435, 6362, 81, 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, 918, 1208, 1225, 12, 474, 963, 13, 565, 288, 3639, 312, 67, 2722, 7607, 273, 446, 31, 3639, 312, 67, 1518, 273, 394, 2286, 63, 81, 67, 3752, 18, 588, 1225, 1435, 6362, 81, 67, ...
assertEquals(1, manager.getTaskList().getArchiveTasks().size());
assertEquals(1, manager.getTaskList().getArchiveContainer().getChildren().size());
public void testArchiveRepositoryTaskExternalization() { BugzillaTask repositoryTask = new BugzillaTask("handle", "label", true); repositoryTask.setKind("kind"); manager.getTaskList().addTaskToArchive(repositoryTask); // repositoryTask.setCategory(manager.getTaskList().getArchiveCategory()); assertEquals(1, manag...
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2c0101d1bc1396f07c34f7b6b9070809f6e236b0/TaskListManagerTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7465, 3305, 2174, 6841, 1588, 1435, 288, 202, 202, 19865, 15990, 2174, 3352, 2174, 273, 394, 16907, 15990, 2174, 2932, 4110, 3113, 315, 1925, 3113, 638, 1769, 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, 7465, 3305, 2174, 6841, 1588, 1435, 288, 202, 202, 19865, 15990, 2174, 3352, 2174, 273, 394, 16907, 15990, 2174, 2932, 4110, 3113, 315, 1925, 3113, 638, 1769, 202, 202,...
Statement st = m_installer.m_dbconnection.createStatement(); ResultSet rs = st.executeQuery("SELECT outageId, ifServiceId from outages"); assertTrue("could not advance to read first row in ResultSet", rs.next()); assertEquals("expected outages outageId", 1, rs.getInt(1)); assertEquals("expected outages ifServiceId", 1,...
* Statement st = m_installer.m_dbconnection.createStatement(); * ResultSet rs = st.executeQuery("SELECT outageId, ifServiceId from * outages"); assertTrue("could not advance to read first row in * ResultSet", rs.next()); assertEquals("expected outages outageId", * 1, rs.getInt(1)); assertEquals("expected outages ifServ...
public void testTriggerSetIfServiceIdInOutageNullServiceId() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); m_installer.createTables(); m_installer.updatePlPgsql(); m_installer.addStoredProcedures(); e...
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/9c0a59382d378a750edf84524762ab71e335b4b3/InstallerDBTest.java/buggy/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6518, 694, 2047, 29177, 382, 1182, 410, 2041, 29177, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 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, 918, 1842, 6518, 694, 2047, 29177, 382, 1182, 410, 2041, 29177, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, ...
null, "setCdata");
null, "setCdataExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[8]; try { result[0] = new PropertyDescriptor("cdata", ELJavascriptValidatorTag.class, ...
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELJavascriptValidatorTagBeanInfo.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELJavascriptValidatorTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 28, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 71, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 28, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 71, ...
pushOnIntStack(scanner.currentPosition - 1); pushOnIntStack(scanner.startPosition);
pushOnIntStack(this.scanner.currentPosition - 1); pushOnIntStack(this.scanner.startPosition);
protected void consumeToken(int type) { /* remember the last consumed value */ /* try to minimize the number of build values */ checkNonExternalizedStringLiteral();// // clear the commentPtr of the scanner in case we read something different from a modifier// switch(type) {// case TokenNameabstract :// case TokenName...
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/72d09911302484497c2776b017dc226fd10250ec/Parser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 1345, 12, 474, 618, 13, 288, 202, 20308, 11586, 326, 1142, 12393, 460, 1195, 202, 20308, 775, 358, 18935, 326, 1300, 434, 1361, 924, 1195, 202, 1893, 3989, 6841, 1235, 28565, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 1345, 12, 474, 618, 13, 288, 202, 20308, 11586, 326, 1142, 12393, 460, 1195, 202, 20308, 775, 358, 18935, 326, 1300, 434, 1361, 924, 1195, 202, 1893, 3989, 6841, 1235, 28565, ...
if(log.isErrorEnabled()) log.error("exception is " + e);
log.error("exception is " + e);
private void fragment(Message msg) { ObjectOutputStream oos; byte[] buffer; byte[] fragments[]; Event evt; FragHeader hdr; Message frag_msg=null; Address dest=msg.getDest(), src=msg.getSrc(); long id=curr_id++; // used as seqnos int num_frags=0; ...
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/FRAG.java/clean/src/org/jgroups/protocols/FRAG.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5481, 12, 1079, 1234, 13, 288, 3639, 23438, 24956, 31, 3639, 1160, 8526, 1613, 31, 3639, 1160, 8526, 14656, 8526, 31, 3639, 2587, 6324, 31, 3639, 478, 2458, 1864, 7723, 31, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5481, 12, 1079, 1234, 13, 288, 3639, 23438, 24956, 31, 3639, 1160, 8526, 1613, 31, 3639, 1160, 8526, 14656, 8526, 31, 3639, 2587, 6324, 31, 3639, 478, 2458, 1864, 7723, 31, 363...
helpMenu.add( about );
helpMenu.add( helpAbout );
public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen...
55685 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55685/4363305f238db09ca57c1bff107f3d4d2476840e/MenuBar.java/clean/quickfix/logviewer/MenuBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9809, 5190, 1435, 1216, 3667, 2656, 503, 288, 202, 202, 9565, 5621, 1082, 202, 474, 498, 5796, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 4599, 15576, 653, 5796, 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, 225, 202, 482, 9809, 5190, 1435, 1216, 3667, 2656, 503, 288, 202, 202, 9565, 5621, 1082, 202, 474, 498, 5796, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 4599, 15576, 653, 5796, 56...
if (fvb.getWindow().getActiveWorkbenchPage() == null) return; Perspective persp = fvb.getWindow().getActiveWorkbenchPage().getActivePerspective(); if (persp != null) item.setEnabled(persp.isFastView(ref));
private void updateItem(ToolItem item, IViewReference ref) { if (item.getImage() != ref.getTitleImage()) { item.setImage(ref.getTitleImage()); } if (!Util.equals(item.getToolTipText(), ref.getTitle())) { item.setToolTipText(ref.getTitle()); } // TODO: This ge...
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/56d13c6414977c5d89d8b1fb52fc97cc4bff60f6/ShowFastViewContribution.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ShowFastViewContribution.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 1180, 12, 6364, 1180, 761, 16, 467, 1767, 2404, 1278, 13, 288, 3639, 309, 261, 1726, 18, 588, 2040, 1435, 480, 1278, 18, 588, 4247, 2040, 10756, 288, 5411, 761, 18, 542...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 1180, 12, 6364, 1180, 761, 16, 467, 1767, 2404, 1278, 13, 288, 3639, 309, 261, 1726, 18, 588, 2040, 1435, 480, 1278, 18, 588, 4247, 2040, 10756, 288, 5411, 761, 18, 542...
throws JavaScriptException
public static Object callMethod(Scriptable obj, String methodName, Object[] args) throws JavaScriptException { Object funObj = getProperty(obj, methodName); if (!(funObj instanceof Function)) { throw ScriptRuntime.typeError1( "msg....
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/37d29a017a6038dd3a95ecea961c7097f7733631/ScriptableObject.java/buggy/src/org/mozilla/javascript/ScriptableObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 745, 1305, 12, 3651, 429, 1081, 16, 514, 4918, 16, 4766, 565, 1033, 8526, 833, 13, 6647, 288, 3639, 1033, 9831, 2675, 273, 3911, 12, 2603, 16, 4918, 1769, 3639, 309, 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, 1071, 760, 1033, 745, 1305, 12, 3651, 429, 1081, 16, 514, 4918, 16, 4766, 565, 1033, 8526, 833, 13, 6647, 288, 3639, 1033, 9831, 2675, 273, 3911, 12, 2603, 16, 4918, 1769, 3639, 309, 16...
if (!hasConversions) types = null;
public FunctionObject(String name, Member methodOrConstructor, Scriptable scope) { String methodName; if (methodOrConstructor instanceof Constructor) { ctor = (Constructor) methodOrConstructor; isStatic = true; // well, doesn't take a 'this' ...
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/c7aabbec74df9f0acacd28f858852e14674ef35f/FunctionObject.java/clean/src/org/mozilla/javascript/FunctionObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4284, 921, 12, 780, 508, 16, 8596, 707, 1162, 6293, 16, 12900, 22780, 2146, 13, 565, 288, 3639, 514, 4918, 31, 3639, 309, 261, 2039, 1162, 6293, 1276, 11417, 13, 288, 5411, 15120, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4284, 921, 12, 780, 508, 16, 8596, 707, 1162, 6293, 16, 12900, 22780, 2146, 13, 565, 288, 3639, 514, 4918, 31, 3639, 309, 261, 2039, 1162, 6293, 1276, 11417, 13, 288, 5411, 15120, ...
rs.next();
if ( rs.next() )
public synchronized ALNode addUserLayoutNode (IPerson person, UserProfile profile, ALNode node ) throws PortalException { Connection con = RDBMServices.getConnection(); try { RDBMServices.setAutoCommit(con,false); int nodeId = 0; int layoutId = 0; int userId = person.getID(); IALNod...
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/3fe0532378b3b0521af32845af065cdc3141ade0/AggregatedUserLayoutStore.java/clean/source/org/jasig/portal/layout/AggregatedUserLayoutStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 7981, 907, 527, 1299, 3744, 907, 261, 2579, 3565, 6175, 16, 2177, 4029, 3042, 16, 7981, 907, 756, 262, 1216, 25478, 503, 288, 377, 4050, 356, 273, 534, 2290, 49, 5676, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 7981, 907, 527, 1299, 3744, 907, 261, 2579, 3565, 6175, 16, 2177, 4029, 3042, 16, 7981, 907, 756, 262, 1216, 25478, 503, 288, 377, 4050, 356, 273, 534, 2290, 49, 5676, 18, 5...
match(']');
}
public void mRBRACK() throws RecognitionException { int type = RBRACK; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/ja...
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 54, 7192, 3649, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 534, 7192, 3649, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 54, 7192, 3649, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 534, 7192, 3649, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621, 3639, 509, 1149, ...
File file = new File(filename);
File file = FileUtils.newFile(filename);
public static File createFile(String filename) throws IOException { File file = new File(filename); if (!file.canWrite()) { String dirName = file.getPath(); int i = dirName.lastIndexOf(File.separator); if (i > -1) { dirName = dirName...
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/c26d6e7895a7fd9d1a857f8d85c7ca168ac3be1e/FileUtils.java/clean/core/src/main/java/org/mule/util/FileUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1387, 21266, 12, 780, 1544, 13, 1216, 1860, 565, 288, 3639, 1387, 585, 273, 13779, 18, 2704, 812, 12, 3459, 1769, 3639, 309, 16051, 768, 18, 4169, 3067, 10756, 3639, 288, 5411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1387, 21266, 12, 780, 1544, 13, 1216, 1860, 565, 288, 3639, 1387, 585, 273, 13779, 18, 2704, 812, 12, 3459, 1769, 3639, 309, 16051, 768, 18, 4169, 3067, 10756, 3639, 288, 5411,...
if( ASS )
if(AS.S)
private static String buildString( String msg, Object ob ) { String str = null; if( ASS ) { str = "!!!Assertion failed!!!"; if( null != msg ) str += "\n " + msg; if( null != ob ) { str += "\n Classname = " + ob.getC...
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/2de73cf99dce60cce549e7757f841284b68d1220/ER.java/clean/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/util/ER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 1361, 780, 12, 514, 1234, 16, 1033, 3768, 262, 565, 288, 3639, 514, 609, 273, 446, 31, 3639, 309, 12, 3033, 18, 55, 13, 3639, 288, 5411, 609, 273, 315, 25885, 14979, 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, 377, 3238, 760, 514, 1361, 780, 12, 514, 1234, 16, 1033, 3768, 262, 565, 288, 3639, 514, 609, 273, 446, 31, 3639, 309, 12, 3033, 18, 55, 13, 3639, 288, 5411, 609, 273, 315, 25885, 14979, 2...
if (getTable() != null) {
if (getTable() != null) {
public RubyObject setupModule(Ruby ruby, RubyModule module) { // Node node = n; String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // TMP_PROTECT; ruby.getRubyFrame().tmpPush(); ruby.pushClass(); ruby.setRubyClass(module); ruby.setCBase(module); //CHAD ruby.getScope().push(); RubyVarmap.pus...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7798138390a306a202dcec9bde45928dae2e852e/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 3875, 3120, 12, 54, 10340, 22155, 16, 19817, 3120, 1605, 13, 288, 202, 202, 759, 2029, 756, 273, 290, 31, 202, 202, 780, 585, 273, 22155, 18, 588, 31150, 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, 19817, 921, 3875, 3120, 12, 54, 10340, 22155, 16, 19817, 3120, 1605, 13, 288, 202, 202, 759, 2029, 756, 273, 290, 31, 202, 202, 780, 585, 273, 22155, 18, 588, 31150, 5621, 202...
if (assigningAuthority == null) {
try { patientId = Integer.parseInt(hl7PatientId); } catch (NumberFormatException e) { log.warn("Invalid patient ID '" + hl7PatientId + "'"); } if (assigningAuthority == null || patientId != null) {
public Integer resolvePatientId(HL7Segment pid) throws HL7Exception { /* * TODO: Properly handle assigning authority. If specified it's currently treated as PatientIdentifierType.name * TODO: Throw exceptions instead of returning null in some cases * TODO: Don't hydrate Patient objects unnecessarily */ Strin...
30777 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/30777/135cc730dd10c9e66687e12872c99986a4d9c40c/HL7Service.java/clean/src/api/org/openmrs/hl7/HL7Service.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2144, 2245, 22834, 1979, 548, 12, 44, 48, 27, 4131, 4231, 13, 1216, 670, 48, 27, 503, 288, 202, 202, 20308, 1082, 380, 2660, 30, 1186, 457, 715, 1640, 28639, 11675, 18, 971, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2144, 2245, 22834, 1979, 548, 12, 44, 48, 27, 4131, 4231, 13, 1216, 670, 48, 27, 503, 288, 202, 202, 20308, 1082, 380, 2660, 30, 1186, 457, 715, 1640, 28639, 11675, 18, 971, ...
getLogger().error( "Trace", t );
getLogger().info( "Trace", t );
private void logTrace( Throwable t, boolean showErrors ) { if ( getLogger().isDebugEnabled() ) { getLogger().debug( "Trace", t ); line(); } else if ( showErrors ) { getLogger().error( "Trace", t ); line(); } else ...
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/a9f4d9f1e588bd5e89c4af908d1dfc8b6e81e741/DefaultMaven.java/buggy/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 613, 3448, 12, 4206, 268, 16, 1250, 2405, 4229, 262, 565, 288, 3639, 309, 261, 7156, 7675, 291, 2829, 1526, 1435, 262, 3639, 288, 5411, 7156, 7675, 4148, 12, 315, 3448, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 613, 3448, 12, 4206, 268, 16, 1250, 2405, 4229, 262, 565, 288, 3639, 309, 261, 7156, 7675, 291, 2829, 1526, 1435, 262, 3639, 288, 5411, 7156, 7675, 4148, 12, 315, 3448, 3113, ...
stripSpace.stripAttributes(true); stripSpace.setMaxLocals(); stripSpace.setMaxStack(); stripSpace.removeNOPs(); classGen.addMethod(stripSpace.getMethod());
classGen.addMethod(stripSpace);
private static void compilePredicate(Vector rules, int defaultAction, ClassGenerator classGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = new InstructionList(); final XSLTC xsltc = classGen.getParser().getXSLTC(); // private boolean Translet.stripSpace(int type) -...
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/04fbeab0e3a7992cdc5a5fe8965298086118e3d8/Whitespace.java/clean/src/org/apache/xalan/xsltc/compiler/Whitespace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4074, 8634, 12, 5018, 2931, 16, 25083, 509, 805, 1803, 16, 25083, 1659, 3908, 667, 7642, 13, 288, 202, 6385, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4074, 8634, 12, 5018, 2931, 16, 25083, 509, 805, 1803, 16, 25083, 1659, 3908, 667, 7642, 13, 288, 202, 6385, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, ...
c.pushStyle(CascadedStyle.emptyCascadedStyle);
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { LinkedList decorations = c.getDecorations(); c.pushStyle(CascadedStyle.emptyCascadedStyle); //BlockBox block = (BlockBox)...
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/f77807950b50bf9a928b40c6c8caa9b235754fe4/InlineRendering.java/buggy/src/java/org/xhtmlrenderer/render/InlineRendering.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 12574, 10870, 1042, 12, 1042, 276, 16, 8549, 3919, 16, 1250, 3127, 1362, 13, 288, 3639, 368, 21050, 2154, 358, 1221, 3071, 716, 977, 2199, 2727, 1404, 336, 2870, 4992, 471, 4123...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 12574, 10870, 1042, 12, 1042, 276, 16, 8549, 3919, 16, 1250, 3127, 1362, 13, 288, 3639, 368, 21050, 2154, 358, 1221, 3071, 716, 977, 2199, 2727, 1404, 336, 2870, 4992, 471, 4123...
SequenceIntervalCollection activeIntervalCollection = bugInstance.getActiveIntervalCollection(); activeIntervalCollection.add(new SequenceInterval(sequence, sequence)); bugInstance.setActiveIntervalCollection(activeIntervalCollection);
bugInstance.setFirstVersion(sequence);
public boolean add(BugInstance bugInstance, boolean updateActiveTime) { registerUniqueId(bugInstance); if (updateActiveTime) { // Mark the BugInstance as being active at the BugCollection's current timestamp. SequenceIntervalCollection activeIntervalCollection = bugInstance.getActiveIntervalCollection(); ac...
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/ae6d5886cb131ba7ea293f6f7c9cfc29314b9155/SortedBugCollection.java/clean/findbugs/src/java/edu/umd/cs/findbugs/SortedBugCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 527, 12, 19865, 1442, 7934, 1442, 16, 1250, 1089, 3896, 950, 13, 288, 202, 202, 4861, 24174, 12, 925, 1442, 1769, 202, 202, 430, 261, 2725, 3896, 950, 13, 288, 1082, 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, 1250, 527, 12, 19865, 1442, 7934, 1442, 16, 1250, 1089, 3896, 950, 13, 288, 202, 202, 4861, 24174, 12, 925, 1442, 1769, 202, 202, 430, 261, 2725, 3896, 950, 13, 288, 1082, 202...
errroMessage.sendHtml( response ); }
errroMessage.sendHtml( response ); }
protected void sendErrorMessage( String imcserver, String eMailServerMaster, String languagePrefix, String errorHeader, int errorCode, HttpServletResponse response ) throws IOException { ErrorMessageGenerator errroMessage = new ErrorMessageGenerator( imcserver, eMailServerMaster, languagePrefix...
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/Administrator.java/buggy/servlets/Administrator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1366, 14935, 12, 514, 709, 71, 3567, 16, 514, 425, 6759, 2081, 7786, 16, 6862, 4202, 514, 2653, 2244, 16, 514, 555, 1864, 16, 6862, 4202, 509, 12079, 16, 12446, 766, 262...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1366, 14935, 12, 514, 709, 71, 3567, 16, 514, 425, 6759, 2081, 7786, 16, 6862, 4202, 514, 2653, 2244, 16, 514, 555, 1864, 16, 6862, 4202, 509, 12079, 16, 12446, 766, 262...
super((Shell)null);
super((Shell) null);
KeyAssistDialog(final IWorkbench workbench, final WorkbenchKeyboard associatedKeyboard, final KeyBindingState associatedState) { super((Shell)null); setShellStyle(SWT.NO_TRIM); setBlockOnOpen(false); this.activityManager = workbench.getActivitySupport() .getActivityManager(); this.bindingService = (IBindin...
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/KeyAssistDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/KeyAssistDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 653, 2610, 376, 6353, 12, 6385, 467, 2421, 22144, 1440, 22144, 16, 1082, 202, 6385, 4147, 22144, 17872, 3627, 17872, 16, 1082, 202, 6385, 1929, 5250, 1119, 3627, 1119, 13, 288, 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, 653, 2610, 376, 6353, 12, 6385, 467, 2421, 22144, 1440, 22144, 16, 1082, 202, 6385, 4147, 22144, 17872, 3627, 17872, 16, 1082, 202, 6385, 1929, 5250, 1119, 3627, 1119, 13, 288, 202, ...
if ( moduleHandle!=libraryHandle && !moduleHandle.isInclude( libraryHandle ) )
if ( moduleHandle != libraryHandle && !moduleHandle.isInclude( libraryHandle ) )
public static boolean includeLibrary( ModuleHandle moduleHandle, LibraryHandle libraryHandle ) throws DesignFileException, SemanticException { if ( moduleHandle!=libraryHandle && !moduleHandle.isInclude( libraryHandle ) ) { String defaultName = new File( libraryHandle.getFileName( ) ).getName( ) .split( Fi...
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/a11c61344fea2c7dd935e6c4bd0e49a1b90c426e/UIUtil.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 2341, 9313, 12, 5924, 3259, 1605, 3259, 16, 1082, 202, 9313, 3259, 5313, 3259, 262, 1216, 29703, 812, 503, 16, 1082, 202, 13185, 9941, 503, 202, 95, 202, 202, 430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 2341, 9313, 12, 5924, 3259, 1605, 3259, 16, 1082, 202, 9313, 3259, 5313, 3259, 262, 1216, 29703, 812, 503, 16, 1082, 202, 13185, 9941, 503, 202, 95, 202, 202, 430, ...
public Color getBackground() {
public Color getBackground() {
public Color getBackground() { return Component.this.getBackground(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Component.java/clean/core/src/classpath/java/java/awt/Component.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 5563, 336, 8199, 1435, 288, 1082, 202, 2463, 5435, 18, 2211, 18, 588, 8199, 5621, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 5563, 336, 8199, 1435, 288, 1082, 202, 2463, 5435, 18, 2211, 18, 588, 8199, 5621, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
if(event.getProperty().equals(IPreferenceConstants.ENABLED_DECORATORS)) WorkbenchPlugin.getDefault().getDecoratorManager().restoreListeners();
if (event .getProperty() .equals(IPreferenceConstants.ENABLED_DECORATORS)) WorkbenchPlugin .getDefault() .getDecoratorManager() .restoreListeners(); if (event .getProperty() .equals(IWorkbenchPreferenceConstants.DEFAULT_PERSPECTIVE_ID)) { if (! event.getNewValue().equals(event.getOldValue())) { IPerspectiveRegistry ...
public void propertyChange(PropertyChangeEvent event) { if(event.getProperty().equals(IPreferenceConstants.ENABLED_DECORATORS)) WorkbenchPlugin.getDefault().getDecoratorManager().restoreListeners(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/673707a9883ba35bbbe6ac8e1b097d6f34e61e64/PlatformUIPreferenceListener.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/PlatformUIPreferenceListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 871, 13, 288, 202, 202, 430, 12, 2575, 18, 588, 1396, 7675, 14963, 12, 45, 9624, 2918, 18, 13560, 67, 1639, 9428, 3575, 55, 3719, 1082, 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, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 871, 13, 288, 202, 202, 430, 12, 2575, 18, 588, 1396, 7675, 14963, 12, 45, 9624, 2918, 18, 13560, 67, 1639, 9428, 3575, 55, 3719, 1082, 202, ...
Map<String, String> typeToValue = new HashMap<String, String>();
public TableManager getSystemTableManagerCustomizations(TableManager tableManager, TableManager primarySystemTableManager, Date version) throws Exception { PreparedStatement ps = ConnectionManager.getRelationalDBConnection().prepareStatement("SELECT value, type " + "FROM genenametype INNER JOIN entrytype_gen...
56676 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56676/451fd04f0ce6706463e5284c7920870a819cb05e/EscherichiaColiUniProtSpeciesProfile.java/clean/gmbuilder/src/edu/lmu/xmlpipedb/gmbuilder/databasetoolkit/profiles/EscherichiaColiUniProtSpeciesProfile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3555, 1318, 12996, 1388, 1318, 3802, 7089, 12, 1388, 1318, 1014, 1318, 16, 3555, 1318, 3354, 3163, 1388, 1318, 16, 2167, 1177, 13, 1216, 1185, 288, 3639, 16913, 4250, 273, 4050, 1318,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3555, 1318, 12996, 1388, 1318, 3802, 7089, 12, 1388, 1318, 1014, 1318, 16, 3555, 1318, 3354, 3163, 1388, 1318, 16, 2167, 1177, 13, 1216, 1185, 288, 3639, 16913, 4250, 273, 4050, 1318,...
public boolean shitlistRouter(Hash peer, String reason) { if (peer == null) { _log.error("wtf, why did we try to shitlist null?", new Exception("shitfaced")); return false; } if (_context.routerHash().equals(peer)) { _log.error("wtf, why did we try to shitlist ourselves?", new Exception("shitfaced")); return false; } b...
public boolean shitlistRouter(Hash peer) { return shitlistRouter(peer, null);
public boolean shitlistRouter(Hash peer, String reason) { if (peer == null) { _log.error("wtf, why did we try to shitlist null?", new Exception("shitfaced")); return false; } if (_context.routerHash().equals(peer)) { _log.error("wtf, why did we try to shitlist o...
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/24bad8e4bbb44f0148e118f584047e5149fff555/Shitlist.java/buggy/router/java/src/net/i2p/router/Shitlist.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 699, 305, 1098, 8259, 12, 2310, 4261, 16, 514, 3971, 13, 288, 3639, 309, 261, 12210, 422, 446, 13, 288, 5411, 389, 1330, 18, 1636, 2932, 6046, 74, 16, 11598, 5061, 732, 775,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 699, 305, 1098, 8259, 12, 2310, 4261, 16, 514, 3971, 13, 288, 3639, 309, 261, 12210, 422, 446, 13, 288, 5411, 389, 1330, 18, 1636, 2932, 6046, 74, 16, 11598, 5061, 732, 775,...
if ( _cnt2723>=1 ) { break _loop2723; } else {throw new NoViableAltException(LT(1), getFilename());}
if ( _cnt56>=1 ) { break _loop56; } else {throw new NoViableAltException(LT(1), getFilename());}
public final void value() throws RecognitionException, TokenStreamException { Token s = null; Token n = null; Token m = null; try { // for error handling boolean synPredMatched2709 = false; if (((_tokenSet_14.member(LA(1))) && (LA(2)==NL||LA(2)==ADR) && (_tokenSet_15.member(LA(3))))) { int _m270...
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/588fa46a989be704f3cfb7e6dd6997282136a5e7/PerlParserSimple.java/buggy/org.epic.debug/src/org/epic/debug/varparser/PerlParserSimple.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 460, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 1345, 225, 272, 273, 446, 31, 202, 202, 1345, 225, 290, 273, 446, 31, 202, 202, 1345, 225, 312, 273, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 460, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 1345, 225, 272, 273, 446, 31, 202, 202, 1345, 225, 290, 273, 446, 31, 202, 202, 1345, 225, 312, 273, 44...
sbuf.append(" text-align: right; ");
sbuf.append("text-align: right; ");
public void addCss(StringBuffer sbuf) { sbuf.append("<STYLE type=\"text/css\">"); sbuf.append(" table { "); sbuf.append(" margin-left: 2em; "); sbuf.append(" margin-right: 2em; "); sbuf.append(" border-left: 2px solid #AAA; "); sbuf.append("}"); sb...
51675 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51675/72de6f8151b7528215bcfe228f8ae4bd010d1715/DefaultCssBuilder.java/buggy/logback-access/src/main/java/ch/qos/logback/access/html/DefaultCssBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 7359, 12, 780, 1892, 2393, 696, 13, 288, 565, 2393, 696, 18, 6923, 2932, 32, 15066, 225, 618, 5189, 955, 19, 5212, 21121, 1769, 565, 2393, 696, 18, 6923, 2932, 565, 1014...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 7359, 12, 780, 1892, 2393, 696, 13, 288, 565, 2393, 696, 18, 6923, 2932, 32, 15066, 225, 618, 5189, 955, 19, 5212, 21121, 1769, 565, 2393, 696, 18, 6923, 2932, 565, 1014...
AST __t1868 = _t; AST tmp1588_AST_in = (AST)_t;
AST __t1872 = _t; AST tmp1592_AST_in = (AST)_t;
public final void recordphrase(AST _t) throws RecognitionException { AST recordphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1863 = _t; AST tmp1583_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: case FIELDS: ...
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1409, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1409, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1409, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1409, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053...
return filter();
Filter result = filter(); return result;
public Filter parse(String s) throws ParseException { tokens = new StringTokenizer(s, SEPS, true); return filter(); }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/134a2394c7ea0c569d600c254dc860c6553381a1/SearchStringParser.java/buggy/core/src/org/cougaar/core/naming/SearchStringParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4008, 1109, 12, 780, 272, 13, 1216, 10616, 288, 3639, 2430, 273, 394, 16370, 12, 87, 16, 3174, 5857, 16, 638, 1769, 3639, 4008, 563, 273, 1034, 5621, 327, 563, 31, 565, 289, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4008, 1109, 12, 780, 272, 13, 1216, 10616, 288, 3639, 2430, 273, 394, 16370, 12, 87, 16, 3174, 5857, 16, 638, 1769, 3639, 4008, 563, 273, 1034, 5621, 327, 563, 31, 565, 289, 2, ...
}
} /* ===== SWITCH OFF THE SILLY AUTHENTICATION ===========================================
public Right initialize(String dbID, String user, String password) throws DBLayerException { Configuration cfg; int result = 0; // File containing Hibernate configuration configFile = new File("hibernate.cfg.xml"); // Load Hibernate configuration try { ...
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/6257494be8751cabcb0b6d3c36d003800ea234e2/HibernateDBLayer.java/clean/trunk/src/net/sf/plantlore/server/HibernateDBLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13009, 4046, 12, 780, 1319, 734, 16, 514, 729, 16, 514, 2201, 13, 1216, 2383, 4576, 503, 288, 3639, 4659, 2776, 31, 3639, 509, 563, 273, 374, 31, 7734, 368, 1387, 4191, 670, 24360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13009, 4046, 12, 780, 1319, 734, 16, 514, 729, 16, 514, 2201, 13, 1216, 2383, 4576, 503, 288, 3639, 4659, 2776, 31, 3639, 509, 563, 273, 374, 31, 7734, 368, 1387, 4191, 670, 24360...
setType(((Integer)newValue).intValue());
setType(((Integer) newValue).intValue());
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case AttributePackage.IMAGE__TYPE: setType(((Integer)newValue).intValue()); return; case AttributePackage.IMAGE__URL: ...
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ImageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/ImageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 1...
protected AlternativeGenerator(JavaGenerationParameters params, Type type, Alternative alt) { super(params); this.type = type; this.alt = alt; this.className = buildClassName(alt.getId()); this.superClassName = TypeGenerator.qualifiedClassName(params, type); }
protected AlternativeGenerator( JavaGenerationParameters params, Type type, Alternative alt) { super(params); this.type = type; this.alt = alt; this.className = buildClassName(alt.getId()); this.superClassName = TypeGenerator.qualifiedClassName(params, type); }
protected AlternativeGenerator(JavaGenerationParameters params, Type type, Alternative alt) { super(params); this.type = type; this.alt = alt; this.className = buildClassName(alt.getId()); this.superClassName = TypeGenerator.qualifiedClassName(params, type); }
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/76875cdfe2af0d6de4ab58a245cce8bd703a86ab/AlternativeGenerator.java/buggy/apigen/apigen/gen/java/AlternativeGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 21498, 1535, 3908, 12, 5852, 13842, 2402, 859, 16, 1412, 618, 16, 21498, 1535, 3770, 13, 288, 202, 202, 9565, 12, 2010, 1769, 202, 202, 2211, 18, 723, 273, 618, 31, 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, 1117, 21498, 1535, 3908, 12, 5852, 13842, 2402, 859, 16, 1412, 618, 16, 21498, 1535, 3770, 13, 288, 202, 202, 9565, 12, 2010, 1769, 202, 202, 2211, 18, 723, 273, 618, 31, 202, 202,...
if (frags.hasNext()) { TextFragmentBox box = (TextFragmentBox)frags.next(); assertTrue("Failed on: " + string1 + string2 + " Found extra fragment: -" + string1.substring(box.offset, box.offset + box.length) + "-\n", false); }
protected void doTest2(String string1, String string2, String widthString, String[] answers) { int width = -1; if (widthString != null) width = FigureUtilities.getStringExtents(widthString, TAHOMA).width; figure.setSize(width, 1000); textFlow.setText(string1); textFlow2.setText(string2); figure.validate(); ArrayList l...
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/12b5906f84354f4dabb83492a1a841dab42c2021/TextFlowWrapTest.java/buggy/org.eclipse.draw2d.test/src/org/eclipse/draw2d/test/TextFlowWrapTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 741, 4709, 22, 12, 780, 533, 21, 16, 514, 533, 22, 16, 514, 1835, 780, 16, 514, 8526, 12415, 13, 288, 202, 474, 1835, 273, 300, 21, 31, 202, 430, 261, 2819, 780, 480, 446, 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, 4750, 918, 741, 4709, 22, 12, 780, 533, 21, 16, 514, 533, 22, 16, 514, 1835, 780, 16, 514, 8526, 12415, 13, 288, 202, 474, 1835, 273, 300, 21, 31, 202, 430, 261, 2819, 780, 480, 446, 13,...
} } else { IStatus status = Preferences.validatePreferenceVersions(path); if (status.getSeverity() == IStatus.ERROR) { ErrorDialog.openError( getShell(), WorkbenchMessages.getString("WorkbenchPreferenceDialog.loadErrorTitle"), WorkbenchMessages.format("WorkbenchPreferenceDialog.verifyErrorMessage", new Object[]{selec...
public boolean performFinish() { // Save all the pages and give them a chance to abort Iterator nodes = parent.getPreferenceManager().getElements(PreferenceManager.PRE_ORDER).iterator(); while (nodes.hasNext()) { IPreferenceNode node = (IPreferenceNode) nodes.next(); IPreferencePage page = node.getPage(); i...
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3c63964b69c8784aa8b834145ebb9177bab4d07e/PreferenceImportExportWizard.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PreferenceImportExportWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 97, 225, 289, 469, 288, 467, 1482, 1267, 273, 28310, 18, 5662, 9624, 5940, 12, 803, 1769, 309, 261, 2327, 18, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 225, 1068, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 225, 289, 469, 288, 467, 1482, 1267, 273, 28310, 18, 5662, 9624, 5940, 12, 803, 1769, 309, 261, 2327, 18, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 225, 1068, ...
Logger.trace("Player::create","D","Finally player is :"+player);
logger.debug("Finally player is :"+player);
public static Player create(RPObject object) { // Port from 0.03 to 0.10 if(!object.has("base_hp")) { object.put("base_hp","100"); object.put("hp","100"); } // Port from 0.13 to 0.20 if(!object.has("outfit")) { object.put("outfit",0); } // Port from 0.20 to 0.3...
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/5032255cbc6322ed19134d0417d2ef3bbb056e19/Player.java/clean/src/games/stendhal/server/entity/Player.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 19185, 752, 12, 54, 52, 921, 733, 13, 565, 288, 565, 368, 6008, 628, 374, 18, 4630, 358, 374, 18, 2163, 565, 309, 12, 5, 1612, 18, 5332, 2932, 1969, 67, 15373, 6, 3719, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19185, 752, 12, 54, 52, 921, 733, 13, 565, 288, 565, 368, 6008, 628, 374, 18, 4630, 358, 374, 18, 2163, 565, 309, 12, 5, 1612, 18, 5332, 2932, 1969, 67, 15373, 6, 3719, 1...
if (message != null)
if (message != null && ! message.equals(""))
static String format(String message, Object expected, Object actual) { String formatted= ""; if (message != null) formatted= message + " "; return formatted + "expected:<" + expected + "> but was:<" + actual + ">"; }
46243 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46243/b0c0b79ae5e0dcfc1670cf950d31a14f1c9c630c/Assert.java/clean/org/junit/Assert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 514, 740, 12, 780, 883, 16, 1033, 2665, 16, 1033, 3214, 13, 288, 202, 202, 780, 4955, 33, 1408, 31, 202, 202, 430, 261, 2150, 480, 446, 13, 1082, 202, 14897, 33, 883, 397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3845, 514, 740, 12, 780, 883, 16, 1033, 2665, 16, 1033, 3214, 13, 288, 202, 202, 780, 4955, 33, 1408, 31, 202, 202, 430, 261, 2150, 480, 446, 13, 1082, 202, 14897, 33, 883, 397, ...
while (nidx < data.epsFile.length && ((data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57) || (data.epsFile[nidx] == 45) || (data.epsFile[nidx] == 46) )) {
while (nidx < data.epsFile.length && ((data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57) || (data.epsFile[nidx] == 45) || (data.epsFile[nidx] == 46))) {
private int readLongString(EPSImage.EPSData data, long[] mbbox, int i, int idx) { while (idx < data.epsFile.length && (data.epsFile[idx] == 32)) { idx++; } int nidx = idx; // check also for ANSI46(".") to identify floating point values while (nidx < data.epsFile.length &...
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/4e5fe60cb9134363e50dbd8da5c5e82e3c6e9afc/EPSReader.java/clean/src/org/apache/fop/image/analyser/EPSReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 26567, 780, 12, 41, 5857, 2040, 18, 41, 5857, 751, 501, 16, 1525, 8526, 4903, 2147, 16, 509, 277, 16, 509, 2067, 13, 288, 3639, 1323, 261, 3465, 411, 501, 18, 13058, 812, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 26567, 780, 12, 41, 5857, 2040, 18, 41, 5857, 751, 501, 16, 1525, 8526, 4903, 2147, 16, 509, 277, 16, 509, 2067, 13, 288, 3639, 1323, 261, 3465, 411, 501, 18, 13058, 812, 1...
setElem(result, slot - lbegin, temp);
setElem(result, slot - begin, temp);
private Scriptable jsFunction_slice(Context cx, Scriptable thisObj, Object[] args) { Scriptable scope = getTopLevelScope(this); Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null); double length = getLengthProperty(thisObj); dou...
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/5f6a565762eea9efee2aee1297e0f938ac7edf63/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 22780, 3828, 2083, 67, 6665, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 3639, 1033, 8526, 833, 13, 565, 288, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 2211, 1769, 3639, 22780, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22780, 3828, 2083, 67, 6665, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 3639, 1033, 8526, 833, 13, 565, 288, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 2211, 1769, 3639, 22780, ...
result = imports.removeElement(className);
result = _imports.removeElement(className);
public boolean removeImport(String className) { boolean result = false; if (className == null) return result; if (className.length() == 0) return result; result = imports.removeElement(className); return result; } //-- removeImport
57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/639ed93115321ad51c2450f306c4d50d146ede46/JStructure.java/buggy/src/main/java/org/exolab/javasource/JStructure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1206, 5010, 12, 780, 2658, 13, 288, 3639, 1250, 563, 273, 629, 31, 3639, 309, 261, 12434, 422, 446, 13, 327, 563, 31, 3639, 309, 261, 12434, 18, 2469, 1435, 422, 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, 377, 1071, 1250, 1206, 5010, 12, 780, 2658, 13, 288, 3639, 1250, 563, 273, 629, 31, 3639, 309, 261, 12434, 422, 446, 13, 327, 563, 31, 3639, 309, 261, 12434, 18, 2469, 1435, 422, 374, 13, ...
if (osgi == null) throw new IllegalStateException("OSGi framework could not be started");
public static Object run(String[] args,Runnable endSplashHandler) throws Exception { processCommandLine(args); setInstanceLocation(); setConfigurationLocation(); loadConfigurationInfo(); loadDefaultProperties(); adaptor = createAdaptor(); OSGi osgi = new OSGi(adaptor); if (osgi == null) throw new IllegalSta...
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/59da9b430a125a2ba51fe82173724396c4e0ef6e/EclipseStarter.java/buggy/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1033, 1086, 12, 780, 8526, 833, 16, 20013, 679, 16881, 961, 1503, 13, 1216, 1185, 288, 202, 202, 2567, 21391, 12, 1968, 1769, 202, 202, 542, 1442, 2735, 5621, 202, 202, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 1086, 12, 780, 8526, 833, 16, 20013, 679, 16881, 961, 1503, 13, 1216, 1185, 288, 202, 202, 2567, 21391, 12, 1968, 1769, 202, 202, 542, 1442, 2735, 5621, 202, 202, 5...
(PsiExpression[]) conditions.toArray(new PsiExpression[numConditions]);
conditions.toArray(new PsiExpression[numConditions]);
public void visitIfStatement(PsiIfStatement statement){ super.visitIfStatement(statement); final PsiElement parent = statement.getParent(); if(parent instanceof PsiIfStatement){ final PsiIfStatement parentStatement = (PsiIfStatement) parent; final P...
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2d46d291193579a7564649b4881c7ea8e02eda5b/DuplicateConditionInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/DuplicateConditionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 2047, 3406, 12, 52, 7722, 2047, 3406, 3021, 15329, 5411, 2240, 18, 11658, 2047, 3406, 12, 11516, 1769, 5411, 727, 453, 7722, 1046, 982, 273, 3021, 18, 588, 3054, 5621, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3757, 2047, 3406, 12, 52, 7722, 2047, 3406, 3021, 15329, 5411, 2240, 18, 11658, 2047, 3406, 12, 11516, 1769, 5411, 727, 453, 7722, 1046, 982, 273, 3021, 18, 588, 3054, 5621, 54...
props.put(new Integer(propType), prop);
props.put(propType, prop);
public void putProp(int propType, Object prop) { if (props == null) props = new Hashtable(2); if (prop == null) props.remove(new Integer(propType)); else props.put(new Integer(propType), prop); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/f7a0fa338c9770cfddd37fbddd87bffd69e5df22/Node.java/buggy/js/rhino/src/org/mozilla/javascript/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 4658, 12, 474, 2270, 559, 16, 1033, 2270, 13, 288, 3639, 309, 261, 9693, 422, 446, 13, 5411, 3458, 273, 394, 18559, 12, 22, 1769, 3639, 309, 261, 5986, 422, 446, 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, 377, 1071, 918, 1378, 4658, 12, 474, 2270, 559, 16, 1033, 2270, 13, 288, 3639, 309, 261, 9693, 422, 446, 13, 5411, 3458, 273, 394, 18559, 12, 22, 1769, 3639, 309, 261, 5986, 422, 446, 13, ...
ColData data = getColumn(columnIndex); return ((Integer) Support.convert(this, data.getValue(), java.sql.Types.TINYINT, null)).byteValue();
return ((Integer) Support.convert(this, getColumn(columnIndex), java.sql.Types.TINYINT, null)).byteValue();
public byte getByte(int columnIndex) throws SQLException { ColData data = getColumn(columnIndex); return ((Integer) Support.convert(this, data.getValue(), java.sql.Types.TINYINT, null)).byteValue(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/280391932d64190b4ee42f49e5f8b60382f2fa03/JtdsResultSet.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 20999, 12, 474, 14882, 13, 1216, 6483, 288, 3639, 1558, 751, 501, 273, 6716, 12, 2827, 1016, 1769, 3639, 327, 14015, 4522, 13, 13619, 18, 6283, 12, 2211, 16, 501, 18, 24805, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 1160, 20999, 12, 474, 14882, 13, 1216, 6483, 288, 3639, 1558, 751, 501, 273, 6716, 12, 2827, 1016, 1769, 3639, 327, 14015, 4522, 13, 13619, 18, 6283, 12, 2211, 16, 501, 18, 24805, ...
strBuf.append('0').append("GMT").append(s.substring(s.length() - 3, s.length())).append(":00");
do { if (i < 24) sbuf.append(c); c = s.charAt(i++); } while (Character.isDigit(c)); for (int j = i; j < 24; j++) sbuf.append('0');
public Timestamp getTimestamp(int columnIndex) throws SQLException { String s = getString(columnIndex); if (s == null) return null; boolean subsecond; //if string contains a '.' we have fractional seconds if (s.indexOf('.') == -1) { subsecond = false; } else { subsecond = true; } //here we are modifyi...
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/3dd85bcb08440bae6210114124aa0002a83c957c/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8159, 11940, 12, 474, 14882, 13, 1216, 6483, 202, 95, 202, 202, 780, 272, 273, 4997, 12, 2827, 1016, 1769, 202, 202, 430, 261, 87, 422, 446, 13, 1082, 202, 2463, 446, 31, 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, 482, 8159, 11940, 12, 474, 14882, 13, 1216, 6483, 202, 95, 202, 202, 780, 272, 273, 4997, 12, 2827, 1016, 1769, 202, 202, 430, 261, 87, 422, 446, 13, 1082, 202, 2463, 446, 31, 20...
scanner.addDefinition("ONE", "one"); scanner.addDefinition("TWO", "two");
addDefinition("ONE", "one"); addDefinition("TWO", "two");
public void testSlightlyComplexIfdefStructure() { try { initializeScanner("#ifndef BASE\n#define BASE 10\n#endif\n#ifndef BASE\n#error BASE is defined\n#endif"); //$NON-NLS-1$ validateEOF(); } catch (Exception e) { fail(EXCEPTION_THROWN + e.toString()); } try { initializeScanner("#ifndef ONE\n#define O...
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/9a9ffd59c2ace5ba7e382136e5bf15a8c1305996/Scanner2Test.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner2/Scanner2Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3738, 750, 715, 12795, 2047, 536, 6999, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 11160, 11338, 2932, 7, 430, 82, 536, 10250, 64, 82, 7, 11255, 10250, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3738, 750, 715, 12795, 2047, 536, 6999, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 11160, 11338, 2932, 7, 430, 82, 536, 10250, 64, 82, 7, 11255, 10250, ...
connector.updateOfflineState(task, newData, false);
TasksUiPlugin.getSynchronizationManager().updateOfflineState(connector, task, newData, false);
public void testSynchronizedToSynchronized() { AbstractRepositoryTask task = primeTaskAndRepository(RepositoryTaskSyncState.SYNCHRONIZED, RepositoryTaskSyncState.SYNCHRONIZED); assertEquals(DATE_STAMP_1, task.getLastModifiedDateStamp()); connector.updateOfflineState(task, newData, false); assertEquals(Repositor...
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/72d80f551ca060c2734122d72e119e0cdf881f12/RepositoryTaskSynchronizationTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 55, 15666, 774, 55, 15666, 1435, 288, 202, 202, 7469, 3305, 2174, 1562, 273, 17014, 2174, 1876, 3305, 12, 3305, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 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, 225, 202, 482, 918, 1842, 55, 15666, 774, 55, 15666, 1435, 288, 202, 202, 7469, 3305, 2174, 1562, 273, 17014, 2174, 1876, 3305, 12, 3305, 2174, 4047, 1119, 18, 7474, 50, 1792, 19359, 24131, 16...
private Vector singleMatch(MessageContainer mc, String conditions) {
private Vector singleMatch(Mail mc, String conditions) {
private Vector singleMatch(MessageContainer mc, String conditions) { boolean opNot = conditions.startsWith(OP_NOT); if (opNot) { conditions = conditions.substring(1); } String matchClass = "org.apache.james.james.match." + conditions; String param = ""; int sep =...
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/2cc4e7b335a4167a42773c840c2879d082e21c1e/JamesSpoolManager.java/clean/src/org/apache/james/james/JamesSpoolManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5589, 2202, 2060, 12, 6759, 6108, 16, 514, 4636, 13, 288, 3639, 1250, 1061, 1248, 273, 4636, 18, 17514, 1190, 12, 3665, 67, 4400, 1769, 3639, 309, 261, 556, 1248, 13, 288, 5411, 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, 3238, 5589, 2202, 2060, 12, 6759, 6108, 16, 514, 4636, 13, 288, 3639, 1250, 1061, 1248, 273, 4636, 18, 17514, 1190, 12, 3665, 67, 4400, 1769, 3639, 309, 261, 556, 1248, 13, 288, 5411, 4...
if (child.getElementType() == JavaDocElementType.DOC_COMMENT) return true; return false;
return child.getElementType() == JavaDocElementType.DOC_COMMENT;
private boolean isPartOfCodeBlock(final ASTNode child) { if (child == null) return false; if (child.getElementType() == ElementType.BLOCK_STATEMENT) return true; if (child.getElementType() == ElementType.CODE_BLOCK) return true; if (FormatterUtil.containsWhiteSpacesOnly(child)) return isPartOfCodeBlock(ch...
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/616f113625add2f5d8bc8627d9b6531e5272de03/BlockContainingJavaBlock.java/clean/source/com/intellij/psi/formatter/java/BlockContainingJavaBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 353, 1988, 951, 1085, 1768, 12, 6385, 9183, 907, 1151, 13, 288, 565, 309, 261, 3624, 422, 446, 13, 327, 629, 31, 565, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 353, 1988, 951, 1085, 1768, 12, 6385, 9183, 907, 1151, 13, 288, 565, 309, 261, 3624, 422, 446, 13, 327, 629, 31, 565, 309, 261, 3624, 18, 588, 17481, 1435, 422, 3010, 559, ...
deleteMarkers(resource);
if (!isTriggered) deleteMarkers(resource);
public void run(IProgressMonitor monitor) throws CoreException { try { IMarker marker = null; deleteMarkers(resource); for (int i = 0; i < emittedJoinPoints.length; i++) { EmittedJoinPoint jp = emittedJoinPoints[i]; ...
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/ad9e110e05d2c1ad1abf91e328a93bf28f562fa1/WeaverListener.java/clean/eclipse/org.codehaus.aspectwerkz.ide.eclipse.core/src/org/codehaus/aspectwerkz/ide/eclipse/ui/WeaverListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 2868, 1216, 30015, 288, 1082, 3639, 775, 288, 9506, 3639, 467, 7078, 5373, 273, 446, 31, 9506, 540, 9506, 3639, 1430, 21644, 12, 3146, 1769...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 45, 5491, 7187, 6438, 13, 2868, 1216, 30015, 288, 1082, 3639, 775, 288, 9506, 3639, 467, 7078, 5373, 273, 446, 31, 9506, 540, 9506, 3639, 1430, 21644, 12, 3146, 1769...
following.push(FOLLOW_argument_list_in_from_source1735);
following.push(FOLLOW_argument_list_in_from_source1740);
public DeclarativeInvokerDescr from_source() throws RecognitionException { DeclarativeInvokerDescr ds; Token var=null; Token field=null; Token method=null; Token functionName=null; ArrayList args = null; ds = null; try { // /home/micha...
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/12c8feffd968f958100f654d836fa3c2ee21ded8/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3416, 7901, 1535, 24455, 16198, 628, 67, 3168, 1435, 1216, 9539, 288, 6647, 3416, 7901, 1535, 24455, 16198, 3780, 31, 3639, 3155, 569, 33, 2011, 31, 3639, 3155, 652, 33, 2011, 31, 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, 3416, 7901, 1535, 24455, 16198, 628, 67, 3168, 1435, 1216, 9539, 288, 6647, 3416, 7901, 1535, 24455, 16198, 3780, 31, 3639, 3155, 569, 33, 2011, 31, 3639, 3155, 652, 33, 2011, 31, 3...
if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = "";
if (keyboardLocked) { if(text.equals("[reset]") || text.equals("[sysreq]") || text.equals("[attn]")) { bufferedKeys = ""; keysBuffered = false; } else { keysBuffered = true; if(bufferedKeys == null){ bufferedKeys = text; return; } else { bufferedKeys += text; return; } }
public void sendKeys(String text) { if (keysBuffered) { text = bufferedKeys + text; keysBuffered = false; bufferedKeys = ""; } // check to see if position is in a field and if it is then change // current field to that field isInField(lastPos,true); strokenizer...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/9e3f98202f0eb0ef5207f9793209ab3f13916f81/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1366, 2396, 12, 780, 977, 13, 288, 1377, 309, 261, 2452, 17947, 13, 288, 540, 977, 273, 11445, 2396, 397, 977, 31, 540, 1311, 17947, 273, 629, 31, 540, 11445, 2396, 273, 1408...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1366, 2396, 12, 780, 977, 13, 288, 1377, 309, 261, 2452, 17947, 13, 288, 540, 977, 273, 11445, 2396, 397, 977, 31, 540, 1311, 17947, 273, 629, 31, 540, 11445, 2396, 273, 1408...
private static byte intXor(OPT_Instruction s) {
private static DefUseEffect intXor(OPT_Instruction s) {
private static byte intXor(OPT_Instruction s) { if (CF_INT) { canonicalizeCommutativeOperator(s); OPT_Operand op1 = Binary.getVal1(s); OPT_Operand op2 = Binary.getVal2(s); if (op1.similar(op2)) { // THE SAME OPERAND: x ^ x == 0 Move.mutate(s, INT_MOVE, Binary.getClearResult(s), ...
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4f52a59569c48e68010a63e605ee6691083a9e97/OPT_Simplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 10922, 3727, 12477, 509, 60, 280, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 3217, 13, 288, 1377, 25839, 799, 10735, 1535, 5592, 12, 87, 1769, 1377, 16456, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 10922, 3727, 12477, 509, 60, 280, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 3217, 13, 288, 1377, 25839, 799, 10735, 1535, 5592, 12, 87, 1769, 1377, 16456, ...
float dist = in-codebook[i]; dist = dist*dist; if (i==0 || dist<min_dist)
float dist = in - codebook[i]; dist = dist * dist; if (i == 0 || dist < min_dist)
public static final int index(final float in, final float[] codebook, final int entries) { int i; float min_dist=0; int best_index=0; for (i=0;i<entries;i++) { float dist = in-codebook[i]; dist = dist*dist; if (i==0 || dist<m...
6221 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6221/81112208859292bc5ef5f9b0033ab2ea6dab38c0/VQ.java/clean/main/trunk/codec/src/main/java/org/xiph/speex/VQ.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 509, 770, 12, 6385, 1431, 316, 16, 27573, 727, 1431, 8526, 981, 3618, 16, 27573, 727, 509, 3222, 13, 225, 288, 565, 509, 277, 31, 565, 1431, 1131, 67, 4413, 33, 20, 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, 282, 1071, 760, 727, 509, 770, 12, 6385, 1431, 316, 16, 27573, 727, 1431, 8526, 981, 3618, 16, 27573, 727, 509, 3222, 13, 225, 288, 565, 509, 277, 31, 565, 1431, 1131, 67, 4413, 33, 20, 31...