rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
res.setAst(n); res.resolveFromJavaFile(sc); | InitialResolver.v().setAst(n); ret = InitialResolver.v().resolveFromJavaFile(sc); | public void resolve( SootClass sc ) { try { if (abc.main.Debug.v().classResolving) System.err.println("resolving [from abc AST]: " + className ); String javaClassName = SourceLocator.v().getSourceForClass(className); Node n = (Node) class_to_ast.get(javaClassName); res.setAst(n); res.resolveFromJa... | 236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/7559f3a54ee8e30ad645f7f5f116c1595a3773e6/Jimplify.java/clean/aop/abc/src/abc/aspectj/visit/Jimplify.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2245,
12,
348,
1632,
797,
888,
262,
288,
202,
565,
775,
288,
202,
202,
430,
261,
18947,
18,
5254,
18,
2829,
18,
90,
7675,
1106,
2903,
6282,
13,
1082,
565,
2332,
18,
370,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
2245,
12,
348,
1632,
797,
888,
262,
288,
202,
565,
775,
288,
202,
202,
430,
261,
18947,
18,
5254,
18,
2829,
18,
90,
7675,
1106,
2903,
6282,
13,
1082,
565,
2332,
18,
370,
18... |
public int compare( String value1, String value2){ try { float f1 = Float.valueOf(value1).floatValue(); float f2 = Float.valueOf(value2).floatValue(); int f1V = Float.floatToIntBits(f1); int f2V = Float.floatToIntBits(f2); if (f1 > f2) { ... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/d4d6cb515d1e4da913b4d8d417b56672e59b79da/FloatDatatypeValidator.java/clean/src/org/apache/xerces/validators/datatype/FloatDatatypeValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
9877,
12,
780,
1132,
21,
16,
780,
1132,
22,
15329,
698,
95,
5659,
74,
21,
33,
4723,
18,
1132,
951,
12,
1132,
21,
2934,
5659,
620,
5621,
5659,
74,
22,
33,
4723,
18,
1132,
951,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
474,
9877,
12,
780,
1132,
21,
16,
780,
1132,
22,
15329,
698,
95,
5659,
74,
21,
33,
4723,
18,
1132,
951,
12,
1132,
21,
2934,
5659,
620,
5621,
5659,
74,
22,
33,
4723,
18,
1132,
951,
... | ||
return 0; | return result; | int gtk_button_press_event (int widget, int event) { Shell shell = _getShell (); GdkEventButton gdkEvent = new GdkEventButton (); OS.memmove (gdkEvent, event, GdkEventButton.sizeof); display.dragStartX = (int) gdkEvent.x; display.dragStartY = (int) gdkEvent.y; display.dragging = false; int button = gdkEvent.button; int... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/2471324996c53fd1432f238ec3d7caf8064d2a69/Control.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
22718,
67,
5391,
67,
1028,
67,
2575,
261,
474,
3604,
16,
509,
871,
13,
288,
202,
13220,
5972,
273,
389,
588,
13220,
261,
1769,
202,
43,
2883,
1133,
3616,
314,
2883,
1133,
273,
394,
611,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
22718,
67,
5391,
67,
1028,
67,
2575,
261,
474,
3604,
16,
509,
871,
13,
288,
202,
13220,
5972,
273,
389,
588,
13220,
261,
1769,
202,
43,
2883,
1133,
3616,
314,
2883,
1133,
273,
394,
611,... |
v.addElement((Object)iPK); | v.addElement((Object) iPK); | public Vector getCurrentItemsInCategory(Integer categoryId, int startingRow, int nbOfRows) throws RemoteException { Connection conn = null; PreparedStatement stmt = null; Vector v = new Vector(nbOfRows); try { conn = dataSource.getConnection(); stmt = conn.prepareStatement("SELECT it... | 5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/QueryBeanPostgreSQL.java/clean/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/QueryBeanPostgreSQL.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5589,
5175,
3126,
382,
4457,
12,
4522,
28311,
16,
509,
5023,
1999,
16,
509,
4264,
951,
4300,
13,
1216,
18361,
225,
288,
565,
4050,
3639,
1487,
273,
446,
31,
565,
16913,
3480,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5589,
5175,
3126,
382,
4457,
12,
4522,
28311,
16,
509,
5023,
1999,
16,
509,
4264,
951,
4300,
13,
1216,
18361,
225,
288,
565,
4050,
3639,
1487,
273,
446,
31,
565,
16913,
3480,
273,
... |
if (children.length > 0) | if ((children != null) && (children.length > 0)) | public boolean select(Viewer viewer, Object parentElement, Object element) { Object[] children = ((ITreeContentProvider) ((AbstractTreeViewer) viewer) .getContentProvider()).getChildren(element); if (children.length > 0) return filter(viewer, element, children).length > 0; ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/aadeec8247e507fd13eeebb5e88078d01f64535c/PatternFilter.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PatternFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2027,
12,
18415,
14157,
16,
1033,
30363,
16,
1033,
930,
13,
288,
3639,
1033,
8526,
2325,
273,
14015,
1285,
992,
1350,
2249,
13,
14015,
7469,
2471,
18415,
13,
14157,
13,
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,
2027,
12,
18415,
14157,
16,
1033,
30363,
16,
1033,
930,
13,
288,
3639,
1033,
8526,
2325,
273,
14015,
1285,
992,
1350,
2249,
13,
14015,
7469,
2471,
18415,
13,
14157,
13,
7734,
... |
if( initializer instanceof IntLiteral | if( initializer instanceof NumericalLiteral | public Node typeCheck( LocalContext c) throws SemanticException { VariableDeclarationStatement vdsEnclosing = (VariableDeclarationStatement)wrVDS.get(); /* Only add to context if inside a method, hence a local variable * declaration. */ if( c.getCurrentMethod() != null) { if ... | 11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/fae51750b2ee0a41d10c5175df015f9f6d0acb29/VariableDeclarationStatement.java/clean/src/polyglot/ast/VariableDeclarationStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
618,
1564,
12,
3566,
1042,
276,
13,
1216,
24747,
503,
565,
288,
1377,
7110,
6094,
3406,
331,
2377,
21594,
273,
540,
261,
26547,
3406,
13,
91,
86,
58,
3948,
18,
588,
5621,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
618,
1564,
12,
3566,
1042,
276,
13,
1216,
24747,
503,
565,
288,
1377,
7110,
6094,
3406,
331,
2377,
21594,
273,
540,
261,
26547,
3406,
13,
91,
86,
58,
3948,
18,
588,
5621,
13... |
writeLanguageCode((ServerStoredDetails.LocaleDetail)detail, result); | writeLanguageCode((ServerStoredDetails.LocaleDetail)detail, result);break; | private DetailTlv getTlvForChange(ServerStoredDetails.GenericDetail detail) { int typeOfDetail = ((int[])supportedTypes.get(detail.getClass()))[1]; DetailTlv result = new DetailTlv(((int[])supportedTypes.get(detail.getClass()))[1]); switch(typeOfDetail) { case 0x01A4 : //Co... | 27035 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27035/9205c119794128e79735468c88ba0af4d62d6396/FullInfoCmd.java/buggy/src/net/java/sip/communicator/impl/protocol/icq/message/usrinfo/FullInfoCmd.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
27931,
56,
3070,
3181,
3070,
1290,
3043,
12,
2081,
18005,
3790,
18,
7014,
6109,
7664,
13,
565,
288,
3639,
509,
23170,
6109,
273,
14015,
474,
63,
5717,
4127,
2016,
18,
588,
12,
8992,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27931,
56,
3070,
3181,
3070,
1290,
3043,
12,
2081,
18005,
3790,
18,
7014,
6109,
7664,
13,
565,
288,
3639,
509,
23170,
6109,
273,
14015,
474,
63,
5717,
4127,
2016,
18,
588,
12,
8992,... |
viewBugDetailsItemActionPerformed(evt); | viewConsoleItemActionPerformed(evt); | public void actionPerformed(java.awt.event.ActionEvent evt) { viewBugDetailsItemActionPerformed(evt); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/00bd8297e0a2071b262475ea1551eb8eca34a588/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1476,
10215,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1476,
10215,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Frame frame = null; | if (displayDevice == null) { GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment(); displayDevice = environment.getDefaultScreenDevice(); } Frame frame = new Frame(displayDevice.getDefaultConfiguration()); /* Frame frame = null; | static public void main(String args[]) { if (args.length < 1) { System.err.println("Usage: PApplet <appletname>"); System.err.println("For additional options, " + "see the javadoc for PApplet"); System.exit(1); } try { boolean external = false; int location[] ... | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/c7c809583a4d1440282433d7d43a045ba9618b2a/PApplet.java/buggy/core/PApplet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1071,
918,
2774,
12,
780,
833,
63,
5717,
288,
565,
309,
261,
1968,
18,
2469,
411,
404,
13,
288,
1377,
2332,
18,
370,
18,
8222,
2932,
5357,
30,
453,
23696,
411,
438,
1469,
529,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1071,
918,
2774,
12,
780,
833,
63,
5717,
288,
565,
309,
261,
1968,
18,
2469,
411,
404,
13,
288,
1377,
2332,
18,
370,
18,
8222,
2932,
5357,
30,
453,
23696,
411,
438,
1469,
529,
29... |
return new SetterInjectionComponentAdapter(componentKey, componentImplementation, parameters); | return new SetterInjectionComponentAdapter(componentKey, componentImplementation, parameters, allowNonPublicClasses); | public ComponentAdapter createComponentAdapter(Object componentKey, Class componentImplementation, Parameter[] parameters) throws PicoIntrospectionException, AssignabilityRegistrationException, NotConcreteRegistrationException { return new SetterInjectionComponentAdapter(componentKey, componentImp... | 9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/fdc5fe923698c958a7e13e3551733acf6370af25/SetterInjectionComponentAdapterFactory.java/clean/trunk/java/picocontainer/src/java/org/picocontainer/defaults/SetterInjectionComponentAdapterFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5435,
4216,
752,
1841,
4216,
12,
921,
1794,
653,
16,
1659,
1794,
13621,
16,
5498,
8526,
1472,
13,
5411,
1216,
453,
10764,
1702,
26362,
503,
16,
12093,
2967,
7843,
503,
16,
2288,
258... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5435,
4216,
752,
1841,
4216,
12,
921,
1794,
653,
16,
1659,
1794,
13621,
16,
5498,
8526,
1472,
13,
5411,
1216,
453,
10764,
1702,
26362,
503,
16,
12093,
2967,
7843,
503,
16,
2288,
258... |
else if ( currentToken().equalsIgnoreCase( "false" ) ) | if ( currentToken().equalsIgnoreCase( "false" ) ) | private ScriptExpression parseValue( ScriptScope scope ) throws AdvancedScriptException { ScriptExpression result; int i; if ( currentToken() == null ) return null; if ( currentToken().equalsIgnoreCase( "(" ) ) { readToken();// ( result = parseExpression( scope ); if ( currentToken() == null || !currentTo... | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/bdbd1f6d9a31fbd7d44f8b94bab0287c3602e792/KoLmafiaASH.java/clean/src/net/sourceforge/kolmafia/KoLmafiaASH.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
7739,
2300,
1109,
620,
12,
7739,
3876,
2146,
262,
1216,
27451,
3651,
503,
202,
95,
202,
202,
3651,
2300,
563,
31,
202,
202,
474,
277,
31,
202,
202,
430,
261,
23719,
1435,
422... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7739,
2300,
1109,
620,
12,
7739,
3876,
2146,
262,
1216,
27451,
3651,
503,
202,
95,
202,
202,
3651,
2300,
563,
31,
202,
202,
474,
277,
31,
202,
202,
430,
261,
23719,
1435,
422... |
service.setName(config.getName()); | service.setName("WMS"); | private static Service getService(NcWMSConfig config) { Service service = new Service(); service.setName(config.getName()); service.setTitle(config.getTitle()); service.setFees(config.getFees()); service.setAccessConstraints(config.getAccessConstraints()); service.setLay... | 52544 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52544/db022d7faf66d3aff8fa70fa7ac7dd077dbd2988/GetCapabilities.java/clean/src/java/uk/ac/rdg/resc/ncwms/GetCapabilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1956,
6373,
12,
50,
71,
59,
3537,
809,
642,
13,
565,
288,
3639,
1956,
1156,
273,
394,
1956,
5621,
3639,
1156,
18,
542,
461,
2932,
59,
3537,
8863,
3639,
1156,
18,
542,
4247,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1956,
6373,
12,
50,
71,
59,
3537,
809,
642,
13,
565,
288,
3639,
1956,
1156,
273,
394,
1956,
5621,
3639,
1156,
18,
542,
461,
2932,
59,
3537,
8863,
3639,
1156,
18,
542,
4247,
... |
{ model = newModel; } | { model = newModel; } | public void setModel(ButtonModel newModel) { model = newModel; } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/ed52daae8ff65683ea13c6ffb02a6febd446ffc5/AbstractButton.java/buggy/javax/swing/AbstractButton.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19027,
12,
3616,
1488,
394,
1488,
13,
202,
95,
202,
2284,
273,
394,
1488,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
19027,
12,
3616,
1488,
394,
1488,
13,
202,
95,
202,
2284,
273,
394,
1488,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if (genericSetMethod != null) { | if (genericGetMethod == null) { List possibleGenericMethods = getMethods("set"); if (possibleGenericMethods != null) { for (Iterator i = possibleGenericMethods.iterator(); i.hasNext(); ) { MetaMethod mmethod = (MetaMethod) i.next(); Class[] paramTypes = mmethod.getParameterTypes(); if (paramTypes.length == 2 && paramT... | public void setProperty(Object object, String property, Object newValue) { PropertyDescriptor descriptor = (PropertyDescriptor) propertyDescriptors.get(property); if (descriptor != null) { Method method = descriptor.getWriteMethod(); if (method == null) { throw new... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/b6dc3898fb26c4af6eb76681a8dc22459514714a/MetaClass.java/clean/src/main/groovy/lang/MetaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
12,
921,
733,
16,
514,
1272,
16,
1033,
6129,
13,
288,
3639,
26761,
4950,
273,
261,
1396,
3187,
13,
1272,
12705,
18,
588,
12,
4468,
1769,
3639,
309,
261,
12628,
480,
446... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
12,
921,
733,
16,
514,
1272,
16,
1033,
6129,
13,
288,
3639,
26761,
4950,
273,
261,
1396,
3187,
13,
1272,
12705,
18,
588,
12,
4468,
1769,
3639,
309,
261,
12628,
480,
446... |
ClassLoader classLoader = this.getClass().getClassLoader(); | protected Properties loadFromClassPath(String propertiesFile) { Properties properties = new Properties(); ClassLoader classLoader = this.getClass().getClassLoader(); try { // This is a hack for now to make sure that properties // files referenced in the f... | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/7f3c441e4af5a132c3b34a1fc3bfb1588db705eb/PropertiesUtil.java/clean/src/java/org/apache/velocity/texen/util/PropertiesUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
6183,
24935,
22158,
12,
780,
1790,
812,
13,
565,
288,
3639,
6183,
1790,
273,
394,
6183,
5621,
15604,
775,
3639,
288,
5411,
368,
1220,
353,
279,
11769,
364,
2037,
358,
1221,
3071,
71... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
6183,
24935,
22158,
12,
780,
1790,
812,
13,
565,
288,
3639,
6183,
1790,
273,
394,
6183,
5621,
15604,
775,
3639,
288,
5411,
368,
1220,
353,
279,
11769,
364,
2037,
358,
1221,
3071,
71... | |
return hc; | return hc; | public int hashCode() { int hc = 0; hc = ObjectUtil.hashCode(hc, querySeq); hc = ObjectUtil.hashCode(hc, sequenceDB); hc = ObjectUtil.hashCode(hc, searchParameters); hc = ObjectUtil.hashCode(hc, hits); hc = ObjectUtil.hashCode(hc, annotation); return hc; } | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/5d8f0472e505e38cb8a0a330aae9d45cebac1fbf/SequenceDBSearchResult.java/clean/src/org/biojava/bio/search/SequenceDBSearchResult.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13374,
1435,
565,
288,
202,
474,
11684,
273,
374,
31,
202,
28353,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
843,
6926,
1769,
202,
28353,
273,
1033,
1304,
18,
2816,
1085,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13374,
1435,
565,
288,
202,
474,
11684,
273,
374,
31,
202,
28353,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
843,
6926,
1769,
202,
28353,
273,
1033,
1304,
18,
2816,
1085,
... |
return code.kcode(runtime); | return code.kcode(getRuntime()); | public IRubyObject kcode() { return code.kcode(runtime); } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyRegexp.java/clean/src/org/jruby/RubyRegexp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
417,
710,
1435,
288,
3639,
327,
981,
18,
79,
710,
12,
588,
5576,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
417,
710,
1435,
288,
3639,
327,
981,
18,
79,
710,
12,
588,
5576,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
int mxw = root.getSharedContext().getMaxWidth(); | private void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/0756aea1531c992a3edd221241cc666701847e91/LayoutLoop.java/clean/src/java/org/xhtmlrenderer/swing/LayoutLoop.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
787,
3744,
6452,
1435,
1216,
7558,
288,
3639,
1323,
261,
3767,
13,
288,
5411,
368,
57,
89,
18,
84,
2932,
20241,
364,
279,
3511,
871,
8863,
5411,
868,
2426,
1133,
6324,
273,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
787,
3744,
6452,
1435,
1216,
7558,
288,
3639,
1323,
261,
3767,
13,
288,
5411,
368,
57,
89,
18,
84,
2932,
20241,
364,
279,
3511,
871,
8863,
5411,
868,
2426,
1133,
6324,
273,
1... | |
System.out.println( functionFixer.fix( knowledgeHelperFixer.fix( ruleDescr.getConsequence() ) ) ); | private void buildConsequence( RuleDescr ruleDescr ) { // generate method // generate Invoker String classMethodName = "consequence"; StringTemplate st = ruleGroup.getInstanceOf( "consequenceMethod" ); st.setAttribute( "methodName", classMethodName ); ... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/d6b0e49e87a807d188dd0bc8080fe608d7b3dd0e/RuleBuilder.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/RuleBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1361,
442,
6178,
12,
6781,
16198,
1720,
16198,
262,
288,
3639,
368,
2103,
707,
3639,
368,
2103,
17602,
264,
3639,
514,
667,
11666,
273,
315,
591,
6178,
14432,
3639,
514,
2283,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
442,
6178,
12,
6781,
16198,
1720,
16198,
262,
288,
3639,
368,
2103,
707,
3639,
368,
2103,
17602,
264,
3639,
514,
667,
11666,
273,
315,
591,
6178,
14432,
3639,
514,
2283,
... | |
String home, file = "conf.xml"; home = System.getProperty("exist.home"); if (home == null) home = System.getProperty("user.dir"); | protected void setUp() { String home, file = "conf.xml"; home = System.getProperty("exist.home"); if (home == null) home = System.getProperty("user.dir"); try { Configuration config = new Configuration(file, home); BrokerPool.configure(1, 5, config); ... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1e821d070c5742107eea4c7170aea21a4af32da1/BFileRecoverTest.java/buggy/src/org/exist/storage/test/BFileRecoverTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
288,
3639,
514,
6382,
16,
585,
273,
315,
3923,
18,
2902,
14432,
3639,
6382,
273,
2332,
18,
588,
1396,
2932,
7398,
18,
8712,
8863,
3639,
309,
261,
8712,
422,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24292,
1435,
288,
3639,
514,
6382,
16,
585,
273,
315,
3923,
18,
2902,
14432,
3639,
6382,
273,
2332,
18,
588,
1396,
2932,
7398,
18,
8712,
8863,
3639,
309,
261,
8712,
422,
446,
... | |
public RubyFrozenException(String msg) { super(msg); | public RubyFrozenException() { | public RubyFrozenException(String msg) { super(msg); } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/9a05f18f2b6207bf93455d756436fe8f0002b542/RubyFrozenException.java/buggy/org/jruby/exceptions/RubyFrozenException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
42,
9808,
503,
12,
780,
1234,
13,
288,
3639,
2240,
12,
3576,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
42,
9808,
503,
12,
780,
1234,
13,
288,
3639,
2240,
12,
3576,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (offset == -1) text.setCursor(null); else if (item != null && item.isLinkAt(offset)) text.setCursor(handCursor); else text.setCursor(null); | if (offset == -1) { text.setCursor(null); } else if (item != null && item.isLinkAt(offset)) { text.setCursor(handCursor); } else { text.setCursor(null); } | public void mouseMove(MouseEvent e) { // Do not change cursor on drag events if (mouseDown) { if (!dragEvent) { StyledText text = (StyledText) e.widget; text.setCursor(null); } ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ProductInfoDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ProductInfoDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
7644,
7607,
12,
9186,
1133,
425,
13,
288,
7734,
368,
2256,
486,
2549,
3347,
603,
8823,
2641,
7734,
309,
261,
11697,
4164,
13,
288,
10792,
309,
16051,
15997,
1133,
13,
288,
134... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
7644,
7607,
12,
9186,
1133,
425,
13,
288,
7734,
368,
2256,
486,
2549,
3347,
603,
8823,
2641,
7734,
309,
261,
11697,
4164,
13,
288,
10792,
309,
16051,
15997,
1133,
13,
288,
134... |
public static void setupProdConfigAttributes(String serverUrl, NewBugModel model) { HashMap<String, Attribute> attributes = new HashMap<String, Attribute>(); // ATTRIBUTE: Severity Attribute a = new Attribute("Severity"); a.setParameterName("bug_severity"); // get optionValues from ProductConfiguration List<Stri... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2e572c6e48f7be2a6439bb565ee3990323af8431/BugzillaRepositoryUtil.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3845,
6459,
8401,
30683,
809,
2498,
12,
780,
3567,
1489,
16,
1908,
19865,
1488,
2284,
15329,
202,
202,
8658,
32,
780,
16,
1499,
34,
4350,
33,
2704,
8658,
32,
780,
16,
1499,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3845,
6459,
8401,
30683,
809,
2498,
12,
780,
3567,
1489,
16,
1908,
19865,
1488,
2284,
15329,
202,
202,
8658,
32,
780,
16,
1499,
34,
4350,
33,
2704,
8658,
32,
780,
16,
1499,
34... | ||
long e = ((RubyFixnum) end).getValue(); | long e = RubyNumeric.fix2long(end); | public RubyBoolean op_eqq(RubyObject obj) { RubyObject beg = getInstanceVar("begin"); RubyObject end = getInstanceVar("end"); boolean excl = getInstanceVar("excl").isTrue(); if ((beg instanceof RubyFixnum) && (obj instanceof RubyFixnum) && (end instanceof RubyFixnum)) { long b... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyRange.java/buggy/org/jruby/RubyRange.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
1061,
67,
11253,
85,
12,
54,
10340,
921,
1081,
13,
288,
3639,
19817,
921,
16847,
273,
3694,
1537,
2932,
10086,
8863,
3639,
19817,
921,
679,
273,
3694,
1537,
2932,
409,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5507,
1061,
67,
11253,
85,
12,
54,
10340,
921,
1081,
13,
288,
3639,
19817,
921,
16847,
273,
3694,
1537,
2932,
10086,
8863,
3639,
19817,
921,
679,
273,
3694,
1537,
2932,
409,
... |
public static String parameterize(String uri, Map parameters) { if (parameters.size() == 0) { return uri; } StringBuffer buffer = new StringBuffer(uri); if (uri.indexOf('?') == -1) { buffer.append('?'); } else { buffer.append('&'); } ... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/065e4579551ffad06d0851e38201efb649aa9c44/NetUtils.java/buggy/src/java/org/apache/cocoon/util/NetUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1569,
554,
12,
780,
2003,
16,
1635,
1472,
13,
288,
3639,
309,
261,
3977,
18,
1467,
1435,
422,
374,
13,
288,
5411,
327,
2003,
31,
3639,
289,
3639,
6674,
1613,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1569,
554,
12,
780,
2003,
16,
1635,
1472,
13,
288,
3639,
309,
261,
3977,
18,
1467,
1435,
422,
374,
13,
288,
5411,
327,
2003,
31,
3639,
289,
3639,
6674,
1613,
273,
394,
... | ||
s.checkRead(p); return p; | s.checkRead(path); | private final String checkRead () { SecurityManager s = System.getSecurityManager(); String p = safeCanonicalPath (); if (p == null) return null; if (s != null) s.checkRead(p); return p; } | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/13487a5ef4e62b2ad9a1836e7826c648d61b26b3/File.java/clean/libjava/java/io/File.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
514,
866,
1994,
1832,
225,
288,
565,
6036,
1318,
272,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
514,
293,
273,
4183,
15512,
743,
261,
1769,
565,
309,
261,
84,
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,
282,
3238,
727,
514,
866,
1994,
1832,
225,
288,
565,
6036,
1318,
272,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
514,
293,
273,
4183,
15512,
743,
261,
1769,
565,
309,
261,
84,
422,
446,
13,
... |
while (in.read(list) == 4) { in.seek(pos); | while ((in.length() - in.getFilePointer()) > 4) { in.read(list); in.seek((int) pos); | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessStream(id); offsets = new Vector(); byte[] list = new byte[4]; String listString; type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); ... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/2df09d33bfdc966378aae0cc09cb503afb983bc2/AVIReader.java/buggy/loci/formats/in/AVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
1862,
1228,
12,
350,
1769,
565,
8738,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
316,
273,
394,
8072,
1862,
1228,
12,
350,
1769,
565,
8738,
273,
3... |
(PsiCodeBlock) PsiTreeUtil.getParentOfType(variable, PsiCodeBlock.class); | PsiTreeUtil.getParentOfType(variable, PsiCodeBlock.class); | private static boolean isImmediatelyThrown(PsiVariable variable) { final PsiCodeBlock containingScope = (PsiCodeBlock) PsiTreeUtil.getParentOfType(variable, PsiCodeBlock.class); if (containingScope == null) { return false; } final PsiDeclarationStatement declara... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2d46d291193579a7564649b4881c7ea8e02eda5b/UnnecessaryLocalVariableInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/UnnecessaryLocalVariableInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
353,
1170,
7101,
29591,
12,
52,
7722,
3092,
2190,
13,
288,
3639,
727,
453,
7722,
1085,
1768,
4191,
3876,
273,
7734,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
6105,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
353,
1170,
7101,
29591,
12,
52,
7722,
3092,
2190,
13,
288,
3639,
727,
453,
7722,
1085,
1768,
4191,
3876,
273,
7734,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
6105,... |
} } | } } | void checkCreatePinEditorShortcutKeyHandler() { if (pinEditorHandlerActivation == null) { final Shell shell = window.getShell(); final IHandler pinEditorHandler = new AbstractHandler() { public final Object execute(final ExecutionEvent event) { // check if the "Close editors automatically" preference is ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f1c8b0aa355c00a6c82a289c808984de6778bfca/EditorManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
866,
1684,
12178,
6946,
15576,
653,
1503,
1435,
288,
202,
202,
430,
261,
13097,
6946,
1503,
14857,
422,
446,
13,
288,
1082,
202,
6385,
19433,
5972,
273,
2742,
18,
588,
13220,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
866,
1684,
12178,
6946,
15576,
653,
1503,
1435,
288,
202,
202,
430,
261,
13097,
6946,
1503,
14857,
422,
446,
13,
288,
1082,
202,
6385,
19433,
5972,
273,
2742,
18,
588,
13220,
5... |
290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 0, 0, 290, 0, 0, 0, 182, 182, 182, 0, 0, 182, 182, 182, 0, 182, 290, 290, 0, 0, 0, 290, 0, 0... | 290, 0, 216, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 0, 0, 0, 0, 0, 0, 290, 373, 373, 290, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 290, 0, 0... | private static final short[] yyTable2() { return new short[] { 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
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,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
22,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
225,
1059,
9036,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565,
374,
16,
565... |
Node html = getDocumentElement(); if (html == null) { html = createElement("html"); appendChild(html); } Node ref = getBody(); if (ref == null) { html.appendChild(body); } else { html.replaceChild(body, ref); } | public void setBody(HTMLElement body) { // TODO } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/3d741bc76ba2e5965f3a1dd186e19083091e17f9/DomHTMLDocument.java/buggy/libraries/javalib/gnu/xml/dom/html2/DomHTMLDocument.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2029,
1729,
273,
9956,
1046,
5621,
309,
261,
2620,
422,
446,
13,
288,
1729,
273,
6310,
2932,
2620,
8863,
5833,
12,
2620,
1769,
289,
2029,
1278,
273,
7587,
5621,
309,
261,
1734,
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,
2029,
1729,
273,
9956,
1046,
5621,
309,
261,
2620,
422,
446,
13,
288,
1729,
273,
6310,
2932,
2620,
8863,
5833,
12,
2620,
1769,
289,
2029,
1278,
273,
7587,
5621,
309,
261,
1734,
422,
446,
13,
... | |
} | } | public PsiDeclarationStatement createVariableDeclarationStatement(String name, PsiType type, PsiExpression initializer, boolean reformat) throws IncorrectOperationException { if (!myManager.getNameHelper().isIdentifier(name)) { throw new IncorrectOperationException("\"" + name + "\" is not an identifier.")... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/6fb34112de32a3674518635dfd63db33e534d9ac/PsiElementFactoryImpl.java/buggy/source/com/intellij/psi/impl/PsiElementFactoryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
453,
7722,
6094,
3406,
752,
26547,
3406,
12,
780,
508,
16,
453,
7722,
559,
618,
16,
453,
7722,
2300,
12562,
16,
1250,
283,
2139,
13,
565,
1216,
657,
6746,
10602,
288,
565,
309,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
453,
7722,
6094,
3406,
752,
26547,
3406,
12,
780,
508,
16,
453,
7722,
559,
618,
16,
453,
7722,
2300,
12562,
16,
1250,
283,
2139,
13,
565,
1216,
657,
6746,
10602,
288,
565,
309,
16... |
fireSelectionChanged(new SelectionChangedEvent(selectionProvider, new StructuredSelection(new BugzillaReportSelection(bug.getId(), bug.getServer(), "Description", true)))); | fireSelectionChanged(new SelectionChangedEvent(selectionProvider, new StructuredSelection(new BugzillaReportSelection(bug.getId(), bug.getServer(), "Description", true, bug.getSummary())))); | public void handleEvent(Event event) { fireSelectionChanged(new SelectionChangedEvent(selectionProvider, new StructuredSelection(new BugzillaReportSelection(bug.getId(), bug.getServer(), "Description", true)))); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/54ec5de608ea36c0046a6dfa6e33a8c42eb149a7/ExistingBugEditor.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/editor/ExistingBugEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
1133,
871,
13,
288,
1082,
202,
12179,
6233,
5033,
12,
2704,
12977,
27553,
12,
10705,
2249,
16,
394,
7362,
2862,
6233,
12,
2704,
16907,
15990,
4820,
6233,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3196,
202,
482,
918,
1640,
1133,
12,
1133,
871,
13,
288,
1082,
202,
12179,
6233,
5033,
12,
2704,
12977,
27553,
12,
10705,
2249,
16,
394,
7362,
2862,
6233,
12,
2704,
16907,
15990,
4820,
6233,
1... |
public org.quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { org.quickfix.field.LegStrikePrice value = new org.quickfix.field.LegStrikePrice(); | public quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { quickfix.field.LegStrikePrice value = new quickfix.field.LegStrikePrice(); | public org.quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { org.quickfix.field.LegStrikePrice value = new org.quickfix.field.LegStrikePrice(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralResponse.java/clean/src/java/src/quickfix/fix44/CollateralResponse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1585,
2547,
5147,
336,
8329,
1585,
2547,
5147,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1585,
2547,
5147... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1585,
2547,
5147,
336,
8329,
1585,
2547,
5147,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
1585,
2547,
5147... |
for (Iterator i = readline.getHistory().getHistoryList().iterator(); i.hasNext();) { | for (Iterator i = history.getHistoryList().iterator(); i.hasNext();) { | public static IRubyObject s_hist_to_a(IRubyObject recv) throws Exception { RubyArray histList = recv.getRuntime().newArray(); for (Iterator i = readline.getHistory().getHistoryList().iterator(); i.hasNext();) { histList.append(recv.getRuntime().newString((String) i.next())); } return histList; } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/d38821551a58969cd2593b463d93df5f32bf3c14/Readline.java/clean/src/org/jruby/ext/Readline.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
15908,
10340,
921,
272,
67,
11488,
67,
869,
67,
69,
12,
7937,
10340,
921,
10665,
13,
1216,
1185,
288,
202,
202,
54,
10340,
1076,
5356,
682,
273,
10665,
18,
588,
5576,
767... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
15908,
10340,
921,
272,
67,
11488,
67,
869,
67,
69,
12,
7937,
10340,
921,
10665,
13,
1216,
1185,
288,
202,
202,
54,
10340,
1076,
5356,
682,
273,
10665,
18,
588,
5576,
767... |
if (msgs != null) msgs.dispatch(); | if (msgs != null) msgs.dispatch(); | public void setSeriesPalette(Palette newSeriesPalette) { if (newSeriesPalette != seriesPalette) { NotificationChain msgs = null; if (seriesPalette != null) msgs = ((InternalEObject)seriesPalette).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DataPackage.SERIES_D... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/SeriesDefinitionImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SeriesDefinitionImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6485,
25863,
12,
25863,
394,
6485,
25863,
13,
565,
288,
3639,
309,
261,
2704,
6485,
25863,
480,
4166,
25863,
13,
3639,
288,
5411,
27050,
8733,
273,
446,
31,
5411,
309,
261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
6485,
25863,
12,
25863,
394,
6485,
25863,
13,
565,
288,
3639,
309,
261,
2704,
6485,
25863,
480,
4166,
25863,
13,
3639,
288,
5411,
27050,
8733,
273,
446,
31,
5411,
309,
261... |
setResizable(false); setSize (716, 515); | setResizable(true); setSize (300, 515); | NewCardDialog(Frame aParent) { //FIX: Resource super(aParent, "Card for", true);// setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); JTabbedPane tabbedPane = new JTabbedPane(); getContentPane().add(tabbedPane, BorderLayout.CENTER); //add (tabbedPane); JComponent name... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/ce31ec0ca81f17d0dd5a6c08e86c15d748a6e0e1/NewCardDialog.java/buggy/grendel/addressbook/NewCardDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1166,
6415,
6353,
12,
3219,
279,
3054,
13,
288,
3639,
368,
4563,
30,
2591,
3639,
2240,
12,
69,
3054,
16,
315,
6415,
364,
3113,
638,
1769,
759,
3639,
18479,
12,
2704,
8549,
3744,
12,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1166,
6415,
6353,
12,
3219,
279,
3054,
13,
288,
3639,
368,
4563,
30,
2591,
3639,
2240,
12,
69,
3054,
16,
315,
6415,
364,
3113,
638,
1769,
759,
3639,
18479,
12,
2704,
8549,
3744,
12,
221... |
slice(stackB, id, sizeZ, channels, sizeT, fi, r); | slice(stackB, id, sizeZ, channels, sizeT, fi, r, specifyRanges); | public void run(String arg) { // load preferences from IJ_Prefs.txt mergeChannels = Prefs.get("bioformats.mergeChannels", false); splitWindows = Prefs.get("bioformats.splitWindows", true); showMetadata = Prefs.get("bioformats.showMetadata", false); stitchFiles = Prefs.get("bioformats.stitchFiles", fals... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/52a672405d799c35eed6bc504a02253d7b41c957/Importer.java/buggy/loci/plugins/Importer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
12,
780,
1501,
13,
288,
565,
368,
1262,
12750,
628,
467,
46,
67,
1386,
2556,
18,
5830,
565,
2691,
10585,
273,
453,
9316,
18,
588,
2932,
21010,
11962,
18,
2702,
10585,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
12,
780,
1501,
13,
288,
565,
368,
1262,
12750,
628,
467,
46,
67,
1386,
2556,
18,
5830,
565,
2691,
10585,
273,
453,
9316,
18,
588,
2932,
21010,
11962,
18,
2702,
10585,
3... |
error.printStackTrace(resultWriter()); | String strace = JUnitTestRunner.getFilteredTrace(error); resultWriter().println(strace); | protected synchronized void formatError(String type, Test test, Throwable error) { if (test != null) { endTest(test); } resultWriter().println(formatTest(test) + ":" + type); resultWriter().println(error.getMessage()); error.p... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/ca333df86bd8c3dcdc4e9f67d83a2d85924b021f/BriefJUnitResultFormatter.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/junit/BriefJUnitResultFormatter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
918,
740,
668,
12,
780,
618,
16,
7766,
1842,
16,
4766,
2398,
4206,
555,
13,
288,
3639,
309,
261,
3813,
480,
446,
13,
288,
5411,
679,
4709,
12,
3813,
1769,
3639,
289,
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,
3852,
918,
740,
668,
12,
780,
618,
16,
7766,
1842,
16,
4766,
2398,
4206,
555,
13,
288,
3639,
309,
261,
3813,
480,
446,
13,
288,
5411,
679,
4709,
12,
3813,
1769,
3639,
289,
3639,
... |
try { context = new DeploymentContext(outfile, configID, ConfigurationModuleType.SERVICE, parentID, null, null, kernel); } catch (MalformedObjectNameException e) { throw new DeploymentException(e); } | context = new DeploymentContext(outfile, configID, ConfigurationModuleType.SERVICE, parentID, null, null, kernel); | public ConfigurationData buildConfiguration(Object plan, JarFile module, File outfile) throws IOException, DeploymentException { log.debug("Installing ServiceMix deployment."); Properties properties = (Properties)plan; URI[] parentID = defaultParentId; URI configID; try { ... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/a57dc9dee7817bd2973b2c035a97b085ccd0f798/ServiceMixConfigBuilder.java/buggy/modules/servicemix-builder/src/java/org/apache/geronimo/servicemix/deployment/ServiceMixConfigBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4659,
751,
1361,
1750,
12,
921,
4995,
16,
15644,
812,
1605,
16,
1387,
8756,
13,
1216,
1860,
16,
8587,
503,
288,
3639,
613,
18,
4148,
2932,
6410,
310,
1956,
21294,
6314,
1199,
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,
4659,
751,
1361,
1750,
12,
921,
4995,
16,
15644,
812,
1605,
16,
1387,
8756,
13,
1216,
1860,
16,
8587,
503,
288,
3639,
613,
18,
4148,
2932,
6410,
310,
1956,
21294,
6314,
1199,
1769,
... |
checkOnRow(); | if (!isOnInsertRow) checkOnRow(); | protected void checksBeforeUpdateOrDelete(String methodName, int columnIndex) throws SQLException { //1)Make sure JDBC ResultSet is not closed checkIfClosed(methodName); //2)Make sure this is an updatable ResultSet checkUpdatableCursor(methodName); //3)Make sure JDBC ResultSet is positioned on... | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/a1c5d5f0f4dbce02e29831beda9fa146c5f0794f/EmbedResultSet.java/buggy/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4271,
4649,
1891,
1162,
2613,
12,
780,
4918,
16,
509,
14882,
13,
1216,
6483,
288,
1377,
368,
21,
13,
6464,
3071,
16364,
10842,
353,
486,
4375,
1377,
19130,
7395,
12,
2039,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4271,
4649,
1891,
1162,
2613,
12,
780,
4918,
16,
509,
14882,
13,
1216,
6483,
288,
1377,
368,
21,
13,
6464,
3071,
16364,
10842,
353,
486,
4375,
1377,
19130,
7395,
12,
2039,... |
return DataHelper.eq(schema, a.schema) && DataHelper.eq(location, a.location) && DataHelper.eq(name, a.name); | return DataHelper.eq(schema, a.schema) && DataHelper.eq(location, a.location) && DataHelper.eq(protocol, a.protocol) && DataHelper.eq(name, a.name); | public boolean equals(Object o) { Address a = (Address)o; return DataHelper.eq(schema, a.schema) && DataHelper.eq(location, a.location) && DataHelper.eq(name, a.name); } | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/d4a859547ca96ca9352ba02dfd249ad98c3b7142/HTMLRenderer.java/buggy/apps/syndie/java/src/net/i2p/syndie/sml/HTMLRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
1606,
12,
921,
320,
13,
288,
5411,
5267,
279,
273,
261,
1887,
13,
83,
31,
5411,
327,
1910,
2276,
18,
11253,
12,
4821,
16,
279,
18,
4821,
13,
597,
1910,
2276,
18,
11253,
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,
540,
1071,
1250,
1606,
12,
921,
320,
13,
288,
5411,
5267,
279,
273,
261,
1887,
13,
83,
31,
5411,
327,
1910,
2276,
18,
11253,
12,
4821,
16,
279,
18,
4821,
13,
597,
1910,
2276,
18,
11253,
12... |
return ImageTools.getBytes(openImage(id, no), false, no); | return ImageTools.getBytes(openImage(id, no), false, no); | public byte[] openBytes(String id, int no) throws FormatException, IOException { return ImageTools.getBytes(openImage(id, no), false, no); } | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/f8fea5aec2de454fd84e68759019ac47d99be52a/LegacyZVIReader.java/buggy/loci/formats/LegacyZVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
1216,
4077,
503,
16,
1860,
225,
288,
565,
327,
3421,
10348,
18,
588,
2160,
12,
3190,
2040,
12,
350,
16,
1158,
3631,
629,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
1216,
4077,
503,
16,
1860,
225,
288,
565,
327,
3421,
10348,
18,
588,
2160,
12,
3190,
2040,
12,
350,
16,
1158,
3631,
629,
... |
if (nacks == null) { _highestAckedThrough = ackThrough; | if (ackThrough < _highestAckedThrough) { | List ackPackets(long ackThrough, long nacks[]) { if (nacks == null) { _highestAckedThrough = ackThrough; } else { long lowest = -1; for (int i = 0; i < nacks.length; i++) { if ( (lowest < 0) || (nacks[i] < lowest) ) lowest = nacks[i];... | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/9dfa87ba472f729a3c4ab5b335701b6c23b90b40/Connection.java/clean/apps/streaming/java/src/net/i2p/client/streaming/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
987,
8479,
27328,
12,
5748,
8479,
14287,
16,
1525,
290,
22098,
63,
5717,
288,
3639,
309,
261,
82,
22098,
422,
446,
13,
288,
2398,
389,
8766,
395,
11931,
329,
14287,
273,
8479,
14287,
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,
987,
8479,
27328,
12,
5748,
8479,
14287,
16,
1525,
290,
22098,
63,
5717,
288,
3639,
309,
261,
82,
22098,
422,
446,
13,
288,
2398,
389,
8766,
395,
11931,
329,
14287,
273,
8479,
14287,
31,
... |
classFile.startMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); ad... | cfw.startMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); cfw.add(ByteCode.ALOAD_0); cfw.add(ByteCode.ALOAD_1); cfw.add(ByteCode... | private void generateCode(Context cx, ScriptOrFnNode scriptOrFn, ObjArray names, ObjArray classFiles) { String superClassName; this.scriptOrFn = scriptOrFn; if (scriptOrFn.getType() == Token.FUNCTION) { inFunction = true; fnCurrent = (OptFun... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/64dc04549cad044865eae2e65e775ddc0f292717/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
1085,
12,
1042,
9494,
16,
7739,
1162,
5372,
907,
2728,
1162,
5372,
16,
17311,
18760,
1076,
1257,
16,
18760,
1076,
667,
2697,
13,
565,
288,
3639,
514,
2240,
3834,
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,
377,
3238,
918,
2103,
1085,
12,
1042,
9494,
16,
7739,
1162,
5372,
907,
2728,
1162,
5372,
16,
17311,
18760,
1076,
1257,
16,
18760,
1076,
667,
2697,
13,
565,
288,
3639,
514,
2240,
3834,
31,
3639... |
NamingException e = new NamingException( "Comparator not found for OID" ); | NamingException e = new NamingException( "Comparator not found for OID: " + oid ); | public Comparator lookup( String oid ) throws NamingException { if ( ! comparators.containsKey( oid ) ) { Comparator c = ( Comparator ) comparators.get( oid ); monitor.lookedUp( oid, c ); return c; } NamingException e = new NamingException( "Comparator... | 10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/c83e4d35c01bed94251b4d00a5b7b7cd8b53146b/BootstrapComparatorRegistry.java/clean/backend/core/src/java/org/apache/eve/schema/bootstrap/BootstrapComparatorRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13359,
3689,
12,
514,
7764,
262,
1216,
26890,
565,
288,
3639,
309,
261,
401,
8862,
87,
18,
12298,
653,
12,
7764,
262,
262,
3639,
288,
5411,
13359,
276,
273,
261,
13359,
262,
8862,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13359,
3689,
12,
514,
7764,
262,
1216,
26890,
565,
288,
3639,
309,
261,
401,
8862,
87,
18,
12298,
653,
12,
7764,
262,
262,
3639,
288,
5411,
13359,
276,
273,
261,
13359,
262,
8862,
... |
public int methodArity(int methodId) { | public int methodArity(int methodId) { | public int methodArity(int methodId) { if (prototypeFlag) { switch (methodId) { case ConstructorId_UTC: return 1; case ConstructorId_parse: return 1; case Id_constructor: return 1; case Id_toString: return 0; ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/ba8f69355a752cc7402f5b559a19be4d84c54e22/NativeDate.java/clean/js/rhino/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
11471,
30,
377,
327,
404,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
11471,
30,
377,
327,
404,
3... |
if ( metaGroupId.equals( groupDir ) ) | if ( metaGroupId != null && metaGroupId.equals( groupDir ) ) | private RepositoryMetadata buildMetadata( String repo, String metadataPath ) { RepositoryMetadata metadata = null; try { URL url = new File( repo + "/" + metadataPath ).toURL(); InputStream is = url.openStream(); Reader reader = new InputStreamReader( is ); ... | 28441 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28441/4bb48a7d7b4a2bb7b18abd3b06ea2ed70d1c261f/DefaultMetadataDiscoverer.java/buggy/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6281,
2277,
1361,
2277,
12,
514,
3538,
16,
514,
1982,
743,
262,
565,
288,
3639,
6281,
2277,
1982,
273,
446,
31,
3639,
775,
3639,
288,
5411,
1976,
880,
273,
394,
1387,
12,
3538,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6281,
2277,
1361,
2277,
12,
514,
3538,
16,
514,
1982,
743,
262,
565,
288,
3639,
6281,
2277,
1982,
273,
446,
31,
3639,
775,
3639,
288,
5411,
1976,
880,
273,
394,
1387,
12,
3538,
39... |
methods = class2.getMethods(); | methods = class2.getDeclaredMethods(); | public void testClasses() throws Exception { // Bugzilla 160913 // classes and nested classes /* Search for "Class1" */ IBinding[] class1s = pdom.findBindings(Pattern.compile("Class1"), false, INDEX_FILTER, NULL_MONITOR); assertEquals(4, class1s.length); assertTrue(class1s[0] instanceof ICPPClassType); assertTr... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c44d3fa59db3bb0df65d001427799d99502ddbc4/PDOMSearchTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/PDOMSearchTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4818,
1435,
1216,
1185,
288,
202,
202,
759,
16907,
15990,
2872,
5908,
3437,
202,
202,
759,
3318,
471,
4764,
3318,
202,
202,
20308,
5167,
364,
315,
797,
21,
6,
1195,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4818,
1435,
1216,
1185,
288,
202,
202,
759,
16907,
15990,
2872,
5908,
3437,
202,
202,
759,
3318,
471,
4764,
3318,
202,
202,
20308,
5167,
364,
315,
797,
21,
6,
1195,
... |
Preferences preferences= JavaCore.getPlugin().getPluginPreferences(); preferences.addPropertyChangeListener(fPropertyChangeListener); | public void createPartControl(Composite parent) { super.createPartControl(parent); Preferences preferences= JavaCore.getPlugin().getPluginPreferences(); preferences.addPropertyChangeListener(fPropertyChangeListener); IInformationControlCreator informationControlCreator= new IInformationControlCreator() { ... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/64e6900e232f09cd5da32c53695f901acd3d3b40/JavaEditor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
202,
202,
9565,
18,
2640,
1988,
3367,
12,
2938,
1769,
9506,
202,
12377,
12750,
33,
5110,
4670,
18,
588,
3773,
7675,
588,
3773,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
202,
202,
9565,
18,
2640,
1988,
3367,
12,
2938,
1769,
9506,
202,
12377,
12750,
33,
5110,
4670,
18,
588,
3773,
7675,
588,
3773,
12... | |
public void beforeClose(AbstractProperty.AbstractPropertyContainer container) {} | public void beforeClose(AbstractProperty.AbstractPropertyContainer container) { } | public void beforeClose(AbstractProperty.AbstractPropertyContainer container) {} | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/3ab4b24381bd6f33991f875143f64df653cbe69f/UIPropertyBinding.java/buggy/plugins/ant/src/com/intellij/lang/ant/config/impl/configuration/UIPropertyBinding.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1865,
4605,
12,
7469,
1396,
18,
7469,
1396,
2170,
1478,
13,
2618,
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,
282,
1071,
918,
1865,
4605,
12,
7469,
1396,
18,
7469,
1396,
2170,
1478,
13,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
return agent.isComplete(); | return agent.isComplete( msgid); | public boolean isComplete( int msgid ) { return agent.isComplete(); } | 9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/e0e56ec15f3a68cf477652f4b04c182908443b30/LDAPSearchListener.java/buggy/com/novell/ldap/LDAPSearchListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
1250,
353,
6322,
12,
509,
24389,
262,
377,
288,
3639,
327,
4040,
18,
291,
6322,
12,
24389,
1769,
377,
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,
1377,
1071,
1250,
353,
6322,
12,
509,
24389,
262,
377,
288,
3639,
327,
4040,
18,
291,
6322,
12,
24389,
1769,
377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
ruby.getIter().push( ruby.isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); funcall(getRuby().intern("initialize"), args); ruby.getIter().pop(); } | ruby.getIter().push( ruby.isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); funcall(getRuby().intern("initialize"), args); ruby.getIter().pop(); } | public void callInit(RubyObject[] args) { ruby.getIter().push( ruby.isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); funcall(getRuby().intern("initialize"), args); ruby.getIter().pop(); } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/buggy/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
745,
2570,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
27768,
18,
588,
2360,
7675,
6206,
12,
1082,
202,
27768,
18,
291,
1768,
6083,
1435,
692,
19817,
2360,
18,
1184... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
745,
2570,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
27768,
18,
588,
2360,
7675,
6206,
12,
1082,
202,
27768,
18,
291,
1768,
6083,
1435,
692,
19817,
2360,
18,
1184... |
int exitStatus = p.waitFor (); | int exitStatus = p.waitFor(); | public boolean run (AbstractUIProcessHandler handler, VariableSubstitutor vs) { this.handler = handler; String params[] = new String[this.arguments.size()+1]; params[0] = vs.substitute(this.filename, "plain"); int i = 1; for (Iterator arg_it = this.arguments.iterato... | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/ProcessPanelWorker.java/clean/src/lib/com/izforge/izpack/installer/ProcessPanelWorker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1086,
261,
7469,
5370,
2227,
1503,
1838,
16,
7110,
1676,
5223,
3408,
6195,
13,
565,
288,
1377,
333,
18,
4176,
273,
1838,
31,
1850,
514,
859,
8526,
273,
394,
514,
63,
2211,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1086,
261,
7469,
5370,
2227,
1503,
1838,
16,
7110,
1676,
5223,
3408,
6195,
13,
565,
288,
1377,
333,
18,
4176,
273,
1838,
31,
1850,
514,
859,
8526,
273,
394,
514,
63,
2211,
1... |
Symbol n = name (); | String n = name (); | public void print(java.io.PrintWriter ps) { ps.print ("#<procedure "); Symbol n = name (); if (n == null) ps.print ("<unnamed>"); else ps.print (n); ps.print ('>'); } | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/9933571afc04a317d6c4f5d01a969d3b5695a14e/Procedure.java/buggy/kawa/lang/Procedure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1172,
12,
6290,
18,
1594,
18,
5108,
2289,
4250,
13,
225,
288,
565,
4250,
18,
1188,
7566,
7,
32,
685,
8153,
315,
1769,
565,
514,
290,
273,
508,
261,
1769,
565,
309,
261,
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,
282,
1071,
918,
1172,
12,
6290,
18,
1594,
18,
5108,
2289,
4250,
13,
225,
288,
565,
4250,
18,
1188,
7566,
7,
32,
685,
8153,
315,
1769,
565,
514,
290,
273,
508,
261,
1769,
565,
309,
261,
82,... |
Hierarchy mdxHierarchy = lookupHierarchy(s); | OlapElement oe = lookupHierarchy(s); | public OlapElement lookupChild(SchemaReader schemaReader, String s) { Hierarchy mdxHierarchy = lookupHierarchy(s); // If the user is looking for [Marital Status].[Marital Status] we // should not return mdxHierarchy "Marital Status", because he is // looking for level - we can check t... | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/0cc18052c959f8014f772086b193e28d7a6dd66a/DimensionBase.java/buggy/src/main/mondrian/olap/DimensionBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
531,
3762,
1046,
3689,
1763,
12,
3078,
2514,
1963,
2514,
16,
514,
272,
13,
565,
288,
3639,
531,
3762,
1046,
320,
73,
273,
3689,
12074,
12,
87,
1769,
3639,
368,
971,
326,
729,
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,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
531,
3762,
1046,
3689,
1763,
12,
3078,
2514,
1963,
2514,
16,
514,
272,
13,
565,
288,
3639,
531,
3762,
1046,
320,
73,
273,
3689,
12074,
12,
87,
1769,
3639,
368,
971,
326,
729,
353,... |
JavaClass jclass = classContext.getJavaClass(); | private void analyzeMethod(ClassContext classContext, Method method) throws CFGBuilderException, DataflowAnalysisException { JavaClass jclass = classContext.getJavaClass(); if (DEBUG) System.out.println("Clearing redundant branch information"); redundantBranchList.clear(); definitelySameBranchSet.clear(); ... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/0f963842637c8667a9b0acd040f1987f65d30df9/FindNullDeref.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindNullDeref.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12375,
1305,
12,
797,
1042,
667,
1042,
16,
2985,
707,
13,
202,
3639,
1216,
7577,
1263,
503,
16,
1910,
2426,
9418,
503,
288,
202,
202,
5852,
797,
525,
1106,
273,
667,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12375,
1305,
12,
797,
1042,
667,
1042,
16,
2985,
707,
13,
202,
3639,
1216,
7577,
1263,
503,
16,
1910,
2426,
9418,
503,
288,
202,
202,
5852,
797,
525,
1106,
273,
667,
104... | |
} | } | protected WindowListener createFrameListener() { return new FrameListener(); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
6076,
2223,
752,
3219,
2223,
1435,
565,
288,
565,
327,
394,
8058,
2223,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
6076,
2223,
752,
3219,
2223,
1435,
565,
288,
565,
327,
394,
8058,
2223,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
case 0: dimOrder = "XYZCT"; break; case 1: dimOrder = "XYZCT"; break; case 3: dimOrder = "XYTCZ"; break; case 4: dimOrder = "XYZTC"; break; case 5: dimOrder = "XYTCZ"; break; case 6: dimOrder = "XYZTC"; break; case 7: dimOrder = "XYCTZ"; break; case 8: dimOrder = "XYCZT"; break; case 9: dimOrder = "XYTCZ"; break; defau... | case 0: dimOrder = "XYZCT"; break; case 1: dimOrder = "XYZCT"; break; case 3: dimOrder = "XYTCZ"; break; case 4: dimOrder = "XYZTC"; break; case 5: dimOrder = "XYTCZ"; break; case 6: dimOrder = "XYZTC"; break; case 7: dimOrder = "XYCTZ"; break; case 8: dimOrder = "XYCZT"; break; case 9: dimOrder = "XYTCZ"; break; defau... | 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(); ... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/eeb7d180f005e6ae2fd86935cddb27bf8758f621/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... |
.append(tableName) .append(" set \n"); | .append(tableName) .append(" set \n"); | protected Event generateUpdate(ObjectType type) { PriorityQueue pq = new PriorityQueue(); Map columnMap = getTablesMap(type, pq); if (columnMap == null) { return null; } Event ev = new Event(); ev.setLineInfo(type); Event oe = getSuperEvent(type, CompoundT... | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/BaseMDSQLGenerator.java/buggy/archive/core-platform/src/com/arsdigita/persistence/metadata/BaseMDSQLGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2587,
2103,
1891,
12,
17610,
618,
13,
288,
3639,
13354,
3183,
14619,
273,
394,
13354,
3183,
5621,
3639,
1635,
1057,
863,
273,
29002,
863,
12,
723,
16,
14619,
1769,
3639,
309,
261,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2587,
2103,
1891,
12,
17610,
618,
13,
288,
3639,
13354,
3183,
14619,
273,
394,
13354,
3183,
5621,
3639,
1635,
1057,
863,
273,
29002,
863,
12,
723,
16,
14619,
1769,
3639,
309,
261,
2... |
PageflowActionInterceptors.PerPageflow.PerAction perActionConfig = perActionConfigs[j]; | PerActionInterceptorConfig perActionConfig = perActionConfigs[j]; | public List/*< Interceptor >*/ getActionInterceptors() { PageFlowActionContext actionContext = PageFlowActionContext.get(); InternalConcurrentHashMap/*< String, HashMap< String, ArrayList< Interceptor > > >*/ cache = (InternalConcurrentHashMap) actionContext.getApplication().get(CACHE_A... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/74cda7c2aa1023c821782bc0e607fe2cf90d80d3/ActionInterceptorContext.java/buggy/ti/jars/core/src/java/org/apache/ti/pageflow/interceptor/action/ActionInterceptorContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
20308,
32,
23499,
405,
5549,
12473,
20540,
1435,
288,
3639,
3460,
5249,
1803,
1042,
1301,
1042,
273,
3460,
5249,
1803,
1042,
18,
588,
5621,
3639,
3186,
18521,
8658,
20308,
32,
51... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
20308,
32,
23499,
405,
5549,
12473,
20540,
1435,
288,
3639,
3460,
5249,
1803,
1042,
1301,
1042,
273,
3460,
5249,
1803,
1042,
18,
588,
5621,
3639,
3186,
18521,
8658,
20308,
32,
51... |
try { resetServer(); } catch ( IOException ex ) { connect(); resetServer(); } sendFromAddress( mail.getFromAddress() ); sendRecipients( mail.getToAddresses() ); sendRecipients( mail.getCcAddresses() ); sendRecipients( mail.getBccAddresses() ); ArrayList headers = new ArrayList() ; headers.add( "From: " + mail.getFromA... | public void sendMail(Mail mail) throws IOException { if ( sock == null ) { connect(); } try { resetServer(); } catch ( IOException ex ) { connect(); resetServer(); } sendFromAddress( mail.getFromAddress() ); send... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1b4f9a2d878ad077383741d3c606d79f9a39f52f/SMTP.java/buggy/server/src/imcode/util/net/SMTP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
6759,
12,
6759,
4791,
13,
5411,
1216,
1860,
288,
3639,
309,
261,
7313,
422,
446,
262,
288,
5411,
3077,
5621,
3639,
289,
3639,
775,
288,
5411,
2715,
2081,
5621,
3639,
289,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1366,
6759,
12,
6759,
4791,
13,
5411,
1216,
1860,
288,
3639,
309,
261,
7313,
422,
446,
262,
288,
5411,
3077,
5621,
3639,
289,
3639,
775,
288,
5411,
2715,
2081,
5621,
3639,
289,... | |
if (projectFromArchiveRadio.getSelection()) { directoryPathField.setEnabled(false); browseDirectoriesButton.setEnabled(false); archivePathField.setEnabled(true); browseArchivesButton.setEnabled(true); updateProjectsList(archivePathField.getText()); archivePathField.setFocus(); | if (projectFromDirectoryRadio.getSelection()) { directoryPathField.setEnabled(true); browseDirectoriesButton.setEnabled(true); archivePathField.setEnabled(false); browseArchivesButton.setEnabled(false); updateProjectsList(directoryPathField.getText()); directoryPathField.setFocus(); copyCheckbox.setEnabled(true); | public void widgetSelected(SelectionEvent e) { if (projectFromArchiveRadio.getSelection()) { directoryPathField.setEnabled(false); browseDirectoriesButton.setEnabled(false); archivePathField.setEnabled(true); browseArchivesButton.setEnabled(true); updateProjectsList(archivePathField.getText())... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1f9cef0d80fec51dbb76f519ef7d9496090fff3f/WizardProjectsImportPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
430,
261,
4406,
1265,
7465,
19984,
18,
588,
6233,
10756,
288,
6862,
202,
5149,
743,
974,
18,
542,
1526,
12,
5743,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
9506,
202,
430,
261,
4406,
1265,
7465,
19984,
18,
588,
6233,
10756,
288,
6862,
202,
5149,
743,
974,
18,
542,
1526,
12,
5743,
17... |
more = spans.skipTo(target); if (!more) return false; freq = 0.0f; doc = spans.doc(); while (more && spans.doc() == target) { freq += getSimilarity().sloppyFreq(spans.end() - spans.start()); more = spans.next(); | if (firstTime) { more = spans.skipTo(target); firstTime = false; | public boolean skipTo(int target) throws IOException { more = spans.skipTo(target); if (!more) return false; freq = 0.0f; doc = spans.doc(); while (more && spans.doc() == target) { freq += getSimilarity().sloppyFreq(spans.end() - spans.start()); more = spans.next(); } return more || fre... | 50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/040e9c6c9a43ca1d69cf0db21ab1a1a459e1da69/SpanScorer.java/clean/src/java/org/apache/lucene/search/spans/SpanScorer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
2488,
774,
12,
474,
1018,
13,
1216,
1860,
288,
565,
1898,
273,
12791,
18,
7457,
774,
12,
3299,
1769,
565,
309,
16051,
10161,
13,
327,
629,
31,
565,
7684,
273,
374,
18,
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,
282,
1071,
1250,
2488,
774,
12,
474,
1018,
13,
1216,
1860,
288,
565,
1898,
273,
12791,
18,
7457,
774,
12,
3299,
1769,
565,
309,
16051,
10161,
13,
327,
629,
31,
565,
7684,
273,
374,
18,
20,
... |
add(actionToolbar.getComponent(), BorderLayout.NORTH); | ImageEditorUI(BufferedImage image, EditorOptions editorOptions) { ImageDocument document = imageComponent.getDocument(); document.addChangeListener(changeListener); // Set options TransparencyChessboardOptions chessboardOptions = editorOptions.getTransparencyChessboardOptions(); G... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/75bec4a65fd718773dff53816542f3f3df895265/ImageEditorUI.java/clean/plugins/images/src/org/intellij/images/editor/impl/ImageEditorUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3421,
6946,
5370,
12,
17947,
2040,
1316,
16,
18451,
1320,
4858,
1320,
13,
288,
3639,
3421,
2519,
1668,
273,
1316,
1841,
18,
588,
2519,
5621,
3639,
1668,
18,
1289,
15744,
12,
3427,
2223,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3421,
6946,
5370,
12,
17947,
2040,
1316,
16,
18451,
1320,
4858,
1320,
13,
288,
3639,
3421,
2519,
1668,
273,
1316,
1841,
18,
588,
2519,
5621,
3639,
1668,
18,
1289,
15744,
12,
3427,
2223,
1... | |
log.error(ex); | System.err.println(ex); | public void testMultipleWriterOneReader() { AddOneItem[] adders = new AddOneItem[10]; int num_dead = 0; int num_items = 0; int items = 1000; for (int i = 0; i < adders.length; i++) { adders[i] = new AddOneItem(i, items); adders[i].start(); } while (num_items < (adders.length*items)) { try { queue.r... | 51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/5ad015d9a78e1da3350d9b398b46b2f5d4508564/QueueTest.java/clean/tests/junit/org/jgroups/tests/QueueTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
8438,
2289,
3335,
2514,
1435,
202,
95,
202,
202,
986,
3335,
1180,
8526,
527,
414,
273,
394,
1436,
3335,
1180,
63,
2163,
15533,
202,
202,
474,
818,
67,
22097,
273,
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,
1842,
8438,
2289,
3335,
2514,
1435,
202,
95,
202,
202,
986,
3335,
1180,
8526,
527,
414,
273,
394,
1436,
3335,
1180,
63,
2163,
15533,
202,
202,
474,
818,
67,
22097,
273,
3... |
String childCopyFromURL = copyFromURL == null ? null : PathUtil.append(copyFromURL, PathUtil.encode(entry.getName())); updateCopiedDirectory(childDir, "", newURL, childCopyFromURL, copyFromRevision); | if (childDir != null) { String childCopyFromURL = copyFromURL == null ? null : PathUtil.append(copyFromURL, PathUtil.encode(entry.getName())); updateCopiedDirectory(childDir, "", newURL, childCopyFromURL, copyFromRevision); } | private void updateCopiedDirectory(SVNDirectory dir, String name, String newURL, String copyFromURL, long copyFromRevision) throws SVNException { SVNEntries entries = dir.getEntries(); SVNEntry entry = entries.getEntry(name); if (entry != null) { entry.setCopied(true); if ... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/92aa3d5dc26311ee30e919b7aac6099a6a05695c/SVNCopyClient.java/clean/javasvn/src/org/tmatesoft/svn/core/wc/SVNCopyClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
28127,
2853,
12,
23927,
50,
2853,
1577,
16,
514,
508,
16,
514,
394,
1785,
16,
514,
25189,
1785,
16,
1525,
25189,
7939,
13,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
28127,
2853,
12,
23927,
50,
2853,
1577,
16,
514,
508,
16,
514,
394,
1785,
16,
514,
25189,
1785,
16,
1525,
25189,
7939,
13,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5... |
FindClassPathResult list = res; | FindClassPathResult list = res; | public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId) _key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String) _key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyObject... | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
509,
1836,
12,
921,
389,
856,
16,
1033,
389,
1132,
16,
1033,
389,
455,
13,
288,
1082,
202,
759,
19782,
326,
924,
18,
1082,
202,
54,
10340,
548,
498,
273,
446,
31,
1082,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
509,
1836,
12,
921,
389,
856,
16,
1033,
389,
1132,
16,
1033,
389,
455,
13,
288,
1082,
202,
759,
19782,
326,
924,
18,
1082,
202,
54,
10340,
548,
498,
273,
446,
31,
1082,
202... |
for (int i = 0; i < numItems; i++) if (selection.equals(designationKeys.get(i))) | for (int i = 0; i < numItems; i++) { String value = designationKeys.get(i); if (designationKey.equals(value)) { | protected void setDesignationComboBox(String selection) { int numItems = designationComboBox.getItemCount(); for (int i = 0; i < numItems; i++) if (selection.equals(designationKeys.get(i))) designationComboBox.setSelectedIndex(i); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/962ed20301959132d6786476ef45b22ce425f9b6/CommentsArea.java/buggy/findbugs/src/java5/edu/umd/cs/findbugs/gui2/CommentsArea.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
444,
15478,
367,
22199,
12,
780,
4421,
13,
288,
202,
202,
474,
818,
3126,
273,
8281,
367,
22199,
18,
588,
30687,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
15478,
367,
22199,
12,
780,
4421,
13,
288,
202,
202,
474,
818,
3126,
273,
8281,
367,
22199,
18,
588,
30687,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
... |
if (!u1[i].getName().equals(u2[i].getName())) { | String errorMessage = ""; if (u1[i] == null) { errorMessage = ("Unit " + i + " of word `" + word + "' in FastDictionary is null. "); } if (u2[i] == null) { errorMessage += ("Unit " + i + " of word `" + word + "' in FullDictionary is null."); } if (errorMessage.length() > 0) { throw new Error(errorMessage); } String nam... | private void compareUnits(String word, Unit[] u1, Unit[] u2) { if (u1.length != u2.length) { System.out.println("Different # units for " + word); } else { for (int i = 0; i < u1.length; i++) { if (!u1[i].getName().equals(u2[i].getName())) { System.out.println("Mismatched units " + u1[i].getN... | 52185 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52185/a1a3a35f98509ef3913863d8867af985b850a832/FullDictionaryTest.java/buggy/tests/knowledge/dictionary/FullDictionaryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3400,
7537,
12,
780,
2076,
16,
8380,
8526,
582,
21,
16,
202,
565,
8380,
8526,
582,
22,
13,
288,
202,
430,
261,
89,
21,
18,
2469,
480,
582,
22,
18,
2469,
13,
288,
202,
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,
377,
3238,
918,
3400,
7537,
12,
780,
2076,
16,
8380,
8526,
582,
21,
16,
202,
565,
8380,
8526,
582,
22,
13,
288,
202,
430,
261,
89,
21,
18,
2469,
480,
582,
22,
18,
2469,
13,
288,
202,
565... |
actionClear(); | actionClear(false); | public void actionExit() throws IOException { // clear temporary file and unlock resource, if in directedit mode actionClear(); if ("true".equals(getParamDirectedit())) { // redirect to the edited resource getJsp().getResponse().sendRedirect(getJsp().link(getParamResource(... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/1fb0c67350115f6ba54ef0ee1f81bf77e7ce9449/CmsDefaultPageEditor.java/clean/src/org/opencms/workplace/editor/CmsDefaultPageEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1301,
6767,
1435,
1216,
1860,
288,
3639,
368,
2424,
6269,
585,
471,
7186,
1058,
16,
309,
316,
2657,
4619,
1965,
3639,
1301,
9094,
12,
5743,
1769,
3639,
309,
7566,
3767,
9654,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1301,
6767,
1435,
1216,
1860,
288,
3639,
368,
2424,
6269,
585,
471,
7186,
1058,
16,
309,
316,
2657,
4619,
1965,
3639,
1301,
9094,
12,
5743,
1769,
3639,
309,
7566,
3767,
9654,
1... |
return (ret_value); | return (retValue); | final boolean _sendAYT(long timeout) throws IOException, IllegalArgumentException, InterruptedException { boolean ret_value = false; synchronized (_ayt_monitor) { synchronized (this) { _ayt_flag = false; _output_.write(_COMMAND_AYT); ... | 50121 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50121/9cdfe8b631f8520c9bcf72b76cc6a9e9a5392222/Telnet.java/clean/src/java/org/apache/commons/net/telnet/Telnet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
1250,
389,
4661,
5255,
56,
12,
5748,
2021,
13,
565,
1216,
1860,
16,
2754,
16,
7558,
565,
288,
3639,
1250,
325,
67,
1132,
273,
629,
31,
3639,
3852,
261,
67,
528,
88,
67,
10259,
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,
727,
1250,
389,
4661,
5255,
56,
12,
5748,
2021,
13,
565,
1216,
1860,
16,
2754,
16,
7558,
565,
288,
3639,
1250,
325,
67,
1132,
273,
629,
31,
3639,
3852,
261,
67,
528,
88,
67,
10259,
13... |
_tabs.addChangeListener(this); | public MultiEditorPane(StatusBar sb) { Argo.log.info("making MultiEditorPane"); ConfigLoader.loadTabs(_tabPanels, "multi", sb, Horizontal.getInstance()); setLayout(new BorderLayout()); add(_tabs, BorderLayout.CENTER); _tabs.addChangeListener(this); for (int i = 0; i < _tabPanels.size(); i++) { ... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/890b0af0b563f9dc149371139e528d49aed9e33e/MultiEditorPane.java/buggy/src_new/org/argouml/ui/MultiEditorPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5991,
6946,
8485,
12,
1482,
5190,
2393,
13,
288,
565,
1201,
3240,
18,
1330,
18,
1376,
2932,
19718,
5991,
6946,
8485,
8863,
565,
1903,
2886,
18,
945,
17348,
24899,
7032,
5537,
87,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5991,
6946,
8485,
12,
1482,
5190,
2393,
13,
288,
565,
1201,
3240,
18,
1330,
18,
1376,
2932,
19718,
5991,
6946,
8485,
8863,
565,
1903,
2886,
18,
945,
17348,
24899,
7032,
5537,
87,
16... | |
public Node getCommonAncestorContainer(){ | public Node getCommonAncestorContainer() { if ( fDetach ) { throw new DOMException( DOMException.INVALID_STATE_ERR, DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "INVALID_STATE_ERR", null)); } | public Node getCommonAncestorContainer(){ Vector startV = new Vector(); Node node; for (node=fStartContainer; node != null; node=node.getParentNode()) { startV.addElement(node); } Vector endV = new Vector(); for (node=fEndContainer; node != n... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/71f013fd6b6e7384ccabbd7e4ae551d04ff62e77/RangeImpl.java/clean/src/org/apache/xerces/dom/RangeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
30863,
15637,
2170,
1435,
288,
309,
261,
284,
17650,
262,
288,
604,
394,
4703,
503,
12,
4703,
503,
18,
9347,
67,
7998,
67,
9712,
16,
4703,
1079,
5074,
18,
2139,
1079,
12,
81... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
30863,
15637,
2170,
1435,
288,
309,
261,
284,
17650,
262,
288,
604,
394,
4703,
503,
12,
4703,
503,
18,
9347,
67,
7998,
67,
9712,
16,
4703,
1079,
5074,
18,
2139,
1079,
12,
81... |
if (n.id == 0) { sendRequest("PUT", "newnode", n); } else if (Main.main.ds.deleted.contains(n)) { sendRequest("DELETE", "node/"+n.id, n); | if (n.id == 0 && !n.isDeleted()) { sendRequest("PUT", "newnode", n, true); } else if (n.isDeleted()) { sendRequest("DELETE", "node/" + n.id, n, false); | public void visit(Node n) { if (n.id == 0) { sendRequest("PUT", "newnode", n); } else if (Main.main.ds.deleted.contains(n)) { sendRequest("DELETE", "node/"+n.id, n); } else { sendRequest("PUT", "node/"+n.id, n); } } | 2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/a231737ab0ede08daa1a4e4cfa2ec3780c438a88/OsmServerWriter.java/clean/src/org/openstreetmap/josm/io/OsmServerWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
12,
907,
290,
13,
288,
202,
202,
430,
261,
82,
18,
350,
422,
374,
13,
288,
1082,
202,
4661,
691,
2932,
4762,
3113,
315,
2704,
2159,
3113,
290,
1769,
202,
202,
97,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
12,
907,
290,
13,
288,
202,
202,
430,
261,
82,
18,
350,
422,
374,
13,
288,
1082,
202,
4661,
691,
2932,
4762,
3113,
315,
2704,
2159,
3113,
290,
1769,
202,
202,
97,... |
MethodDeclaration m= ASTNodeSearchUtil.getMethodDeclarationNode(getter, rewrite.getRoot()); DelegateCreator d= new DelegateMethodCreator(); d.setDeclareDeprecated(fDelegateDeprecation); d.setDeclaration(m); d.setNewElementName(newName); d.setSourceRewrite(rewrite); d.prepareDelegate(); d.createEdit(); | MethodDeclaration declaration= ASTNodeSearchUtil.getMethodDeclarationNode(getter, rewrite.getRoot()); DelegateCreator creator= new DelegateMethodCreator(); creator.setDeclareDeprecated(fDelegateDeprecation); creator.setDeclaration(declaration); creator.setNewElementName(newName); creator.setSourceRewrite(rewrite); crea... | private void addMethodDelegate(IMethod getter, String newName, CompilationUnitRewrite rewrite) throws JavaModelException { MethodDeclaration m= ASTNodeSearchUtil.getMethodDeclarationNode(getter, rewrite.getRoot()); DelegateCreator d= new DelegateMethodCreator(); d.setDeclareDeprecated(fDelegateDeprecation); d.setD... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/508ac86ab2d0b697eef508105e77e8f32c014951/RenameFieldProcessor.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
18223,
9586,
12,
45,
1305,
7060,
16,
514,
13253,
16,
22416,
2802,
19618,
10738,
13,
1216,
5110,
1488,
503,
288,
202,
202,
1305,
6094,
312,
33,
9183,
907,
2979,
1304,
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,
1152,
918,
18223,
9586,
12,
45,
1305,
7060,
16,
514,
13253,
16,
22416,
2802,
19618,
10738,
13,
1216,
5110,
1488,
503,
288,
202,
202,
1305,
6094,
312,
33,
9183,
907,
2979,
1304,
18,
... |
return method; | return method; | VM_Method getMethod () { return method; } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/8eccd357cbc5e56039b677c6615fa81668c2b790/OPT_CompilationPlan.java/clean/rvm/src/vm/compilers/optimizing/driver/OPT_CompilationPlan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
8251,
67,
1305,
6272,
1832,
288,
565,
327,
707,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
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,
8251,
67,
1305,
6272,
1832,
288,
565,
327,
707,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return new Dimension(x, y); | else { hReq = SizeRequirements.getAlignedSizeRequirements(hSizeReqs); vReq = SizeRequirements.getTiledSizeRequirements(vSizeReqs); } return new Dimension(hReq.preferred, vReq.preferred); | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; List children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { x = i... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e607bce31cfb856ba77722e6c4f9f876b63f1cf8/BoxLayout.java/clean/core/src/classpath/javax/javax/swing/BoxLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
9119,
3744,
1225,
12,
2170,
982,
13,
225,
288,
565,
309,
261,
2938,
480,
1478,
13,
1377,
604,
394,
432,
8588,
668,
2932,
5387,
982,
8863,
3639,
22300,
23576,
273,
982,
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,
282,
1071,
13037,
9119,
3744,
1225,
12,
2170,
982,
13,
225,
288,
565,
309,
261,
2938,
480,
1478,
13,
1377,
604,
394,
432,
8588,
668,
2932,
5387,
982,
8863,
3639,
22300,
23576,
273,
982,
18,
... |
} | } | getBeginIndex(){ return(ci.getBeginIndex());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
25282,
1016,
1435,
95,
225,
327,
12,
8450,
18,
588,
8149,
1016,
10663,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
25282,
1016,
1435,
95,
225,
327,
12,
8450,
18,
588,
8149,
1016,
10663,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
private ICCompletionProposal[] evalProposals(IDocument document, int pos, int length) { IRegion region; String frag = ""; // Move back the pos by one the position is 0-based if (pos > 0) { pos--; } // First, check if we're on a space or trying to open a struct/union if (pos > 1) { try { // If we're on ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/56971cf3dfe47ffbaf8f65fb51f4b021b7463892/CCompletionProcessor.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CCompletionProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
26899,
11238,
14592,
8526,
5302,
626,
22536,
12,
734,
504,
650,
1668,
16,
509,
949,
16,
509,
769,
13,
288,
202,
202,
45,
5165,
3020,
31,
202,
202,
780,
10111,
273,
1408,
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,
1152,
26899,
11238,
14592,
8526,
5302,
626,
22536,
12,
734,
504,
650,
1668,
16,
509,
949,
16,
509,
769,
13,
288,
202,
202,
45,
5165,
3020,
31,
202,
202,
780,
10111,
273,
1408,
31,
... | ||
stringBuffer.append(TEXT_204); | stringBuffer.append(TEXT_206); | public String generate(Object argument) { final StringBuffer stringBuffer = new StringBuffer(); final GenDiagram genDiagram = (GenDiagram) ((Object[]) argument)[0];final ImportAssistant importManager = (ImportAssistant) ((Object[]) argument)[1];final GenEditorGenerator editorGen = genDiagram.getEditorGen();fin... | 7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/88670058e3792eb12387f6a2bac58d878ca8f3f6/NewDiagramFileWizardGenerator.java/clean/plugins/org.eclipse.gmf.codegen.lite/src-templates/org/eclipse/gmf/codegen/templates/lite/editor/NewDiagramFileWizardGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
727,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
727,
10938,
14058,
1940,
3157,
14058,
1940,
273,
261,
7642,
14058,
1940,
13,
14015,
921... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
727,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
727,
10938,
14058,
1940,
3157,
14058,
1940,
273,
261,
7642,
14058,
1940,
13,
14015,
921... |
GrailsDomainClass domainClass = this.grailsApplication.getGrailsDomainClass("org.codehaus.groovy.grails.orm.hibernate.PersistentMethodTestClass"); GroovyObject obj = (GroovyObject)domainClass.newInstance(); obj.setProperty( "id", new Long(1) ); obj.setProperty( "firstName", "fred" ); obj.setProperty( "lastName", "flin... | GrailsDomainClass domainClass = this.grailsApplication.getGrailsDomainClass("PersistentMethodTests"); GroovyObject obj = (GroovyObject)domainClass.newInstance(); obj.setProperty( "id", new Long(1) ); obj.setProperty( "firstName", "fred" ); obj.setProperty( "lastName", "flintstone" ); obj.invokeMethod("save", null); ... | public void testGetPersistentMethod() { GrailsDomainClass domainClass = this.grailsApplication.getGrailsDomainClass("org.codehaus.groovy.grails.orm.hibernate.PersistentMethodTestClass"); GroovyObject obj = (GroovyObject)domainClass.newInstance(); obj.setProperty( "id", new Long(1) ); obj.setProperty( "firstName"... | 51826 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51826/a5c9dcc1f634b2b34633f99a226b7a489931c458/PersistentMethodTests.java/buggy/test/persistence/org/codehaus/groovy/grails/orm/hibernate/PersistentMethodTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
11906,
1305,
1435,
288,
202,
202,
14571,
14573,
3748,
797,
2461,
797,
273,
333,
18,
2752,
14573,
3208,
18,
588,
14571,
14573,
3748,
797,
2932,
3341,
18,
710,
339... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
967,
11906,
1305,
1435,
288,
202,
202,
14571,
14573,
3748,
797,
2461,
797,
273,
333,
18,
2752,
14573,
3208,
18,
588,
14571,
14573,
3748,
797,
2932,
3341,
18,
710,
339... |
setValue( ); setResultSetColumn( ); | if ( itemName.getText( ) != null && itemName.getText( ).trim( ).length( ) > 0 ) { if ( bindingColumn == null ) { newBinding.setName( itemName.getText( ) ); for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ ) { if ( DATA_TYPE_CHOICES[i].getDisplayName( ) .endsWith( itemType.getText( ) ) ) { newBinding.setDataType( DAT... | protected void save( ) throws SemanticException { setValue( ); setResultSetColumn( ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/4bc5580c6c26ba1cb9f558db9f3d1ef255754c46/DataItemBindingDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DataItemBindingDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1923,
12,
262,
1216,
24747,
503,
202,
95,
202,
202,
542,
620,
12,
11272,
202,
202,
542,
13198,
1494,
12,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1923,
12,
262,
1216,
24747,
503,
202,
95,
202,
202,
542,
620,
12,
11272,
202,
202,
542,
13198,
1494,
12,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
tdsVer = tdsVer_; | this.tdsVer = tdsVer; | public TdsComm( Socket sock, int tdsVer_ ) throws java.io.IOException { out = new DataOutputStream( sock.getOutputStream() ); in = new DataInputStream( sock.getInputStream() ); outBuffer = new byte[maxPacketLength]; inBuffer = new byte[maxPacketLength]; // Added 200... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/035709deec1c9214eeb0bf57507c4371d3d0784e/TdsComm.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsComm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
399,
2377,
12136,
12,
8758,
7313,
16,
509,
268,
2377,
3945,
67,
262,
2398,
1216,
2252,
18,
1594,
18,
14106,
565,
288,
3639,
596,
273,
394,
28680,
12,
7313,
18,
588,
4632,
1435,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
399,
2377,
12136,
12,
8758,
7313,
16,
509,
268,
2377,
3945,
67,
262,
2398,
1216,
2252,
18,
1594,
18,
14106,
565,
288,
3639,
596,
273,
394,
28680,
12,
7313,
18,
588,
4632,
1435,
11... |
super(text); if (shell == null) { throw new IllegalArgumentException(); } this.shell = shell; } | super(text); if (shell == null) { throw new IllegalArgumentException(); } this.shell = shell; } | protected WorkspaceAction(Shell shell, String text) { super(text); if (shell == null) { throw new IllegalArgumentException(); } this.shell = shell; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/53cada7d6d0463cdcb3aed320ea380f4aae64087/WorkspaceAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/WorkspaceAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
14396,
1803,
12,
13220,
5972,
16,
514,
977,
13,
288,
3639,
2240,
12,
955,
1769,
3639,
309,
261,
10304,
422,
446,
13,
288,
5411,
604,
394,
2754,
5621,
3639,
289,
3639,
333,
18,
103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
14396,
1803,
12,
13220,
5972,
16,
514,
977,
13,
288,
3639,
2240,
12,
955,
1769,
3639,
309,
261,
10304,
422,
446,
13,
288,
5411,
604,
394,
2754,
5621,
3639,
289,
3639,
333,
18,
103... |
if (!isLocal) { CSSUtilities.computeStyleAndURIs(refElement, localRefElement, uri); } | CSSUtilities.computeStyleAndURIs(refElement, localRefElement, uri); | public GraphicsNode createGraphicsNode(BridgeContext ctx, Element e) { // 'requiredFeatures', 'requiredExtensions' and 'systemLanguage' if (!SVGUtilities.matchUserAgent(e, ctx.getUserAgent())) { return null; } // get the referenced element String uri = XLinkSupport.getXLinkHref(e); if (uri.... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/0e8fac772791a058755ef5ad1de71c14544b11bb/SVGUseElementBridge.java/buggy/sources/org/apache/batik/bridge/SVGUseElementBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16830,
907,
752,
17558,
907,
12,
13691,
1042,
1103,
16,
3010,
425,
13,
288,
202,
759,
296,
4718,
8696,
2187,
296,
4718,
7513,
11,
471,
296,
4299,
3779,
11,
202,
430,
16051,
26531,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16830,
907,
752,
17558,
907,
12,
13691,
1042,
1103,
16,
3010,
425,
13,
288,
202,
759,
296,
4718,
8696,
2187,
296,
4718,
7513,
11,
471,
296,
4299,
3779,
11,
202,
430,
16051,
26531,
... |
showingBusy = false; | public void showBusy(boolean busy) { super.showBusy(busy); if(busy){ preBusyMarkers = totalMarkers; showingBusy = busy; } else{//Only bold if there has been a change in count if(showingBusy && totalMarkers != preBusyMarkers) getProgressService().wa... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3ef027d1a2e65223d0753193451268a363f758de/MarkerView.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
29289,
12,
6494,
21697,
13,
288,
3639,
2240,
18,
4500,
29289,
12,
9274,
93,
1769,
9079,
309,
12,
9274,
93,
15329,
540,
202,
1484,
29289,
21644,
273,
2078,
21644,
31,
540,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
29289,
12,
6494,
21697,
13,
288,
3639,
2240,
18,
4500,
29289,
12,
9274,
93,
1769,
9079,
309,
12,
9274,
93,
15329,
540,
202,
1484,
29289,
21644,
273,
2078,
21644,
31,
540,... | |
if (actualCe.extraDataOffset == -1) { | if (actualCe.noExtraData()) { | public IConfigurationElement[] getChildren() { ConfigurationElement actualCe = getConfigurationElement(); if (actualCe.extraDataOffset == -1) { return (IConfigurationElement[]) objectManager.getHandles(actualCe.getRawChildren(), RegistryObjectManager.CONFIGURATION_ELEMENT); } return (IConfigurationElement[]) obj... | 13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/eb88d1be51216bbe291ecaf48f22a3faf77c1e8e/ConfigurationElementHandle.java/clean/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ConfigurationElementHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1750,
1046,
8526,
10268,
1435,
288,
202,
202,
1750,
1046,
3214,
39,
73,
273,
10316,
1046,
5621,
202,
202,
430,
261,
18672,
39,
73,
18,
7763,
751,
2335,
422,
300,
21,
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,
482,
467,
1750,
1046,
8526,
10268,
1435,
288,
202,
202,
1750,
1046,
3214,
39,
73,
273,
10316,
1046,
5621,
202,
202,
430,
261,
18672,
39,
73,
18,
7763,
751,
2335,
422,
300,
21,
13,
... |
return this.dataSource; | String environment = System.getProperty(GrailsApplication.ENVIRONMENT); if(log.isDebugEnabled()) { log.debug("[GrailsApplication] Retrieving data source for environment: " + environment); } if(StringUtils.isBlank(environment)) { GrailsDataSource devDataSource = (GrailsDataSource)this.dataSourceMap.get(GrailsApplication... | public GrailsDataSource getGrailsDataSource() { return this.dataSource; } | 52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/aecd878096980b72ceddf7ab258a9a9344f916a7/DefaultGrailsApplication.java/buggy/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10812,
14573,
8597,
7162,
354,
14573,
8597,
1435,
288,
3639,
514,
3330,
273,
2332,
18,
588,
1396,
12,
14571,
14573,
3208,
18,
1157,
30417,
1769,
309,
12,
1330,
18,
291,
2829,
1526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10812,
14573,
8597,
7162,
354,
14573,
8597,
1435,
288,
3639,
514,
3330,
273,
2332,
18,
588,
1396,
12,
14571,
14573,
3208,
18,
1157,
30417,
1769,
309,
12,
1330,
18,
291,
2829,
1526,
... |
previousTracker = currentTracker; | prev = currentTracker; previousTracker = prev; | public boolean completedHandshake(long thisBootID, byte[] data, int offset, int length, BlockCipher encCipher, byte[] encKey, Peer replyTo, boolean unverified) { long now = System.currentTimeMillis(); arkFetcher.stop(); synchronized(this) { completedHandshake = true; handshakeCount = 0; ... | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/9ea509d6b77109eb95d09ad3d429f5c67c98b90b/PeerNode.java/buggy/src/freenet/node/PeerNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
5951,
14545,
12,
5748,
333,
15817,
734,
16,
1160,
8526,
501,
16,
509,
1384,
16,
509,
769,
16,
3914,
13896,
2446,
13896,
16,
1160,
8526,
2446,
653,
16,
10669,
30934,
16,
1250,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5951,
14545,
12,
5748,
333,
15817,
734,
16,
1160,
8526,
501,
16,
509,
1384,
16,
509,
769,
16,
3914,
13896,
2446,
13896,
16,
1160,
8526,
2446,
653,
16,
10669,
30934,
16,
1250,
... |
} catch ( NumberFormatException E2 ) { | } catch ( NumberFormatException E2 ) { | public Object init( InternalContextAdapter context, Object data) throws Exception { /* * init the tree correctly */ super.init( context, data ); /** * Determine the size of the item and make it an Integer, Long, or BigInteger as appropriate. */ ... | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/db561fa3a70ed2d8e5214b27d7905e75cbaa2125/ASTIntegerLiteral.java/clean/src/java/org/apache/velocity/runtime/parser/node/ASTIntegerLiteral.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1208,
12,
3186,
1042,
4216,
819,
16,
1033,
501,
13,
3639,
1216,
1185,
565,
288,
3639,
1748,
540,
380,
225,
1208,
326,
2151,
8783,
540,
1195,
3639,
2240,
18,
2738,
12,
819,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
12,
3186,
1042,
4216,
819,
16,
1033,
501,
13,
3639,
1216,
1185,
565,
288,
3639,
1748,
540,
380,
225,
1208,
326,
2151,
8783,
540,
1195,
3639,
2240,
18,
2738,
12,
819,
1... |
CheckOutScmResult result; | CheckOutScmResult result = null; String errorMessage = null; Throwable exception = null; | public void executeTask( Task t ) throws TaskExecutionException { CheckOutTask task = (CheckOutTask) t; String projectId = task.getProjectId(); File workingDirectory = task.getWorkingDirectory(); ContinuumProject project; try { project = store.getProjec... | 48499 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48499/9810f8a79e9e4c9e52105cd9f3b5ad9ee88234b1/CheckOutTaskExecutor.java/buggy/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/CheckOutTaskExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
2174,
12,
3837,
268,
262,
3639,
1216,
3837,
14576,
565,
288,
3639,
2073,
1182,
2174,
1562,
273,
261,
1564,
1182,
2174,
13,
268,
31,
3639,
514,
9882,
273,
1562,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
2174,
12,
3837,
268,
262,
3639,
1216,
3837,
14576,
565,
288,
3639,
2073,
1182,
2174,
1562,
273,
261,
1564,
1182,
2174,
13,
268,
31,
3639,
514,
9882,
273,
1562,
18,
588,
... |
mouseInputListener = new MouseInputHandler(null, null, null); | mouseListener = createMouseListener(); | public BasicTreeUI() { validCachedPreferredSize = false; drawingCache = new Hashtable(); nodeDimensions = createNodeDimensions(); configureLayoutCache(); propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); treeSelectionListener = createTreeSelectionLis... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
7651,
2471,
5370,
1435,
225,
288,
565,
923,
9839,
16028,
1225,
273,
629,
31,
565,
16327,
1649,
273,
394,
18559,
5621,
565,
756,
10796,
273,
24584,
10796,
5621,
565,
5068,
3744,
1649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
7651,
2471,
5370,
1435,
225,
288,
565,
923,
9839,
16028,
1225,
273,
629,
31,
565,
16327,
1649,
273,
394,
18559,
5621,
565,
756,
10796,
273,
24584,
10796,
5621,
565,
5068,
3744,
1649,
... |
assertEquals(ToolWindowGroupEvent.Id.GROUP_HIDED, listener.getLastEvent().getId()); | assertEquals(ToolWindowGroupEvent.ActionId.GROUP_HIDED, listener.getLastEvent().getId()); | public void testGroupHided() { ToolWindow tool = toolWindowManager.registerToolWindow( "test", "title", null, new JLabel("Test"), ToolWindowAnchor.TOP ); ToolWindowGroup group = toolWindowManager.getToolWindowGroup("main"); TestToolWindowGroupListener listener = new TestTo... | 51282 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51282/57a407dc329b3647060b6a1165a8a1233b1f2fee/TestTWGroupListener.java/clean/mydoggy-plaf/src/test/java/org/noos/xing/mydoggy/plaf/TestTWGroupListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1114,
44,
13898,
1435,
288,
3639,
13288,
3829,
5226,
273,
5226,
3829,
1318,
18,
4861,
6364,
3829,
12,
7734,
315,
3813,
3113,
315,
2649,
3113,
446,
16,
394,
21403,
2932,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1114,
44,
13898,
1435,
288,
3639,
13288,
3829,
5226,
273,
5226,
3829,
1318,
18,
4861,
6364,
3829,
12,
7734,
315,
3813,
3113,
315,
2649,
3113,
446,
16,
394,
21403,
2932,
4... |
if (log.isDebugEnabled()) { log.debug("snmpTrapOID: " + snmpTrapOidValue); } int length = snmpTrapOidValue.length(); int lastIndex = snmpTrapOidValue.lastIndexOf(DOT_CHAR); String lastSubIdStr = snmpTrapOidValue.substring(lastIndex + 1); int lastSubId = -1; try { lastSubId = Integer.parseInt(lastSubIdStr); } catch ... | } if (log.isDebugEnabled()) { log.debug("snmp specific/generic/eid: " + snmpInfo.getSpecific() + "\t" + snmpInfo.getGeneric() + "\t" + snmpInfo.getId()); } snmpInfo.setVersion("v2"); snmpInfo.setCommunity(new String(info.getCommunity().getString())); event.setSnmp(snmpInfo); Parms parms = new Parms(); for (int ... | private void process(V2TrapInformation info) { Category log = ThreadCategory.getInstance(getClass()); SnmpPduPacket pdu = info.getPdu(); InetAddress agent = info.getAgent(); // // verify the type // if (pdu.typeId() != (byte) (SnmpPduPacket.V2TRAP)) { // if not V2 trap, do nothing log.warn("Received not SNM... | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/3dd7eec7d966bc726092ffc7f3b8c3e87d53ff48/TrapQueueProcessor.java/clean/src/services/org/opennms/netmgt/trapd/TrapQueueProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1207,
12,
58,
22,
56,
1266,
5369,
1123,
13,
288,
202,
202,
4457,
613,
273,
4884,
4457,
18,
588,
1442,
12,
588,
797,
10663,
202,
202,
10461,
1291,
52,
2544,
6667,
21160,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1207,
12,
58,
22,
56,
1266,
5369,
1123,
13,
288,
202,
202,
4457,
613,
273,
4884,
4457,
18,
588,
1442,
12,
588,
797,
10663,
202,
202,
10461,
1291,
52,
2544,
6667,
21160,
... |
throw new RuntimeException("Failed to resolve resource ", e); | throw new RuntimeException("Failed to resolve resource "+cr, e); | public boolean isContentFromReader(Entity cr) { ContentResource contentResource; try { contentResource = contentHostingService.getResource(cr.getId()); } catch (Exception e) { throw new RuntimeException("Failed to resolve resource ", e); } if (contentResource.getContentLength() > readerSizeLimit) return tr... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/85743a795df17f4e4b25d2f0b97395cbfff155e5/ContentHostingContentProducer.java/clean/search/search-impl/impl/src/java/org/sakaiproject/search/component/adapter/contenthosting/ContentHostingContentProducer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
1350,
1265,
2514,
12,
1943,
4422,
13,
202,
95,
202,
202,
1350,
1420,
913,
1420,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
1745,
1420,
273,
913,
2594,
310,
1179,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
353,
1350,
1265,
2514,
12,
1943,
4422,
13,
202,
95,
202,
202,
1350,
1420,
913,
1420,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
1745,
1420,
273,
913,
2594,
310,
1179,
... |
return IDREFDatatypeValidator.IDREF_CLEAR; } | return IDREFDatatypeValidator.IDREF_CLEAR; } | public int getDatatypeState(){ return IDREFDatatypeValidator.IDREF_CLEAR; } | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/f2b9ad84920b2015a53c9a67b4dfb5460fa0465e/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
565,
24211,
6361,
1119,
1435,
95,
5411,
327,
1599,
10771,
20228,
5126,
18,
734,
10771,
67,
23181,
985,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
565,
24211,
6361,
1119,
1435,
95,
5411,
327,
1599,
10771,
20228,
5126,
18,
734,
10771,
67,
23181,
985,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); | private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/3db37517e6873d11567ee5822e769ab058e1abed/ROIResults.java/buggy/SRC/org/openmicroscopy/shoola/agents/roi/results/ROIResults.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
1361,
5661,
2992,
5537,
12,
1457,
45,
2577,
88,
12418,
3325,
16,
16011,
1318,
709,
16,
19694,
509,
963,
56,
16,
509,
963,
62,
13,
565,
288,
3639,
804,
5661,
2992,
8485,
109... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24048,
1361,
5661,
2992,
5537,
12,
1457,
45,
2577,
88,
12418,
3325,
16,
16011,
1318,
709,
16,
19694,
509,
963,
56,
16,
509,
963,
62,
13,
565,
288,
3639,
804,
5661,
2992,
8485,
109... | |
synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { | synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { | void addListenerToFamily(Object family, IJobBusyListener listener) { synchronized (familyKey) { Collection currentListeners; if (familyListeners.containsKey(family)) { currentListeners = (Collection) familyListeners.get(family); } else { currentListeners = new HashSet(); } ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/0e7fbc26f7d1b7769a0721c71fd17572c8432fd5/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
12087,
774,
9203,
12,
921,
6755,
16,
467,
2278,
29289,
2223,
2991,
13,
288,
3639,
3852,
261,
9309,
653,
13,
288,
5411,
2200,
783,
5583,
31,
5411,
309,
261,
9309,
5583,
18,
12298,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
12087,
774,
9203,
12,
921,
6755,
16,
467,
2278,
29289,
2223,
2991,
13,
288,
3639,
3852,
261,
9309,
653,
13,
288,
5411,
2200,
783,
5583,
31,
5411,
309,
261,
9309,
5583,
18,
12298,
6... |
this.writePermanentRedirect(ctx, "Not enough meta-strings", '/' + URLEncoder.encode(key.toString(false)) + '/'); | this.writePermanentRedirect(ctx, "Not enough meta-strings", '/' + key.toString(false) + '/' + override); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTab... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/58e844dc77aa5d1ee9f4952f22f0f7b6b8469457/FProxyToadlet.java/clean/src/freenet/clients/http/FProxyToadlet.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,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
759,
780,
1165... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.