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 |
|---|---|---|---|---|---|---|
validatePage(); setErrorMessage(null); setMessage(null); setControl(topLevel); } | validatePage(); setErrorMessage(null); setMessage(null); setControl(topLevel); } | public void createControl(Composite parent) { initializeDialogUnits(parent); // top level group Composite topLevel = new Composite(parent, SWT.NONE); topLevel.setLayout(new GridLayout()); topLevel.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HO... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/6acf364392177fabaa2905c86fa45a3dac0a3db3/WizardNewFileCreationPage.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
3367,
12,
9400,
982,
13,
288,
3639,
4046,
6353,
7537,
12,
2938,
1769,
3639,
368,
1760,
1801,
1041,
3639,
14728,
21289,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
3367,
12,
9400,
982,
13,
288,
3639,
4046,
6353,
7537,
12,
2938,
1769,
3639,
368,
1760,
1801,
1041,
3639,
14728,
21289,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
... |
UndoableEdit edit = new CleanUpEdit(atomCoordsMap); | UndoableEdit edit = new CleanUpEdit(atomCoordsMap, jcpPanel); | public void actionPerformed(ActionEvent e) { HashMap atomCoordsMap = new HashMap(); logger.info("Going to performe a clean up..."); if (jcpPanel.getJChemPaintModel() != null) { if (diagramGenerator == null) diagramGenerator = new StructureDiagramGenerator(); JChemPaintModel jcpmodel = jcpPanel.get... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/110851a6da4a4800313049c921f0d2e2295c6e2f/CleanupAction.java/buggy/src/org/openscience/cdk/applications/jchempaint/action/CleanupAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
202,
95,
202,
3639,
4317,
3179,
13089,
863,
273,
394,
4317,
5621,
3639,
1194,
18,
1376,
2932,
5741,
310,
358,
3073,
73,
279,
2721,
731,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
425,
13,
202,
95,
202,
3639,
4317,
3179,
13089,
863,
273,
394,
4317,
5621,
3639,
1194,
18,
1376,
2932,
5741,
310,
358,
3073,
73,
279,
2721,
731,
70... |
this(tag, 0, value, null); | tagClass = tag & 0xC0; this.tag = tag & 0x1F; constructed = (tag & CONSTRUCTED) == CONSTRUCTED; this.length = length; this.value = value; if (encoded != null) this.encoded = (byte[]) encoded.clone(); | public DERValue(int tag, Object value) { this(tag, 0, value, null); } | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/b56b0f1768429005c2413ce50995d9a217f69c35/DERValue.java/buggy/libjava/gnu/java/security/der/DERValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
21801,
620,
12,
474,
1047,
16,
1033,
460,
13,
225,
288,
565,
1047,
797,
273,
1047,
473,
374,
14626,
20,
31,
333,
18,
2692,
273,
1047,
473,
374,
92,
21,
42,
31,
15688,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
21801,
620,
12,
474,
1047,
16,
1033,
460,
13,
225,
288,
565,
1047,
797,
273,
1047,
473,
374,
14626,
20,
31,
333,
18,
2692,
273,
1047,
473,
374,
92,
21,
42,
31,
15688,
273,
261,
... |
m_mapper = new Mapper(); return m_mapper; | m_mapper = mapper; | public Mapper createMapper() throws TaskException { if( m_mapper != null ) { throw new TaskException( "Cannot define more than one mapper" ); } m_mapper = new Mapper(); return m_mapper; } | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/dd4d75e8369456aff82ac26432a7396fcee47fd5/Native2Ascii.java/clean/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/text/Native2Ascii.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19273,
752,
4597,
1435,
3639,
1216,
3837,
503,
565,
288,
3639,
309,
12,
312,
67,
13919,
480,
446,
262,
3639,
288,
5411,
604,
394,
3837,
503,
12,
315,
4515,
4426,
1898,
2353,
1245,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19273,
752,
4597,
1435,
3639,
1216,
3837,
503,
565,
288,
3639,
309,
12,
312,
67,
13919,
480,
446,
262,
3639,
288,
5411,
604,
394,
3837,
503,
12,
315,
4515,
4426,
1898,
2353,
1245,
... |
if (visualiser != null) { VisualiserUpdateJob.getInstance().schedule(); | if (visualiser != null && visualiser.getSite() != null) { if(visualiser.getSite().getPage().isPartVisible(visualiser)) { VisualiserUpdateJob.getInstance().schedule(); } else { visualiser.setNeedsUpdating(); } | public static void refresh() { if (visualiser != null) { VisualiserUpdateJob.getInstance().schedule(); } } | 13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/dfdbaecf471518874019ec2e3570003ee574863b/VisualiserPlugin.java/buggy/org.eclipse.contribution.visualiser/src/org/eclipse/contribution/visualiser/VisualiserPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
4460,
1435,
288,
202,
202,
430,
261,
26671,
15914,
480,
446,
13,
288,
1082,
1875,
1875,
26832,
15914,
1891,
2278,
18,
588,
1442,
7675,
10676,
5621,
202,
202,
97,
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,
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,
760,
918,
4460,
1435,
288,
202,
202,
430,
261,
26671,
15914,
480,
446,
13,
288,
1082,
1875,
1875,
26832,
15914,
1891,
2278,
18,
588,
1442,
7675,
10676,
5621,
202,
202,
97,
202,
... |
category = argument; | categoryString = argument; else if (option.equals("-designation")) designationString = argument; | protected void handleOptionWithArgument(String option, String argument) throws IOException { if (option.equals("-priority")) { priority = parsePriority(argument); } else if (option.equals("-first")) firstAsString = argument; else if (option.equals("-last")) lastAsString = argument; else if (op... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/111818f59face771ce3d0fe8bfdc41db583d63ad/Filter.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/workflow/Filter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1640,
1895,
1190,
1379,
12,
780,
1456,
16,
514,
1237,
13,
1216,
1860,
288,
1082,
202,
430,
261,
3482,
18,
14963,
2932,
17,
8457,
6,
3719,
288,
9506,
202,
8457,
273,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1117,
918,
1640,
1895,
1190,
1379,
12,
780,
1456,
16,
514,
1237,
13,
1216,
1860,
288,
1082,
202,
430,
261,
3482,
18,
14963,
2932,
17,
8457,
6,
3719,
288,
9506,
202,
8457,
273,
110... |
String prop = st.nextToken(); boolean value = jEdit.getBooleanProperty(prop); if(value) | if(!jEdit.isMainThread()) | void activatePluginIfNecessary() { if(!(plugin instanceof EditPlugin.Deferred && plugin != null)) return; String className = plugin.getClassName(); // default for plugins that don't specify this property (ie, // 4.1-style plugins) is to load them on startup String activate = jEdit.getProperty("plugin." + clas... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/2f00b782b6992b54795b88891a1e10c4f16afeb0/PluginJAR.java/buggy/org/gjt/sp/jedit/PluginJAR.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
10235,
3773,
26034,
1435,
202,
95,
202,
202,
430,
12,
5,
12,
4094,
1276,
15328,
3773,
18,
16886,
597,
1909,
480,
446,
3719,
1082,
202,
2463,
31,
202,
202,
780,
2658,
273,
190... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10235,
3773,
26034,
1435,
202,
95,
202,
202,
430,
12,
5,
12,
4094,
1276,
15328,
3773,
18,
16886,
597,
1909,
480,
446,
3719,
1082,
202,
2463,
31,
202,
202,
780,
2658,
273,
190... |
sendUdpMessage(msg); | sendUdpMessage(msg, true); | void sendMultipleUdpMessages(Message msg, Vector dests) { Address dest; for(int i=0; i < dests.size(); i++) { dest=(Address)dests.elementAt(i); msg.setDest(dest); try { sendUdpMessage(msg); } catch(Exception e) { if(l... | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/0241160e85bebfa369278958432470ab60cbba10/UDP.java/clean/src/org/jgroups/protocols/UDP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1366,
8438,
57,
9295,
5058,
12,
1079,
1234,
16,
5589,
1570,
87,
13,
288,
3639,
5267,
1570,
31,
3639,
364,
12,
474,
277,
33,
20,
31,
277,
411,
1570,
87,
18,
1467,
5621,
277,
27245... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1366,
8438,
57,
9295,
5058,
12,
1079,
1234,
16,
5589,
1570,
87,
13,
288,
3639,
5267,
1570,
31,
3639,
364,
12,
474,
277,
33,
20,
31,
277,
411,
1570,
87,
18,
1467,
5621,
277,
27245... |
init( ); Chart chart = null; Serializer serializer = null; File chartFile = new File( "testChart.chart" ); try { serializer = SerializerImpl.instance( ); if ( chartFile.exists( ) ) { chart = serializer.read( new FileInputStream( chartFile ) ); } } catch ( Exception e ) { WizardBase.displayException( e ); } ChartW... | new ChartWizardLauncher( ).launch( ); | public static void main( String[] args ) { init( ); Chart chart = null; Serializer serializer = null; File chartFile = new File( "testChart.chart" ); //$NON-NLS-1$ // Reads the chart model try { serializer = SerializerImpl.instance( ); if ( chartFile.exists( ) ) { chart = serializer.read( new FileInput... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/de9f1af96de3805bd8acbf2319663820c7784853/ChartWizardLauncher.java/clean/chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/builder/ChartWizardLauncher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
514,
8526,
833,
262,
202,
95,
202,
202,
2738,
12,
11272,
202,
202,
7984,
4980,
273,
446,
31,
202,
202,
6306,
6340,
273,
446,
31,
202,
202,
812,
4980,
812... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
514,
8526,
833,
262,
202,
95,
202,
202,
2738,
12,
11272,
202,
202,
7984,
4980,
273,
446,
31,
202,
202,
6306,
6340,
273,
446,
31,
202,
202,
812,
4980,
812... |
if (Error.class.isAssignableFrom(exc[ i]) || RuntimeException.class.isAssignableFrom(exc[ i])) | if (Error.class.isAssignableFrom(exc[i]) || RuntimeException.class.isAssignableFrom(exc[i])) | ProxySignature(Method method) { this.method = method; Class[] exc = method.getExceptionTypes(); int i = exc.length; while (--i >= 0) { // discard unchecked exceptions if (Error.class.isAssignableFrom(exc[ i]) || Run... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2603223e734189dc0e07a63b224a1770507e0fa5/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
7659,
5374,
12,
1305,
707,
13,
288,
5411,
333,
18,
2039,
273,
707,
31,
5411,
1659,
8526,
3533,
273,
707,
18,
588,
503,
2016,
5621,
5411,
509,
277,
273,
3533,
18,
2469,
31,
5411,
1323,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
7659,
5374,
12,
1305,
707,
13,
288,
5411,
333,
18,
2039,
273,
707,
31,
5411,
1659,
8526,
3533,
273,
707,
18,
588,
503,
2016,
5621,
5411,
509,
277,
273,
3533,
18,
2469,
31,
5411,
1323,
... |
public void mT69() throws RecognitionException { try { ruleNestingLevel++; int _type = T69; int _start = getCharIndex(); int _line = getLine(); int _charPosition = getCharPositionInLine(); int _channel = Token.DEFAULT_CHANNEL; // D:... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/b99d41f54ef70aa0e75d0c3121bc025256c35f4f/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
21115,
8148,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
399,
8148,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
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,
1071,
918,
21115,
8148,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
399,
8148,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621... | ||
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/eclipse/ws6/x10.compiler/src/x10/parser/MissingId.gi" Name TypeName = (Name) getRhsSym(... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/13a8963410bb8c85885791a761267a089892a2fc/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,
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... | ||
public BigDecimal getBigDecimalValue() { return bigDecimalValue; } | 4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/cd881bf2d70445b5d3438832a22bb9bfdfb1d6c5/Visit.java/clean/examples/Tutorial/src/tutorial/workbench/Visit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
29436,
588,
29436,
620,
1435,
202,
95,
202,
202,
2463,
14002,
5749,
620,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
29436,
588,
29436,
620,
1435,
202,
95,
202,
202,
2463,
14002,
5749,
620,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | ||
protected NodeImpl internalAddChildNode(QName nodeName, NodeTypeImpl nodeType, String uuid) | protected NodeImpl internalAddChildNode(QName nodeName, NodeTypeImpl nodeType) | protected NodeImpl internalAddChildNode(QName nodeName, NodeTypeImpl nodeType, String uuid) throws ItemExistsException, ConstraintViolationException, RepositoryException { Path nodePath; try { nodePath = Path.create(getPrimaryPath(), nodeName, true); } catch (MalformedPath... | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/0250028b330ed682c3962aa71713c76f973e647e/NodeImpl.java/buggy/src/java/org/apache/jackrabbit/core/NodeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2029,
2828,
2713,
986,
25550,
12,
13688,
7553,
16,
20896,
2828,
9507,
13,
5411,
1216,
4342,
4002,
503,
16,
10770,
27052,
16,
13367,
288,
3639,
2666,
20758,
31,
3639,
775,
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,
4750,
2029,
2828,
2713,
986,
25550,
12,
13688,
7553,
16,
20896,
2828,
9507,
13,
5411,
1216,
4342,
4002,
503,
16,
10770,
27052,
16,
13367,
288,
3639,
2666,
20758,
31,
3639,
775,
288,
5411,
... |
updateList(); | updatePerspectivesTable(); | protected void performDefaults() { //Project perspective preferences IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); openViewMode = store.getDefaultInt(IPreferenceConstants.OPEN_VIEW_MODE); // Open view as float no longer supported if (openViewMode == IPreferenceConstants.OVM_FLOAT... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/51906c7657b87c44d33c8ff52b83937d118b2972/PerspectivesPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PerspectivesPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3073,
7019,
1435,
288,
202,
202,
759,
4109,
26651,
12750,
202,
202,
45,
9624,
2257,
1707,
273,
4147,
22144,
3773,
18,
588,
1868,
1435,
9506,
202,
18,
588,
9624,
2257,
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,
225,
202,
1117,
918,
3073,
7019,
1435,
288,
202,
202,
759,
4109,
26651,
12750,
202,
202,
45,
9624,
2257,
1707,
273,
4147,
22144,
3773,
18,
588,
1868,
1435,
9506,
202,
18,
588,
9624,
2257,
5621... |
_description.setText(Argo.localize("Cognitive", "message.no-item-selected")); | _description.setText(localize("message.no-item-selected")); | public void setTarget(Object item) { String message = ""; super.setTarget(item); Object target = item; if (target == null) { _description.setEditable(false); _description.setText(Argo.localize("Cognitive", "message.no-item-selected")); } else if (target instanceof ToDoItem) { ToDoItem tdi = (ToDoItem) t... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/23464f9cbc3169e9d2f1919998cae2c59b514985/WizDescription.java/buggy/src_new/org/argouml/cognitive/ui/WizDescription.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18367,
12,
921,
761,
13,
288,
202,
780,
883,
273,
1408,
31,
202,
9565,
18,
542,
2326,
12,
1726,
1769,
202,
921,
1018,
273,
761,
31,
202,
430,
261,
3299,
422,
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,
1071,
918,
18367,
12,
921,
761,
13,
288,
202,
780,
883,
273,
1408,
31,
202,
9565,
18,
542,
2326,
12,
1726,
1769,
202,
921,
1018,
273,
761,
31,
202,
430,
261,
3299,
422,
446,
13,
288,
... |
return bs; | public Object baseSpecifierVirtual( Object baseSpecifier, boolean virtual ) { BaseSpecifier bs = (BaseSpecifier)baseSpecifier; bs.setVirtual( virtual ); return bs; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1408e4cd833b907fe44a1e7f51c25316752fa21f/DOMBuilder.java/clean/core/org.eclipse.cdt.core/dom/org/eclipse/cdt/internal/core/dom/DOMBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
1026,
21416,
6466,
12,
1033,
1026,
21416,
16,
1250,
5024,
262,
202,
95,
202,
202,
2171,
21416,
7081,
273,
261,
2171,
21416,
13,
1969,
21416,
31,
3196,
202,
2038,
18,
542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
1026,
21416,
6466,
12,
1033,
1026,
21416,
16,
1250,
5024,
262,
202,
95,
202,
202,
2171,
21416,
7081,
273,
261,
2171,
21416,
13,
1969,
21416,
31,
3196,
202,
2038,
18,
542,
... | |
prefs.setValue(SourceIndexer.CDT_INDEXER_TIMEOUT,timeOut); | public boolean performOk() { String timeOut = fTextControl.getText(); try { // Check the string number Integer.parseInt(timeOut); } catch (NumberFormatException ex){ timeOut = TIMEOUT_VALUE; } fOverlayStore.setValue(SourceIndexer.CDT_INDEXER_TIMEOUT, timeOut); fOverlayStore.propagate(); // Store IP... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/b2719be9c55bf8783b265036c3e5b61aa7774932/WorkInProgressPreferencePage.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/WorkInProgressPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
8809,
1435,
288,
9506,
202,
780,
813,
1182,
273,
284,
1528,
3367,
18,
588,
1528,
5621,
202,
202,
698,
288,
1082,
202,
759,
2073,
326,
533,
1300,
1082,
202,
4522,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
8809,
1435,
288,
9506,
202,
780,
813,
1182,
273,
284,
1528,
3367,
18,
588,
1528,
5621,
202,
202,
698,
288,
1082,
202,
759,
2073,
326,
533,
1300,
1082,
202,
4522,
1... | |
if (value == null) | if (value == null || expression == null) { | public void validate(Object object) throws ValidationException { String fieldName = getFieldName(); Object value = this.getFieldValue(fieldName, object); // if there is no value - don't do comparison // if a value is required, a required validator should be added to the field if (... | 16468 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/16468/81eaffa7783484a12fadd65bf865ad7aa297e0ab/RegexFieldValidator.java/buggy/src/java/com/opensymphony/xwork/validator/validators/RegexFieldValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1954,
12,
921,
733,
13,
1216,
15614,
288,
3639,
514,
4289,
273,
19561,
5621,
3639,
1033,
460,
273,
333,
18,
588,
13559,
12,
16163,
16,
733,
1769,
3639,
368,
309,
1915,
353,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1954,
12,
921,
733,
13,
1216,
15614,
288,
3639,
514,
4289,
273,
19561,
5621,
3639,
1033,
460,
273,
333,
18,
588,
13559,
12,
16163,
16,
733,
1769,
3639,
368,
309,
1915,
353,
1... |
double ice = vehicle.getInventory().getAmountResourceStored(AmountResource.ICE); result = new Integer((int) ice); | try { double ice = vehicle.getInventory().getAmountResourceStored(AmountResource.ICE); result = new Integer((int) ice); } catch (InventoryException e) {} | public Object getValueAt(int rowIndex, int columnIndex) { Object result = null; Vehicle vehicle = (Vehicle)getUnit(rowIndex); // Invoke the appropriate method, switch is the best solution // althought disliked by some switch (columnIndex) { case NAME : { ... | 49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/ae4143c6a4e851b9e2fbd88238e7a9305dbe87ee/VehicleTableModel.java/clean/org/mars_sim/msp/ui/standard/tool/monitor/VehicleTableModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
2366,
861,
12,
474,
15361,
16,
509,
14882,
13,
288,
3639,
1033,
563,
273,
446,
31,
3639,
776,
73,
18870,
24815,
273,
261,
58,
73,
18870,
13,
588,
2802,
12,
492,
1016,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
2366,
861,
12,
474,
15361,
16,
509,
14882,
13,
288,
3639,
1033,
563,
273,
446,
31,
3639,
776,
73,
18870,
24815,
273,
261,
58,
73,
18870,
13,
588,
2802,
12,
492,
1016,
1769,
... |
public void earlyStartup() { final IWorkbench workbench = PlatformUI.getWorkbench(); workbench.getDisplay().asyncExec(new Runnable() { public void run() { try { TaskListExtensionReader.initExtensions(taskListWriter); taskRepositoryManager.readRepositories(); migrateOldContextFiles(); ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/306ce77122e592db6d0387fffc5ee6facce0a418/MylarTaskListPlugin.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTaskListPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
11646,
22178,
1435,
288,
202,
202,
6385,
467,
2421,
22144,
1440,
22144,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
202,
202,
1252,
22144,
18,
588,
4236,
7675,
3810,
1905,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11646,
22178,
1435,
288,
202,
202,
6385,
467,
2421,
22144,
1440,
22144,
273,
11810,
5370,
18,
588,
2421,
22144,
5621,
202,
202,
1252,
22144,
18,
588,
4236,
7675,
3810,
1905,
... | ||
if (menu instanceof SubMenuManager) | if (menu instanceof SubMenuManager) { | public IContributionItem find(String id) { IContributionItem item = getParentMenuManager().find(id); if (item instanceof SubContributionItem) // Return the item passed to us, not the wrapper. item = unwrap(item); if (item instanceof IMenuManager) { // if it is a... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ActionSetMenuManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionSetMenuManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
442,
4027,
1180,
1104,
12,
780,
612,
13,
288,
3639,
467,
442,
4027,
1180,
761,
273,
5089,
4599,
1318,
7675,
4720,
12,
350,
1769,
3639,
309,
261,
1726,
1276,
2592,
442,
4027,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
442,
4027,
1180,
1104,
12,
780,
612,
13,
288,
3639,
467,
442,
4027,
1180,
761,
273,
5089,
4599,
1318,
7675,
4720,
12,
350,
1769,
3639,
309,
261,
1726,
1276,
2592,
442,
4027,
... |
super("ParamRef", "ParamRef(<Name>)", "Returns the current value of this parameter. If it is null, returns the default value.", new String[]{"fv#"}); | super( "ParamRef", "ParamRef(<Name>)", "Returns the current value of this parameter. If it is null, returns the default value.", new String[]{"fv#"}); | public ParamRefResolver() { super("ParamRef", "ParamRef(<Name>)", "Returns the current value of this parameter. If it is null, returns the default value.", new String[]{"fv#"}); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/9a688e588ec59e84012f03e73f06a05a27fccd8e/ParameterFunDef.java/clean/src/main/mondrian/olap/fun/ParameterFunDef.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3014,
1957,
4301,
1435,
288,
5411,
2240,
12,
315,
786,
1957,
3113,
315,
786,
1957,
12,
32,
461,
34,
2225,
16,
315,
1356,
326,
783,
460,
434,
333,
1569,
18,
971,
518,
353,
446,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3014,
1957,
4301,
1435,
288,
5411,
2240,
12,
315,
786,
1957,
3113,
315,
786,
1957,
12,
32,
461,
34,
2225,
16,
315,
1356,
326,
783,
460,
434,
333,
1569,
18,
971,
518,
353,
446,
1... |
if (!name.equals("method_missing")) { if (method.getVisibility().isPrivate() && scope == 0) { } else if (method.getVisibility().isProtected()) { RubyModule defined = klass; while (defined.isIncluded()) { defined = defined.getInternalClass(); } if (!ruby.getCurrentFrame().getSelf().isKindOf(defined)) { } } } | public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, final int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name, 0);... | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/buggy/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
15908,
10340,
921,
745,
12,
7937,
10340,
921,
10665,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
16,
727,
509,
2146,
13,
288,
3639,
309,
261,
1968,
422,
446,
13,
288,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
15908,
10340,
921,
745,
12,
7937,
10340,
921,
10665,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
16,
727,
509,
2146,
13,
288,
3639,
309,
261,
1968,
422,
446,
13,
288,
541... | |
results.add( "GHI"); | results.add( "GHI"); | public void testCompletionInFunctionBodyQualifiedName() throws Exception { StringWriter writer = new StringWriter(); writer.write( "namespace ABC {\n"); writer.write( " struct DEF { int x; }; \n" ); writer.write( " struct GHI { float y;};\n"); writer.write( "}\n"); writer.write( "int main() { ABC::D }\n"); St... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/d730ff0f947954910a1a59eb5fe977d0983fd23e/CompletionParseTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
11238,
382,
2083,
2250,
12345,
1435,
1216,
1185,
202,
95,
202,
202,
780,
2289,
2633,
273,
394,
17436,
5621,
202,
202,
6299,
18,
2626,
12,
315,
4937,
29253,
18890,
82,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
11238,
382,
2083,
2250,
12345,
1435,
1216,
1185,
202,
95,
202,
202,
780,
2289,
2633,
273,
394,
17436,
5621,
202,
202,
6299,
18,
2626,
12,
315,
4937,
29253,
18890,
82,... |
byte dbl_bits[] = new byte[8]; | byte dbl_bits[]; | static BigInteger d2b(double d, int[] e, int[] bits) { byte dbl_bits[] = new byte[8]; int i, k, y, z, de; long dBits = Double.doubleToLongBits(d); int d0 = (int)(dBits >>> 32); int d1 = (int)(dBits); z = d0 & Frac_mask; d0 &= 0x7fffffff; /* clear sign bit, which... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/f704383014615ef58aa4486e201a25ab27a81651/DToA.java/buggy/js/rhino/src/org/mozilla/javascript/DToA.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
10246,
302,
22,
70,
12,
9056,
302,
16,
509,
8526,
425,
16,
509,
8526,
4125,
13,
565,
288,
3639,
1160,
1319,
80,
67,
6789,
8526,
31,
3639,
509,
277,
16,
417,
16,
677,
16,
998,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
10246,
302,
22,
70,
12,
9056,
302,
16,
509,
8526,
425,
16,
509,
8526,
4125,
13,
565,
288,
3639,
1160,
1319,
80,
67,
6789,
8526,
31,
3639,
509,
277,
16,
417,
16,
677,
16,
998,
1... |
public int getNdf() { return ndf; } | public int getNdf() { return ndf; } | public int getNdf() { return ndf; } | 1612 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1612/0330f8331b2038088807459d5ce9cf7280175c10/ITrack.java/buggy/src/java/hep/lcio/implementation/event/ITrack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
11069,
2180,
1435,
288,
202,
202,
2463,
290,
2180,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
11069,
2180,
1435,
288,
202,
202,
2463,
290,
2180,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
return myHost; } | if (a instanceof Account__Server) { return ((Account__Server)a).getHost(); } else { return ""; } } | public String getHost() { return myHost; } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b13c667b376deb4a8f2c235ffd847b57616d23c4/ServerStructure.java/buggy/grendel/sources/grendel/prefs/base/ServerStructure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
8580,
1435,
288,
565,
327,
3399,
2594,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
8580,
1435,
288,
565,
327,
3399,
2594,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
StringBuffer replyText = new StringBuffer(from); replyText.append(" has "); | String fromAddress = fromAccount.getName(); String fromDisplayName = fromAccount.getAttr(Provisioning.A_displayName, fromAddress); StringBuffer replyText = new StringBuffer(fromDisplayName); | public static MimeMessage createDefaultReply(String from, Invite inv, String replySubject, Verb verb, String additionalMsgBo... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f339dd2e33c2d597d472845102b5615007d86bb7/CalendarMailSender.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/calendar/CalendarMailSender.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
22059,
1079,
27346,
7817,
12,
780,
628,
16,
4766,
1171,
30981,
2198,
16,
4766,
1171,
514,
4332,
6638,
16,
4766,
1171,
26524,
6405,
16,
4766,
1171,
514,
3312,
3332,
2250,
16,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22059,
1079,
27346,
7817,
12,
780,
628,
16,
4766,
1171,
30981,
2198,
16,
4766,
1171,
514,
4332,
6638,
16,
4766,
1171,
26524,
6405,
16,
4766,
1171,
514,
3312,
3332,
2250,
16,
47... |
return mb.getPriority () - ma.getPriority (); | return ma.getPriority () - mb.getPriority (); | public Collection findMXRecords(String hostname) { Record answers[] = rawDNSLookup(hostname, false, Type.MX); Collection servers = new Vector (); try { if (answers == null) { return servers; } MXRecord mxAnswers[] = new MXRecord[answers.length]; ... | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/880a16a3cd0d763cc9cfa63f2767c6ccdda3ddd5/DNSServer.java/buggy/src/org/apache/james/dnsserver/DNSServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
1104,
13874,
6499,
12,
780,
5199,
13,
288,
3639,
5059,
12415,
8526,
273,
1831,
11602,
6609,
12,
10358,
16,
629,
16,
1412,
18,
13874,
1769,
3639,
2200,
7084,
273,
394,
5589,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
1104,
13874,
6499,
12,
780,
5199,
13,
288,
3639,
5059,
12415,
8526,
273,
1831,
11602,
6609,
12,
10358,
16,
629,
16,
1412,
18,
13874,
1769,
3639,
2200,
7084,
273,
394,
5589,
26... |
} else if (m instanceof MobilityMessage) { if (agentMobility != null) { agentMobility.receiveMessage(m); } else { throw new RuntimeException( "Agent mobility disabled in node "+getIdentifier()); } | private void realReceiveMessage(final Message m) { try { if (m instanceof ComponentMessage) { ComponentMessage cm = (ComponentMessage)m; int operation = cm.getOperation(); if (operation == ComponentMessage.ADD) { // add ComponentDescription cd = cm.getComponentDescriptio... | 7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/c3370b234baec937662510897e0d01d7e2d3ef46/NodeAgent.java/clean/core/src/org/cougaar/core/node/NodeAgent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
2863,
11323,
1079,
12,
6385,
2350,
312,
13,
288,
565,
775,
288,
1377,
309,
261,
81,
1276,
5435,
1079,
13,
288,
3639,
5435,
1079,
5003,
273,
261,
1841,
1079,
13,
81,
31,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
2863,
11323,
1079,
12,
6385,
2350,
312,
13,
288,
565,
775,
288,
1377,
309,
261,
81,
1276,
5435,
1079,
13,
288,
3639,
5435,
1079,
5003,
273,
261,
1841,
1079,
13,
81,
31,
3639,... | |
_taskManager.addTask(task); | ((TaskInfo)task.getInfo()).setTaskNr(i); | public void runTasks() { List<ITask> executionPlan = GraphPlanner.makePlan(_taskGraphEditor.getGraph()); if (executionPlan == null) { JOptionPane.showMessageDialog(_positionComponent, "Cannot create plan. There is a loop!", "Cannot create plan!", JOptionPane.PLAIN_MESSAGE); //$NON-NLS-1$ } else { try... | 12741 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12741/bd4305cb2f7cefb1fe5910a4a489b0404ae37410/GraphTaskManagerGUI.java/buggy/salomon/platform/trunk/src/salomon/engine/controller/gui/graph/GraphTaskManagerGUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
6685,
1435,
202,
95,
202,
202,
682,
32,
1285,
835,
34,
4588,
5365,
273,
5601,
1749,
3818,
18,
6540,
5365,
24899,
4146,
4137,
6946,
18,
588,
4137,
10663,
202,
202,
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,
225,
202,
482,
918,
1086,
6685,
1435,
202,
95,
202,
202,
682,
32,
1285,
835,
34,
4588,
5365,
273,
5601,
1749,
3818,
18,
6540,
5365,
24899,
4146,
4137,
6946,
18,
588,
4137,
10663,
202,
202,
4... |
result = new Timestamp(millis - getDstOffset(millis)); break; } default: { result = null; throw new TdsNotImplemented("Don't now how to handle " + "date with size of " + len); } | result = new Timestamp(millis - getDstOffset(millis)); break; default: result = null; throw new TdsNotImplemented("Don't now how to handle " + "date with size of " + len); | private Object getDatetimeValue( int type) throws java.io.IOException, TdsException { // Some useful constants final long SECONDS_PER_DAY = 24L * 60L * 60L; final long DAYS_BETWEEN_1900_AND_1970 = 25567L; int len; Object result; if (type == SYBDATE... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/36d7d34eb620f32e386322a293eaf58cf253a3a6/Tds.java/buggy/src/main/net/sourceforge/jtds/jdbc/Tds.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
24211,
2374,
620,
12,
5411,
509,
618,
13,
2398,
1216,
2252,
18,
1594,
18,
14106,
16,
399,
2377,
503,
565,
288,
3639,
368,
10548,
5301,
6810,
3639,
727,
1525,
17209,
67,
3194,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
24211,
2374,
620,
12,
5411,
509,
618,
13,
2398,
1216,
2252,
18,
1594,
18,
14106,
16,
399,
2377,
503,
565,
288,
3639,
368,
10548,
5301,
6810,
3639,
727,
1525,
17209,
67,
3194,
... |
} | try { Part p = new MimeBodyPart(headers,baos.toByteArray()); /*Enumeration enume = headers.getAllHeaders(); while (enume.hasMoreElements()) { Header h = (Header)enume.nextElement(); p.setHeader(h.getName(),h.getValue()); } */ Attachment a = new Attachment(p,url.toString()); } catch (MessagingException ex) { ex.printS... | public void pushEOF() { } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/0cc63cb388a13f01532486f9d178811914e6d71b/MimeExternalObjectOperator.java/buggy/grendel/sources/grendel/mime/html/MimeExternalObjectOperator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1817,
12706,
1435,
288,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1817,
12706,
1435,
288,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
for (int i = 0; i < info.length; i++ ) | for (int i = 0; i < info.length; i++) | public static void insert(Context context, TableRow row) throws SQLException { String table = canonicalize(row.getTable()); StringBuffer sql = new StringBuffer() .append("insert into ") .append(table) .append(" ( "); ColumnInfo[] info = getColumnInfo(t... | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/35e9b51a53e45692911da86e993748ab576703b8/DatabaseManager.java/buggy/dspace/src/org/dspace/storage/rdbms/DatabaseManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2243,
12,
1042,
819,
16,
3555,
1999,
1027,
13,
3639,
1216,
6483,
565,
288,
3639,
514,
1014,
273,
25839,
12,
492,
18,
588,
1388,
10663,
3639,
6674,
1847,
273,
394,
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,
760,
918,
2243,
12,
1042,
819,
16,
3555,
1999,
1027,
13,
3639,
1216,
6483,
565,
288,
3639,
514,
1014,
273,
25839,
12,
492,
18,
588,
1388,
10663,
3639,
6674,
1847,
273,
394,
6674,
... |
down_queue.close(false); if(down_handler != null && down_handler.isAlive()) { try { down_handler.join(THREAD_JOIN_TIMEOUT); } catch(Exception ex) { } if(down_handler != null && down_handler.isAlive()) { down_handler.interrupt(); try { down_handler.join(THREAD_JOIN_TIMEOUT); } catch(Exception ex) { } if(down_handler != ... | down_queue.close(false); if (down_handler != null && down_handler.isAlive()) { try { down_handler.join(THREAD_JOIN_TIMEOUT); } catch (Exception ex) { } if (down_handler != null && down_handler.isAlive()) { down_handler.interrupt(); try { down_handler.join(THREAD_JOIN_TIMEOUT); } catch (Exception ex) { } if (down_handle... | public void stopInternal() { up_queue.close(false); // this should terminate up_handler thread if(up_handler != null && up_handler.isAlive()) { try { up_handler.join(THREAD_JOIN_TIMEOUT); } catch(Exception ex) { } if(up_handler != ... | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/0e036edf9001e18055ae6cc1c31b906e1b1ac1b2/Protocol.java/buggy/src/org/jgroups/stack/Protocol.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2132,
3061,
1435,
288,
3639,
731,
67,
4000,
18,
4412,
12,
5743,
1769,
225,
368,
333,
1410,
10850,
731,
67,
4176,
2650,
3639,
309,
12,
416,
67,
4176,
480,
446,
597,
731,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2132,
3061,
1435,
288,
3639,
731,
67,
4000,
18,
4412,
12,
5743,
1769,
225,
368,
333,
1410,
10850,
731,
67,
4176,
2650,
3639,
309,
12,
416,
67,
4176,
480,
446,
597,
731,
67,
... |
byte[] tmp = new byte[4096]; int i = 0; while ((i = content.read(tmp)) >= 0) { outsream.write(tmp, 0, i); } if (outsream instanceof ChunkedOutputStream) { ((ChunkedOutputStream)outsream).finish(); | IOUtils.copy(content, outstream); if (outstream instanceof ChunkedOutputStream) { ((ChunkedOutputStream)outstream).finish(); | public void writeRequest(final HttpRequest request) throws IOException { if (request == null) { return; } ResponseWriter writer = new ResponseWriter(this.out, encoding); writer.println(request.getRequestLine().toString()); Iterator item = request.getHeaderIterator(); ... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/85e87eb03b9a6465ae882c88fd2172b625942e7c/HttpServerConnection.java/clean/providers/http/src/java/org/mule/providers/http/HttpServerConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
691,
12,
6385,
14069,
590,
13,
1216,
1860,
288,
3639,
309,
261,
2293,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
7846,
2633,
273,
394,
7846,
12,
2211,
18,
659,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1045,
691,
12,
6385,
14069,
590,
13,
1216,
1860,
288,
3639,
309,
261,
2293,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
7846,
2633,
273,
394,
7846,
12,
2211,
18,
659,
... |
public Object getValue( Object object ) | public Object getValue( Object object ) | public MapToDescriptor() { super(); nsURI = "http://castor.exolab.org/"; xmlName = "map-to"; XMLFieldDescriptorImpl desc = null; XMLFieldHandler handler = null; FieldValidator fieldValidator = null; //-- initialize attribute descrip... | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/d7fabc686ef68f29e8236fd9afc60109670d1fd4/MapToDescriptor.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/mapping/xml/MapToDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
774,
3187,
1435,
288,
3639,
2240,
5621,
3639,
3153,
3098,
273,
315,
2505,
2207,
4155,
280,
18,
338,
355,
378,
18,
3341,
4898,
31,
3639,
2025,
461,
273,
315,
1458,
17,
869,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
774,
3187,
1435,
288,
3639,
2240,
5621,
3639,
3153,
3098,
273,
315,
2505,
2207,
4155,
280,
18,
338,
355,
378,
18,
3341,
4898,
31,
3639,
2025,
461,
273,
315,
1458,
17,
869,
1... |
_nodeID = _dbManager.insert(insert, "node_id", GEN_NAME); | _dbManager.insert(insert); | public int save() throws PlatformException, DBException { // assuming, that old records has been deleted SQLInsert insert = new SQLInsert(TABLE_NAME); insert.addValue("tree_id", _treeID); insert.addValue("attribute_item_id", _attributeItemID); insert.addValue("parent_node_id", ... | 12741 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12741/829435fae0d82a653959e953c6705cab478d7ae5/TreeNodeInfo.java/buggy/salomon/platform/trunk/src/salomon/engine/platform/data/tree/TreeNodeInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1923,
1435,
1216,
11810,
503,
16,
23495,
565,
288,
3639,
368,
15144,
16,
716,
1592,
3853,
711,
2118,
4282,
3639,
3063,
4600,
2243,
273,
394,
3063,
4600,
12,
7775,
67,
1985,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1923,
1435,
1216,
11810,
503,
16,
23495,
565,
288,
3639,
368,
15144,
16,
716,
1592,
3853,
711,
2118,
4282,
3639,
3063,
4600,
2243,
273,
394,
3063,
4600,
12,
7775,
67,
1985,
176... |
if (! foundOne) { | if (!foundOne) { | public final Object endCheck(AnnotationInstance annotation, AnnotationInstance[] parentAnnotations, MemberDeclaration classMember, Set wasPresent, Map checkResults) { // // Check mutually-exclusive attributes and child annotations. // String[][] mutuallyEx... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/74cda7c2aa1023c821782bc0e607fe2cf90d80d3/AnnotationGrammar.java/buggy/ti/jars/core/src/java/org/apache/ti/compiler/internal/AnnotationGrammar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1033,
679,
1564,
12,
3257,
1442,
3204,
16,
6090,
1442,
8526,
982,
5655,
16,
4766,
8596,
6094,
667,
4419,
16,
1000,
1703,
6351,
16,
1635,
866,
3447,
13,
288,
3639,
368,
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,
727,
1033,
679,
1564,
12,
3257,
1442,
3204,
16,
6090,
1442,
8526,
982,
5655,
16,
4766,
8596,
6094,
667,
4419,
16,
1000,
1703,
6351,
16,
1635,
866,
3447,
13,
288,
3639,
368,
3639,
... |
return getElseNode().eval(ruby, self); | return self.eval(getElseNode()); | public RubyObject eval(Ruby ruby, RubyObject self) { ruby.setSourceLine(getLine()); if (getConditionNode().eval(ruby, self).isTrue()) { return getBodyNode().eval(ruby, self); } else { return getElseNode().eval(ruby, self); } } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/12748a4b8db7fd4836cd04c81e3cf2343735bfb6/IfNode.java/buggy/org/jruby/nodes/IfNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
5302,
12,
54,
10340,
22155,
16,
19817,
921,
365,
13,
288,
3639,
22155,
18,
542,
1830,
1670,
12,
588,
1670,
10663,
7734,
309,
261,
588,
3418,
907,
7675,
8622,
12,
27768,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
921,
5302,
12,
54,
10340,
22155,
16,
19817,
921,
365,
13,
288,
3639,
22155,
18,
542,
1830,
1670,
12,
588,
1670,
10663,
7734,
309,
261,
588,
3418,
907,
7675,
8622,
12,
27768,
... |
} next.successNotOverload(); finish(SUCCESS, next); return; | return; }else{ next.successNotOverload(); finish(SUCCESS, next); return; } | private void realRun() { HashSet nodesRoutedTo = new HashSet(); HashSet nodesNotIgnored = new HashSet(); while(true) { if(receiveFailed) return; // don't need to set status as killed by InsertHandler if(htl == 0) { // Send an InsertReply ... | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/18bdac5b045940cab8c77eb1e775cefcdda23e0a/CHKInsertSender.java/clean/src/freenet/node/CHKInsertSender.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2863,
1997,
1435,
288,
3639,
6847,
2199,
4583,
329,
774,
273,
394,
6847,
5621,
3639,
6847,
2199,
1248,
15596,
273,
394,
6847,
5621,
7734,
1323,
12,
3767,
13,
288,
5411,
309,
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,
377,
3238,
918,
2863,
1997,
1435,
288,
3639,
6847,
2199,
4583,
329,
774,
273,
394,
6847,
5621,
3639,
6847,
2199,
1248,
15596,
273,
394,
6847,
5621,
7734,
1323,
12,
3767,
13,
288,
5411,
309,
12... |
ivLength = cipher.getUnderlyingCipher().getBlockSize(); | ivLength = baseEngine.getBlockSize(); | protected void engineSetMode( String mode) throws NoSuchAlgorithmException { modeName = mode.toUpperCase(); if (modeName.equals("ECB")) { ivLength = 0; cipher = new PaddedBufferedBlockCipher(cipher.getUnderlyingCipher()); } else if (modeName... | 14767 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14767/fedcbc35d9319a39ad36fade78bc0c7cc5ab774c/JCEBlockCipher.java/clean/crypto/src/org/bouncycastle/jce/provider/JCEBlockCipher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4073,
694,
2309,
12,
3639,
514,
225,
1965,
13,
3639,
1216,
17684,
565,
288,
3639,
1965,
461,
273,
1965,
18,
869,
8915,
5621,
3639,
309,
261,
3188,
461,
18,
14963,
2932,
7228,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4073,
694,
2309,
12,
3639,
514,
225,
1965,
13,
3639,
1216,
17684,
565,
288,
3639,
1965,
461,
273,
1965,
18,
869,
8915,
5621,
3639,
309,
261,
3188,
461,
18,
14963,
2932,
7228,
... |
{ | InstallPluginsDialog(JDialog dialog, Vector model, int mode) { super(JOptionPane.getFrameForComponent(dialog), (mode == INSTALL ? jEdit.getProperty("install-plugins.title") : jEdit.getProperty("update-plugins.title")),true); JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(12... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/a58f3534c38b610fc6131301b1b484e8974d83c0/InstallPluginsDialog.java/clean/org/gjt/sp/jedit/pluginmgr/InstallPluginsDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6410,
9461,
6353,
12,
46,
6353,
6176,
16,
5589,
938,
16,
509,
1965,
13,
202,
95,
202,
202,
9565,
12,
46,
1895,
8485,
18,
588,
3219,
1290,
1841,
12,
12730,
3631,
1082,
202,
12,
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,
225,
202,
6410,
9461,
6353,
12,
46,
6353,
6176,
16,
5589,
938,
16,
509,
1965,
13,
202,
95,
202,
202,
9565,
12,
46,
1895,
8485,
18,
588,
3219,
1290,
1841,
12,
12730,
3631,
1082,
202,
12,
31... | |
_notYetReadyBlocks.put(new Long(messageId), new ByteArray(payload)); | _notYetReadyBlocks.put(new Long(messageId), payload); | public boolean messageReceived(long messageId, byte payload[]) { synchronized (_dataLock) { if (_log.shouldLog(Log.DEBUG)) _log.debug("received " + messageId + " with " + payload.length); if (messageId <= _highestReadyBlockId) { if (_log.shouldLog(Log.DEBUG... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/00f27d440052b18141d9d99aa9e8d4b001592dc4/MessageInputStream.java/clean/apps/streaming/java/src/net/i2p/client/streaming/MessageInputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
883,
8872,
12,
5748,
19090,
16,
1160,
2385,
63,
5717,
288,
3639,
3852,
261,
67,
892,
2531,
13,
288,
5411,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
7734... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
883,
8872,
12,
5748,
19090,
16,
1160,
2385,
63,
5717,
288,
3639,
3852,
261,
67,
892,
2531,
13,
288,
5411,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
7734... |
generators.put("driver", new Generator(DriverBuilder.class)); | generators.put("driver", new DriverGenerator()); | public DeviceLoadHandler() { super("device", "patch", new PatchLoadHandler()); generators.put("device", new Generator(DeviceBuilder.class)); generators.put("driver", new Generator(DriverBuilder.class)); generators.put("banknames", new Generator(LinkedList.class)); generators.put("... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b22b92a8dc60e9f63f7819b79d3ddbfd970f79df/DeviceLoadHandler.java/clean/JSynthLib/org/jsynthlib/jsynthlib/xml/DeviceLoadHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6077,
2563,
1503,
1435,
288,
3639,
2240,
2932,
5964,
3113,
315,
2272,
3113,
394,
12042,
2563,
1503,
10663,
3639,
13327,
18,
458,
2932,
5964,
3113,
394,
10159,
12,
3654,
1263,
18,
1106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6077,
2563,
1503,
1435,
288,
3639,
2240,
2932,
5964,
3113,
315,
2272,
3113,
394,
12042,
2563,
1503,
10663,
3639,
13327,
18,
458,
2932,
5964,
3113,
394,
10159,
12,
3654,
1263,
18,
1106... |
if ( slot != null ) { for ( int pos = 0; pos < slot.getCount( ); pos++ ) { DesignElement innerElement = slot.getContent( pos ); rename( innerElement.getHandle( module ) ); } } | if ( !names.contains( image.getName( ) ) ) return; int index = 0; String name = image.getName( ); String baseName = image.getName( ); while ( names.contains( name ) ) { name = baseName + ++index; | public void rename( DesignElementHandle elementHandle ) { if ( elementHandle == null ) return; IElementDefn defn = elementHandle.getElement( ).getDefn( ); if ( defn.getNameOption( ) == MetaDataConstants.REQUIRED_NAME || elementHandle.getModuleHandle( ) instanceof LibraryHandle || elementHandle.getName( ) !=... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/2fa5953f644fca429a0b7d506d2b8b713cc70f10/ModuleHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6472,
12,
29703,
1046,
3259,
930,
3259,
262,
202,
95,
202,
202,
430,
261,
930,
3259,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
45,
1046,
3262,
82,
1652,
82,
273,
93... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6472,
12,
29703,
1046,
3259,
930,
3259,
262,
202,
95,
202,
202,
430,
261,
930,
3259,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
45,
1046,
3262,
82,
1652,
82,
273,
93... |
public void set(org.quickfix.field.PartySubID value) | public void set(quickfix.field.PartySubID value) | public void set(org.quickfix.field.PartySubID value) { setField(value); } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderSingle.java/clean/src/java/src/quickfix/fix44/NewOrderSingle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
17619,
1676,
734,
460,
13,
225,
288,
16331,
12,
1132,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
17619,
1676,
734,
460,
13,
225,
288,
16331,
12,
1132,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
{ ZoomBar zoomBar = view.toolBar.getZoomBar(); zoomBar.getManager().setText(level); ZoomMenu zoomMenu = view.menuBar.getZoomMenu(); zoomMenu.getManager().setItemSelected(level); int w = (int) (imageWidth*level)+2*ViewerUIF.START; | { ZoomBar zoomBar = view.toolBar.getZoomBar(); zoomBar.getManager().setText(level); ZoomMenu zoomMenu = view.menuBar.getZoomMenu(); zoomMenu.getManager().setItemSelected(level); int w = (int) (imageWidth*level)+2*ViewerUIF.START; | private void zoom(double level) { ZoomBar zoomBar = view.toolBar.getZoomBar(); zoomBar.getManager().setText(level); ZoomMenu zoomMenu = view.menuBar.getZoomMenu(); zoomMenu.getManager().setItemSelected(level); int w = (int) (imageWidth*level)+2*ViewerUIF.START; int h = (int) (imageHeight*level)+2*ViewerUIF... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a2f4cd0a125d188c1e246cd85608e59a51e3d85c/ImageInspectorManager.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/transform/ImageInspectorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
7182,
12,
9056,
1801,
13,
202,
95,
202,
202,
11497,
5190,
7182,
5190,
273,
1476,
18,
6738,
5190,
18,
588,
11497,
5190,
5621,
202,
202,
14932,
5190,
18,
588,
1318,
7675,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7182,
12,
9056,
1801,
13,
202,
95,
202,
202,
11497,
5190,
7182,
5190,
273,
1476,
18,
6738,
5190,
18,
588,
11497,
5190,
5621,
202,
202,
14932,
5190,
18,
588,
1318,
7675,
... |
setInputEncoding("UTF-16LE"); | private void detectEncoding() throws IOException { int[] signature = new int[4]; in.mark(4); for (int i = 0; i < 4; i++) signature[i] = in.read(); in.reset(); // 4-byte encodings if (equals(SIGNATURE_UCS_4_1234, signature)) setInputEncoding("UTF-32BE"); else ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/XMLParser.java/buggy/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5966,
4705,
1435,
1377,
1216,
1860,
565,
288,
1377,
509,
8526,
3372,
273,
394,
509,
63,
24,
15533,
1377,
316,
18,
3355,
12,
24,
1769,
1377,
364,
261,
474,
277,
273,
374,
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,
5966,
4705,
1435,
1377,
1216,
1860,
565,
288,
1377,
509,
8526,
3372,
273,
394,
509,
63,
24,
15533,
1377,
316,
18,
3355,
12,
24,
1769,
1377,
364,
261,
474,
277,
273,
374,
31,
... | |
return null; | throw new FileNotFoundException(L.l("Can't find font {0}", name)); | public Font parse(String name) throws IOException { MergePath mergePath = new MergePath(); mergePath.addClassPath(); Path path = mergePath.lookup("com/caucho/quercus/pdflib/font/" + name + ".afm"); if (! path.canRead()) return null; _is = path.openRead(); try { return parseTop(); } ... | 3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/a3879eb2a32247c23a8fbdcdae591df76cbac554/AfmParser.java/clean/quercus/src/main/java/com/caucho/quercus/lib/pdf/AfmParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10063,
1109,
12,
780,
508,
13,
565,
1216,
1860,
225,
288,
565,
8964,
743,
2691,
743,
273,
394,
8964,
743,
5621,
565,
2691,
743,
18,
1289,
22158,
5621,
565,
2666,
589,
273,
2691,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10063,
1109,
12,
780,
508,
13,
565,
1216,
1860,
225,
288,
565,
8964,
743,
2691,
743,
273,
394,
8964,
743,
5621,
565,
2691,
743,
18,
1289,
22158,
5621,
565,
2666,
589,
273,
2691,
7... |
o = new Hashtable(); | Hashtable hash = new Hashtable(); hash.put(PREFIX_STR,keyCodeStr); o = hash; | public void addKeyBinding(String keyBinding, EditAction action) { Hashtable current = bindings; StringTokenizer st = new StringTokenizer(keyBinding); while(st.hasMoreTokens()) { KeyStroke keyStroke = parseKeyStroke(st.nextToken()); if(keyStroke == null) return; if(st.hasMoreTokens()) { Object ... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/e60465f1d3e770861a53827ef0fec2525c09e819/DefaultInputHandler.java/buggy/org/gjt/sp/jedit/gui/DefaultInputHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24819,
5250,
12,
780,
498,
5250,
16,
15328,
1803,
1301,
13,
202,
95,
202,
3639,
18559,
783,
273,
7394,
31,
202,
202,
780,
10524,
384,
273,
394,
16370,
12,
856,
5250,
1769... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24819,
5250,
12,
780,
498,
5250,
16,
15328,
1803,
1301,
13,
202,
95,
202,
3639,
18559,
783,
273,
7394,
31,
202,
202,
780,
10524,
384,
273,
394,
16370,
12,
856,
5250,
1769... |
StringBuffer command = new StringBuffer (); | public void testLongParseFail1 () { StringBuffer command = new StringBuffer (); String file[] = new String[3]; file[0] = "-d"; file[1] = ((String)System.getProperty ("testdir")).concat ("/src/generated"); file[2] = ((String)System.getProperty ("testdir")).concat ("/idl/Long_Fail1.idl"); ... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/17877dae7ff4a48b31b7dabb549f3c58c5e17a42/LongTest.java/clean/test/regression/src/org/jacorb/test/idl/LongTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3708,
3201,
3754,
21,
1832,
282,
288,
6647,
514,
585,
8526,
273,
394,
514,
63,
23,
15533,
1377,
585,
63,
20,
65,
273,
3701,
72,
14432,
1377,
585,
63,
21,
65,
273,
140... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3708,
3201,
3754,
21,
1832,
282,
288,
6647,
514,
585,
8526,
273,
394,
514,
63,
23,
15533,
1377,
585,
63,
20,
65,
273,
3701,
72,
14432,
1377,
585,
63,
21,
65,
273,
140... | |
return JobSubmissionProtocol.versionID; | throw new IOException("Unknown protocol to job tracker: " + protocol); | public long getProtocolVersion(String protocol, long clientVersion) { if (protocol.equals(InterTrackerProtocol.class.getName())) { return InterTrackerProtocol.versionID; } else { return JobSubmissionProtocol.versionID; } } | 51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/54e11108fd60af1a3e71a90ab90fb097cffefe71/JobTracker.java/clean/src/java/org/apache/hadoop/mapred/JobTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
18648,
1444,
12,
780,
1771,
16,
1525,
1004,
1444,
13,
288,
1377,
309,
261,
8373,
18,
14963,
12,
2465,
8135,
5752,
18,
1106,
18,
17994,
1435,
3719,
288,
3639,
327,
5294,
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,
1071,
1525,
18648,
1444,
12,
780,
1771,
16,
1525,
1004,
1444,
13,
288,
1377,
309,
261,
8373,
18,
14963,
12,
2465,
8135,
5752,
18,
1106,
18,
17994,
1435,
3719,
288,
3639,
327,
5294,
8135,
... |
public Builder(IToolChain parent, String Id, String name, Builder builder) { | public Builder(IToolChain parent, IManagedConfigElement element, String managedBuildRevision) { | public Builder(IToolChain parent, String Id, String name, Builder builder) { this.parent = parent; superClass = builder.superClass; if (superClass != null) { if (builder.superClassId != null) { superClassId = new String(builder.superClassId); } } setId(Id); setName(name); // Set the managedBuildRevisio... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/74e3308a05729aeaf4841395f96c1c1d10c7764f/Builder.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Builder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5008,
12,
45,
6364,
3893,
982,
16,
514,
3124,
16,
514,
508,
16,
5008,
2089,
13,
288,
202,
202,
2211,
18,
2938,
273,
982,
31,
202,
202,
9565,
797,
273,
2089,
18,
9565,
797,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5008,
12,
45,
6364,
3893,
982,
16,
514,
3124,
16,
514,
508,
16,
5008,
2089,
13,
288,
202,
202,
2211,
18,
2938,
273,
982,
31,
202,
202,
9565,
797,
273,
2089,
18,
9565,
797,
... |
context.setAutoSwapBufferMode(onOrOff); | if (!hardwareAccelerationDisabled) { pbuffer.setAutoSwapBufferMode(onOrOff); } else { offscreenContext.setAutoSwapBufferMode(onOrOff); } | public void setAutoSwapBufferMode(boolean onOrOff) { context.setAutoSwapBufferMode(onOrOff); } | 46813 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46813/8da5bfa2d72282bfdcd2889a70a93a4072221a1c/GLJPanel.java/buggy/src/net/java/games/jogl/GLJPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
21780,
12521,
1892,
2309,
12,
6494,
603,
1162,
7210,
13,
288,
565,
309,
16051,
25118,
18019,
7067,
8853,
13,
288,
293,
4106,
18,
542,
4965,
12521,
1892,
2309,
12,
265,
1162,
72... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21780,
12521,
1892,
2309,
12,
6494,
603,
1162,
7210,
13,
288,
565,
309,
16051,
25118,
18019,
7067,
8853,
13,
288,
293,
4106,
18,
542,
4965,
12521,
1892,
2309,
12,
265,
1162,
72... |
Entity e = new MechFileParser(MechSummaryCache.getInstance().getMech(ARGS[0]).getSourceFile()).getMech(); | Entity e = new MechFileParser(MechSummaryCache.getInstance().getMech(ARGS[0]).getSourceFile()).getEntity(); | public static void main(String[] ARGS) throws Exception { Entity e = new MechFileParser(MechSummaryCache.getInstance().getMech(ARGS[0]).getSourceFile()).getMech(); System.out.println(format(e)); } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/c13078af61d4e10c373dcfb791551fd37d7e7df8/UnitStatusFormatter.java/clean/megamek/src/megamek/server/UnitStatusFormatter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
13984,
55,
13,
3639,
1216,
1185,
565,
288,
3639,
3887,
425,
273,
394,
7499,
343,
812,
2678,
12,
4667,
343,
4733,
1649,
18,
588,
1442,
7675,
588,
466... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
13984,
55,
13,
3639,
1216,
1185,
565,
288,
3639,
3887,
425,
273,
394,
7499,
343,
812,
2678,
12,
4667,
343,
4733,
1649,
18,
588,
1442,
7675,
588,
466... |
public final VM_CompiledMethod getCompiledMethod() { return VM_CompiledMethods.getCompiledMethod(cmid); } | public final VM_CompiledMethod getCompiledMethod() { return cm; } | public final VM_CompiledMethod getCompiledMethod() { return VM_CompiledMethods.getCompiledMethod(cmid); } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/60c3938074a7370b960db5ee239f92f8b7248e8d/VM_HotMethodEvent.java/buggy/rvm/src/vm/adaptive/controller/VM_HotMethodEvent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
8251,
67,
20733,
1305,
336,
20733,
1305,
1435,
288,
565,
327,
8251,
67,
20733,
4712,
18,
588,
20733,
1305,
12,
7670,
350,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
8251,
67,
20733,
1305,
336,
20733,
1305,
1435,
288,
565,
327,
8251,
67,
20733,
4712,
18,
588,
20733,
1305,
12,
7670,
350,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,... |
try { img = (java.awt.Image) _ids.loadImage( new URL( sUrl ) ); } catch ( ChartException ilex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, ilex ); } catch ( MalformedURLException muex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, muex );... | if ( flBackground instanceof EmbeddedImage ) { try { byte[] data = Base64.decode( ( (EmbeddedImage) flBackground ).getData( ) ); img = createImage( data ); } catch ( Exception ilex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, ilex ); } } else { try { final String sUrl = ( (org... | public void fillArc( ArcRenderEvent are ) throws ChartException { final Fill flBackground = are.getBackground( ); if ( flBackground instanceof ColorDefinition ) { final Color clrPrevious = _g2d.getColor( ); final Color currentColor = (Color) _ids.getColor( (ColorDefinition) flBackground ); _g2d.setColor( curr... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/99ab478a2cd0ab25560606c29779d9cf026ebe25/SwingRendererImpl.java/clean/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingRendererImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
14598,
12,
24881,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
6385,
14192,
1183,
8199,
273,
854,
18,
588,
8199,
12,
11272,
202,
202,
430,
261,
1183,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3636,
14598,
12,
24881,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
6385,
14192,
1183,
8199,
273,
854,
18,
588,
8199,
12,
11272,
202,
202,
430,
261,
1183,
... |
public Message create( String beginString, String msgType ) { if("0".equals(msgType)) { return new quickfix.fix43.Heartbeat(); } if("A".equals(msgType)) { return new quickfix.fix43.Logon(); } if("1".equals(msgType)) { return new quickfix.fix43.TestRequest(); } if("2".equals(msgType)) { r... | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/1550773ed3d856616a145b520aada7f5e496c228/MessageFactory.java/buggy/src/java/src/quickfix/fix43/MessageFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2350,
752,
12,
514,
2376,
780,
16,
514,
1234,
559,
262,
288,
282,
309,
2932,
20,
9654,
14963,
12,
3576,
559,
3719,
288,
377,
327,
394,
9549,
904,
18,
904,
8942,
18,
15894,
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,
282,
1071,
2350,
752,
12,
514,
2376,
780,
16,
514,
1234,
559,
262,
288,
282,
309,
2932,
20,
9654,
14963,
12,
3576,
559,
3719,
288,
377,
327,
394,
9549,
904,
18,
904,
8942,
18,
15894,
5621,
... | ||
private Object createBean(final PerRequestInfo pri, final String beanname) { CreationMarker marker = (CreationMarker) pri.beans.locateBean(beanname); boolean success = false; if (marker == null) { marker = BEAN_IN_CREATION_OBJECT; pri.beans.set(beanname, marker); } try { RSACBeanInfo rbi... | 48218 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48218/09d28df0c200a042576ff2a3e363910efb05ece8/RSACBeanLocator.java/buggy/src/uk/org/ponder/rsac/RSACBeanLocator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
3238,
1033,
752,
3381,
12,
6385,
5722,
23113,
14705,
16,
727,
514,
3931,
529,
13,
288,
225,
18199,
7078,
5373,
273,
261,
9906,
7078,
13,
14705,
18,
2196,
634,
18,
25450,
3381,
12,
14496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
1033,
752,
3381,
12,
6385,
5722,
23113,
14705,
16,
727,
514,
3931,
529,
13,
288,
225,
18199,
7078,
5373,
273,
261,
9906,
7078,
13,
14705,
18,
2196,
634,
18,
25450,
3381,
12,
14496,
... | ||
try { rs.close(); } catch(SQLException e) {} | try { rs.close(); } catch(SQLException e) { } | public void testDatabaseMetaData() throws SQLException { Statement stmt = m_connection.createStatement(); ResultSet rs = null; try { System.out.println("*** DatabaseMetaData 'String' functions:"); rs = stmt.executeQuery("SELECT * FROM javatest.getMetaDataStrings()"); while(rs.next()) { String methodName... | 7270 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7270/efa76a6b7645e410731c10cec532ef6e6ea9f3f1/Tester.java/buggy/src/java/test/org/postgresql/pljava/test/Tester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4254,
6998,
1435,
202,
15069,
6483,
202,
95,
202,
202,
3406,
3480,
273,
312,
67,
4071,
18,
2640,
3406,
5621,
202,
202,
13198,
3597,
273,
446,
31,
202,
202,
698,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4254,
6998,
1435,
202,
15069,
6483,
202,
95,
202,
202,
3406,
3480,
273,
312,
67,
4071,
18,
2640,
3406,
5621,
202,
202,
13198,
3597,
273,
446,
31,
202,
202,
698,
202... |
assertTrue("Wrong contents 2", testBuffer.toString().equals( "more stuff")); | assertEquals("Wrong contents 2", "more stuff", testBuffer.toString()); | public void test_deleteII() { // Test for method java.lang.StringBuffer // java.lang.StringBuffer.delete(int, int) testBuffer.delete(7, 7); assertTrue("Deleted chars when start == end", testBuffer.toString() .equals("This is a test buffer")); testBuffer.delete(4, 14); assertTrue("Deleted incorrect chars", tes... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/StringBufferTest.java/buggy/modules/luni/src/test/java/tests/api/java/lang/StringBufferTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
3733,
6954,
1435,
288,
202,
202,
759,
7766,
364,
707,
2252,
18,
4936,
18,
780,
1892,
202,
202,
759,
2252,
18,
4936,
18,
780,
1892,
18,
3733,
12,
474,
16,
509,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
3733,
6954,
1435,
288,
202,
202,
759,
7766,
364,
707,
2252,
18,
4936,
18,
780,
1892,
202,
202,
759,
2252,
18,
4936,
18,
780,
1892,
18,
3733,
12,
474,
16,
509,... |
summaryPattern.setFocus(); | if (getWizard() == null) { summaryPattern.setFocus(); } | public void setVisible(boolean visible) { if (visible && summaryPattern != null) { if (firstTime) { firstTime = false; // Set item and text here to prevent page from resizing for (String searchPattern : getPreviousPatterns(previousSummaryPatterns)) { summaryPattern.add(searchPattern); } // summar... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/ce7a489ec9613c6185f89fe8f8b92d62803284f9/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
16697,
12,
6494,
6021,
13,
288,
202,
202,
430,
261,
8613,
597,
4916,
3234,
480,
446,
13,
288,
1082,
202,
430,
261,
3645,
950,
13,
288,
9506,
202,
3645,
950,
273,
629,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
16697,
12,
6494,
6021,
13,
288,
202,
202,
430,
261,
8613,
597,
4916,
3234,
480,
446,
13,
288,
1082,
202,
430,
261,
3645,
950,
13,
288,
9506,
202,
3645,
950,
273,
629,
3... |
public char getChar(){ if(numChars() > 0){ char tempChar= characterBuffer[characterBufferHead]; characterBufferHead= characterBufferHead+1; return(tempChar); | public double getChar(){ if(bufferOverflowFlag) return(-1.0); else if(numCharsLocal() > 0){ char tempChar= characterBuffer[characterBufferTail]; characterBufferTail= (characterBufferTail+1) % queueSizeChars; return((double)tempChar); | public char getChar(){ if(numChars() > 0){ char tempChar= characterBuffer[characterBufferHead]; characterBufferHead= characterBufferHead+1; return(tempChar); }else{ return(emptyChar); } } | 12211 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12211/9f6c9d532c0736a47678e9e76fd49874c6c9babd/GetCharJava.java/clean/trunk/Psychtoolbox/PsychJava/GetCharJava.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1149,
23577,
1435,
95,
202,
202,
430,
12,
2107,
7803,
1435,
405,
374,
15329,
1082,
202,
3001,
1906,
2156,
33,
3351,
1892,
63,
11560,
1892,
1414,
15533,
1082,
202,
11560,
1892,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1149,
23577,
1435,
95,
202,
202,
430,
12,
2107,
7803,
1435,
405,
374,
15329,
1082,
202,
3001,
1906,
2156,
33,
3351,
1892,
63,
11560,
1892,
1414,
15533,
1082,
202,
11560,
1892,
1... |
public SendProductionsAction() { | public SendProductionsAction() { | public SendProductionsAction() { super("Send Productions"); } | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/b614d4abef68545f39b6afc1e8521d6ccc484b8e/MainFrame.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
2479,
31590,
87,
1803,
1435,
288,
1082,
202,
9565,
2932,
3826,
10856,
349,
87,
8863,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
2479,
31590,
87,
1803,
1435,
288,
1082,
202,
9565,
2932,
3826,
10856,
349,
87,
8863,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
null, "setOnclick"); | null, "setOnclickExpr"); | public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[36]; try { result[0] = new PropertyDescriptor("accesskey", ELLinkTag.class, null, "setAccesskey"); result[1] = new Prop... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELLinkTagBeanInfo.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELLinkTagBeanInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
26761,
8526,
225,
563,
282,
273,
394,
26761,
63,
5718,
15533,
3639,
775,
288,
5411,
563,
63,
20,
65,
273,
394,
26761,
2932,
3860... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
26761,
8526,
225,
563,
282,
273,
394,
26761,
63,
5718,
15533,
3639,
775,
288,
5411,
563,
63,
20,
65,
273,
394,
26761,
2932,
3860... |
try { Field f = declaringClass.getDeclaredField( fieldName ); | try { Field f = declaringClass.getDeclaredField( fieldName ); | public static char getFieldChar (Object instance, Class declaringClass, String fieldName) throws NoSuchFieldError { char c = '0'; try { // following may throw NoSuchFieldError; Field f = declaringClass.getDeclaredField( fieldName ); f.setAccessible( true ); // to allow access to ... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/705cb85b3c7e05696189446f5268011580d80945/ReflectionSupport.java/buggy/rvm/src/vm/libSupport/ReflectionSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1149,
5031,
2156,
261,
921,
791,
16,
1659,
3496,
14682,
16,
514,
4289,
13,
565,
1216,
5823,
974,
668,
288,
1377,
1149,
276,
273,
296,
20,
13506,
1377,
775,
288,
3639,
368,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1149,
5031,
2156,
261,
921,
791,
16,
1659,
3496,
14682,
16,
514,
4289,
13,
565,
1216,
5823,
974,
668,
288,
1377,
1149,
276,
273,
296,
20,
13506,
1377,
775,
288,
3639,
368,
37... |
protected void cancelPressed() { // Inform all pages that we are cancelling Iterator nodes = preferenceManager.getElements(PreferenceManager.PRE_ORDER).iterator(); while (nodes.hasNext()) { final IPreferenceNode node = (IPreferenceNode) nodes.next(); if (node.getPage() != null) { Platform.run(new SafeRunnabl... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/be95edd129a1deef61176d5d63fd605f9dfe18a5/PreferenceDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6459,
10996,
24624,
1435,
95,
202,
202,
759,
25541,
454,
9095,
395,
11304,
1814,
834,
4169,
3855,
310,
202,
202,
3198,
4690,
33,
19141,
1318,
18,
588,
3471,
12,
9624,
1318,
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,
225,
202,
1117,
6459,
10996,
24624,
1435,
95,
202,
202,
759,
25541,
454,
9095,
395,
11304,
1814,
834,
4169,
3855,
310,
202,
202,
3198,
4690,
33,
19141,
1318,
18,
588,
3471,
12,
9624,
1318,
18,... | ||
peerStatsList.addChild("li").addChild("span", "class", "peer_never_connected", "Listening:\u00a0" + numberOfListening); /* TODO */ | HTMLNode peerStatsListeningListItem = peerStatsList.addChild("li").addChild("span"); peerStatsListeningListItem.addChild("span", new String[] { "class", "title", "style" }, new String[] { "peer_never_connected", "Not connected: won't try to connect to them very often because they have BurstOnly set on them", "border-b... | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx,... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/7b926a17d074e9e10dbe72d181fccfa25b302d65/DarknetConnectionsToadlet.java/clean/src/freenet/clients/http/DarknetConnectionsToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
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,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
18,
... |
StyleConstants.setForeground(keywordAttr, new Color(0, 0, 0.5f)); StyleConstants.setBold(keywordAttr, true); | public ATELanguageSyntaxEngine() { commentAttr = new SimpleAttributeSet(); StyleConstants.setForeground(commentAttr, Color.lightGray); StyleConstants.setItalic(commentAttr, true); stringAttr = new SimpleAttributeSet(); StyleConstants.setForeground(stringAttr, COLOR_STRING); ... | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/315fa132519ddda76bcb708f327230ff12916c00/ATELanguageSyntaxEngine.java/buggy/src/org/antlr/works/ate/syntax/language/ATELanguageSyntaxEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
432,
1448,
3779,
8070,
4410,
1435,
288,
3639,
2879,
3843,
273,
394,
4477,
1499,
694,
5621,
3639,
9767,
2918,
18,
542,
23206,
12,
3469,
3843,
16,
5563,
18,
5099,
23521,
1769,
3639,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
432,
1448,
3779,
8070,
4410,
1435,
288,
3639,
2879,
3843,
273,
394,
4477,
1499,
694,
5621,
3639,
9767,
2918,
18,
542,
23206,
12,
3469,
3843,
16,
5563,
18,
5099,
23521,
1769,
3639,
9... | |
public TableCellRenderer getCellRenderer( int row, int col ) { JLabel label = (JLabel)super.getCellRenderer( row, col ); label.setBackground( Color.white ); label.setFont( defaultFont ); if ( col == 0 ) { | public TableCellRenderer getCellRenderer(int row, int col) { JLabel label = (JLabel) super.getCellRenderer(row, col); label.setBackground(Color.white); label.setFont(defaultFont); if (col == 0) { | public TableCellRenderer getCellRenderer( int row, int col ) { JLabel label = (JLabel)super.getCellRenderer( row, col ); label.setBackground( Color.white ); label.setFont( defaultFont ); if ( col == 0 ) { // BUG: not working? label.setFon... | 53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/93d814d7886e593bc9bd7f476b2a18571a009aa6/DOMInspector.java/buggy/src/java/org/xhtmlrenderer/swing/DOMInspector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3555,
4020,
6747,
16458,
6747,
12,
509,
1027,
16,
509,
645,
262,
288,
5411,
21403,
1433,
273,
261,
46,
2224,
13,
9565,
18,
588,
4020,
6747,
12,
1027,
16,
645,
11272,
5411,
1433,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3555,
4020,
6747,
16458,
6747,
12,
509,
1027,
16,
509,
645,
262,
288,
5411,
21403,
1433,
273,
261,
46,
2224,
13,
9565,
18,
588,
4020,
6747,
12,
1027,
16,
645,
11272,
5411,
1433,
1... |
public static final boolean match( char[] pattern, char[] name, boolean isCaseSensitive) { | public static final boolean match(char[] pattern, char[] name, boolean isCaseSensitive) { | public static final boolean match( char[] pattern, char[] name, boolean isCaseSensitive) { if (name == null) return false; // null name cannot match if (pattern == null) return true; // null pattern is equivalent to '*' return match( pattern, 0, pattern.length, name, 0, name.length, isCaseSensitive);} | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e33c1f7b0c1f9dbe66a73370c1b98e653087c2df/CharOperation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/CharOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
727,
1250,
845,
12,
202,
3001,
8526,
1936,
16,
202,
3001,
8526,
508,
16,
202,
6494,
353,
2449,
14220,
13,
288,
202,
430,
261,
529,
422,
446,
13,
202,
202,
2463,
629,
31,
368,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
727,
1250,
845,
12,
202,
3001,
8526,
1936,
16,
202,
3001,
8526,
508,
16,
202,
6494,
353,
2449,
14220,
13,
288,
202,
430,
261,
529,
422,
446,
13,
202,
202,
2463,
629,
31,
368,
44... |
return new TextCellEditor( composite, SWT.SINGLE ); | TextCellEditor editor = new TextCellEditor( composite, SWT.SINGLE ); final Control c = editor.getControl( ); c.addMouseTrackListener( new MouseTrackAdapter( ) { public void mouseEnter( MouseEvent e ) { c.setCursor( SharedCursors.IBEAM ); } } ); return editor; | protected CellEditor createCellEditorOn( Composite composite ) { return new TextCellEditor( composite, SWT.SINGLE ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/56df418a95356d52d1a38810e13a7dcad1eb21c2/LabelEditManager.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/tools/LabelEditManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8614,
6946,
752,
4020,
6946,
1398,
12,
14728,
9635,
262,
202,
95,
202,
202,
2463,
394,
3867,
4020,
6946,
12,
9635,
16,
348,
8588,
18,
20184,
11272,
202,
97,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8614,
6946,
752,
4020,
6946,
1398,
12,
14728,
9635,
262,
202,
95,
202,
202,
2463,
394,
3867,
4020,
6946,
12,
9635,
16,
348,
8588,
18,
20184,
11272,
202,
97,
2,
-100,
-100,
-1... |
public void parse(XMLInputSource inputSource) | public void parse(XMLInputSource inputSource) | public void parse(XMLInputSource inputSource) throws XNIException, IOException{ // no-op } | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/677f3d26362e184de7a0859e2f77ba5d4ceca737/DOMConfigurationImpl.java/clean/src/org/apache/xerces/dom/DOMConfigurationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
4201,
1210,
1830,
810,
1830,
13,
540,
1216,
1139,
50,
45,
503,
16,
1860,
95,
3639,
368,
1158,
17,
556,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
12,
4201,
1210,
1830,
810,
1830,
13,
540,
1216,
1139,
50,
45,
503,
16,
1860,
95,
3639,
368,
1158,
17,
556,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public basic(String args[]) throws ClassNotFoundException, FileNotFoundException, IOException, SQLException { String url = args[0]; String usr = args[1]; String pwd = args[2]; // Load the driver Class.forName("org.postgresql.Driver"); // Connect to database System.out.println("Connecting... | 46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/8439a83d84fb159a790ed2b6d14d4151b9890857/basic.java/clean/src/interfaces/jdbc/example/basic.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5337,
12,
780,
833,
63,
5717,
1216,
10403,
16,
13707,
16,
1860,
16,
6483,
225,
288,
565,
514,
880,
273,
833,
63,
20,
15533,
565,
514,
16575,
273,
833,
63,
21,
15533,
565,
514,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5337,
12,
780,
833,
63,
5717,
1216,
10403,
16,
13707,
16,
1860,
16,
6483,
225,
288,
565,
514,
880,
273,
833,
63,
20,
15533,
565,
514,
16575,
273,
833,
63,
21,
15533,
565,
514,
1... | ||
public void connect (PipedWriter src) throws IOException { if (closed) throw new IOException ("already closed"); if (writer != null) { if (writer == src) return; throw new IOException ("already connected"); } try { writer = src; writer.connect(this); } catch (IOException e) { writer = null; throw e; } } | connect(PipedWriter src) throws IOException { if (src == this.src) return; if (ever_connected) throw new IOException("Already connected"); if (closed) throw new IOException("Stream is closed and cannot be reopened"); synchronized (lock) { src.connect(this); ever_connected = true; } } | public void connect (PipedWriter src) throws IOException { if (closed) throw new IOException ("already closed"); if (writer != null) { if (writer == src) return; throw new IOException ("already connected"); } try { writer = src; writer.connect(this); } catch (IOException e) ... | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/8d285042d388a7105e3b50a5f438a5cd5ecdb499/PipedReader.java/buggy/libjava/java/io/PipedReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3077,
261,
24925,
329,
2289,
1705,
13,
1216,
1860,
225,
288,
565,
309,
261,
12204,
13,
1377,
604,
394,
1860,
7566,
17583,
4375,
8863,
565,
309,
261,
6299,
480,
446,
13,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3077,
261,
24925,
329,
2289,
1705,
13,
1216,
1860,
225,
288,
565,
309,
261,
12204,
13,
1377,
604,
394,
1860,
7566,
17583,
4375,
8863,
565,
309,
261,
6299,
480,
446,
13,
1377,
... |
ColorModel cm; | ColorModel cm = null; | public BufferedImage(int w, int h, int type) { ColorModel cm; boolean alpha = false; boolean premultiplied = false; switch (type) { case TYPE_4BYTE_ABGR_PRE: case TYPE_INT_ARGB_PRE: premultiplied = true; // fall through case TYPE_INT_ARGB: case TYPE_4BYTE_ABGR: alpha = true; ... | 25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/99e6bc52296d0f698ac87869692f6e05f5814772/BufferedImage.java/buggy/libjava/java/awt/image/BufferedImage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12362,
12,
474,
341,
16,
509,
366,
16,
509,
618,
13,
225,
288,
565,
5563,
1488,
5003,
273,
446,
31,
3639,
1250,
4190,
273,
629,
31,
565,
1250,
675,
7027,
3110,
273,
629,
31,
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,
12362,
12,
474,
341,
16,
509,
366,
16,
509,
618,
13,
225,
288,
565,
5563,
1488,
5003,
273,
446,
31,
3639,
1250,
4190,
273,
629,
31,
565,
1250,
675,
7027,
3110,
273,
629,
31,
565... |
public abstract Numeric div (Object obj); | public static RealNum div (RealNum x, RealNum y) { return (RealNum)(x.div(y)); } | public abstract Numeric div (Object obj); | 41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/7c7eef7cabbc0be562273cb7c1cb12392a179a8f/RealNum.java/buggy/gnu/math/RealNum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8770,
16980,
3739,
261,
921,
1081,
1769,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8770,
16980,
3739,
261,
921,
1081,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
getShell(uiInfo), PlatformUI.getWorkbench() .getProgressService().getLongOperationTime()); | getShell(uiInfo), PlatformUI.getWorkbench() .getProgressService().getLongOperationTime()); | private IStatus computeOperationStatus(IUndoableOperation operation, IOperationHistory history, IAdaptable uiInfo, boolean undoing) { try { StatusReportingRunnable runnable = new StatusReportingRunnable( operation, history, uiInfo, undoing); TimeTriggeredProgressMonitorDialog progressDialog = new TimeTrigge... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/65642e5c579ede009dd93df330663f23c1fa08e8/AdvancedValidationUserApprover.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/operations/AdvancedValidationUserApprover.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
1482,
3671,
2988,
1482,
12,
45,
31224,
429,
2988,
1674,
16,
1082,
202,
45,
2988,
5623,
4927,
16,
467,
13716,
429,
5915,
966,
16,
1250,
15436,
310,
13,
288,
202,
202,
698... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
1482,
3671,
2988,
1482,
12,
45,
31224,
429,
2988,
1674,
16,
1082,
202,
45,
2988,
5623,
4927,
16,
467,
13716,
429,
5915,
966,
16,
1250,
15436,
310,
13,
288,
202,
202,
698... |
transformPomToReleaseVersionPom( project ); | transformPomToReleaseVersionPom( project ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } | protected void executeTask() throws MojoExecutionException { try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_INITIALIZED ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } if ( !... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/22f9a34107d27782bab8e88b50b54708304b73dc/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,
4750,
918,
1836,
2174,
1435,
3639,
1216,
18780,
565,
288,
3639,
775,
3639,
288,
5411,
336,
7391,
5491,
7675,
25414,
12,
15573,
16,
10819,
5491,
8135,
18,
4258,
67,
12919,
25991,
11272,
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,
4750,
918,
1836,
2174,
1435,
3639,
1216,
18780,
565,
288,
3639,
775,
3639,
288,
5411,
336,
7391,
5491,
7675,
25414,
12,
15573,
16,
10819,
5491,
8135,
18,
4258,
67,
12919,
25991,
11272,
3639... |
int row = y / rowHeight; if (row < 0) row = 0; if (row > getRowCount()) row = getRowCount() - 1; | NodeRecord best = null; NodeRecord r; Enumeration en = nodes.elements(); | public TreePath getPathClosestTo(int x, int y) { if (dirty) update(); // We do not need to iterate because all rows have the same height. int row = y / rowHeight; if (row < 0) row = 0; if (row > getRowCount()) row = getRowCount() - 1; if (row < 0) return null; // Empty tree -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8e6a933c7311b8af73a149d26777089b7dc8bd68/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4902,
743,
4339,
4082,
7781,
774,
12,
474,
619,
16,
509,
677,
13,
202,
95,
565,
309,
261,
18013,
13,
1377,
1089,
5621,
565,
368,
1660,
741,
486,
1608,
358,
7401,
2724,
777,
2595,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4902,
743,
4339,
4082,
7781,
774,
12,
474,
619,
16,
509,
677,
13,
202,
95,
565,
309,
261,
18013,
13,
1377,
1089,
5621,
565,
368,
1660,
741,
486,
1608,
358,
7401,
2724,
777,
2595,
... |
has = holderFactory.createHolder(a_type); | has = HolderLocator.createHolder(a_type); | public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuAny.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuAny.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
855,
67,
1132,
12,
3341,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4348,
810,
16,
7682,
30332,
279,
67,
723,
13491,
262,
5375,
1216,
490,
985,
2664,
1013,
225,
288,
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,
282,
1071,
918,
855,
67,
1132,
12,
3341,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4348,
810,
16,
7682,
30332,
279,
67,
723,
13491,
262,
5375,
1216,
490,
985,
2664,
1013,
225,
288,
5... |
" AND (c.relam = a.oid)) " + | " AND (i.relam = a.oid)) " + | public java.sql.ResultSet getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate) throws SQLException { Field f[] = new Field[13]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff ... | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/a8a487df9f87d28d39b625adfb50cddeb7aef65f/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
514,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
1216,
6483,
225,
288,
565,
2286,
284,
8526,
273,
394,
2286,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
514,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
1216,
6483,
225,
288,
565,
2286,
284,
8526,
273,
394,
2286,... |
fetchFromCache(uc, (LcapIdentity)it.next()); | fetchFromCache(uc, (String)it.next()); | protected void fetchFromCache(UrlCacher uc) throws IOException { IdentityManager idm = getIdentityManager(); Map map = idm.getAgreed(au); Iterator it = map.keySet().iterator(); if (it.hasNext()) { fetchFromCache(uc, (LcapIdentity)it.next()); } } | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/d590d16a217c12f0b83bbe17809116df971c3b35/RepairCrawler.java/clean/src/org/lockss/crawler/RepairCrawler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2158,
19800,
12,
1489,
11309,
264,
6232,
13,
1216,
1860,
288,
565,
7808,
1318,
612,
81,
273,
20066,
1318,
5621,
565,
1635,
852,
273,
612,
81,
18,
588,
2577,
15656,
12,
8377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2158,
19800,
12,
1489,
11309,
264,
6232,
13,
1216,
1860,
288,
565,
7808,
1318,
612,
81,
273,
20066,
1318,
5621,
565,
1635,
852,
273,
612,
81,
18,
588,
2577,
15656,
12,
8377,
... |
Object[][] data = null; Object nodeInfo = lastSelectedNode.getUserObject(); if (nodeInfo.getClass().getName().equals("org.ensembl.mart.lib.config.DatasetView")) { data = new Object [] []{ {"Description", ((DatasetView) nodeInfo).getDescription()}, {"DisplayName", ((DatasetView) nodeInfo).getDisplayName()}, {"InternalNa... | String [] data = null; BaseConfigurationObject nodeObject = (BaseConfigurationObject)lastSelectedNode.getUserObject(); String nodeObjectClass = nodeObject.getClass().getName(); if (nodeObjectClass.equals("org.ensembl.mart.lib.config.DatasetView") || nodeObjectClass.equals("org.ensembl.mart.lib.config.FilterPage") || no... | private void doOnSelection() { lastSelectedNode = (DatasetViewTreeNode) this.getLastSelectedPathComponent(); if (lastSelectedNode == null) return; Object[][] data = null; Object nodeInfo = lastSelectedNode.getUserObject(); if (nodeInfo.getClass().getName().equals("org.ensembl.mart... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/3342ac5b742d267c2cc5c1fab144d1eb2dc608cf/DatasetViewTree.java/buggy/src/java/org/ensembl/mart/vieweditor/DatasetViewTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1398,
6233,
1435,
288,
3639,
1142,
7416,
907,
273,
261,
10656,
1767,
12513,
13,
333,
18,
588,
3024,
7416,
743,
1841,
5621,
3639,
309,
261,
2722,
7416,
907,
422,
446,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1398,
6233,
1435,
288,
3639,
1142,
7416,
907,
273,
261,
10656,
1767,
12513,
13,
333,
18,
588,
3024,
7416,
743,
1841,
5621,
3639,
309,
261,
2722,
7416,
907,
422,
446,
13,
... |
if (index < 0) { throw new IllegalArgumentException(); } } | if (index < 0) { throw new IllegalArgumentException(); } } | public void backup(int occurrences) { index -= occurrences; if (index < 0) { throw new IllegalArgumentException(); } } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/buggy/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
5114,
12,
474,
15698,
13,
288,
1082,
565,
770,
3947,
15698,
31,
1082,
565,
309,
261,
1615,
411,
374,
13,
288,
1082,
3639,
604,
394,
2754,
5621,
1082,
565,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
5114,
12,
474,
15698,
13,
288,
1082,
565,
770,
3947,
15698,
31,
1082,
565,
309,
261,
1615,
411,
374,
13,
288,
1082,
3639,
604,
394,
2754,
5621,
1082,
565,
289,
202,
202,... |
updateButtonEnabledState(); | refresh(); | public TablePanel(Table table) { super(new BorderLayout()); this.table = table; setMaximumSize(new Dimension(200, 200)); setBorder(BorderFactory.createRaisedBevelBorder()); titleLabel = new JLabel(getTitleHTML()); titleLabel.setFont(getFont().der... | 45800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45800/23297b98c08218eabfb0ce50651df65538ee0abb/RoomPanel.java/buggy/java/src/ggz/ui/RoomPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3555,
5537,
12,
1388,
1014,
13,
288,
5411,
2240,
12,
2704,
30814,
10663,
5411,
333,
18,
2121,
273,
1014,
31,
5411,
10851,
2422,
1225,
12,
2704,
13037,
12,
6976,
16,
4044,
10019,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3555,
5537,
12,
1388,
1014,
13,
288,
5411,
2240,
12,
2704,
30814,
10663,
5411,
333,
18,
2121,
273,
1014,
31,
5411,
10851,
2422,
1225,
12,
2704,
13037,
12,
6976,
16,
4044,
10019,
541... |
return(selectedCheckbox); | return getCurrent (); | getSelectedCheckbox(){ return(selectedCheckbox);} | 56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/3fe1c14284ce32b79d0e66441aec6a45a77ff684/CheckboxGroup.java/buggy/libjava/java/awt/CheckboxGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
16625,
21272,
1435,
95,
225,
327,
12,
8109,
21272,
1769,
97,
225,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
16625,
21272,
1435,
95,
225,
327,
12,
8109,
21272,
1769,
97,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
getDistinctProperty( handle, parentHandle, Style.CAN_SHRINK_PROP ) ); setStyleProperty( style, Style.DATE_TIME_FORMAT_PROP, getDistinctProperty( handle, parentHandle, Style.DATE_TIME_FORMAT_PROP ) ); setStyleProperty( style, Style.NUMBER_FORMAT_PROP, getDistinctProperty( handle, parentHandle, Style.NUMBER_FORMAT_PROP... | getDistinctProperty( handle, parentHandle, Style.CAN_SHRINK_PROP ) );*/ | protected void setupDistinctStyleProperties( StyleDesign style, DesignElementHandle handle, DesignElementHandle parentHandle ) { // Background setStyleProperty( style, Style.BACKGROUND_COLOR_PROP, getDistinctColorProperty( handle, parentHandle, Style.BACKGROUND_COLOR_PROP ) ); setStyleProperty( style, Style.BA... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e29ffc4317fc1dab71e811072bd49e7d35a106d8/EngineIRVisitor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3875,
23402,
2885,
2297,
12,
9767,
15478,
2154,
16,
1082,
202,
15478,
1046,
3259,
1640,
16,
29703,
1046,
3259,
982,
3259,
262,
202,
95,
202,
202,
759,
8977,
202,
202,
542,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3875,
23402,
2885,
2297,
12,
9767,
15478,
2154,
16,
1082,
202,
15478,
1046,
3259,
1640,
16,
29703,
1046,
3259,
982,
3259,
262,
202,
95,
202,
202,
759,
8977,
202,
202,
542,... |
idata = in.readInt(); long offsetNames = data + idata; | int nameData = in.readInt(); long offsetNames = pos + idata; | protected void initMetadata() { Hashtable ifd = ifds[0]; long data = 0; int idata = 0; double ddata = 0; //short sdata = 0; try { // -- Parse standard metadata -- // determine byte order boolean little = TiffTools.isLittleEndian(ifd); in.order(little); super.initMetadata(); ... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/da4171e613e50f5d6625cbc486b53f0d6a598660/ZeissLSMReader.java/clean/loci/formats/in/ZeissLSMReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
288,
565,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
565,
1525,
501,
273,
374,
31,
565,
509,
612,
396,
273,
374,
31,
565,
1645,
302,
892,
273,
374,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
2277,
1435,
288,
565,
18559,
309,
72,
273,
309,
2377,
63,
20,
15533,
565,
1525,
501,
273,
374,
31,
565,
509,
612,
396,
273,
374,
31,
565,
1645,
302,
892,
273,
374,
31... |
if (this.preferences.insert_space_within_message_send) { | if (this.preferences.insert_space_after_opening_paren_in_message_send) { | private void formatMessageSend( MessageSend messageSend, BlockScope scope, Alignment messageAlignment) { if (messageAlignment != null) { this.scribe.alignFragment(messageAlignment, 0); this.scribe.printNextToken(TerminalTokens.TokenNameDOT); } this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier); /... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/47b4b871bf6d388352229c39f2d0357c2b36e470/CodeFormatterVisitor.java/buggy/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20925,
3826,
12,
202,
202,
1079,
3826,
883,
3826,
16,
202,
202,
1768,
3876,
2146,
16,
202,
202,
11535,
883,
11535,
13,
288,
202,
202,
430,
261,
2150,
11535,
480,
446,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20925,
3826,
12,
202,
202,
1079,
3826,
883,
3826,
16,
202,
202,
1768,
3876,
2146,
16,
202,
202,
11535,
883,
11535,
13,
288,
202,
202,
430,
261,
2150,
11535,
480,
446,
13... |
public ITree createTree(ITreeNode rootNode) throws PlatformException; | public ITree createTree() throws PlatformException; | public ITree createTree(ITreeNode rootNode) throws PlatformException; | 12741 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12741/a12f73550f64a30e83f27dc7dc01f892443418b0/ITreeManager.java/clean/salomon/platform/trunk/src/salomon/platform/data/tree/ITreeManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
2471,
752,
2471,
12,
1285,
992,
907,
10181,
13,
1216,
11810,
503,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
2471,
752,
2471,
12,
1285,
992,
907,
10181,
13,
1216,
11810,
503,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
return(getPreferredSize(rows)); | return getPreferredSize (getRows ()); | getPreferredSize(){ return(getPreferredSize(rows));} | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/3fe1c14284ce32b79d0e66441aec6a45a77ff684/List.java/buggy/libjava/java/awt/List.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
12822,
4193,
1225,
1435,
95,
225,
327,
12,
588,
16028,
1225,
12,
3870,
10019,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
12822,
4193,
1225,
1435,
95,
225,
327,
12,
588,
16028,
1225,
12,
3870,
10019,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public void ExtractSelectedPatch() { if (table.getSelectedRowCount()==0) { ErrorMsg.reportError("Error","No Patch Selected."); return; } Patch myPatch=((Patch)myModel.PatchList.get(table.getSelectedRow())); BankDriver myDriver=(BankDriver)myPatch.getDriver(); for (int i=0;i<myDriver.getNumPatches();i++) if (myDriver.ge... | public void ExtractSelectedPatch() { if (table.getSelectedRowCount() == 0) { ErrorMsg.reportError("Error", "No Patch Selected."); return; } Patch myPatch = myModel.getPatchAt(table.getSelectedRow()); BankDriver myDriver = (BankDriver) myPatch.getDriver(); for (int i = 0; i < myDriver.getNumPatches(); i++) if (myDriver.... | public void ExtractSelectedPatch() { if (table.getSelectedRowCount()==0) {ErrorMsg.reportError("Error","No Patch Selected.");return;} Patch myPatch=((Patch)myModel.PatchList.get(table.getSelectedRow())); BankDriver myDriver=(BankDriver)myPatch.getDriver(); for (int i=0;i<myDriv... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/c8c2f2d41919d6587858edc131d215f4eebaeb4b/LibraryFrame.java/buggy/JSynthLib/core/LibraryFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8152,
7416,
7332,
1435,
565,
288,
3639,
309,
261,
2121,
18,
588,
7416,
26359,
1435,
631,
20,
13,
3639,
288,
668,
3332,
18,
6006,
668,
2932,
668,
15937,
2279,
12042,
4352,
828,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8152,
7416,
7332,
1435,
565,
288,
3639,
309,
261,
2121,
18,
588,
7416,
26359,
1435,
631,
20,
13,
3639,
288,
668,
3332,
18,
6006,
668,
2932,
668,
15937,
2279,
12042,
4352,
828,
... |
protected IStatus run(IProgressMonitor monitor) { HashSet disabledPlugins = new HashSet(Arrays.asList(getDisabledEarlyActivatedPlugins())); monitor.beginTask(WorkbenchMessages.Workbench_startingPlugins, extensions.length); | protected IStatus run(IProgressMonitor monitor) { HashSet disabledPlugins = new HashSet(Arrays .asList(getDisabledEarlyActivatedPlugins())); monitor.beginTask(WorkbenchMessages.Workbench_startingPlugins, extensions.length); | protected IStatus run(IProgressMonitor monitor) { HashSet disabledPlugins = new HashSet(Arrays.asList(getDisabledEarlyActivatedPlugins())); monitor.beginTask(WorkbenchMessages.Workbench_startingPlugins, extensions.length); for (int i = 0; i < extensions.length; ++i) { if (monitor.isCanceled() || ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/73333dbcd42e60f1026cd0a1b14e2ddb08c2b396/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
1117,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
1875,
3639,
6847,
5673,
9461,
273,
394,
6847,
12,
12726,
18,
345,
682,
12,
588,
8853,
41,
20279,
28724,
9461,
1435,
10019,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
1117,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
1875,
3639,
6847,
5673,
9461,
273,
394,
6847,
12,
12726,
18,
345,
682,
12,
588,
8853,
41,
20279,
28724,
9461,
1435,
10019,
... |
do { retString += s.charAt(pos); pos++; } while (pos < s.length() && (s.charAt(pos) >= '0' && s.charAt(pos) <= '9')) ; | if (pos >= s.length() - 1) throw new InvalidSmilesException("Percent sign ring closure numbers must be two-digit."); String retString = s.substring(pos, pos + 2); if (retString.charAt(0) < '0' || retString.charAt(0) > '9' || retString.charAt(1) < '0' || retString.charAt(1) > '9') throw new InvalidSmilesException("P... | private String getRingNumber(String s, int pos) { logger.debug("getRingNumber()"); String retString = ""; pos++; do { retString += s.charAt(pos); pos++; } while (pos < s.length() && (s.charAt(pos) >= '0' && s.charAt(pos) <= '9')) ; return retString; } | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/292dca68176ded689c2f5780ceb0465f5de04deb/SmilesParser.java/buggy/src/org/openscience/cdk/smiles/SmilesParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
4170,
310,
1854,
12,
780,
272,
16,
509,
949,
13,
202,
95,
202,
202,
4901,
18,
4148,
2932,
588,
10369,
1854,
1435,
8863,
202,
202,
780,
325,
780,
273,
1408,
31,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
4170,
310,
1854,
12,
780,
272,
16,
509,
949,
13,
202,
95,
202,
202,
4901,
18,
4148,
2932,
588,
10369,
1854,
1435,
8863,
202,
202,
780,
325,
780,
273,
1408,
31,
202,
20... |
database.prepareInsert(table, "R_TRANS_SLAVE"); | database.prepareInsert(table, "R_TRANS_CLUSTER"); | public synchronized long insertTransformationCluster(long id_transformation, long id_cluster) throws KettleDatabaseException { long id = getNextTransformationClusterID(); Row table = new Row(); table.addValue(new Value("ID_TRANS_SLAVE", id)); table.addValue(new Value("ID_TRANSFORMATIO... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/1ce8b79d6ce4e6087d2dfdd64474adf636738fad/Repository.java/clean/src/be/ibridge/kettle/repository/Repository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1525,
2243,
15292,
3629,
12,
5748,
612,
67,
2338,
1471,
16,
1525,
612,
67,
7967,
13,
1216,
1475,
278,
5929,
4254,
503,
565,
288,
3639,
1525,
612,
273,
6927,
15292,
3629,
734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1525,
2243,
15292,
3629,
12,
5748,
612,
67,
2338,
1471,
16,
1525,
612,
67,
7967,
13,
1216,
1475,
278,
5929,
4254,
503,
565,
288,
3639,
1525,
612,
273,
6927,
15292,
3629,
734,
... |
private boolean isZero() { if (numberLength == 1 && digits[0] == 0) { return true; } return false; } | final boolean isZero() { return sign==0; } | private boolean isZero() { if (numberLength == 1 && digits[0] == 0) { return true; } return false; } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fcbcf7b7445b954bcddb4a8f8932b7710d4691/BigInteger.java/buggy/modules/math/src/main/java/java/math/BigInteger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
7170,
1435,
288,
3639,
309,
261,
2696,
1782,
422,
404,
597,
6815,
63,
20,
65,
422,
374,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
7170,
1435,
288,
3639,
309,
261,
2696,
1782,
422,
404,
597,
6815,
63,
20,
65,
422,
374,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
327,
629,
31,
565,
289,
2,
-100,... |
return getGroupName(null); } | return getGroupName(null); } | public final java.lang.String getGroupName() { return getGroupName(null); } | 6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ExpandBarComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/ExpandBarComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
2252,
18,
4936,
18,
780,
336,
3943,
1435,
288,
3639,
327,
336,
3943,
12,
2011,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
2252,
18,
4936,
18,
780,
336,
3943,
1435,
288,
3639,
327,
336,
3943,
12,
2011,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.