rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
public void init() { LoggerAdapter.initializeLogger("test"); try { FIXDataDictionaryManager.setFIXVersion(FIXDataDictionaryManager.FIX_4_2_BEGIN_STRING); } catch (Exception ex) { LoggerAdapter.error("Error initializing suite", ex, this); System.ex... | 52787 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52787/c1e9503d3032bc75965b7f7178f503c3094437f3/MarketceteraTestSuite.java/buggy/source/core/src/test/java/org/marketcetera/core/MarketceteraTestSuite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2738,
1435,
95,
3328,
4216,
18,
11160,
3328,
2932,
3813,
8863,
698,
95,
4563,
751,
10905,
1318,
18,
542,
4563,
1444,
12,
4563,
751,
10905,
1318,
18,
4563,
67,
24,
67,
22,
67,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
2738,
1435,
95,
3328,
4216,
18,
11160,
3328,
2932,
3813,
8863,
698,
95,
4563,
751,
10905,
1318,
18,
542,
4563,
1444,
12,
4563,
751,
10905,
1318,
18,
4563,
67,
24,
67,
22,
67,
160... | ||
public PatternDescr lhs_or() throws RecognitionException { PatternDescr d; PatternDescr left = null; PatternDescr right = null; d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:777:17: (left= l... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/bf3305a89ef5e916acbab744c38aaaec83bf67ff/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6830,
16198,
8499,
67,
280,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
6830,
16198,
2002,
273,
446,
31,
3639,
6830,
16198,
2145,
273,
446,
31,
1171,
202,
202,
72,
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,
377,
1071,
6830,
16198,
8499,
67,
280,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
6830,
16198,
2002,
273,
446,
31,
3639,
6830,
16198,
2145,
273,
446,
31,
1171,
202,
202,
72,
273,... | ||
int y = (slider.getInverted() ? trackY : yPos); int h = (slider.getInverted() ? yPos - trackY : trackY + trackH - yPos); | int y = slider.getInverted() ? trackY : yPos; int h = slider.getInverted() ? yPos - trackY : trackY + trackH - yPos; | public void paintTrack(Graphics g) { Color shadowColor = MetalLookAndFeel.getControlShadow(); if (slider.getOrientation() == JSlider.HORIZONTAL) { int trackX = trackRect.x; int trackY = trackRect.y + (trackRect.height - getTrackWidth()) / 2; int trackW = trackRect.width; int trac... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e0c4001932916dcdf180e32bf374255e88829b25/MetalSliderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalSliderUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
4402,
12,
17558,
314,
13,
225,
288,
565,
5563,
10510,
2957,
273,
21604,
287,
9794,
1876,
2954,
292,
18,
588,
3367,
12957,
5621,
565,
309,
261,
28372,
18,
588,
14097,
143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
4402,
12,
17558,
314,
13,
225,
288,
565,
5563,
10510,
2957,
273,
21604,
287,
9794,
1876,
2954,
292,
18,
588,
3367,
12957,
5621,
565,
309,
261,
28372,
18,
588,
14097,
143... |
new RuntimeException("OUTPUT ONLY create global event queue (Executor) and add worker").printStackTrace(); | LOG.error("TODO:", new RuntimeException("Create global event queue (Executor) and add worker")); | public void internalFrameOpened( final InternalFrameEvent e ) { final EditorDataProxy proxy = _node; LOG.debug( "internalFrameOpened()" ); Worker worker = new Worker( ) { public String getName() {return "open internal frame";} public void execute() { // Don't allow the user to close the editor while it's loa... | 51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/fd9bedb50f69dda5167cc63a67e9b5581efd5b3b/ComponentEditorFrameListener.java/clean/yawl/editor/com/nexusbpm/editor/desktop/ComponentEditorFrameListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2713,
3219,
23115,
12,
727,
3186,
3219,
1133,
425,
262,
288,
202,
202,
6385,
18451,
751,
3886,
2889,
273,
389,
2159,
31,
202,
202,
4842,
18,
4148,
12,
315,
7236,
3219,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2713,
3219,
23115,
12,
727,
3186,
3219,
1133,
425,
262,
288,
202,
202,
6385,
18451,
751,
3886,
2889,
273,
389,
2159,
31,
202,
202,
4842,
18,
4148,
12,
315,
7236,
3219,
23... |
int length = fAttributes.getLength(); fLength = 0; for (int i = 0; i < length; i++) { fAttributes.getName(i, fAttributeQName); | int length = fAttributes.getLength(); fLength = 0; for (int i = 0; i < length; i++) { fAttributes.getName(i, fAttributeQName); | protected boolean scanStartElement() throws IOException, XNIException { if (DEBUG_CONTENT_SCANNING) System.out.println(">>> scanStartElementNS()"); // Note: namespace processing is on by default fEntityScanner.scanQName(fElementQName); // REVISIT - [Q] Why do we need this local variable? -- mrglavas String rawnam... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/3da96c599064fc1cad81a428d259454eef6d382a/XML11NSDocumentScannerImpl.java/buggy/src/org/apache/xerces/impl/XML11NSDocumentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
4135,
1685,
1046,
1435,
202,
15069,
1860,
16,
1139,
50,
45,
503,
288,
202,
202,
430,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
2301... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
4135,
1685,
1046,
1435,
202,
15069,
1860,
16,
1139,
50,
45,
503,
288,
202,
202,
430,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
2301... |
public static Document filter(Document doc, Parse parse, UTF8 url, CrawlDatum datum, Inlinks inlinks) | public Document filter(Document doc, Parse parse, UTF8 url, CrawlDatum datum, Inlinks inlinks) | public static Document filter(Document doc, Parse parse, UTF8 url, CrawlDatum datum, Inlinks inlinks) throws IndexingException { for (int i = 0; i < CACHE.length; i++) { doc = CACHE[i].filter(doc, parse, url, datum, inlinks); } return doc; } | 57484 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57484/329ff64e9d7295aff108f85e9a8103f5e5f8f398/IndexingFilters.java/clean/src/java/org/apache/nutch/indexer/IndexingFilters.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
1034,
12,
2519,
997,
16,
2884,
1109,
16,
6380,
28,
880,
16,
385,
15161,
18268,
12059,
16,
657,
7135,
316,
7135,
13,
565,
1216,
3340,
21546,
288,
565,
364,
261,
474,
277,
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,
4319,
1034,
12,
2519,
997,
16,
2884,
1109,
16,
6380,
28,
880,
16,
385,
15161,
18268,
12059,
16,
657,
7135,
316,
7135,
13,
565,
1216,
3340,
21546,
288,
565,
364,
261,
474,
277,
273... |
Logger.error(this, "Couldn't bind to FCP Port "+bindTo+":"+port+". FCP Server not started."); System.out.println("Couldn't bind to FCP Port "+bindTo+":"+port+". FCP Server not started."); | Logger.error(this, "Couldn't bind to FCP Port "+bindTo+ ':' +port+". FCP Server not started."); System.out.println("Couldn't bind to FCP Port "+bindTo+ ':' +port+". FCP Server not started."); | public void maybeStart() throws IOException, InvalidConfigValueException { if (this.enabled) { if(enablePersistentDownloads) { loadPersistentRequests(); } Logger.normal(this, "Starting FCP server on "+bindTo+":"+port+"."); System.out.println("Starting FCP server on "+bindTo+":"+port+"."); NetworkIn... | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/62fd59041864b4ed1f43adc676de6bfb5ea977f3/FCPServer.java/buggy/src/freenet/node/fcp/FCPServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6944,
1685,
1435,
1216,
1860,
16,
1962,
809,
9738,
288,
202,
202,
430,
261,
2211,
18,
5745,
13,
288,
25083,
202,
430,
12,
7589,
11906,
22141,
13,
288,
9506,
202,
945,
119... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6944,
1685,
1435,
1216,
1860,
16,
1962,
809,
9738,
288,
202,
202,
430,
261,
2211,
18,
5745,
13,
288,
25083,
202,
430,
12,
7589,
11906,
22141,
13,
288,
9506,
202,
945,
119... |
public void setOpenIcon(Icon i) { | public void setOpenIcon(Icon i) { | public void setOpenIcon(Icon i) { openIcon = i; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3678,
5554,
12,
5554,
277,
13,
288,
1850,
1696,
5554,
273,
277,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
3678,
5554,
12,
5554,
277,
13,
288,
1850,
1696,
5554,
273,
277,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
public final Scheme[] getDefinedSchemes() { if ((definedSchemes == null) || (definedSchemeCount == 0)) { return new Scheme[0]; } final Scheme[] returnValue = new Scheme[definedSchemeCount]; System.arraycopy(definedSchemes, 0, returnValue, 0, definedSchemeCount); return returnValue; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/BindingManager.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/BindingManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
10714,
8526,
336,
8116,
55,
13268,
1435,
288,
202,
202,
430,
14015,
2178,
55,
13268,
422,
446,
13,
747,
261,
2178,
9321,
1380,
422,
374,
3719,
288,
1082,
202,
2463,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
10714,
8526,
336,
8116,
55,
13268,
1435,
288,
202,
202,
430,
14015,
2178,
55,
13268,
422,
446,
13,
747,
261,
2178,
9321,
1380,
422,
374,
3719,
288,
1082,
202,
2463,
394,
... | ||
} | } | public void execute () throws BuildException { // Make sure the template path is set. if (templatePath == null && useClasspath == false) { throw new BuildException( "The template path needs to be defined if you are not using " + "the classpath... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/e128e4125429834f73621c8aa67036ca877e731e/TexenTask.java/clean/src/java/org/apache/velocity/texen/ant/TexenTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1832,
540,
1216,
18463,
565,
288,
3639,
368,
4344,
3071,
326,
1542,
589,
353,
444,
18,
3639,
309,
261,
3202,
743,
422,
446,
597,
999,
17461,
422,
629,
13,
3639,
288,
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,
377,
1071,
918,
1836,
1832,
540,
1216,
18463,
565,
288,
3639,
368,
4344,
3071,
326,
1542,
589,
353,
444,
18,
3639,
309,
261,
3202,
743,
422,
446,
597,
999,
17461,
422,
629,
13,
3639,
288,
54... |
void maybeUpdateLayoutState() | protected void maybeUpdateLayoutState() | void maybeUpdateLayoutState() { if (updateLayoutStateNeeded != 0) { updateLayoutState(); updateLayoutStateNeeded = 0; } } | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/7878167de36c868f3f4b0f507094bb155efbb199/BasicListUI.java/clean/libjava/javax/swing/plaf/basic/BasicListUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
6944,
1891,
3744,
1119,
1435,
225,
288,
565,
309,
261,
2725,
3744,
1119,
11449,
480,
374,
13,
1377,
288,
3639,
1089,
3744,
1119,
5621,
3639,
1089,
3744,
1119,
11449,
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,
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,
4750,
918,
6944,
1891,
3744,
1119,
1435,
225,
288,
565,
309,
261,
2725,
3744,
1119,
11449,
480,
374,
13,
1377,
288,
3639,
1089,
3744,
1119,
5621,
3639,
1089,
3744,
1119,
11449,
273,
374,
... |
int todo = srcEnd - srcOffset; if (srcOffset < 0 || srcEnd > count || todo < 0) | if (srcOffset < 0 || srcEnd > count || srcEnd < srcOffset) | public synchronized void getChars(int srcOffset, int srcEnd, char[] dst, int dstOffset) { int todo = srcEnd - srcOffset; if (srcOffset < 0 || srcEnd > count || todo < 0) throw new StringIndexOutOfBoundsException(); System.arraycopy(value, srcOffset, dst, dstOffset, to... | 56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/d2e4c58ae9a4ae530fc43ba36f304bd34e6eb2e3/StringBuffer.java/buggy/libjava/java/lang/StringBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
336,
7803,
12,
474,
29211,
16,
509,
1705,
1638,
16,
4766,
565,
1149,
8526,
3046,
16,
509,
3046,
2335,
13,
225,
288,
565,
509,
10621,
273,
1705,
1638,
300,
29211,
31,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
336,
7803,
12,
474,
29211,
16,
509,
1705,
1638,
16,
4766,
565,
1149,
8526,
3046,
16,
509,
3046,
2335,
13,
225,
288,
565,
509,
10621,
273,
1705,
1638,
300,
29211,
31,
56... |
} else { | } else { EOJoin newJoin = null; if (myCreateButton.getSelection() && myCreateFK) { String fkName = myFKNameText.getText(); EOAttribute foreignKey = myRelationship.getEntity().createForeignKeyTo(myRelationship.getDestination(), fkName, fkName, false); newJoin = new EOJoin(); newJoin.setSourceAttribute(foreignKey); newJo... | protected void okPressed() { buttonBar.forceFocus(); try { String name = myNameText.getText(); String inverseName = myInverseNameText.getText(); if (myManyToMany) { String joinEntityName = myJoinEntityNameText.getText(); boolean flatten = myFlattenButton.getSelection(); myEntity1.joinInManyToManyWith(... | 47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/2c34af6668a64a67c8a52089ded5fb2ca3088ba0/CreateRelationshipDialog.java/buggy/wolips/core/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/editors/entity/CreateRelationshipDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
1435,
288,
202,
202,
5391,
5190,
18,
5734,
9233,
5621,
202,
202,
698,
288,
1082,
202,
780,
508,
273,
3399,
461,
1528,
18,
588,
1528,
5621,
1082,
202,
780,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1529,
24624,
1435,
288,
202,
202,
5391,
5190,
18,
5734,
9233,
5621,
202,
202,
698,
288,
1082,
202,
780,
508,
273,
3399,
461,
1528,
18,
588,
1528,
5621,
1082,
202,
780,
8... |
while( parent != null && !(parent instanceof ICPPASTTemplateDeclaration) && !(parent instanceof ICPPASTTemplatedTypeTemplateParameter) ) { parent = parent.getParent(); | while( parent instanceof IASTName ){ parent = parent.getParent(); } if( parent instanceof IASTDeclSpecifier ){ parent = parent.getParent(); } else { while( parent instanceof IASTDeclarator ){ parent = parent.getParent(); } } if( parent instanceof IASTDeclaration && parent.getParent() instanceof ICPPASTTemplateDeclarati... | public static ICPPASTTemplateDeclaration getTemplateDeclaration( IASTName name ){ if( name == null ) return null; // if( name.getPropertyInParent() == ICPPASTTemplateId.TEMPLATE_NAME )// name = (IASTName) name.getParent();// // if( !(name instanceof ICPPASTTemplateId) )// return null; IASTNode parent = nam... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ce4decd0a0ca351fff8195ec87d452b03e244b2f/CPPTemplates.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplates.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
467,
4258,
4066,
882,
2283,
6094,
10646,
6094,
12,
467,
9053,
461,
508,
262,
95,
202,
202,
430,
12,
508,
422,
446,
262,
327,
446,
31,
202,
202,
759,
202,
202,
430,
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,
225,
202,
482,
760,
467,
4258,
4066,
882,
2283,
6094,
10646,
6094,
12,
467,
9053,
461,
508,
262,
95,
202,
202,
430,
12,
508,
422,
446,
262,
327,
446,
31,
202,
202,
759,
202,
202,
430,
12,
... |
protected void jobInfo() { if(isLocalHadoop()) { | protected void jobInfo() { if (isLocalHadoop()) { | protected void jobInfo() { if(isLocalHadoop()) { LOG.info("Job running in-process (local Hadoop)"); } else { String hp = getJobTrackerHostPort(); LOG.info("To kill this job, run:"); LOG.info(getHadoopClientHome() + "/bin/hadoop job -Dmapred.job.tracker=" + hp + " -kill " + jobId_); //... | 53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/e10b40e8014547113799b2653164e8c990d41209/StreamJob.java/buggy/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1719,
966,
1435,
225,
288,
565,
309,
12,
291,
2042,
44,
12460,
10756,
288,
1377,
2018,
18,
1376,
2932,
2278,
3549,
316,
17,
2567,
261,
3729,
23471,
2225,
1769,
565,
289,
469,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1719,
966,
1435,
225,
288,
565,
309,
12,
291,
2042,
44,
12460,
10756,
288,
1377,
2018,
18,
1376,
2932,
2278,
3549,
316,
17,
2567,
261,
3729,
23471,
2225,
1769,
565,
289,
469,
... |
kernelModule.defineMethod("puts", new ReflectionCallbackMethod(RBKernel.class, "m_puts", RubyObject[].class, true, true)); kernelModule.defineMethod("print", new ReflectionCallbackMethod(RBKernel.class, "m_print", RubyObject[].class, true, true)); kernelModule.defineMethod("to_s", getMethodToS()); | kernelModule.defineMethod("puts", getKernelMethod("m_puts")); kernelModule.defineMethod("print", getKernelMethod("m_print")); kernelModule.defineMethod("to_s", getObjectMethod("m_to_s")); kernelModule.defineModuleFunction("singleton_method_added", getDummyMethod()); | public static RubyModule createKernelModule(Ruby ruby) { RubyModule kernelModule = ruby.defineModule("Kernel"); kernelModule.defineMethod("puts", new ReflectionCallbackMethod(RBKernel.class, "m_puts", RubyObject[].class, true, true)); kernelModule.defineMethod("print", new ReflectionCal... | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RBKernel.java/buggy/org/jruby/core/RBKernel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
3120,
752,
11286,
3120,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
3120,
5536,
3120,
273,
22155,
18,
11255,
3120,
2932,
11286,
8863,
7734,
5536,
3120,
18,
11255,
1305,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
3120,
752,
11286,
3120,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
3120,
5536,
3120,
273,
22155,
18,
11255,
3120,
2932,
11286,
8863,
7734,
5536,
3120,
18,
11255,
1305,
29... |
iVisited.accept(_Payload); | _Payload.visitTrueNode(iVisited); | public void visitTrueNode(TrueNode iVisited) { iVisited.accept(_Payload); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
5510,
907,
12,
5510,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
5510,
907,
12,
5510,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if (sel.isEmpty()) return; | if (sel.isEmpty()) { return; } | public void run() { final IStructuredSelection sel = getStructuredSelection(); if (sel.isEmpty()) return; try { getView().getWorkspace().run(new IWorkspaceRunnable() { public void run(IProgressMonitor monitor) throws CoreException { for (I... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/RemoveBookmarkAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/bookmarkexplorer/RemoveBookmarkAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
727,
467,
30733,
6233,
357,
273,
1322,
8813,
2862,
6233,
5621,
3639,
309,
261,
1786,
18,
291,
1921,
10756,
5411,
327,
31,
3639,
775,
288,
5411,
8893,
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,
377,
1071,
918,
1086,
1435,
288,
3639,
727,
467,
30733,
6233,
357,
273,
1322,
8813,
2862,
6233,
5621,
3639,
309,
261,
1786,
18,
291,
1921,
10756,
5411,
327,
31,
3639,
775,
288,
5411,
8893,
767... |
public static Vector breakAt(String s, char sep, int maxItems) { return breakAt(s, sep, maxItems, false); | public static Vector breakAt(String s, char sep, int maxItems, boolean discardEmptyStrings, boolean trimEachString) { Vector res = new Vector(); int len; if (s == null || (len = s.length()) == 0) { return res; } if (maxItems <= 0) { maxItems = Integer.MAX_VALUE; } for (int pos = 0; maxItems > 0; maxItems-- ) { int end ... | public static Vector breakAt(String s, char sep, int maxItems) { return breakAt(s, sep, maxItems, false); } | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/219389c6244bd64b74bfd30403a83b416253ad04/StringUtil.java/buggy/src/org/lockss/util/StringUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
5589,
898,
861,
12,
780,
272,
16,
1149,
5478,
16,
509,
943,
3126,
13,
288,
565,
327,
898,
861,
12,
87,
16,
5478,
16,
943,
3126,
16,
629,
1769,
225,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
5589,
898,
861,
12,
780,
272,
16,
1149,
5478,
16,
509,
943,
3126,
13,
288,
565,
327,
898,
861,
12,
87,
16,
5478,
16,
943,
3126,
16,
629,
1769,
225,
289,
2,
-100,
-100,
-1... |
case M_OP_DIV: | case FixnumDefinition.OP_DIV: | public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case M_TO_F: return to_f(); case M_TO_S: return to_s(); case M_OP_LSHIFT: return op_lshift(args[0]); case M_OP_RSHIFT: return op_rshift(args[0]); cas... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/5f6bd2ce57ff6ed96fea5760d028882d8af6113c/RubyFixnum.java/buggy/src/org/jruby/RubyFixnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
15034,
12,
474,
770,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
1620,
261,
1615,
13,
288,
3639,
648,
490,
67,
4296,
67,
42,
30,
5411,
327,
358,
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,
15908,
10340,
921,
745,
15034,
12,
474,
770,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
1620,
261,
1615,
13,
288,
3639,
648,
490,
67,
4296,
67,
42,
30,
5411,
327,
358,
67,
... |
if ( element instanceof TableRow ) if ( element.getContainer( ) instanceof GroupElement ) element = element.getContainer( ); | public void end( ) throws SAXException { // only when the row is in the Group. if ( element.getContainer( ) instanceof GroupElement ) { // special case to delegate the property value to its container. element = element.getContainer( ); super.end( ); } } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/029da3d34dd6074fefd6e97b8f8f0d1826f7d18a/CompatiblePageBreakPropState.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatiblePageBreakPropState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
282,
309,
261,
930,
1276,
3555,
1999,
262,
309,
261,
930,
18,
588,
2170,
12,
262,
1276,
3756,
1046,
262,
930,
273,
930,
18,
588,
2170,
12,
11272,
918,
282,
309,
261,
930,
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,
225,
202,
482,
282,
309,
261,
930,
1276,
3555,
1999,
262,
309,
261,
930,
18,
588,
2170,
12,
262,
1276,
3756,
1046,
262,
930,
273,
930,
18,
588,
2170,
12,
11272,
918,
282,
309,
261,
930,
12... | |
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" ... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/c6a9c5919552b91fb0c4af00afd67a30f78acfc4/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
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,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | ||
fWorkingDirText.setText(System.getProperty("user.dir")); | fWorkingDirText.setText(System.getProperty("user.dir")); | protected void setDefaultWorkingDir() { ILaunchConfiguration config = getLaunchConfiguration(); if (config != null) { ICProject cProject = null; try { cProject = AbstractCLaunchDelegate.getCProject(config); } catch (CoreException e) { } if (cProject != null) { fWorkspaceDirText.setText(cProject.getPa... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e18d7494d05c2df37d92c9fd60d82ec6edb98ab2/WorkingDirectoryBlock.java/buggy/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/ui/WorkingDirectoryBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
9277,
14836,
1621,
1435,
288,
202,
202,
2627,
4760,
1750,
642,
273,
9014,
4760,
1750,
5621,
202,
202,
430,
261,
1425,
480,
446,
13,
288,
1082,
202,
2871,
4109,
276,
4109,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9277,
14836,
1621,
1435,
288,
202,
202,
2627,
4760,
1750,
642,
273,
9014,
4760,
1750,
5621,
202,
202,
430,
261,
1425,
480,
446,
13,
288,
1082,
202,
2871,
4109,
276,
4109,
... |
lockTarget.lock(true, true); | lockTarget.lock(true, true); | public void testMoveNodesLocked() throws RepositoryException { // we assume repository supports locking String dstAbsPath = node2.getPath() + "/" + node1.getName(); // get other session Session otherSession = helper.getReadWriteSession(); // get lock target node in destination wsp... | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/5ccda17da27a5f4b68cd1402b8d936c724c7aa46/WorkspaceMoveTest.java/clean/src/test/org/apache/jackrabbit/test/api/WorkspaceMoveTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
7607,
3205,
8966,
1435,
1216,
13367,
288,
3639,
368,
732,
6750,
3352,
6146,
18887,
3639,
514,
3046,
9382,
743,
273,
756,
22,
18,
588,
743,
1435,
397,
4016,
397,
756,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7607,
3205,
8966,
1435,
1216,
13367,
288,
3639,
368,
732,
6750,
3352,
6146,
18887,
3639,
514,
3046,
9382,
743,
273,
756,
22,
18,
588,
743,
1435,
397,
4016,
397,
756,
21,
... |
return TiffTools.getIFDIntValue(ifds[0], TiffTools.PHOTOMETRIC_INTERPRETATION, true, 0) == TiffTools.RGB_PALETTE; | try { int p = TiffTools.getIFDIntValue(ifds[0], TiffTools.PHOTOMETRIC_INTERPRETATION, true, 0); return (!ignoreColorTable && (p == TiffTools.RGB_PALETTE || p == TiffTools.CFA_ARRAY)) || p == TiffTools.RGB; } catch (Exception e) { return TiffTools.getIFDIntValue(ifds[0], TiffTools.SAMPLES_PER_PIXEL, true, 0) > 1; } | public boolean isRGB(String id) throws FormatException, IOException { if (!id.equals(currentId)) initFile(id); if (TiffTools.getIFDIntValue(ifds[0], TiffTools.SAMPLES_PER_PIXEL, false, 1) > 1) { return true; } return TiffTools.getIFDIntValue(ifds[0], TiffTools.PHOTOMETRIC_INTERPRETATION,... | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/d3b7646e2afd5f255f939fc0097e7f8258ed64ef/BaseTiffReader.java/clean/loci/formats/in/BaseTiffReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
11343,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
565,
309,
261,
56,
3048,
10348,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
11343,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
565,
309,
261,
56,
3048,
10348,... |
sb.append(cs.internalsprintf(x)); | if (cs.isPositionalSpecification()) { i = cs.getArgumentPosition() - 1; } if (cs.isPositionalFieldWidth()) { int ifw = cs.getArgumentPositionForFieldWidth() - 1; cs.setFieldWidthWithArg(((Number) o[ifw]).intValue()); } else if (cs.isVariableFieldWidth() && !cs.isPositionalSpecification()) { cs.setFieldWidthWithArg(((N... | public String sprintf(int x) throws IllegalArgumentException { Enumeration e = vFmt.elements(); ConversionSpecification cs = null; char c = 0; StringBuffer sb = new StringBuffer(); while (e.hasMoreElements()) { cs = (ConversionSpecification) e.nextElement(); ... | 48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/35891dc0540a7a6cc0d57a33475e292e2558e1b1/PrintfFormat.java/buggy/src/org/jruby/util/PrintfFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2005,
12,
474,
619,
13,
1216,
2754,
288,
3639,
13864,
425,
273,
331,
16090,
18,
6274,
5621,
3639,
16401,
8615,
2873,
273,
446,
31,
3639,
1149,
276,
273,
374,
31,
3639,
6674,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2005,
12,
474,
619,
13,
1216,
2754,
288,
3639,
13864,
425,
273,
331,
16090,
18,
6274,
5621,
3639,
16401,
8615,
2873,
273,
446,
31,
3639,
1149,
276,
273,
374,
31,
3639,
6674,
... |
_context.jobQueue().addJob(j); | getContext().jobQueue().addJob(j); | protected void sendRouterSearch(RouterInfo router) { long expiration = _context.clock().now() + PER_PEER_TIMEOUT; // getTimeoutMs(); DatabaseLookupMessage msg = buildMessage(expiration); if (_log.shouldLog(Log.INFO)) _log.info(getJobId() + ": Sending router search to " + router.getId... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/e737e5c9507ed0d463dc9e45a8f63657f466b177/SearchJob.java/buggy/router/java/src/net/i2p/router/networkdb/kademlia/SearchJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1366,
8259,
2979,
12,
8259,
966,
4633,
13,
288,
3639,
1525,
7686,
273,
389,
2472,
18,
18517,
7675,
3338,
1435,
397,
10950,
67,
1423,
654,
67,
9503,
31,
368,
29301,
6947,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1366,
8259,
2979,
12,
8259,
966,
4633,
13,
288,
3639,
1525,
7686,
273,
389,
2472,
18,
18517,
7675,
3338,
1435,
397,
10950,
67,
1423,
654,
67,
9503,
31,
368,
29301,
6947,
5621,
... |
abstract protected InputStream getInputStream() throws IOException; | protected abstract InputStream getInputStream() throws IOException; | abstract protected InputStream getInputStream() throws IOException; | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/af503bb72418d994f4439910bc3989d556fcdbd5/SocketImpl.java/buggy/libraries/javalib/java/net/SocketImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
8770,
4750,
5037,
14424,
1435,
1216,
1860,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
8770,
4750,
5037,
14424,
1435,
1216,
1860,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
previewPainter = new ChartPreviewPainter( ( (ChartWizardContext) getContext( ) ).getProcessor( ) ); | previewPainter = new ChartPreviewPainter( ( (ChartWizardContext) getContext( ) ).getProcessor( ), container ); | private void createChartPainter( ) { previewPainter = new ChartPreviewPainter( ( (ChartWizardContext) getContext( ) ).getProcessor( ) ); previewCanvas.addPaintListener( previewPainter ); previewPainter.setPreview( previewCanvas ); if ( chartModel != null ) { previewPainter.renderModel( chartModel ); } } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/a9320be9ea7b1e0ded35d1f9f455bafd282468e8/TaskSelectType.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7984,
15775,
12,
262,
202,
95,
202,
202,
12102,
15775,
273,
394,
14804,
11124,
15775,
12,
261,
261,
7984,
27130,
1042,
13,
6474,
12,
262,
262,
18,
588,
5164,
12,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
7984,
15775,
12,
262,
202,
95,
202,
202,
12102,
15775,
273,
394,
14804,
11124,
15775,
12,
261,
261,
7984,
27130,
1042,
13,
6474,
12,
262,
262,
18,
588,
5164,
12,
26... |
if ( project.hasParent() ) | if ( model.getParent() != null ) | private void transformPomToReleaseVersionPom( MavenProject project ) throws MojoExecutionException { if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ) ) { if ( !isSnapshot( project.getVersion() ) ) { thro... | 50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/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,
377,
3238,
918,
2510,
52,
362,
774,
7391,
1444,
52,
362,
12,
17176,
4109,
1984,
262,
3639,
1216,
18780,
565,
288,
3639,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2510,
52,
362,
774,
7391,
1444,
52,
362,
12,
17176,
4109,
1984,
262,
3639,
1216,
18780,
565,
288,
3639,
309,
261,
401,
588,
7391,
5491,
7675,
8705,
14431,
12,
10819,
5491,
8135... |
row.getCells( ).shift( cell, destIndex ); | private void shiftCells( List cellInfos, int sourceIndex, int destIndex ) throws SemanticException { // adds the copied cells to the destination. for ( int i = 0; i < cellInfos.size( ); i++ ) { CellContextInfo contextInfo = (CellContextInfo) cellInfos.get( i ); // groupId is equal to -1, means this is a top s... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c23f2a8e43f57ae5f659b543fe1d83a7a3f82164/ColumnBandShiftAction.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ColumnBandShiftAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4654,
10505,
12,
987,
2484,
7655,
16,
509,
1084,
1016,
16,
509,
1570,
1016,
262,
1082,
202,
15069,
24747,
503,
202,
95,
202,
202,
759,
4831,
326,
9268,
5983,
358,
326,
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,
1152,
918,
4654,
10505,
12,
987,
2484,
7655,
16,
509,
1084,
1016,
16,
509,
1570,
1016,
262,
1082,
202,
15069,
24747,
503,
202,
95,
202,
202,
759,
4831,
326,
9268,
5983,
358,
326,
2... | |
currentPi.getName(), | currentPi.getName().replaceAll("/", "."), | public boolean visit(JCompilationUnit self) { TokenReference ref = self.getTokenReference(); File file = new File(new String(ref.getFile())); // create node for file CaesarProgramElement node = new CaesarProgramElement( file.getName(), CaesarProgramElement.Kind.FILE_JAVA, 0, makeLocation(re... | 56789 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56789/d7de99f2c0801b04613dfb0f5e87ccf2167e22e0/CaesarAsmBuilder.java/clean/src/org/caesarj/compiler/asm/CaesarAsmBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3757,
12,
46,
19184,
2802,
365,
13,
288,
202,
202,
1345,
2404,
1278,
273,
365,
18,
588,
1345,
2404,
5621,
202,
202,
812,
585,
273,
394,
1387,
12,
2704,
514,
12,
1734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
12,
46,
19184,
2802,
365,
13,
288,
202,
202,
1345,
2404,
1278,
273,
365,
18,
588,
1345,
2404,
5621,
202,
202,
812,
585,
273,
394,
1387,
12,
2704,
514,
12,
1734,
... |
Element newElem = createElement(schemaName, schema, childName); | System.out.println("- no children of this type already present"); Element newElem = createElement(schemaName, schema, childName, childPrefix, childNS); | private void expandElement(String schemaName, MetadataSchema schema, Element md) throws Exception { String elemName = md.getQualifiedName(); // RGFIX: was: getname String elemType = schema.getElementType(elemName); System.out.println("elemName = " + elemName); // DEBUG Element elem = md.getChild(Edit.RootChild.E... | 51365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51365/4777bb92bb3d62130cc5d12eb39ac86879b09162/EditLib.java/buggy/src/org/fao/geonet/kernel/EditLib.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4542,
1046,
12,
780,
21960,
16,
6912,
3078,
1963,
16,
3010,
3481,
13,
1216,
1185,
202,
95,
202,
202,
780,
3659,
461,
273,
3481,
18,
588,
12345,
5621,
368,
534,
43,
4563,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4542,
1046,
12,
780,
21960,
16,
6912,
3078,
1963,
16,
3010,
3481,
13,
1216,
1185,
202,
95,
202,
202,
780,
3659,
461,
273,
3481,
18,
588,
12345,
5621,
368,
534,
43,
4563,... |
test.assertEquals("3.0", s); | test.assertEquals("3", s); | public void testPlus(FoodMartTestCase test) { String s = test.executeExpr("1+2"); test.assertEquals("3.0", s); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/9cdd89dca2920fdda7be6513ed3b73ff3e366a53/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1842,
13207,
12,
42,
4773,
49,
485,
4709,
2449,
1842,
13,
288,
9506,
202,
780,
272,
273,
1842,
18,
8837,
4742,
2932,
21,
15,
22,
8863,
9506,
202,
3813,
18,
11231,
8867,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1842,
13207,
12,
42,
4773,
49,
485,
4709,
2449,
1842,
13,
288,
9506,
202,
780,
272,
273,
1842,
18,
8837,
4742,
2932,
21,
15,
22,
8863,
9506,
202,
3813,
18,
11231,
8867,
... |
targetModule = module.getVisibleLibraryWithNamespace( namespace ); | targetModule = module.getLibraryWithNamespace( namespace ); | public void resolve( Module module, PropertyDefn defn, StructRefValue ref ) { if ( ref.isResolved( ) || module == null ) return; StructureDefn targetDefn = (StructureDefn) defn.getStructDefn( ); Structure target = null; Module targetModule = null; if ( ReferencableStructure.LIB_REFERENCE_MEMBER .equals( defn... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/f7d981acf4bf857fa448418a9d336e47831e5de6/StructRefPropertyType.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/StructRefPropertyType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2245,
12,
5924,
1605,
16,
4276,
3262,
82,
1652,
82,
16,
7362,
30556,
1278,
262,
202,
95,
202,
202,
430,
261,
1278,
18,
291,
12793,
12,
262,
747,
1605,
422,
446,
262,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2245,
12,
5924,
1605,
16,
4276,
3262,
82,
1652,
82,
16,
7362,
30556,
1278,
262,
202,
95,
202,
202,
430,
261,
1278,
18,
291,
12793,
12,
262,
747,
1605,
422,
446,
262,
10... |
private void extractToEPRInformation(SOAPHeaderBlock soapHeaderBlock, Options messageContextOptions, SOAPHeader header) { | private void extractToEPRInformation(SOAPHeaderBlock soapHeaderBlock, Options messageContextOptions, SOAPHeader header, String namespace) { | private void extractToEPRInformation(SOAPHeaderBlock soapHeaderBlock, Options messageContextOptions, SOAPHeader header) { EndpointReference epr; //here the addressing epr overidde what ever already there in the message context epr = new EndpointReference(soapHeaderBlock.getText()); messa... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/ce2f3c98dad10104d03dfc73395c1281182a3945/AddressingInHandler.java/buggy/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2608,
774,
41,
8025,
5369,
12,
27952,
1864,
1768,
9930,
1864,
1768,
16,
5087,
883,
1042,
1320,
16,
16434,
1864,
1446,
16,
514,
1981,
13,
288,
3639,
6961,
2404,
425,
683,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2608,
774,
41,
8025,
5369,
12,
27952,
1864,
1768,
9930,
1864,
1768,
16,
5087,
883,
1042,
1320,
16,
16434,
1864,
1446,
16,
514,
1981,
13,
288,
3639,
6961,
2404,
425,
683,
31,
... |
debug="Normal exception"; | private boolean writeToTable(Row r) throws KettleException { debug="start"; if (r==null) // Stop: last line or error encountered { if (log.isDetailed()) logDetailed("Last line inserted: stop"); return false; } PreparedStatement insertStatement = null; String tableName = null; ... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/3f39d037ba2ddf06fc422d6ae1f3add16df6eae5/TableOutput.java/buggy/src/be/ibridge/kettle/trans/step/tableoutput/TableOutput.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
12870,
1388,
12,
1999,
436,
13,
202,
202,
15069,
1475,
278,
5929,
503,
202,
95,
202,
565,
1198,
1546,
1937,
14432,
202,
202,
430,
261,
86,
631,
2011,
13,
368,
5131,
30,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
12870,
1388,
12,
1999,
436,
13,
202,
202,
15069,
1475,
278,
5929,
503,
202,
95,
202,
565,
1198,
1546,
1937,
14432,
202,
202,
430,
261,
86,
631,
2011,
13,
368,
5131,
30,... | |
suite.addTestSuite(test.PerformanceTest.class); | public static Test suite() { TestSuite suite = new TestSuite("All tests"); suite.addTestSuite(test.ClassPatternTest.class); suite.addTestSuite(test.FieldPatternTest.class); suite.addTestSuite(test.MethodPatternTest.class); suite.addTestSuite(test.AdviceWeavingRuleTest.class);// ... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/e83a4e719e058c5f1aa8f46fbdafe6da9d7124e6/AllTests.java/buggy/aspectwerkz/src/test/test/AllTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
25024,
4709,
18,
1106,
1769,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
25024,
4709,
18,
1106,
1769,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
25024,
4709,
18,
1106,
1769,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
25024,
4709,
18,
1106,
1769,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
25... | |
super("Yamaha FS1R modulation matrix",true,true,true,true); | setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); | MatrixWindow(Patch aPatch) { super("Yamaha FS1R modulation matrix",true,true,true,true); p = aPatch; setSize(800, 300); Component oTableWidgets[][] = new Component[20][8]; MatrixCellRenderer oCellRender = new MatrixCellRenderer(p, oTableWidgets); MatrixCellEditor oCellEditor = new MatrixCellEdito... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/3b5a2d7b803be049604043944787888a266f3120/MatrixWindow.java/buggy/JSynthLib/synthdrivers/YamahaFS1R/MatrixWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
4635,
3829,
12,
7332,
279,
7332,
13,
288,
202,
202,
9565,
2932,
61,
20789,
3395,
9247,
21,
54,
681,
6234,
3148,
3113,
3767,
16,
3767,
16,
3767,
16,
3767,
1769,
202,
202,
84,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
4635,
3829,
12,
7332,
279,
7332,
13,
288,
202,
202,
9565,
2932,
61,
20789,
3395,
9247,
21,
54,
681,
6234,
3148,
3113,
3767,
16,
3767,
16,
3767,
16,
3767,
1769,
202,
202,
84,
273,
... |
result[srcIndex+i] = | result[srcIndex + i] = | protected String[] getCommandline(String[] srcFiles, File[] baseDirs) { Vector targets = new Vector(); if (targetFilePos != null) { Hashtable addedFiles = new Hashtable(); for (int i=0; i<srcFiles.length; i++) { String[] subTargets = mapper.mapFileName(srcFiles[i])... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c6c232893c39257745a8f7a618bcdb5c59791cae/ExecuteOn.java/clean/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
8526,
12856,
1369,
12,
780,
8526,
1705,
2697,
16,
1387,
8526,
1026,
9872,
13,
288,
3639,
5589,
5774,
273,
394,
5589,
5621,
3639,
309,
261,
3299,
812,
1616,
480,
446,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
8526,
12856,
1369,
12,
780,
8526,
1705,
2697,
16,
1387,
8526,
1026,
9872,
13,
288,
3639,
5589,
5774,
273,
394,
5589,
5621,
3639,
309,
261,
3299,
812,
1616,
480,
446,
13,
288,
... |
public BinaryExpr createAndExpr(Expr lhs, Expr rhs) throws JaxenException { return new DefaultAndExpr( lhs, rhs ); } | 47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/fa32d2e7c6f96c319351fb77ac9216cf69f216d3/DefaultXPathFactory.java/buggy/jaxen/src/java/main/org/jaxen/expr/DefaultXPathFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
5905,
4742,
2640,
1876,
4742,
12,
4742,
80,
4487,
16,
2966,
523,
4487,
13,
15069,
46,
651,
275,
503,
95,
2463,
2704,
1868,
1876,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
97,
2,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
5905,
4742,
2640,
1876,
4742,
12,
4742,
80,
4487,
16,
2966,
523,
4487,
13,
15069,
46,
651,
275,
503,
95,
2463,
2704,
1868,
1876,
4742,
12,
80,
4487,
16,
86,
4487,
1769,
97,
2,
-100,
... | ||
public Object get(Object that) { try { | public Object get(Object that) { try { | public Object get(Object that) { try { return javaField.get(that); } catch (Exception ex) { throw new SystemException(ex); } } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/ValueTypeField.java/buggy/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/ValueTypeField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
921,
716,
13,
288,
3639,
775,
288,
5411,
327,
2252,
974,
18,
588,
12,
19056,
1769,
3639,
289,
1044,
261,
503,
431,
13,
288,
5411,
604,
394,
26731,
12,
338,
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,
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,
1033,
336,
12,
921,
716,
13,
288,
3639,
775,
288,
5411,
327,
2252,
974,
18,
588,
12,
19056,
1769,
3639,
289,
1044,
261,
503,
431,
13,
288,
5411,
604,
394,
26731,
12,
338,
1769,
... |
_page = new WeakReference(page); _context = new WeakReference(context); | _page = page; _context = context; | public TransactionRecord(WOComponent page, WOContext context, String key) { _page = new WeakReference(page); _context = new WeakReference(context); _key = key; } | 22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/de8dfed7bd8e8c28a2b5a0adc7c7e5d51a091ddb/ERXSession.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXSession.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5947,
2115,
12,
59,
51,
1841,
1363,
16,
678,
51,
1042,
819,
16,
514,
498,
13,
288,
1377,
389,
2433,
273,
394,
23632,
2404,
12,
2433,
1769,
1377,
389,
2472,
273,
394,
23632,
2404,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5947,
2115,
12,
59,
51,
1841,
1363,
16,
678,
51,
1042,
819,
16,
514,
498,
13,
288,
1377,
389,
2433,
273,
394,
23632,
2404,
12,
2433,
1769,
1377,
389,
2472,
273,
394,
23632,
2404,
... |
private void initWorkspacePluginsState(ILaunchConfiguration config) throws CoreException { fNumWorkspaceChecked = fWorkspaceModels.length; fPluginTreeViewer.setSubtreeChecked(fWorkspacePlugins, true); TreeSet deselected = LauncherUtils.parseDeselectedWSIds(config); for(int i = 0; i < fWorkspaceModels.length; i++) if(de... | private void initWorkspacePluginsState( ILaunchConfiguration config ) throws CoreException { fNumWorkspaceChecked = fWorkspaceModels.length; fPluginTreeViewer.setSubtreeChecked( fWorkspacePlugins, true ); TreeSet deselected = LauncherUtils.parseDeselectedWSIds( config ); for ( int i = 0; i < fWorkspaceModels.length; i+... | private void initWorkspacePluginsState(ILaunchConfiguration config) throws CoreException { fNumWorkspaceChecked = fWorkspaceModels.length; fPluginTreeViewer.setSubtreeChecked(fWorkspacePlugins, true); TreeSet deselected = LauncherUtils.parseDeselectedWSIds(config); for(int i = ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/9fa0c0ee6086d66a8596c81c9364b34027ca1e98/ReportAdvancedLauncherTab.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launching/ReportAdvancedLauncherTab.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
8241,
9461,
1119,
12,
2627,
4760,
1750,
642,
13,
3639,
1216,
30015,
565,
288,
3639,
284,
2578,
8241,
11454,
273,
284,
8241,
8430,
18,
2469,
31,
3639,
284,
3773,
2471,
184... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
8241,
9461,
1119,
12,
2627,
4760,
1750,
642,
13,
3639,
1216,
30015,
565,
288,
3639,
284,
2578,
8241,
11454,
273,
284,
8241,
8430,
18,
2469,
31,
3639,
284,
3773,
2471,
184... |
item.reindex(null, deleteFirst, pm); } else if (item.getType() == MailItem.TYPE_DOCUMENT || item.getType() == MailItem.TYPE_WIKI) { com.zimbra.cs.mailbox.Document doc = (com.zimbra.cs.mailbox.Document) item; try { byte[] buf = ByteUtil.getContent(doc.getRawDocument(), 0); ParsedDocument pd = new ParsedDocument(buf, doc... | } catch (java.lang.RuntimeException e) { throw ServiceException.FAILURE("Error re-indexing message "+msgId, e); | synchronized public void reIndexItem(Mailbox mbox, int msgId, byte type, boolean deleteFirst) throws ServiceException { initAnalyzer(mbox); MailItem item = null; try { item = mbox.getItemById(null, msgId, type); ParsedMessage pm = null; if (item insta... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9f6861227b0f9808a28547edf4255cb279354a1d/MailboxIndex.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/MailboxIndex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
283,
1016,
1180,
12,
30239,
312,
2147,
16,
509,
1234,
548,
16,
1160,
618,
16,
1250,
1430,
3759,
13,
1216,
16489,
565,
288,
3639,
1208,
12803,
12,
81,
2147,
1769,
7734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1071,
918,
283,
1016,
1180,
12,
30239,
312,
2147,
16,
509,
1234,
548,
16,
1160,
618,
16,
1250,
1430,
3759,
13,
1216,
16489,
565,
288,
3639,
1208,
12803,
12,
81,
2147,
1769,
7734,
... |
protected Writer makeWriter(OutputStream out) throws java.io.UnsupportedEncodingException { | protected Writer makeWriter(OutputStream out) throws java.io.UnsupportedEncodingException { | protected Writer makeWriter(OutputStream out) throws java.io.UnsupportedEncodingException { Writer writer = new OutputStreamWriter (new BufferedOutputStream(out), this.encoding); return writer; } | 49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/3de9c746be5caf13f8af33c48de1a501862eb8f8/XMLOutputter.java/buggy/core/src/java/org/jdom/output/XMLOutputter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5497,
1221,
2289,
12,
4632,
596,
13,
1216,
2252,
18,
1594,
18,
8544,
13836,
288,
3639,
5497,
2633,
273,
394,
24248,
5411,
261,
2704,
28649,
12,
659,
3631,
333,
18,
5999,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5497,
1221,
2289,
12,
4632,
596,
13,
1216,
2252,
18,
1594,
18,
8544,
13836,
288,
3639,
5497,
2633,
273,
394,
24248,
5411,
261,
2704,
28649,
12,
659,
3631,
333,
18,
5999,
1769,
3639,... |
} ) ; return (String)(queryResult.size() > 0 ? queryResult.get(0) : null) ; | } ); return (String)(queryResult.size() > 0 ? queryResult.get( 0 ) : null); | String sproc_GetFileName( int metaId ) { String sql = "SELECT filename FROM fileupload_docs WHERE meta_id = ?" ; Object[] paramValues = new Object[]{ new Integer( metaId ) } ; ArrayList queryResult = sqlProcessor.executeQuery(sql, paramValues, new SQLProcessor.ResultProcessor() { Obj... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a90e8dc58b604eb2343b8f739ed25f49188b96da/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
272,
9381,
67,
967,
4771,
12,
509,
2191,
548,
262,
288,
3639,
514,
1847,
273,
315,
4803,
1544,
4571,
585,
6327,
67,
8532,
4852,
2191,
67,
350,
273,
17921,
274,
3639,
1033,
8526,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
272,
9381,
67,
967,
4771,
12,
509,
2191,
548,
262,
288,
3639,
514,
1847,
273,
315,
4803,
1544,
4571,
585,
6327,
67,
8532,
4852,
2191,
67,
350,
273,
17921,
274,
3639,
1033,
8526,
57... |
checkReference(); | if (isDisposed()) { return; } | public void setPinned(boolean newPinned) { checkReference(); if (newPinned == pinned) { return; } pinned = newPinned; setImageDescriptor(computeImageDescriptor()); fireInternalPropertyChange(INTERNAL_PROPERTY_PINNED); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8ec17bfb7b256eef92ced34287fdee629d078ca4/WorkbenchPartReference.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPartReference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
12178,
11748,
12,
6494,
394,
12178,
11748,
13,
288,
3639,
309,
261,
291,
1669,
7423,
10756,
288,
327,
31,
289,
540,
309,
261,
2704,
12178,
11748,
422,
26193,
13,
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,
918,
444,
12178,
11748,
12,
6494,
394,
12178,
11748,
13,
288,
3639,
309,
261,
291,
1669,
7423,
10756,
288,
327,
31,
289,
540,
309,
261,
2704,
12178,
11748,
422,
26193,
13,
288,
5411... |
public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER && (Re... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/4b2801ac2ab00275efc7eb5f3257db525f56ab9d/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... | ||
Graphics g = getGraphics(); if(g == null) { return; } | public void updateSize() { setFont(new Font("monospaced", Font.PLAIN, Math.abs(getYPixPerUnitAsInt()))); maxWidth = 0; Graphics g = getGraphics(); if(g == null) { return; } FontMetrics fm = g.getFontMetrics(); for(int i = 0; i < ny; i++) { String s = matrix.getRowName(i); int w = fm.stringWidth... | 14633 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14633/49a0b5c8a59841d34cba6fda1342935f24044535/HCL.java/buggy/src/edu/mit/genome/gp/ui/hclviewer/HCL.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1089,
1225,
1435,
288,
1082,
202,
542,
5711,
12,
2704,
10063,
2932,
2586,
538,
909,
72,
3113,
10063,
18,
26549,
16,
2361,
18,
5113,
12,
588,
61,
21816,
2173,
2802,
31720,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1089,
1225,
1435,
288,
1082,
202,
542,
5711,
12,
2704,
10063,
2932,
2586,
538,
909,
72,
3113,
10063,
18,
26549,
16,
2361,
18,
5113,
12,
588,
61,
21816,
2173,
2802,
31720,
... | |
public Iterator iterator(RubyModule rubyClass) { return new ObjectSpaceIterator(rubyClass); | public synchronized Iterator iterator(RubyModule rubyClass) { final List objList = new ArrayList(); WeakReferenceListNode current = top; while (current != null) { IRubyObject obj = (IRubyObject)current.get(); if (obj != null && obj.isKindOf(rubyClass)) { objList.add(current); } current = current.next; } return new It... | public Iterator iterator(RubyModule rubyClass) { return new ObjectSpaceIterator(rubyClass); } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/b174080e1ae646a0fc8e25372ec51dc664d92f79/ObjectSpace.java/buggy/src/org/jruby/runtime/ObjectSpace.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4498,
2775,
12,
54,
10340,
3120,
22155,
797,
13,
288,
3639,
327,
394,
1033,
3819,
3198,
12,
27768,
797,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
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,
4498,
2775,
12,
54,
10340,
3120,
22155,
797,
13,
288,
3639,
327,
394,
1033,
3819,
3198,
12,
27768,
797,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (instance.value(j) > ranges[j][R_MAX]) { | if (value > ranges[j][R_MAX]) { | public double [][] updateRanges(Instance instance, double [][] ranges) { // updateRangesFirst must have been called on ranges for (int j = 0; j < ranges.length; j++) { double value = instance.value(j); if (!instance.isMissing(j)) { if (value < ranges[j][R_MIN]) { ranges[j][R_MIN] =... | 48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/32bb07424c5d97039dab5a1ede0b74c1a9f80769/EuclideanDistance.java/buggy/weka/core/EuclideanDistance.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1645,
5378,
8526,
1089,
9932,
12,
1442,
791,
16,
1645,
5378,
8526,
7322,
13,
288,
3639,
368,
1089,
9932,
3759,
1297,
1240,
2118,
2566,
603,
7322,
565,
364,
261,
474,
525,
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,
282,
1071,
1645,
5378,
8526,
1089,
9932,
12,
1442,
791,
16,
1645,
5378,
8526,
7322,
13,
288,
3639,
368,
1089,
9932,
3759,
1297,
1240,
2118,
2566,
603,
7322,
565,
364,
261,
474,
525,
273,
374,
... |
public org.quickfix.field.SecurityAltID get(org.quickfix.field.SecurityAltID value) | public quickfix.field.SecurityAltID get(quickfix.field.SecurityAltID value) | public org.quickfix.field.SecurityAltID get(org.quickfix.field.SecurityAltID value) throws FieldNotFound { getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralInquiry.java/buggy/src/java/src/quickfix/fix44/CollateralInquiry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
4368,
10655,
734,
336,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
4368,
10655,
734,
336,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... |
if (WorkspaceViewerProperties.VIEWGRID.equals(event.getProperty())) { if (! gridVisibilityButton.isDisposed()) { gridVisibilityButton.setSelection(getEventBoolean(event)); } } else if (WorkspaceViewerProperties.VIEWRULERS.equals(event.getProperty())) { if (! rulerVisibilityButton.isDisposed()) { rulerVisibilityButton.s... | if (WorkspaceViewerProperties.VIEWGRID.equals(event.getProperty())) { if (! gridVisibilityButton.isDisposed()) { gridVisibilityButton.setSelection(getEventBoolean(event)); } } else if (WorkspaceViewerProperties.VIEWRULERS.equals(event.getProperty())) { if (! rulerVisibilityButton.isDisposed()) { rulerVisibilityButton.s... | private void handleWorkspacePropertyChanged(PropertyChangeEvent event) { if (WorkspaceViewerProperties.VIEWGRID.equals(event.getProperty())) { if (! gridVisibilityButton.isDisposed()) { gridVisibilityButton.setSelection(getEventBoolean(event)); } } else if (WorkspaceViewerProperties.VIEWRULERS.equals(event.... | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/d0ecb819dee9579b2622e012d962c70d396581ac/RulerGridPropertySection.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui.properties/src/org/eclipse/gmf/runtime/diagram/ui/properties/sections/grid/RulerGridPropertySecti... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
8241,
1396,
5033,
12,
1396,
20930,
871,
13,
288,
202,
202,
430,
261,
8241,
18415,
2297,
18,
12145,
6997,
734,
18,
14963,
12,
2575,
18,
588,
1396,
1435,
3719,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
8241,
1396,
5033,
12,
1396,
20930,
871,
13,
288,
202,
202,
430,
261,
8241,
18415,
2297,
18,
12145,
6997,
734,
18,
14963,
12,
2575,
18,
588,
1396,
1435,
3719,
288,
... |
} else /* if (value instanceof String[]) */ { | } else if (value instanceof String[]) { | public static String computeURL(PageContext pageContext, String forward, String href, String page, Map params, String anchor, boolean redirect) throws MalformedURLException { // Validate that exact... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/ee0a2eb7f15b26d85844db6fa8ee29933783ea75/RequestUtils.java/buggy/src/share/org/apache/struts/util/RequestUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3671,
1785,
12,
1964,
1042,
21442,
16,
514,
5104,
16,
4766,
565,
514,
3897,
16,
514,
1363,
16,
4766,
565,
1635,
859,
16,
514,
6984,
16,
4766,
565,
1250,
3136,
13,
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,
377,
1071,
760,
514,
3671,
1785,
12,
1964,
1042,
21442,
16,
514,
5104,
16,
4766,
565,
514,
3897,
16,
514,
1363,
16,
4766,
565,
1635,
859,
16,
514,
6984,
16,
4766,
565,
1250,
3136,
13,
3639,
... |
new ProgressMonitorDialog(getShell()).run(true, true, operation); | new ProgressMonitorJobsDialog(getShell()).run(true, true, operation); | private IFolder createNewFolder(String folderName, final String linkTargetName) { final IFolder folderHandle = createFolderHandle(folderName); WorkspaceModifyOperation operation = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) throws CoreException { try { monitor.beginTask(IDEWork... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b51c2fc598412328186b6dc9d53170279785fe34/NewFolderDialog.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/NewFolderDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
467,
3899,
15291,
3899,
12,
780,
31814,
16,
727,
514,
1692,
2326,
461,
13,
288,
202,
6385,
467,
3899,
3009,
3259,
273,
752,
3899,
3259,
12,
5609,
461,
1769,
202,
202,
8241,
11047,
2988,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
467,
3899,
15291,
3899,
12,
780,
31814,
16,
727,
514,
1692,
2326,
461,
13,
288,
202,
6385,
467,
3899,
3009,
3259,
273,
752,
3899,
3259,
12,
5609,
461,
1769,
202,
202,
8241,
11047,
2988,
... |
return this; } | return this; } | public Closure asWritable() { return this; } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/9411e347dd46bbc42695d463bec72ecaed0a490a/Closure.java/clean/src/main/groovy/lang/Closure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
482,
7255,
487,
12061,
1435,
288,
377,
202,
202,
2463,
333,
31,
377,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
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,
1377,
202,
482,
7255,
487,
12061,
1435,
288,
377,
202,
202,
2463,
333,
31,
377,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
void onSuccess(USKAttempt att, boolean dontUpdate) { | void onSuccess(USKAttempt att, boolean dontUpdate, ClientSSKBlock block) { | void onSuccess(USKAttempt att, boolean dontUpdate) { LinkedList l = null; synchronized(this) { if(completed || cancelled) return; runningAttempts.remove(att); long curLatest = att.number; if(!dontUpdate) uskManager.update(origUSK, curLatest); curLatest = Math.max(uskManager.lookup(origUSK), curLatest); ... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/453d4b996fb63d69f900accadc2e27f5ed795af0/USKFetcher.java/clean/src/freenet/client/async/USKFetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
20613,
12,
3378,
47,
7744,
2403,
16,
1250,
14046,
1891,
13,
288,
202,
202,
13174,
682,
328,
273,
446,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
13615,
747,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
20613,
12,
3378,
47,
7744,
2403,
16,
1250,
14046,
1891,
13,
288,
202,
202,
13174,
682,
328,
273,
446,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
13615,
747,
... |
URI enclosed = manager.getTargetURI( new URI( out.toURL().toString() ) ); | URI enclosed = manager.getTargetURI( out.toURI() ); | private void checkType( Resource resource, Type type, boolean validate ) { // // Check that the project has actually built the resource // type that it declares // String id = type.getID(); String filename = getContext().getLayoutFilename( id ); final File deliver... | 10984 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10984/e0d2f568356a5ca9a53507f97313b05535effa0a/InstallTask.java/buggy/trunk/main/depot/tools/src/main/net/dpml/tools/tasks/InstallTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
23008,
12,
2591,
1058,
16,
1412,
618,
16,
1250,
1954,
262,
565,
288,
3639,
368,
3639,
368,
2073,
716,
326,
1984,
711,
6013,
6650,
326,
1058,
3639,
368,
618,
716,
518,
3496,
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,
918,
23008,
12,
2591,
1058,
16,
1412,
618,
16,
1250,
1954,
262,
565,
288,
3639,
368,
3639,
368,
2073,
716,
326,
1984,
711,
6013,
6650,
326,
1058,
3639,
368,
618,
716,
518,
3496,
4... |
ModelFacade.setTargetScope(mAssociationEnd, ModelFacade.INSTANCE_SCOPE); | ModelFacade.setTargetScope(mAssociationEnd, ModelFacade.INSTANCE_SCOPE); | private void setTargetScope(Object mAssociationEnd, short modifiers) { if ((modifiers & JavaRecognizer.ACC_STATIC) > 0) { ModelFacade.setTargetScope(mAssociationEnd, ModelFacade.CLASSIFIER_SCOPE); } else { ModelFacade.setTargetScope(mAssociationEnd, ModelFacade.INSTANCE... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/180aae2a6e4359d416ad1610ef18fe4836df91b8/Modeller.java/buggy/src_new/org/argouml/uml/reveng/java/Modeller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
18367,
3876,
12,
921,
312,
7174,
1638,
16,
3025,
10429,
13,
565,
288,
3639,
309,
14015,
15432,
473,
5110,
28131,
18,
31414,
67,
22741,
13,
405,
374,
13,
288,
5411,
3164,
12467,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18367,
3876,
12,
921,
312,
7174,
1638,
16,
3025,
10429,
13,
565,
288,
3639,
309,
14015,
15432,
473,
5110,
28131,
18,
31414,
67,
22741,
13,
405,
374,
13,
288,
5411,
3164,
12467,... |
public static IResource getResource(Object element) { if (element == null) { | public static IResource getResource(IEditorInput editorInput) { if (editorInput == null) { | public static IResource getResource(Object element) { if (element == null) { return null; } if (element instanceof IResource) { return (IResource) element; } return (IResource) getAdapter(element, IResource.class, true); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ResourceUtil.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/ResourceUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
1420,
5070,
12,
921,
930,
13,
288,
202,
202,
430,
261,
2956,
422,
446,
13,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
430,
261,
2956,
1276,
467,
1420,
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,
760,
467,
1420,
5070,
12,
921,
930,
13,
288,
202,
202,
430,
261,
2956,
422,
446,
13,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
430,
261,
2956,
1276,
467,
1420,
13,
... |
scaling = new ScalingFactors(); context = new MylarContext("0", scaling); } | super.setUp(); scaling = new ScalingFactors(); context = new MylarContext("0", scaling); } | protected void setUp() throws Exception { scaling = new ScalingFactors(); context = new MylarContext("0", scaling); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8d19288756b165b6940c13505ff6349cab4ad209/ContextTest.java/buggy/org.eclipse.mylyn.context.tests/src/org/eclipse/mylyn/core/tests/ContextTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
1216,
1185,
288,
3639,
10612,
273,
394,
17536,
23535,
5621,
3639,
819,
273,
394,
8005,
7901,
1042,
2932,
20,
3113,
10612,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
1216,
1185,
288,
3639,
10612,
273,
394,
17536,
23535,
5621,
3639,
819,
273,
394,
8005,
7901,
1042,
2932,
20,
3113,
10612,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
... |
synPredMatched2236 = false; | synPredMatched2237 = false; | public final void return_options(AST _t) throws RecognitionException { AST return_options_AST_in = (_t == ASTNULL) ? null : (AST)_t; { boolean synPredMatched2236 = false; if (_t==null) _t=ASTNULL; if (((_tokenSet_3.member(_t.getType())))) { AST __t2236 = _t; synPredMatched2236 = true; inputState.guessin... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
327,
67,
2116,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
327,
67,
2116,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
327,
67,
2116,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
327,
67,
2116,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
2... |
} else { | } else if (xo.hasId()){ | public Object parseXMLObject(XMLObject xo) throws XMLParseException { String name; if (xo.hasAttribute(NAME)) { name = xo.getStringAttribute(NAME); } else { name = xo.getId(); } Attribute attr = (Attribute)xo.getChild(Attribute.class); double testValue1; TestStatistic statistic; if (xo... | 49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/b73e3cbb884da60bf7e91b6dfb364d55c44cbd20/TestStatistic.java/buggy/trunk/src/dr/inference/model/TestStatistic.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1033,
1109,
4201,
921,
12,
4201,
921,
619,
83,
13,
1216,
3167,
13047,
288,
6862,
202,
780,
508,
31,
1082,
202,
430,
261,
25272,
18,
5332,
1499,
12,
1985,
3719,
288,
9506,
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,
3196,
202,
482,
1033,
1109,
4201,
921,
12,
4201,
921,
619,
83,
13,
1216,
3167,
13047,
288,
6862,
202,
780,
508,
31,
1082,
202,
430,
261,
25272,
18,
5332,
1499,
12,
1985,
3719,
288,
9506,
202... |
if (handlerListeners != null) for (int i = 0; i < handlerListeners.size(); i++) ((IHandlerListener) handlerListeners.get(i)) .handlerChanged(handlerEvent); | final Object[] listeners = getListeners(); for (int i = 0; i < listeners.length; i++) { final IHandlerListener listener = (IHandlerListener) listeners[i]; listener.handlerChanged(handlerEvent); } | protected void fireHandlerChanged(final HandlerEvent handlerEvent) { if (handlerEvent == null) throw new NullPointerException(); if (handlerListeners != null) for (int i = 0; i < handlerListeners.size(); i++) ((IHandlerListener) handlerListeners.get(i)) .handlerChanged(handlerEvent); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/a831dea76fba37dc4e6790cda1c9ce144736d4e4/AbstractHandler.java/buggy/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/AbstractHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
1503,
5033,
12,
6385,
4663,
1133,
1838,
1133,
13,
288,
202,
202,
430,
261,
4176,
1133,
422,
446,
13,
1082,
202,
12849,
394,
10108,
5621,
202,
202,
430,
261,
4176,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4452,
1503,
5033,
12,
6385,
4663,
1133,
1838,
1133,
13,
288,
202,
202,
430,
261,
4176,
1133,
422,
446,
13,
1082,
202,
12849,
394,
10108,
5621,
202,
202,
430,
261,
4176,
... |
JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); | void readGenotypes(String[] inputOptions, int type){ //input is a 2 element array with //inputOptions[0] = ped file //inputOptions[1] = info file (null if none) //inputOptions[2] = custom association test list file (null if none) //type is either 3 or 4 for ped and hapmap files re... | 51222 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51222/575ee37ddacfcb05af4d1c9e8c91141db3953266/HaploView.java/clean/edu/mit/wi/haploview/HaploView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
855,
7642,
20297,
12,
780,
8526,
810,
1320,
16,
509,
618,
15329,
3639,
368,
2630,
353,
279,
576,
930,
526,
598,
3639,
368,
2630,
1320,
63,
20,
65,
273,
31840,
585,
3639,
368,
2630,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
855,
7642,
20297,
12,
780,
8526,
810,
1320,
16,
509,
618,
15329,
3639,
368,
2630,
353,
279,
576,
930,
526,
598,
3639,
368,
2630,
1320,
63,
20,
65,
273,
31840,
585,
3639,
368,
2630,... | |
if (grouping.getAggregateExpression() != null) | if (bEnableUI && grouping.getAggregateExpression() != null) | private void populateLists() { SeriesGrouping grouping = getGrouping(); boolean bEnableUI = btnEnabled.getSelection(); // Populate grouping type combo cmbType.add("Text"); //$NON-NLS-1$ cmbType.add("Number"); //$NON-NLS-1$ cmbType.add("Date/Time"); //$NON-NLS-1$ i... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4c3f1cb28dd9925df77890697e8cb172fe5ebfe8/SeriesGroupingComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/SeriesGroupingComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
7432,
1435,
565,
288,
3639,
9225,
21014,
12116,
273,
11751,
310,
5621,
3639,
1250,
324,
8317,
5370,
273,
10638,
1526,
18,
588,
6233,
5621,
3639,
368,
22254,
12116,
618,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
7432,
1435,
565,
288,
3639,
9225,
21014,
12116,
273,
11751,
310,
5621,
3639,
1250,
324,
8317,
5370,
273,
10638,
1526,
18,
588,
6233,
5621,
3639,
368,
22254,
12116,
618,
167... |
sql = "select * from #t0018"; rs = stmt.executeQuery(sql); if (!rs.next()) { assertTrue("should get Result",false); | sql = "select * from #t0018"; rs = stmt.executeQuery(sql); if (!rs.next()) { assertTrue("should get Result",false); } else { output.println("Getting the results"); output.println("mybinary is " + rs.getObject("mybinary")); output.println("myvarbinary is " + rs.getObject("myvarbinary")); output.println("mychar is " + rs... | public void testGetAsciiStream0018() throws Exception { int count = 0; Statement stmt = con.createStatement(); ResultSet rs; String bigtext1 = "abcdefghijklmnop" + "abcdefghijklmnop" + "abcdefghijklmnop" + "abcdefghijklmnop" + "abcdefghijklmnop" + "abcdefghijklmnop" + ... | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/d48066e24a9a4b4edf35b9545de98ba05acafd4d/CSUnitTest.java/clean/src/test/net/sourceforge/jtds/test/CSUnitTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
21363,
1228,
713,
2643,
1435,
1216,
1185,
288,
565,
509,
540,
1056,
565,
273,
374,
31,
565,
8056,
282,
3480,
377,
273,
356,
18,
2640,
3406,
5621,
565,
10842,
282,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
21363,
1228,
713,
2643,
1435,
1216,
1185,
288,
565,
509,
540,
1056,
565,
273,
374,
31,
565,
8056,
282,
3480,
377,
273,
356,
18,
2640,
3406,
5621,
565,
10842,
282,
... |
RepositoryTaskAttribute attr = new RepositoryTaskAttribute(tag); attr.setValue(characters.toString()); | RepositoryTaskAttribute attr = BugzillaRepositoryUtil.makeNewAttribute(tag); attr.setValue(parsedText); | public void endElement(String uri, String localName, String qName) throws SAXException { BugzillaReportElement tag = BugzillaReportElement.UNKNOWN; try { tag = BugzillaReportElement.valueOf(localName.trim().toUpperCase()); } catch (RuntimeException e) { if (e instanceof IllegalArgumentException) { // ignore ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/11ba991a7c176a0ea4c187e5f674932dc37851d1/SaxBugReportContentHandler.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxBugReportContentHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
1216,
14366,
288,
202,
202,
19865,
15990,
4820,
1046,
1047,
273,
16907,
15990,
4820,
1046,
18,
14737,
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,
482,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
1216,
14366,
288,
202,
202,
19865,
15990,
4820,
1046,
1047,
273,
16907,
15990,
4820,
1046,
18,
14737,
31,
202,
202... |
} else { | } else if (item.getHowDiscovered() == SPECIFIED) { | private void processWorkList(IClassPath classPath, LinkedList<WorkListItem> workList) throws InterruptedException, IOException, ResourceNotFoundException { // Build the classpath, scanning codebases for nested archives // and referenced codebases. while (!workList.isEmpty()) { WorkListItem item = workList.remov... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1f13755ca304a2ba061a19f398d76534a5d64db8/ClassPathBuilder.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/classfile/impl/ClassPathBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1207,
2421,
682,
12,
45,
22158,
22503,
16,
10688,
32,
2421,
13575,
34,
1440,
682,
13,
1082,
202,
15069,
7558,
16,
1860,
16,
16676,
288,
202,
202,
759,
3998,
326,
10006,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1207,
2421,
682,
12,
45,
22158,
22503,
16,
10688,
32,
2421,
13575,
34,
1440,
682,
13,
1082,
202,
15069,
7558,
16,
1860,
16,
16676,
288,
202,
202,
759,
3998,
326,
10006,
... |
FileWriter writer = new FileWriter( new File( destinationDirectory, id + "-plugin.xml" ) ); | FileWriter writer = null; try { writer = new FileWriter( new File( destinationDirectory, id + "-plugin.xml" ) ); | protected void processPluginDescriptor( MojoDescriptor mojoDescriptor, String destinationDirectory ) throws Exception { String id = mojoDescriptor.getId(); FileWriter writer = new FileWriter( new File( destinationDirectory, id + "-plugin.xml" ) ); XMLWriter w = new PrettyPrintXMLWrite... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/24c6328ad361f8e709e2b3fddefd9cde220a0628/PluginXdocGenerator.java/clean/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
3773,
3187,
12,
15931,
3187,
312,
10007,
3187,
16,
514,
2929,
2853,
262,
3639,
1216,
1185,
565,
288,
3639,
514,
612,
273,
312,
10007,
3187,
18,
26321,
5621,
3639,
24639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
3773,
3187,
12,
15931,
3187,
312,
10007,
3187,
16,
514,
2929,
2853,
262,
3639,
1216,
1185,
565,
288,
3639,
514,
612,
273,
312,
10007,
3187,
18,
26321,
5621,
3639,
24639,
... |
public Object getValue( Object object ) | public Object getValue( Object object ) | public Object getValue( Object object ) throws IllegalStateException { KeyGeneratorDef target = (KeyGeneratorDef) object; return target.getAlias(); } | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/d7fabc686ef68f29e8236fd9afc60109670d1fd4/KeyGeneratorDefDescriptor.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/mapping/xml/KeyGeneratorDefDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
2366,
12,
1033,
733,
262,
1171,
1216,
5477,
5411,
288,
7734,
1929,
3908,
3262,
1018,
273,
261,
653,
3908,
3262,
13,
733,
31,
7734,
327,
1018,
18,
588,
2936,
5621,
5411,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2398,
1071,
1033,
2366,
12,
1033,
733,
262,
1171,
1216,
5477,
5411,
288,
7734,
1929,
3908,
3262,
1018,
273,
261,
653,
3908,
3262,
13,
733,
31,
7734,
327,
1018,
18,
588,
2936,
5621,
5411,
289,
... |
String title = aboutInfo.getAppName(); | String title = aboutInfo.getProductName(); if (title != null) { | protected void configureShell(Shell newShell) { super.configureShell(newShell); String title = aboutInfo.getAppName(); newShell.setText( WorkbenchMessages.format( "AboutFeaturesDialog.shellTitle", //$NON-NLS-1$ new Object[] {title})); WorkbenchHelp.setHelp( newShell, IHelpContextIds.ABOUT_FEATURES_DIAL... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d47fcb3ce1f2517cb7f5b1bd89497e7dc39e1c8f/AboutFeaturesDialog.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutFeaturesDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5068,
13220,
12,
13220,
394,
13220,
13,
288,
202,
202,
9565,
18,
14895,
13220,
12,
2704,
13220,
1769,
202,
202,
780,
2077,
273,
2973,
966,
18,
588,
3371,
461,
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,
1117,
918,
5068,
13220,
12,
13220,
394,
13220,
13,
288,
202,
202,
9565,
18,
14895,
13220,
12,
2704,
13220,
1769,
202,
202,
780,
2077,
273,
2973,
966,
18,
588,
3371,
461,
5621,
202,
... |
createSpaceInCode(false); | createSpaceInCode(mySettings.SPACE_BEFORE_METHOD_PARENTHESES); | public void visitMethod(PsiMethod method) { if (myRole2 == ChildRole.PARAMETER_LIST) { createSpaceInCode(false); } else if (myRole1 == ChildRole.PARAMETER_LIST && myRole2 == ChildRole.THROWS_LIST) { createSpaceInCode(true); } else if (myRole2 == ChildRole.METHOD_BODY) { myResult = getSpaceB... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/54b6205d15a150bd0abe7082a4fcc1900c6dd863/JavaSpacePropertyProcessor.java/buggy/source/com/intellij/psi/formatter/newXmlFormatter/java/JavaSpacePropertyProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
25138,
12,
52,
7722,
1305,
707,
13,
288,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
9819,
67,
7085,
13,
288,
1377,
752,
3819,
382,
1085,
12,
4811,
2628,
18,
6616,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25138,
12,
52,
7722,
1305,
707,
13,
288,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
9819,
67,
7085,
13,
288,
1377,
752,
3819,
382,
1085,
12,
4811,
2628,
18,
6616,
... |
protected DescriptorHandler getDescriptorHandler(File srcDir) { DescriptorHandler handler = new DescriptorHandler(getTask(), srcDir); // register all the DTDs, both the ones that are known and // any supplied by the user handler.registerDTD(PUBLICID_EJB11, ejb11DTD); ... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c7b5b643b25b20f5c96097b2c54e2e26a054f212/WebsphereDeploymentTool.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
12823,
1503,
22161,
1503,
12,
812,
30585,
13,
288,
3639,
12823,
1503,
1838,
273,
394,
12823,
1503,
12,
588,
2174,
9334,
30585,
1769,
3639,
368,
1744,
777,
326,
10696,
22831,
16,
3937,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12823,
1503,
22161,
1503,
12,
812,
30585,
13,
288,
3639,
12823,
1503,
1838,
273,
394,
12823,
1503,
12,
588,
2174,
9334,
30585,
1769,
3639,
368,
1744,
777,
326,
10696,
22831,
16,
3937,... | ||
String spName = procName; | boolean isCallableStatement = this instanceof JtdsCallableStatement; | public ResultSet executeQuery() throws SQLException { checkOpen(); resultQueue.clear(); genKeyResultSet = null; String spName = procName; if (spName == null) { spName = connection.prepareSQL(this, sql, parameters, false); } return executeSQLQuery(sql, ... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/0c7f0d6aee952bc761910a68a83324bc7b2b401b/JtdsPreparedStatement.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsPreparedStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10842,
14304,
1435,
1216,
6483,
288,
3639,
866,
3678,
5621,
3639,
563,
3183,
18,
8507,
5621,
3639,
3157,
653,
13198,
273,
446,
31,
3639,
1250,
353,
11452,
3406,
273,
333,
1276,
804,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10842,
14304,
1435,
1216,
6483,
288,
3639,
866,
3678,
5621,
3639,
563,
3183,
18,
8507,
5621,
3639,
3157,
653,
13198,
273,
446,
31,
3639,
1250,
353,
11452,
3406,
273,
333,
1276,
804,
... |
super(position); | super(position, NodeTypes.HASHNODE); | public HashNode(ISourcePosition position, ListNode listNode) { super(position); this.listNode = listNode; } | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/6e15491217631472c05c6928672f9c7064a978b3/HashNode.java/buggy/src/org/jruby/ast/HashNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2474,
907,
12,
45,
1830,
2555,
1754,
16,
987,
907,
666,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
15920,
8744,
1769,
3639,
333,
18,
1098,
907,
273,
666,
907,
31,
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,
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,
2474,
907,
12,
45,
1830,
2555,
1754,
16,
987,
907,
666,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
15920,
8744,
1769,
3639,
333,
18,
1098,
907,
273,
666,
907,
31,
5... |
poly.addPoint(bounds.x + leftCorner, bounds.y + bounds.height - (int)border.bottom()); | poly.addPoint(bounds.x + leftCorner, bounds.y + bounds.height - (int) border.bottom()); | private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ... | 57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/1ca686f10a0033c5e79968a5d664589db0fef2ec/BorderPainter.java/buggy/src/java/org/xhtmlrenderer/render/BorderPainter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
12681,
336,
1919,
941,
1259,
11787,
12,
6385,
13264,
4972,
16,
727,
13525,
1396,
694,
5795,
16,
727,
509,
22423,
16,
509,
783,
8895,
16,
1250,
353,
15339,
5165,
13,
288,
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,
377,
3238,
760,
12681,
336,
1919,
941,
1259,
11787,
12,
6385,
13264,
4972,
16,
727,
13525,
1396,
694,
5795,
16,
727,
509,
22423,
16,
509,
783,
8895,
16,
1250,
353,
15339,
5165,
13,
288,
3639,
... |
Object data= rule.getSuccessToken(); if (fContentType.equals(data)) startIndex= i; } fContentType= null; boolean resume= (startIndex > -1); fTokenOffset= resume ? fPartitionOffset : fOffset; fColumn= UNDEFINED; for (int i= Math.max(0, startIndex); i < fRules.length; i++) { rule= (IPredicateRule) fRules[i]; token= rul... | token= rule.getSuccessToken(); if (fContentType.equals(token.getData())) { if (resume) fTokenOffset= fPartitionOffset; token= rule.evaluate(this, resume); if (!token.isUndefined()) { fContentType= null; return token; } } | public IToken nextToken() { if (fContentType == null || fRules == null) return super.nextToken(); IPredicateRule rule; IToken token; int startIndex= -1; for (int i= 0; i < fRules.length; i++) { rule= (IPredicateRule) fRules[i]; Object data= rule.getSuccessToken(); if (fContentType.equals(data)) ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/21eb17ee375d7ff0824e42eb4c601639f47ae060/RuleBasedPartitionScanner.java/buggy/bundles/org.eclipse.ui/Eclipse JFace Text/org/eclipse/jface/text/rules/RuleBasedPartitionScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1345,
9617,
1435,
288,
9506,
202,
430,
261,
74,
8046,
422,
446,
747,
284,
4478,
422,
446,
13,
1082,
202,
2463,
2240,
18,
4285,
1345,
5621,
9506,
202,
2579,
5543,
2175,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1345,
9617,
1435,
288,
9506,
202,
430,
261,
74,
8046,
422,
446,
747,
284,
4478,
422,
446,
13,
1082,
202,
2463,
2240,
18,
4285,
1345,
5621,
9506,
202,
2579,
5543,
2175,
17... |
stringBuffer.append(genPackage.getImportedEditorPluginClassName()); | stringBuffer.append(genModel.getNonNLS()); | public String generate(Object argument) { StringBuffer stringBuffer = new StringBuffer(); /** * <copyright> * * Copyright (c) 2002-2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which... | 11224 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11224/af62ae0c5ad01f4b4b569f4d555a8bdbccad95a2/ModelWizard.java/buggy/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/templates/editor/ModelWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
1783,
380,
411,
29187,
34,
380,
380,
25417,
261,
71,
13,
4044,
22,
17,
6976,
24,
23450,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
1783,
380,
411,
29187,
34,
380,
380,
25417,
261,
71,
13,
4044,
22,
17,
6976,
24,
23450,
... |
public void show(int x, int y, int width, int heigth) | public void show(int x, int y, int width, int height) | public void show(int x, int y, int width, int heigth) { JLayeredPane layeredPane; layeredPane = SwingUtilities.getRootPane(invoker).getLayeredPane(); layeredPane.add(this, JLayeredPane.POPUP_LAYER, 0); this.setBounds(x, y, width, height); } | 56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/a0a040160e6587688c585243fc9558a7195ab5d7/JPopupMenu.java/clean/libjava/javax/swing/JPopupMenu.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
565,
288,
1377,
804,
4576,
329,
8485,
3018,
329,
8485,
31,
1377,
3018,
329,
8485,
273,
26145,
11864,
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,
2405,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
565,
288,
1377,
804,
4576,
329,
8485,
3018,
329,
8485,
31,
1377,
3018,
329,
8485,
273,
26145,
11864,
18,
... |
server.setHandler(new HelloWorldHandler()); | server.setHandler(handler); | private static Server startServer() throws Exception { Server server = new Server(); SelectChannelConnector connector = new SelectChannelConnector(); server.setConnectors(new Connector[] {connector}); server.setHandler(new HelloWorldHan... | 13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/a90899eaab63c0168ef6437b6555c13e623995b5/HttpServerTest.java/buggy/modules/jetty/src/test/java/org/mortbay/jetty/HttpServerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
3224,
787,
2081,
1435,
1171,
9079,
1216,
1185,
565,
288,
3639,
3224,
1171,
1438,
565,
273,
394,
3224,
5621,
3639,
6766,
2909,
7487,
8703,
273,
394,
6766,
2909,
7487,
5621,
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,
377,
3238,
760,
3224,
787,
2081,
1435,
1171,
9079,
1216,
1185,
565,
288,
3639,
3224,
1171,
1438,
565,
273,
394,
3224,
5621,
3639,
6766,
2909,
7487,
8703,
273,
394,
6766,
2909,
7487,
5621,
3639,
... |
if ((FEATURE + "namespaces").equals (featureId)) { namespaces = value; if (!namespaces) xmlNames = true; return; } | if ((FEATURE + "external-general-entities").equals(featureId)) { extGE = value; return; } if ((FEATURE + "external-parameter-entities").equals(featureId)) { extPE = value; return; } if ((FEATURE + "resolve-dtd-uris").equals(featureId)) { resolveAll = value; return; } | public void setFeature (String featureId, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException { boolean state; // Features with a defined value, we just change it if we can. state = getFeature (featureId); if (state == value) return; if (parser != null) throw new SAXNotSupported... | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/buggy/libjava/gnu/xml/aelfred2/SAXDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
28669,
261,
780,
2572,
548,
16,
1250,
460,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
565,
288,
202,
6494,
202,
2019,
31,
202,
202,
759,
28920,
598,
279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28669,
261,
780,
2572,
548,
16,
1250,
460,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
565,
288,
202,
6494,
202,
2019,
31,
202,
202,
759,
28920,
598,
279,
... |
private void updateGroups(Dbms dbms, DataManager dataMan, GroupMapping groupMapping, | private void updateGroups(Dbms dbms, DataManager dataMan, GroupMapper groupMapping, | private void updateGroups(Dbms dbms, DataManager dataMan, GroupMapping groupMapping, String id, List groups) throws Exception { for(int i=0; i<groups.size(); i++) { Element group = (Element) groups.get(i); String name = group.getAttributeValue(Attr.NAME); String grpId = groupMapping.getId(name); ... | 53415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53415/f66a38142b03c0763226cd6dbb77e43a0e881d69/MetadataHarvest.java/buggy/src/org/fao/geonet/schedules/MetadataHarvest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
3621,
12,
4331,
959,
1319,
959,
16,
1910,
1318,
501,
5669,
16,
3756,
3233,
1041,
3233,
16,
6862,
25083,
225,
514,
612,
16,
987,
3252,
13,
1216,
1185,
202,
95,
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,
1152,
918,
1089,
3621,
12,
4331,
959,
1319,
959,
16,
1910,
1318,
501,
5669,
16,
3756,
3233,
1041,
3233,
16,
6862,
25083,
225,
514,
612,
16,
987,
3252,
13,
1216,
1185,
202,
95,
202,... |
filter.setContains(descriptionGroup.getContains()); filter.setDescription(descriptionGroup.getDescription().trim()); | ProblemFilter filter = (ProblemFilter) getSelectedFilter(); filter.setContains(descriptionGroup.getContains()); filter.setDescription(descriptionGroup.getDescription().trim()); | protected void updateFilterFromUI() { ProblemFilter filter = (ProblemFilter) getFilter(); filter.setContains(descriptionGroup.getContains()); filter.setDescription(descriptionGroup.getDescription().trim()); filter.setSelectBySeverity(severityGroup.isEnabled()); int severity = 0; ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1ceb585b9b16047c6c580984b0c9962c41a22ba6/DialogProblemFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogProblemFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1089,
1586,
1265,
5370,
1435,
288,
3639,
21685,
1586,
1034,
273,
261,
13719,
1586,
13,
12267,
5621,
3639,
1034,
18,
542,
10846,
12,
3384,
1114,
18,
588,
10846,
10663,
3639,
1034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1089,
1586,
1265,
5370,
1435,
288,
3639,
21685,
1586,
1034,
273,
261,
13719,
1586,
13,
12267,
5621,
3639,
1034,
18,
542,
10846,
12,
3384,
1114,
18,
588,
10846,
10663,
3639,
1034,... |
return false; | else { canAdd[0] = true; } return true; | public static boolean canAddLineBreakpoint(Project project, final Document document, final int lineIndex) { final boolean[] canAdd = new boolean[]{false}; PsiDocumentManager.getInstance(project).commitDocument(document); DebuggerUtilsEx.iterateLine(project, document, lineIndex, new DebuggerUtilsEx.ElementVis... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0025101282885ea3db1e69ac2cd3c4e0ef5d7f23/LineBreakpoint.java/buggy/source/com/intellij/debugger/ui/breakpoints/LineBreakpoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
848,
986,
1670,
20552,
12,
4109,
1984,
16,
727,
4319,
1668,
16,
727,
509,
980,
1016,
13,
288,
565,
727,
1250,
8526,
848,
986,
273,
394,
1250,
63,
7073,
5743,
20451,
565... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
848,
986,
1670,
20552,
12,
4109,
1984,
16,
727,
4319,
1668,
16,
727,
509,
980,
1016,
13,
288,
565,
727,
1250,
8526,
848,
986,
273,
394,
1250,
63,
7073,
5743,
20451,
565... |
out.println("<th class=\"standard\">Description</th>"); } out .println("<th class=\"standard\">Size</th class=\"standard\"><th class=\"standard\">Format</th></tr>"); | out.println("<th class=\"standard\">" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.description") + "</th>"); } out.println("<th class=\"standard\">" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.filesize") + "</th><th class=\"standard\">"... | private void listBitstreams() throws IOException { JspWriter out = pageContext.getOut(); HttpServletRequest request = (HttpServletRequest) pageContext .getRequest(); out.print("<table align=center class=\"miscTable\"><tr>"); out .println("<td class=evenRo... | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/22d85d1df34eed227975b6e94ba17893121fac13/ItemTag.java/clean/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
666,
5775,
16320,
1435,
1216,
1860,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
590,
273,
261,
2940,
18572,
13,
21442,
7734,
263,
588,
691,
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,
3238,
918,
666,
5775,
16320,
1435,
1216,
1860,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
590,
273,
261,
2940,
18572,
13,
21442,
7734,
263,
588,
691,
5... |
lSb_UpdateSQL.append(i_SQLRowInfo.getColumnName(li_x)); lSb_UpdateSQL.append(" = :n"); lSb_UpdateSQL.append(li_x); | private String createUpdateSQL(String aS_Table) { if (i_SQLRowInfo == null) { throw new IllegalStateException("SQLRowInfo is not set"); } StringBuffer lSb_UpdateSQL = new StringBuffer(); lSb_UpdateSQL.append("UPDATE ").append(aS_Table).append(" SET "); for (int li_x = 1; li_x <= i_SQLRowInfo.getColumnCount(); ... | 3283 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3283/5881aafd571ee350e4c7e808016dcb4d0a2fd34e/SQLWriteEngine.java/clean/src/com/sohlman/dataset/sql/SQLWriteEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
752,
1891,
3997,
12,
780,
279,
55,
67,
1388,
13,
202,
95,
202,
202,
430,
261,
77,
67,
3997,
1999,
966,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
5477,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
752,
1891,
3997,
12,
780,
279,
55,
67,
1388,
13,
202,
95,
202,
202,
430,
261,
77,
67,
3997,
1999,
966,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
5477,
2932,
... | |
private static Object toPrimitive(Object val) | private static Object toPrimitive(Object val) | private static Object toPrimitive(Object val) { if (!(val instanceof Scriptable)) { return val; } Scriptable s = (Scriptable)val; Object result = s.getDefaultValue(null); if (result instanceof Scriptable) throw typeError0("msg.bad.default.value"); ... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/83dec5965707ef248c6c98e102494a5dd70d2cd0/ScriptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
358,
9840,
12,
921,
1244,
13,
377,
288,
3639,
309,
16051,
12,
1125,
1276,
22780,
3719,
288,
5411,
327,
1244,
31,
3639,
289,
3639,
22780,
272,
273,
261,
3651,
429,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
358,
9840,
12,
921,
1244,
13,
377,
288,
3639,
309,
16051,
12,
1125,
1276,
22780,
3719,
288,
5411,
327,
1244,
31,
3639,
289,
3639,
22780,
272,
273,
261,
3651,
429,
13,
1... |
public void receiveEvent(PortalEvent ev, String uid) { ChannelState channelState = (ChannelState)channelStateMap.get(uid); ChannelData cd = channelState.getChannelData(); PortalControlStructures pcs = channelState.getPortalControlStructures(); try { PortletContainerSer... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/1eaceadca6b999b459bdab408c36e94b64f7fd0d/CPortletAdapter.java/clean/source/org/jasig/portal/channels/portlet/CPortletAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
18149,
1133,
12,
24395,
1133,
14965,
16,
780,
1911,
15329,
2909,
1119,
4327,
1119,
28657,
2909,
1119,
13,
4327,
1119,
863,
18,
588,
12,
1911,
1769,
2909,
751,
4315,
33,
4327,
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,
1071,
6459,
18149,
1133,
12,
24395,
1133,
14965,
16,
780,
1911,
15329,
2909,
1119,
4327,
1119,
28657,
2909,
1119,
13,
4327,
1119,
863,
18,
588,
12,
1911,
1769,
2909,
751,
4315,
33,
4327,
1119,
... | ||
String communitySpec = "<set><setSpec>" + allComms[i].getID() + "</setSpec><setName>" + allComms[i].getMetadata("name") + | String spec = "<set><setSpec>hdl_" + allCols[i].getHandle().replace('/','_') + " </setSpec><setName>" + allCols[i].getMetadata("name") + | public Map listSets() throws NoSetHierarchyException, OAIInternalServerError { log.info(LogManager.getHeader(null, "oai_request", "verb=listSets")); Context context = null; // List to put results in List sets = new LinkedList(); try { ... | 52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/564aa767ae3958fb227322d346195962712ce24e/DSpaceOAICatalog.java/buggy/dspace/src/org/dspace/app/oai/DSpaceOAICatalog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
666,
2785,
1435,
3639,
1216,
2631,
694,
12074,
503,
16,
531,
18194,
12371,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2011,
16,
5411,
315,
83,
10658,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1635,
666,
2785,
1435,
3639,
1216,
2631,
694,
12074,
503,
16,
531,
18194,
12371,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
2011,
16,
5411,
315,
83,
10658,
... |
if (descriptor.getPsiElement() != null && descriptor.getFix() != null) { descriptor.getFix().applyFix(project, descriptor); tool.ignoreProblem(descriptor); | final LocalQuickFix[] fixes = descriptor.getFixes(); if (descriptor.getPsiElement() != null && fixes != null) { for (LocalQuickFix fix: fixes) { if (fix != null ) { final QuickFixAction quickFixAction = QuickFixAction.this; if (quickFixAction instanceof LocalQuickFixWrapper && !(((LocalQuickFixWrapper)quickFixAction).g... | private void doApplyFix(final Project project, final DescriptorProviderInspection tool, final ProblemDescriptor[] descriptors) { final Set<VirtualFile> readOnlyFiles = new com.intellij.util.containers.HashSet<VirtualFile>(); for (int i = 0; i < descriptors.lengt... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/7d18937b6c277d5ef28a5ed5045f90e8b80e937a/QuickFixAction.java/buggy/source/com/intellij/codeInspection/ex/QuickFixAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
7001,
8585,
12,
6385,
5420,
1984,
16,
12900,
727,
12823,
2249,
14985,
5226,
16,
12900,
727,
21685,
3187,
8526,
14215,
13,
288,
565,
727,
1000,
32,
6466,
812,
34,
15075,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
741,
7001,
8585,
12,
6385,
5420,
1984,
16,
12900,
727,
12823,
2249,
14985,
5226,
16,
12900,
727,
21685,
3187,
8526,
14215,
13,
288,
565,
727,
1000,
32,
6466,
812,
34,
15075,
26... |
public Handler(HttpServletRequest request) { | public Handler(HttpServletRequest request) throws HandlerException { | public Handler(HttpServletRequest request) { this.request = request; this.uri = new URI(request); this.rollerContext = RollerContext.getRollerContext(); this.roller = RollerFactory.getRoller(); this.urlPrefix = getRollerContext().getAbsoluteContextUrl(getRequest()) + ENDPOINT; ... | 46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/63e9d197ce5430321b22734db633425257b4a911/Handler.java/buggy/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4663,
12,
2940,
18572,
590,
13,
1216,
4663,
503,
288,
3639,
333,
18,
2293,
273,
590,
31,
3639,
333,
18,
1650,
273,
394,
3699,
12,
2293,
1769,
3639,
333,
18,
1539,
1042,
273,
11714... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4663,
12,
2940,
18572,
590,
13,
1216,
4663,
503,
288,
3639,
333,
18,
2293,
273,
590,
31,
3639,
333,
18,
1650,
273,
394,
3699,
12,
2293,
1769,
3639,
333,
18,
1539,
1042,
273,
11714... |
ret.setHeader("Host", hostname); | if ((secure && port != HTTPS_PORT) || (!secure && port != HTTP_PORT)) { ret.setHeader("Host", hostname + ":" + port); } else { ret.setHeader("Host", hostname); } | public Request newRequest(String method, String path) { if (method == null || method.length() == 0) { throw new IllegalArgumentException("method must have non-zero length"); } if (path == null || path.length() == 0) { path = "/"; } Request ret = new Request(this, method, pa... | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/963c695b131521180295e79949c085d0842c24ac/HTTPConnection.java/clean/libraries/javalib/gnu/java/net/protocol/http/HTTPConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1567,
7428,
12,
780,
707,
16,
514,
589,
13,
225,
288,
565,
309,
261,
2039,
422,
446,
747,
707,
18,
2469,
1435,
422,
374,
13,
1377,
288,
3639,
604,
394,
2754,
2932,
2039,
1297,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1567,
7428,
12,
780,
707,
16,
514,
589,
13,
225,
288,
565,
309,
261,
2039,
422,
446,
747,
707,
18,
2469,
1435,
422,
374,
13,
1377,
288,
3639,
604,
394,
2754,
2932,
2039,
1297,
1... |
while (current!=null && current!=ancestor); return -2; | while (depthDiff < 0) { endPointB = endPointB.getParentNode(); depthDiff++; } for (Node pA = endPointA.getParentNode(), pB = endPointB.getParentNode(); pA != pB; pA = pA.getParentNode(), pB = pB.getParentNode() ) { endPointA = pA; endPointB = pB; } for ( Node n = endPointA.getNextSibling(); n != null; n = n.getNextSibl... | public short compareBoundaryPoints(short how, Range sourceRange) throws DOMException { if( fDetach) { throw new DOMException( DOMException.INVALID_STATE_ERR, "DOM011 Invalid state"); } Node endPointA; Node endPointB; int offsetA; int offsetB; ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/351e684d225511a9290153baf3b6d61e1efe6a9b/RangeImpl.java/clean/src/org/apache/xerces/dom/RangeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3025,
3400,
11941,
5636,
12,
6620,
3661,
16,
8086,
1084,
2655,
13,
3639,
1216,
4703,
503,
565,
288,
377,
202,
430,
12,
284,
17650,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
3400,
11941,
5636,
12,
6620,
3661,
16,
8086,
1084,
2655,
13,
3639,
1216,
4703,
503,
565,
288,
377,
202,
430,
12,
284,
17650,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
1... |
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... | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/144c6fa8b4af3023cb6f0c50203b29af750a73e7/QueueToadlet.java/buggy/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... |
int high = (int) ((id >> 32) & 0xffffffff); int low = (int) (id & 0xffffffff); | int high = (int) ((id >> 32)); int low = (int) (id); | public int hashCode() { long id = getID(); int high = (int) ((id >> 32) & 0xffffffff); int low = (int) (id & 0xffffffff); return high + low; } | 8350 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8350/5260440040976f842c028c8f42eddeb7ec697f78/CompositeSenone.java/clean/src/sphinx4/edu/cmu/sphinx/linguist/acoustic/tiedstate/CompositeSenone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
288,
3639,
1525,
612,
273,
14744,
5621,
3639,
509,
3551,
273,
261,
474,
13,
14015,
350,
1671,
3847,
13,
473,
374,
28857,
1769,
3639,
509,
4587,
273,
261,
474,
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,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
288,
3639,
1525,
612,
273,
14744,
5621,
3639,
509,
3551,
273,
261,
474,
13,
14015,
350,
1671,
3847,
13,
473,
374,
28857,
1769,
3639,
509,
4587,
273,
261,
474,
13,
... |
LOGGER.log(Level.WARNING, "Abmeldung von RemoteStore fehlgeschlagen"); | LOGGER.log(Level.WARNING, "Abmeldung von RemoteStore fehlgeschlagen"); | synchronized void returnPartialSolution(PartialSolution parSol) { long versuche = CONNECT_RETRIES; boolean transmitted = false; String exceptionMessage = null; int exceptionCode = -1; // Den oder die ClassLoader lschen CacheFlushingRMIClSpi.flushClassLoaders(); // Re... | 14082 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14082/f71548494f51d95035c7eb3db2aac7927c878484/OperativeImpl.java/clean/branches/logging/source/de/unistuttgart/architeuthis/operative/OperativeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
327,
9447,
16135,
12,
9447,
16135,
779,
20608,
13,
288,
3639,
1525,
14690,
2648,
73,
273,
21593,
67,
862,
6566,
3991,
31,
3639,
1250,
906,
7948,
273,
629,
31,
3639,
514,
1520,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
327,
9447,
16135,
12,
9447,
16135,
779,
20608,
13,
288,
3639,
1525,
14690,
2648,
73,
273,
21593,
67,
862,
6566,
3991,
31,
3639,
1250,
906,
7948,
273,
629,
31,
3639,
514,
1520,
... |
public void testExportQueryMixed() { | public void testExportQueryMixed() { | public void testExportQueryMixed() { String targetName = "test-export-query-mixed"; Export export = (Export)getFirstStepFromTarget(targetName); assertEquals("format", "flat", export.getFormat()); List tables = export.getTables(); assertEquals("total count", 2, tables.size()); ... | 2032 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2032/252e640b8a5242b3633017ad9978b489a3706f1c/DbUnitTaskTest.java/buggy/src/test/org/dbunit/ant/DbUnitTaskTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6144,
1138,
19846,
1435,
565,
288,
3639,
514,
23395,
273,
315,
3813,
17,
6530,
17,
2271,
17,
19562,
14432,
3639,
11054,
3359,
273,
261,
6144,
13,
588,
3759,
4160,
1265,
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,
918,
1842,
6144,
1138,
19846,
1435,
565,
288,
3639,
514,
23395,
273,
315,
3813,
17,
6530,
17,
2271,
17,
19562,
14432,
3639,
11054,
3359,
273,
261,
6144,
13,
588,
3759,
4160,
1265,
2... |
Constructor c = cdClass.getConstructor(new Class[] { CmsObject.class, Integer.class }); | Constructor c = cdClass.getConstructor(new Class[] { CmsObject.class, CmsUUID.class }); | protected Object getContentDefinition(CmsObject cms, Class cdClass, Integer id) { Object o = null; try { Constructor c = cdClass.getConstructor(new Class[] { CmsObject.class, Integer.class }); o = c.newInstance(new Object[] { cms, id }); } catch (InvocationTargetException ... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/9ddb376166647ef422819b2260eefda9fd36f801/CmsShowMedia.java/buggy/src/com/opencms/defaults/master/CmsShowMedia.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1033,
5154,
1852,
12,
4747,
921,
6166,
16,
1659,
7976,
797,
16,
2144,
612,
13,
288,
3639,
1033,
320,
273,
446,
31,
3639,
775,
288,
5411,
11417,
276,
273,
7976,
797,
18,
588,
6293,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
5154,
1852,
12,
4747,
921,
6166,
16,
1659,
7976,
797,
16,
2144,
612,
13,
288,
3639,
1033,
320,
273,
446,
31,
3639,
775,
288,
5411,
11417,
276,
273,
7976,
797,
18,
588,
6293,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.