rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
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.resolveFromJavaFile(sc); sc.setApplicationClass(); } catch(InternalCompilerError e) { throw new InternalCompilerError(e.message()+" while resolving "+sc.getName(), e.position(), e.getCause()); } catch(Throwable e) { throw new InternalCompilerError("exception while resolving "+sc.getName(),e); } }
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, 8222, 2932, 7818, 6282, 306, 2080, 20011, 9183, 14542, 315, 397, 2658, 11272, 202, 202, 780, 2252, 3834, 273, 4998, 5786, 18, 90, 7675, 588, 1830, 22581, 12, 12434, 1769, 202, 202, 907, 290, 273, 261, 907, 13, 667, 67, 869, 67, 689, 18, 588, 12, 6290, 3834, 1769, 202, 202, 455, 18, 542, 21385, 12, 82, 1769, 202, 202, 455, 18, 10828, 1265, 5852, 812, 12, 1017, 1769, 202, 202, 1017, 18, 542, 3208, 797, 5621, 202, 565, 289, 1044, 12, 3061, 9213, 668, 425, 13, 288, 202, 202, 12849, 394, 3186, 9213, 668, 12, 73, 18, 2150, 1435, 9078, 1323, 17188, 13773, 1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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 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, 8222, 2932, 7818, 6282, 306, 2080, 20011, 9183, 14542, 315, 397, 2658, 11272, 202, 202, 780, 2252, 3834, 273, 4998, 5786, 18, 90, 7675, 588, 1830, 22581, 12, 12434, 1769, 202, 202, 907, 290, 273, 261, 907, 13, 667, 67, 869, 67, 689, 18, 588, 12, 6290, 3834, 1769, 202, 202, 455, 18, 542, 21385, 12, 82, 1769, 202, 202, 455, 18, 10828, 1265, 5852, 812, 12, 1017, 1769, 202, 202, 1017, 18, 542, 3208, 797, 5621, 202, 565, 289, 1044, 12, 2 ]
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) { return 1; } if (f1 < f2) { return -1; } if (f1V==f2V){ return 0; } return (f1V < f2V) ? -1 : 1; } catch (NumberFormatException e){ //REVISIT: should we throw exception?? return -1; } }
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, 12, 1132, 22, 2934, 5659, 620, 5621, 17655, 21, 58, 33, 4723, 18, 5659, 17864, 6495, 12, 74, 21, 1769, 17655, 22, 58, 33, 4723, 18, 5659, 17864, 6495, 12, 74, 22, 1769, 430, 12, 74, 21, 34, 74, 22, 15329, 2463, 21, 31, 97, 430, 12, 74, 21, 32, 74, 22, 15329, 2463, 17, 21, 31, 97, 430, 12, 74, 21, 58, 631, 74, 22, 58, 15329, 2463, 20, 31, 97, 2463, 12, 74, 21, 58, 32, 74, 22, 58, 9945, 17, 21, 30, 21, 31, 97, 14683, 12, 1854, 9291, 73, 15329, 759, 862, 26780, 1285, 30, 13139, 91, 546, 492, 4064, 14646, 2463, 17, 21, 31, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 12, 1132, 22, 2934, 5659, 620, 5621, 17655, 21, 58, 33, 4723, 18, 5659, 17864, 6495, 12, 74, 21, 1769, 17655, 22, 58, 33, 4723, 18, 5659, 17864, 6495, 12, 74, 22, 1769, 430, 12, 74, 21, 34, 74, 22, 15329, 2463, 21, 31, 97, 430, 12, 74, 21, 32, 74, 22, 15329, 2463, 17, 21, 31, 97, 430, 12, 74, 21, 58, 631, 74, 22, 58, 15329, 2463, 20, 31, 97, 2463, 12, 74, 21, 58, 32, 74, 22, 58, 9945, 2 ]
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 type = gdkEvent.type != OS.GDK_2BUTTON_PRESS ? SWT.MouseDown : SWT.MouseDoubleClick; sendMouseEvent (type, button, event); /* * It is possible that the shell may be * disposed at this point. If this happens * don't send the activate and deactivate * events. */ if (!shell.isDisposed ()) { shell.setActiveControl (this); } return 0;}
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, 2883, 1133, 3616, 261, 1769, 202, 4618, 18, 3917, 8501, 261, 75, 2883, 1133, 16, 871, 16, 611, 2883, 1133, 3616, 18, 1467, 792, 1769, 202, 5417, 18, 15997, 1685, 60, 273, 261, 474, 13, 314, 2883, 1133, 18, 92, 31, 202, 5417, 18, 15997, 1685, 61, 273, 261, 474, 13, 314, 2883, 1133, 18, 93, 31, 202, 5417, 18, 15997, 1998, 273, 629, 31, 202, 474, 3568, 273, 314, 2883, 1133, 18, 5391, 31, 202, 474, 618, 273, 314, 2883, 1133, 18, 723, 480, 5932, 18, 43, 3398, 67, 22, 20068, 67, 22526, 692, 348, 8588, 18, 9186, 4164, 294, 348, 8588, 18, 9186, 5265, 6563, 31, 202, 4661, 9186, 1133, 261, 723, 16, 3568, 16, 871, 1769, 202, 202, 20308, 202, 14, 2597, 353, 3323, 716, 326, 5972, 2026, 506, 202, 14, 1015, 7423, 622, 333, 1634, 18, 225, 971, 333, 10555, 202, 14, 2727, 1404, 1366, 326, 10235, 471, 18790, 202, 14, 2641, 18, 202, 5549, 202, 202, 430, 16051, 10304, 18, 291, 1669, 7423, 1832, 13, 288, 202, 202, 10304, 18, 542, 3896, 3367, 261, 2211, 1769, 202, 97, 202, 2463, 374, 31, 97, 2, 0, 0, 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, 261, 75, 2883, 1133, 16, 871, 16, 611, 2883, 1133, 3616, 18, 1467, 792, 1769, 202, 5417, 18, 15997, 1685, 60, 273, 261, 474, 13, 314, 2883, 1133, 18, 92, 31, 202, 5417, 18, 15997, 1685, 61, 273, 261, 474, 13, 314, 2883, 1133, 18, 93, 31, 202, 5417, 18, 15997, 1998, 273, 629, 31, 202, 474, 3568, 273, 314, 2883, 1133, 18, 5391, 31, 202, 474, 618, 273, 314, 2883, 1133, 18, 2 ]
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 items.id FROM items WHERE items.category=? AND end_date>=NOW() LIMIT ?,?"); stmt.setInt(1, categoryId.intValue()); stmt.setInt(2, nbOfRows); // PostgreSQL stmt.setInt(3, startingRow); ResultSet rs = stmt.executeQuery(); // Build the vector of primary keys while (rs.next()) { ItemPK iPK = new ItemPK(new Integer(rs.getInt("id"))); v.addElement((Object)iPK); }; } catch (SQLException e) { throw new EJBException("Failed to executeQuery " +e); } finally { try { if (stmt != null) stmt.close(); // close statement if (conn != null) conn.close(); // release connection } catch (Exception ignore) { } } return v; }
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, 446, 31, 565, 5589, 331, 273, 394, 5589, 12, 6423, 951, 4300, 1769, 565, 775, 377, 288, 1377, 1487, 273, 10233, 18, 588, 1952, 5621, 1377, 3480, 273, 1487, 18, 9366, 3406, 2932, 4803, 1516, 18, 350, 4571, 1516, 4852, 1516, 18, 4743, 17282, 4116, 679, 67, 712, 34, 33, 27091, 1435, 13319, 20033, 7225, 1769, 1377, 3480, 18, 542, 1702, 12, 21, 16, 28311, 18, 474, 620, 10663, 1377, 3480, 18, 542, 1702, 12, 22, 16, 4264, 951, 4300, 1769, 368, 26447, 1377, 3480, 18, 542, 1702, 12, 23, 16, 5023, 1999, 1769, 1377, 10842, 3597, 273, 3480, 18, 8837, 1138, 5621, 1377, 368, 3998, 326, 3806, 434, 3354, 1311, 1377, 1323, 261, 5453, 18, 4285, 10756, 4202, 288, 3639, 4342, 8784, 277, 8784, 273, 394, 4342, 8784, 12, 2704, 2144, 12, 5453, 18, 588, 1702, 2932, 350, 6, 3719, 1769, 3639, 331, 18, 1289, 1046, 12443, 921, 13, 277, 8784, 1769, 1377, 289, 31, 565, 289, 565, 1044, 261, 23116, 425, 13, 565, 288, 1377, 604, 394, 12157, 503, 2932, 2925, 358, 14304, 315, 397, 73, 1769, 565, 289, 565, 3095, 565, 288, 1377, 775, 4202, 288, 3639, 309, 261, 10589, 480, 446, 13, 3480, 18, 4412, 5621, 202, 759, 1746, 3021, 3639, 309, 261, 4646, 480, 446, 13, 1487, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 446, 31, 565, 5589, 331, 273, 394, 5589, 12, 6423, 951, 4300, 1769, 565, 775, 377, 288, 1377, 1487, 273, 10233, 18, 588, 1952, 5621, 1377, 3480, 273, 1487, 18, 9366, 3406, 2932, 4803, 1516, 18, 350, 4571, 1516, 4852, 1516, 18, 4743, 17282, 4116, 679, 67, 712, 34, 33, 27091, 1435, 13319, 20033, 7225, 1769, 1377, 3480, 18, 542, 1702, 12, 21, 16, 28311, 18, 474, 620, 10663, 1377, 3480, 18, 542, 1702, 12, 22, 16, 4264, 951, 4300, 1769, 368, 26447, 1377, 2 ]
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; String labelText = ((ILabelProvider) ((StructuredViewer) viewer) .getLabelProvider()).getText(element); if(labelText == null) return false; return match(labelText); }
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, 263, 588, 1350, 2249, 1435, 2934, 588, 4212, 12, 2956, 1769, 3639, 309, 14015, 5906, 480, 446, 13, 597, 261, 5906, 18, 2469, 405, 374, 3719, 5411, 327, 1034, 12, 25256, 16, 930, 16, 2325, 2934, 2469, 405, 374, 31, 3639, 514, 1433, 1528, 273, 14015, 45, 2224, 2249, 13, 14015, 30733, 18415, 13, 14157, 13, 7734, 263, 588, 2224, 2249, 1435, 2934, 588, 1528, 12, 2956, 1769, 3639, 309, 12, 1925, 1528, 422, 446, 13, 540, 202, 2463, 629, 31, 3639, 327, 845, 12, 1925, 1528, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 263, 588, 1350, 2249, 1435, 2934, 588, 4212, 12, 2956, 1769, 3639, 309, 14015, 5906, 480, 446, 13, 597, 261, 5906, 18, 2469, 405, 374, 3719, 5411, 327, 1034, 12, 25256, 16, 930, 16, 2325, 2934, 2469, 405, 374, 31, 3639, 514, 1433, 1528, 273, 14015, 45, 2224, 2249, 13, 14015, 30733, 18415, 13, 14157, 13, 7734, 263, 588, 2224, 2249, 1435, 2934, 588, 1528, 12, 2956, 1769, 3639, 309, 12, 1925, 1528, 422, 446, 13, 540, 202, 2463, 629, 31, 3639, 327, 845, 12, 2 ]
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 (c.isDefinedLocally( name) ) throw new SemanticException("Duplicate declaration of \"" + name + "\""); /* If it is a constant numeric expression (final + initializer is * IntLiteral) then mark it "constant" under FieldInstance. */ // FIXME other literal types? FieldInstance fi = new FieldInstance( name, vdsEnclosing.typeForDeclarator(this), null, vdsEnclosing.accessFlags); if( initializer instanceof IntLiteral && initializer != null && vdsEnclosing.accessFlags.isFinal()) { fi.setConstantValue( new Long( ((IntLiteral)initializer).getLongValue())); } c.addSymbol( name, fi); } if (initializer != null) { Type type = vdsEnclosing.typeForDeclarator( this ); if( !c.getTypeSystem().isImplicitCastValid( initializer.getCheckedType(), type)) { throw new SemanticException( "The type of the variable initializer " + "\"" + initializer.getCheckedType().getTypeString() + "\" does not match that of the declaration \"" + type.getTypeString() + "\"."); } } return this; }
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, 1377, 1748, 5098, 527, 358, 819, 309, 4832, 279, 707, 16, 20356, 279, 1191, 2190, 3639, 380, 8266, 18, 1195, 1377, 309, 12, 276, 18, 588, 3935, 1305, 1435, 480, 446, 13, 288, 3639, 309, 261, 71, 18, 291, 8116, 1333, 1230, 12, 508, 13, 262, 1850, 604, 394, 24747, 503, 2932, 11826, 8266, 434, 11843, 397, 4766, 4202, 508, 397, 11143, 1769, 5375, 1748, 971, 518, 353, 279, 5381, 6389, 2652, 261, 6385, 397, 12562, 353, 1850, 380, 3094, 6177, 13, 1508, 2267, 518, 315, 14384, 6, 3613, 2286, 1442, 18, 1195, 3639, 368, 9852, 1308, 7158, 1953, 35, 3639, 2286, 1442, 7314, 273, 394, 2286, 1442, 12, 508, 16, 4766, 9079, 331, 2377, 21594, 18, 723, 1290, 31419, 12, 2211, 3631, 4766, 9079, 446, 16, 331, 2377, 21594, 18, 3860, 5094, 1769, 3639, 309, 12, 12562, 1276, 6805, 10882, 6177, 2398, 597, 12562, 480, 446, 597, 331, 2377, 21594, 18, 3860, 5094, 18, 291, 7951, 10756, 288, 1850, 7314, 18, 542, 6902, 620, 12, 394, 3407, 12, 4766, 14015, 1702, 6177, 13, 22181, 2934, 588, 3708, 620, 1435, 10019, 540, 289, 3639, 276, 18, 1289, 5335, 12, 508, 16, 7314, 1769, 1377, 289, 5411, 309, 261, 22181, 480, 446, 13, 288, 3639, 1412, 618, 273, 331, 2377, 21594, 18, 723, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1377, 1748, 5098, 527, 358, 819, 309, 4832, 279, 707, 16, 20356, 279, 1191, 2190, 3639, 380, 8266, 18, 1195, 1377, 309, 12, 276, 18, 588, 3935, 1305, 1435, 480, 446, 13, 288, 3639, 309, 261, 71, 18, 291, 8116, 1333, 1230, 12, 508, 13, 262, 1850, 604, 394, 24747, 503, 2932, 11826, 8266, 434, 11843, 397, 4766, 4202, 508, 397, 11143, 1769, 5375, 1748, 971, 518, 353, 279, 5381, 6389, 2652, 261, 6385, 397, 12562, 353, 1850, 380, 3094, 6177, 13, 1508, 2267, 2 ]
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 : //CountryDetail case 0x0334 : //OriginCountryDetail case 0x02B2 : //WorkCountryDetail result.writeUShort(getCountryCode(((ServerStoredDetails.LocaleDetail)detail).getLocale()));break; case 0x0186 : //SpokenLanguageDetail writeLanguageCode((ServerStoredDetails.LocaleDetail)detail, result); case 0x017C : //GenderDetail writeGenderCode((ServerStoredDetails.GenderDetail)detail, result); case 0x023A : //BirthDateDetail writeCalendarCode((ServerStoredDetails.CalendarDetail)detail, result); case 0x01CC : //WorkOcupationDetail writeOccupationCode((WorkOcupationDetail)detail, result); case 0x01EA : //InterestDetail writeInterestCode((InterestDetail)detail, result); default : writeGenericDetail(detail, result); } return result; }
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, 18, 588, 797, 1435, 3719, 63, 21, 15533, 3639, 27931, 56, 3070, 563, 273, 394, 27931, 56, 3070, 12443, 12, 474, 63, 5717, 4127, 2016, 18, 588, 12, 8992, 18, 588, 797, 1435, 3719, 63, 21, 19226, 3639, 1620, 12, 723, 951, 6109, 13, 3639, 288, 5411, 648, 374, 92, 1611, 37, 24, 294, 368, 8142, 6109, 5411, 648, 374, 92, 15265, 24, 294, 368, 7571, 8142, 6109, 5411, 648, 374, 92, 3103, 38, 22, 294, 368, 2421, 8142, 6109, 7734, 563, 18, 2626, 57, 4897, 12, 588, 26870, 12443, 12, 2081, 18005, 3790, 18, 3916, 6109, 13, 8992, 2934, 588, 3916, 1435, 10019, 8820, 31, 5411, 648, 374, 92, 1611, 5292, 294, 368, 3389, 969, 3779, 6109, 7734, 1045, 20362, 12443, 2081, 18005, 3790, 18, 3916, 6109, 13, 8992, 16, 563, 1769, 8820, 31, 5411, 648, 374, 92, 1611, 27, 39, 294, 368, 43, 2345, 6109, 7734, 1045, 43, 2345, 1085, 12443, 2081, 18005, 3790, 18, 43, 2345, 6109, 13, 8992, 16, 563, 1769, 5411, 648, 374, 92, 3103, 23, 37, 294, 368, 25791, 1626, 6109, 7734, 1045, 7335, 1085, 12443, 2081, 18005, 3790, 18, 7335, 6109, 13, 8992, 16, 563, 1769, 5411, 648, 374, 92, 1611, 6743, 294, 368, 2421, 51, 71, 416, 367, 6109, 7734, 1045, 24269, 416, 367, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18, 588, 797, 1435, 3719, 63, 21, 15533, 3639, 27931, 56, 3070, 563, 273, 394, 27931, 56, 3070, 12443, 12, 474, 63, 5717, 4127, 2016, 18, 588, 12, 8992, 18, 588, 797, 1435, 3719, 63, 21, 19226, 3639, 1620, 12, 723, 951, 6109, 13, 3639, 288, 5411, 648, 374, 92, 1611, 37, 24, 294, 368, 8142, 6109, 5411, 648, 374, 92, 15265, 24, 294, 368, 7571, 8142, 6109, 5411, 648, 374, 92, 3103, 38, 22, 294, 368, 2421, 8142, 6109, 7734, 563, 18, 2626, 2 ]
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, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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[] = null; int editorLocation[] = null; String folder = System.getProperty("user.dir"); String name = null; boolean present = false; Color presentColor = Color.BLACK; Color stopColor = Color.GRAY; GraphicsDevice displayDevice = null; String param = null, value = null; int argIndex = 0; while (argIndex < args.length) { int equals = args[argIndex].indexOf('='); if (equals != -1) { param = args[argIndex].substring(0, equals); value = args[argIndex].substring(equals + 1); if (param.equals(ARGS_EDITOR_LOCATION)) { external = true; editorLocation = toInt(split(value, ',')); } else if (param.equals(ARGS_DISPLAY)) { int deviceIndex = Integer.parseInt(value) - 1; //DisplayMode dm = device.getDisplayMode(); //if ((dm.getWidth() == 1024) && (dm.getHeight() == 768)) { GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice devices[] = environment.getScreenDevices(); if ((deviceIndex >= 0) && (deviceIndex < devices.length)) { displayDevice = devices[deviceIndex]; } else { System.err.println("Display " + value + " does not exist, " + "using the default display instead."); } } else if (param.equals(ARGS_PRESENT_BGCOLOR)) { if (value.charAt(0) == '#') value = value.substring(1); presentColor = new Color(Integer.parseInt(value, 16)); } else if (param.equals(ARGS_PRESENT_STOP_COLOR)) { if (value.charAt(0) == '#') value = value.substring(1); stopColor = new Color(Integer.parseInt(value, 16)); } else if (param.equals(ARGS_SKETCH_FOLDER)) { folder = value; } else if (param.equals(ARGS_LOCATION)) { location = toInt(split(value, ',')); } } else { if (args[argIndex].equals(ARGS_PRESENT)) { present = true; } else if (args[argIndex].equals(ARGS_EXTERNAL)) { external = true; } else { name = args[argIndex]; break; } } argIndex++; } Frame frame = null; //new Frame(); if (displayDevice != null) { //GraphicsConfiguration gc = displayDevice.getDefaultConfiguration(); //frame = new Frame(gc); frame = new Frame(displayDevice.getDefaultConfiguration()); //println(displayDevice.getDefaultConfiguration()); } else { frame = new Frame(); } Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); frame.setResizable(false); // remove the grow box //frame.pack(); // get insets. get more. Class c = Class.forName(name); PApplet applet = (PApplet) c.newInstance(); // these are needed before init/start applet.frame = frame; applet.folder = folder; applet.args = PApplet.subset(args, 1); applet.init(); // wait until the applet has figured out its width // hoping that this won't hang if the applet has an exception while ((applet.width == 0) && !applet.finished) { try { Thread.sleep(5); } catch (InterruptedException e) { } } if (present) { frame.setUndecorated(true); frame.setBackground(presentColor); //println("background color should be " + presentColor); displayDevice.setFullScreenWindow(frame); frame.add(applet); Dimension fullscreen = frame.getSize(); //System.out.println("frame size is " + fullscreen); applet.setBounds((fullscreen.width - applet.width) / 2, (fullscreen.height - applet.height) / 2, applet.width, applet.height); //println("applet bounds now " + applet.getBounds()); if (external) { Label label = new Label("stop"); label.setForeground(stopColor); label.addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { System.exit(0); } }); frame.add(label); /* frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { System.out.println(e); } }); */ Dimension labelSize = label.getPreferredSize(); // sometimes shows up truncated on mac labelSize = new Dimension(labelSize.width * 2, labelSize.height); label.setSize(labelSize); label.setLocation(20, fullscreen.height - labelSize.height - 20); applet.setupExternal(frame); } } else { // if not presenting // can't do this earlier cuz present mode don't like it frame.pack(); if (external) { Insets insets = frame.getInsets(); // does pack() first above int windowW = Math.max(applet.width, 120) + insets.left + insets.right; int windowH = Math.max(applet.height, 120) + insets.top + insets.bottom; frame.setSize(windowW, windowH); if (location != null) { // a specific location was received from PdeRuntime // (applet has been run more than once, user placed window) frame.setLocation(location[0], location[1]); } else { int locationX = editorLocation[0] - 20; int locationY = editorLocation[1]; if (locationX - windowW > 10) { // if it fits to the left of the window frame.setLocation(locationX - windowW, locationY); } else { // if it fits inside the editor window, // offset slightly from upper lefthand corner // so that it's plunked inside the text area locationX = editorLocation[0] + 66; locationY = editorLocation[1] + 66; if ((locationX + windowW > screen.width - 33) || (locationY + windowH > screen.height - 33)) { // otherwise center on screen locationX = (screen.width - windowW) / 2; locationY = (screen.height - windowH) / 2; } frame.setLocation(locationX, locationY); } } frame.setLayout(null); frame.add(applet); frame.setBackground(SystemColor.control); int usableWindowH = windowH - insets.top - insets.bottom; applet.setBounds((windowW - applet.width)/2, insets.top + (usableWindowH - applet.height)/2, windowW, windowH); applet.setupExternal(frame); } else { // !external frame.setLayout(new BorderLayout()); frame.add(applet, BorderLayout.CENTER); //frame.pack(); // is this necessary? frame.setLocation((screen.width - applet.width) / 2, (screen.height - applet.height) / 2); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); } frame.show(); } //System.out.println("showing frame"); //System.out.println("applet requesting focus"); applet.requestFocus(); // ask for keydowns //System.out.println("exiting main()"); } catch (Exception e) { e.printStackTrace(); System.exit(1); } }
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, 2984, 1769, 1377, 2332, 18, 370, 18, 8222, 2932, 1290, 3312, 702, 16, 315, 397, 7682, 315, 5946, 326, 30829, 364, 453, 23696, 8863, 1377, 2332, 18, 8593, 12, 21, 1769, 565, 289, 565, 775, 288, 1377, 1250, 3903, 273, 629, 31, 1377, 509, 2117, 8526, 273, 446, 31, 1377, 509, 4858, 2735, 8526, 273, 446, 31, 1377, 514, 3009, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 1377, 514, 508, 273, 446, 31, 1377, 1250, 3430, 273, 629, 31, 1377, 5563, 3430, 2957, 273, 5563, 18, 14618, 3649, 31, 1377, 5563, 2132, 2957, 273, 5563, 18, 43, 6722, 31, 1377, 16830, 3654, 2562, 3654, 273, 446, 31, 1377, 514, 579, 273, 446, 16, 460, 273, 446, 31, 1377, 509, 1501, 1016, 273, 374, 31, 1377, 1323, 261, 3175, 1016, 411, 833, 18, 2469, 13, 288, 3639, 509, 1606, 273, 833, 63, 3175, 1016, 8009, 31806, 2668, 2218, 1769, 3639, 309, 261, 14963, 480, 300, 21, 13, 288, 1850, 579, 273, 833, 63, 3175, 1016, 8009, 28023, 12, 20, 16, 1606, 1769, 1850, 460, 273, 833, 63, 3175, 1016, 8009, 28023, 12, 14963, 397, 404, 1769, 1850, 309, 261, 891, 18, 14963, 12, 22439, 67, 13208, 67, 15277, 3719, 288, 5411, 3903, 273, 638, 31, 5411, 4858, 2735, 273, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2984, 1769, 1377, 2332, 18, 370, 18, 8222, 2932, 1290, 3312, 702, 16, 315, 397, 7682, 315, 5946, 326, 30829, 364, 453, 23696, 8863, 1377, 2332, 18, 8593, 12, 21, 1769, 565, 289, 565, 775, 288, 1377, 1250, 3903, 273, 629, 31, 1377, 509, 2117, 8526, 273, 446, 31, 1377, 509, 4858, 2735, 8526, 273, 446, 31, 1377, 514, 3009, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 1377, 514, 508, 273, 446, 31, 1377, 1250, 3430, 273, 629, 31, 1377, 2 ]
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, componentImplementation, parameters); }
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, 25845, 7843, 503, 288, 3639, 327, 394, 1000, 387, 12039, 1841, 4216, 12, 4652, 653, 16, 1794, 13621, 16, 1472, 16, 1699, 3989, 4782, 4818, 1769, 565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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 25845, 7843, 503, 288, 3639, 327, 394, 1000, 387, 12039, 1841, 4216, 12, 4652, 653, 16, 1794, 13621, 16, 1472, 16, 1699, 3989, 4782, 4818, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 || !currentToken().equalsIgnoreCase( ")" ) ) throw new AdvancedScriptException( "')' Expected " + getLineAndFile() ); readToken();// ) return result; } //Parse true and false first since they are reserved words. if ( currentToken().equalsIgnoreCase( "true" ) ) { readToken(); return new ScriptValue( new ScriptType( TYPE_BOOLEAN ), 1 ); } else if ( currentToken().equalsIgnoreCase( "false" ) ) { readToken(); return new ScriptValue( new ScriptType( TYPE_BOOLEAN ), 0 ); } else if ( (result = parseCall( scope )) != null ) return result; else if ( (result = parseVariableReference( scope )) != null ) return result; else if ( Character.isDigit( currentToken().charAt( 0 ) ) || currentToken().charAt( 0 ) == '-' ) { int resultInt; boolean negative = false; i = 0; if ( currentToken().charAt( 0 ) == '-' ) { negative = true; i = 1; } for ( resultInt = 0; i < currentToken().length(); ++i ) { if ( !Character.isDigit( currentToken().charAt(i) ) ) { if ( currentToken().charAt(i) == '.' ) { return parseFloat(); } else throw new AdvancedScriptException( "Failed to parse numeric value " + getLineAndFile() ); } resultInt = ( resultInt * 10 ) + ( currentToken().charAt(i ) - '0' ); } if ( negative ) resultInt = resultInt * -1; readToken(); //integer return new ScriptValue( new ScriptType( TYPE_INT ), resultInt ); } else if ( currentToken().equalsIgnoreCase( "\"" ) ) { //Directly work with line - ignore any "tokens" you meet until the string is closed String resultString = ""; for ( i = 1; ; ++i ) { if ( i == line.length() ) { throw new AdvancedScriptException( "No closing '\"' found " + getLineAndFile() ); } else if ( line.charAt(i ) == '\\' ) { resultString = resultString + line.charAt( ++i ); } else if ( line.charAt(i ) == '"' ) { line = line.substring( i + 1 ); //+ 1 to get rid of '"' token return new ScriptValue( new ScriptType( TYPE_STRING ), resultString ); } else { resultString = resultString + line.charAt( i ); } } } else if ( currentToken().equalsIgnoreCase( "$" ) ) { ScriptType type; readToken(); type = parseType(); if ( type == null ) throw new AdvancedScriptException( "Unknown type " + currentToken() + " " + getLineAndFile() ); if ( !currentToken().equalsIgnoreCase( "[" ) ) throw new AdvancedScriptException( "'[' Expected " + getLineAndFile() ); String resultString = ""; for ( i = 1; ; ++i ) { if ( i == line.length() ) { throw new AdvancedScriptException( "No closing ']' found " + getLineAndFile() ); } else if ( line.charAt(i ) == '\\' ) { resultString = resultString + line.charAt( ++i ); } else if ( line.charAt(i ) == ']' ) { line = line.substring( i + 1 ); //+1 to get rid of ']' token return new ScriptValue( type, resultString ); } else { resultString = resultString + line.charAt( i ); } } } return null; }
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, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 23719, 7675, 14963, 5556, 12, 12452, 262, 262, 202, 202, 95, 1082, 202, 896, 1345, 5621, 759, 261, 1082, 202, 2088, 273, 30838, 12, 2146, 11272, 1082, 202, 430, 261, 23719, 1435, 422, 446, 747, 401, 2972, 1345, 7675, 14963, 5556, 12, 7310, 262, 262, 9506, 202, 12849, 394, 27451, 3651, 503, 12, 2491, 2506, 13219, 315, 397, 9851, 1876, 812, 1435, 11272, 1082, 202, 896, 1345, 5621, 759, 262, 1082, 202, 2463, 563, 31, 202, 202, 97, 202, 202, 759, 3201, 638, 471, 629, 1122, 3241, 2898, 854, 8735, 4511, 18, 202, 202, 430, 261, 23719, 7675, 14963, 5556, 12, 315, 3767, 6, 262, 262, 202, 202, 95, 1082, 202, 896, 1345, 5621, 1082, 202, 2463, 394, 7739, 620, 12, 394, 7739, 559, 12, 3463, 67, 17900, 262, 16, 404, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 23719, 7675, 14963, 5556, 12, 315, 5743, 6, 262, 262, 202, 202, 95, 1082, 202, 896, 1345, 5621, 1082, 202, 2463, 394, 7739, 620, 12, 394, 7739, 559, 12, 3463, 67, 17900, 262, 16, 374, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 261, 2088, 273, 1109, 1477, 12, 2146, 8623, 480, 446, 262, 1082, 202, 2463, 563, 31, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 23719, 7675, 14963, 5556, 12, 12452, 262, 262, 202, 202, 95, 1082, 202, 896, 1345, 5621, 759, 261, 1082, 202, 2088, 273, 30838, 12, 2146, 11272, 1082, 202, 430, 261, 23719, 1435, 422, 446, 747, 401, 2972, 1345, 7675, 14963, 5556, 12, 7310, 262, 262, 9506, 202, 12849, 394, 27451, 3651, 503, 12, 2491, 2506, 13219, 315, 397, 9851, 1876, 812, 1435, 11272, 1082, 202, 896, 1345, 5621, 759, 262, 1082, 202, 2 ]
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.setLayerLimit(BigInteger.valueOf(config.getLayerLimit())); service.setMaxHeight(BigInteger.valueOf(config.getMaxImageHeight())); service.setMaxWidth(BigInteger.valueOf(config.getMaxImageWidth())); OnlineResource or = new OnlineResource(); or.setType("simple"); or.setHref(config.getHref()); service.setOnlineResource(or); return service; }
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, 12, 1425, 18, 588, 4247, 10663, 3639, 1156, 18, 542, 2954, 281, 12, 1425, 18, 588, 2954, 281, 10663, 3639, 1156, 18, 542, 1862, 4878, 12, 1425, 18, 588, 1862, 4878, 10663, 3639, 1156, 18, 542, 4576, 3039, 12, 24198, 18, 1132, 951, 12, 1425, 18, 588, 4576, 3039, 1435, 10019, 3639, 1156, 18, 542, 2747, 2686, 12, 24198, 18, 1132, 951, 12, 1425, 18, 588, 2747, 2040, 2686, 1435, 10019, 3639, 1156, 18, 542, 2747, 2384, 12, 24198, 18, 1132, 951, 12, 1425, 18, 588, 2747, 2040, 2384, 1435, 10019, 3639, 2755, 1369, 1420, 578, 273, 394, 2755, 1369, 1420, 5621, 3639, 578, 18, 542, 559, 2932, 9647, 8863, 3639, 578, 18, 542, 15962, 12, 1425, 18, 588, 15962, 10663, 3639, 1156, 18, 542, 16860, 1420, 12, 280, 1769, 3639, 327, 1156, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 12, 1425, 18, 588, 4247, 10663, 3639, 1156, 18, 542, 2954, 281, 12, 1425, 18, 588, 2954, 281, 10663, 3639, 1156, 18, 542, 1862, 4878, 12, 1425, 18, 588, 1862, 4878, 10663, 3639, 1156, 18, 542, 4576, 3039, 12, 24198, 18, 1132, 951, 12, 1425, 18, 588, 4576, 3039, 1435, 10019, 3639, 1156, 18, 542, 2747, 2686, 12, 24198, 18, 1132, 951, 12, 1425, 18, 588, 2747, 2040, 2686, 1435, 10019, 3639, 1156, 18, 542, 2747, 2384, 12, 24198, 18, 1132, 951, 12, 2 ]
{ 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 && paramTypes[0] == String.class) { Object[] arguments = {property, newValue}; Object answer = doMethodInvoke(object, mmethod, arguments); return; } } } } else{
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 ReadOnlyPropertyException(property, theClass); } MetaMethod metaMethod = findMethod(method); Object[] arguments = { newValue }; try { doMethodInvoke(object, metaMethod, arguments); } catch (GroovyRuntimeException e) { // if the value is a List see if we can construct the value // from a constructor if (newValue instanceof List) { List list = (List) newValue; int params = list.size(); Constructor[] constructors = descriptor.getPropertyType().getConstructors(); for (int i = 0; i < constructors.length; i++) { Constructor constructor = constructors[i]; if (constructor.getParameterTypes().length == params) { Object value = doConstructorInvoke(constructor, list.toArray()); doMethodInvoke(object, metaMethod, new Object[] { value }); return; } } // if value is an array Class parameterType = method.getParameterTypes()[0]; if (parameterType.isArray()) { Object objArray = asPrimitiveArray(list, parameterType); doMethodInvoke(object, metaMethod, new Object[]{ objArray }); return; } } // if value is an multidimensional array if (newValue.getClass().isArray()) { List list = Arrays.asList((Object[])newValue); Class parameterType = method.getParameterTypes()[0]; Class arrayType = parameterType.getComponentType(); Object objArray = Array.newInstance(arrayType, list.size()); for (int i = 0; i < list.size(); i++) { List list2 =Arrays.asList((Object[]) list.get(i)); Object objArray2 = asPrimitiveArray(list2, arrayType); Array.set(objArray, i, objArray2); } doMethodInvoke(object, metaMethod, new Object[]{ objArray }); return; } throw new MissingPropertyException(property, theClass, e); } return; } try { MetaMethod addListenerMethod = (MetaMethod) listeners.get(property); if (addListenerMethod != null && newValue instanceof Closure) { // lets create a dynamic proxy Object proxy = createListenerProxy(addListenerMethod.getParameterTypes()[0], property, (Closure) newValue); doMethodInvoke(object, addListenerMethod, new Object[] { proxy }); return; } if (genericSetMethod != null) { Object[] arguments = { property, newValue }; doMethodInvoke(object, genericSetMethod, arguments); return; } /** @todo or are we an extensible class? */ // lets try invoke the set method String method = "set" + capitalize(property); try { invokeMethod(object, method, new Object[] { newValue }); } catch (MissingMethodException e1) { try { Field field = object.getClass().getDeclaredField(property); field.set(object, newValue); } catch (Exception e2) { throw new MissingPropertyException(property, theClass, e2); } } } catch (GroovyRuntimeException e) { throw new MissingPropertyException(property, theClass, e); } }
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, 13, 288, 5411, 2985, 707, 273, 4950, 18, 588, 3067, 1305, 5621, 5411, 309, 261, 2039, 422, 446, 13, 288, 7734, 604, 394, 20617, 1396, 503, 12, 4468, 16, 326, 797, 1769, 5411, 289, 5411, 6565, 1305, 2191, 1305, 273, 1104, 1305, 12, 2039, 1769, 5411, 1033, 8526, 1775, 273, 288, 6129, 289, 31, 5411, 775, 288, 7734, 741, 1305, 10969, 12, 1612, 16, 2191, 1305, 16, 1775, 1769, 5411, 289, 5411, 1044, 261, 43, 12859, 11949, 425, 13, 288, 7734, 368, 309, 326, 460, 353, 279, 987, 2621, 309, 732, 848, 4872, 326, 460, 7734, 368, 628, 279, 3885, 7734, 309, 261, 2704, 620, 1276, 987, 13, 288, 10792, 987, 666, 273, 261, 682, 13, 6129, 31, 10792, 509, 859, 273, 666, 18, 1467, 5621, 10792, 11417, 8526, 19874, 273, 4950, 18, 588, 22802, 7675, 588, 29590, 5621, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 19874, 18, 2469, 31, 277, 27245, 288, 13491, 11417, 3885, 273, 19874, 63, 77, 15533, 13491, 309, 261, 12316, 18, 588, 1662, 2016, 7675, 2469, 422, 859, 13, 288, 18701, 1033, 460, 273, 741, 6293, 10969, 12, 12316, 16, 666, 18, 31447, 10663, 18701, 741, 1305, 10969, 12, 1612, 16, 2191, 1305, 16, 394, 1033, 8526, 288, 460, 15549, 18701, 327, 31, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13, 288, 5411, 2985, 707, 273, 4950, 18, 588, 3067, 1305, 5621, 5411, 309, 261, 2039, 422, 446, 13, 288, 7734, 604, 394, 20617, 1396, 503, 12, 4468, 16, 326, 797, 1769, 5411, 289, 5411, 6565, 1305, 2191, 1305, 273, 1104, 1305, 12, 2039, 1769, 5411, 1033, 8526, 1775, 273, 288, 6129, 289, 31, 5411, 775, 288, 7734, 741, 1305, 10969, 12, 1612, 16, 2191, 1305, 16, 1775, 1769, 5411, 289, 5411, 1044, 261, 43, 12859, 11949, 425, 13, 288, 7734, 368, 309, 2 ]
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 filesystem work in // a JAR file. We have to deprecate the use // of $generator.templatePath in templates first // and this hack will allow those same templates // that use $generator.templatePath to work in // JAR files. if (propertiesFile.startsWith("$generator")) { propertiesFile = propertiesFile.substring( "$generator.templatePath/".length()); } InputStream inputStream = classLoader.getResourceAsStream(propertiesFile); properties.load(inputStream); } catch (IOException ioe) { // do nothing } return properties; }
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, 716, 1790, 5411, 368, 1390, 8042, 316, 326, 6496, 1440, 316, 5411, 368, 279, 24728, 585, 18, 1660, 1240, 358, 443, 29246, 326, 999, 5411, 368, 434, 271, 8812, 18, 3202, 743, 316, 5539, 1122, 5411, 368, 471, 333, 11769, 903, 1699, 5348, 1967, 5539, 5411, 368, 716, 999, 271, 8812, 18, 3202, 743, 358, 1440, 316, 5411, 368, 24728, 1390, 18, 5411, 309, 261, 4738, 812, 18, 17514, 1190, 2932, 8, 8812, 6, 3719, 5411, 288, 7734, 1790, 812, 273, 1790, 812, 18, 28023, 12, 10792, 4662, 8812, 18, 3202, 743, 4898, 18, 2469, 10663, 5411, 289, 13491, 5037, 10010, 273, 11138, 18, 588, 1420, 17052, 12, 4738, 812, 1769, 5411, 1790, 18, 945, 12, 2630, 1228, 1769, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 3639, 288, 5411, 368, 741, 5083, 3639, 289, 3639, 327, 1790, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 716, 1790, 5411, 368, 1390, 8042, 316, 326, 6496, 1440, 316, 5411, 368, 279, 24728, 585, 18, 1660, 1240, 358, 443, 29246, 326, 999, 5411, 368, 434, 271, 8812, 18, 3202, 743, 316, 5539, 1122, 5411, 368, 471, 333, 11769, 903, 1699, 5348, 1967, 5539, 5411, 368, 716, 999, 271, 8812, 18, 3202, 743, 358, 1440, 316, 5411, 368, 24728, 1390, 18, 5411, 309, 261, 4738, 812, 18, 17514, 1190, 2932, 8, 8812, 6, 3719, 5411, 288, 7734, 1790, 812, 273, 1790, 812, 18, 28023, 2 ]
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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 12, 28353, 16, 3102, 2290, 1769, 202, 28353, 273, 1033, 1304, 18, 2816, 1085, 12, 28353, 16, 1623, 2402, 1769, 202, 28353, 273, 1033, 1304, 18, 2816, 1085, 12, 28353, 16, 11076, 1769, 202, 28353, 273, 1033, 1304, 18, 2816, 1085, 12, 28353, 16, 3204, 1769, 202, 2463, 11684, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 22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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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); evt = root.queue.collapseLayoutEvents(evt); // if only the height changed, then lets just skip the event int mxw = root.getSharedContext().getMaxWidth(); // Uu.p("current max width = " + mxw); // the actual width of the panel // Uu.p("current width = " + root.getWidth()); // the dimensions from the event // Uu.p("evt width = " + evt.getDimension()); // ??? the last width we rendered to? the width we want to render to? // Uu.p("rendered width = " + root.getRenderWidth()); if (evt.getDimension() != null) { // if the renderwidth != to the actual panel width, then re-layout if (root.getRenderWidth() != root.getLayoutWidth()) { // Uu.p("render width != panel width. resizing"); doRelayout(evt); } else { continue; /* if (root.getRenderWidth() == evt.getDimension().getWidth()) { Uu.p("same width. Just continuing"); continue; } else { Uu.p("evt width : " + evt.getDimension().getWidth() + " differs from last rendered width: " + root.getRenderWidth()); doRelayout(evt); } */ } } else { //Uu.p("empty dimension. doing a full re-layout"); doRelayout(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, 1365, 18, 4000, 18, 7048, 1290, 2134, 3744, 1133, 5621, 5411, 309, 261, 73, 11734, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 587, 89, 18, 84, 2932, 13212, 279, 3511, 871, 30, 315, 397, 6324, 1769, 5411, 6324, 273, 1365, 18, 4000, 18, 21405, 3744, 3783, 12, 73, 11734, 1769, 5411, 368, 309, 1338, 326, 2072, 3550, 16, 1508, 14557, 2537, 2488, 326, 871, 15604, 368, 587, 89, 18, 84, 2932, 2972, 943, 1835, 273, 315, 397, 7938, 91, 1769, 5411, 368, 326, 3214, 1835, 434, 326, 6594, 5411, 368, 587, 89, 18, 84, 2932, 2972, 1835, 273, 315, 397, 1365, 18, 588, 2384, 10663, 5411, 368, 326, 5769, 628, 326, 871, 5411, 368, 587, 89, 18, 84, 2932, 73, 11734, 1835, 273, 315, 397, 6324, 18, 588, 8611, 10663, 5411, 368, 5317, 35, 326, 1142, 1835, 732, 7935, 358, 35, 326, 1835, 732, 2545, 358, 1743, 358, 35, 5411, 368, 587, 89, 18, 84, 2932, 26332, 1835, 273, 315, 397, 1365, 18, 588, 3420, 2384, 10663, 13491, 309, 261, 73, 11734, 18, 588, 8611, 1435, 480, 446, 13, 288, 7734, 368, 309, 326, 1743, 2819, 480, 358, 326, 3214, 6594, 1835, 16, 1508, 283, 17, 6741, 7734, 309, 261, 3085, 18, 588, 3420, 2384, 1435, 480, 1365, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1365, 18, 4000, 18, 7048, 1290, 2134, 3744, 1133, 5621, 5411, 309, 261, 73, 11734, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 587, 89, 18, 84, 2932, 13212, 279, 3511, 871, 30, 315, 397, 6324, 1769, 5411, 6324, 273, 1365, 18, 4000, 18, 21405, 3744, 3783, 12, 73, 11734, 1769, 5411, 368, 309, 1338, 326, 2072, 3550, 16, 1508, 14557, 2537, 2488, 326, 871, 15604, 368, 587, 89, 18, 84, 2932, 2972, 943, 1835, 273, 315, 397, 7938, 91, 1769, 5411, 2 ]
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 ); Declaration[] declarations = (Declaration[]) this.declarations.values().toArray( new Declaration[this.declarations.size()] ); setStringTemplateAttributes( st, declarations, ruleDescr.getConsequence() ); System.out.println( functionFixer.fix( knowledgeHelperFixer.fix( ruleDescr.getConsequence() ) ) ); st.setAttribute( "text", functionFixer.fix( knowledgeHelperFixer.fix( ruleDescr.getConsequence() ) ) ); this.methods.add( st.toString() ); st = invokerGroup.getInstanceOf( "consequenceInvoker" ); st.setAttribute( "package", this.pkg.getName() ); st.setAttribute( "ruleClassName", ucFirst( this.ruleDescr.getClassName() ) ); st.setAttribute( "invokerClassName", ruleDescr.getClassName() + ucFirst( classMethodName ) + "Invoker" ); st.setAttribute( "methodName", classMethodName ); setStringTemplateAttributes( st, declarations, ruleDescr.getConsequence() ); st.setAttribute( "text", ruleDescr.getConsequence() ); String invokerClassName = this.pkg.getName() + "." + ruleDescr.getClassName() + ucFirst( classMethodName ) + "Invoker"; this.invokers.put( invokerClassName, st.toString() ); this.invokerLookups.put( invokerClassName, this.rule ); this.descrLookups.put( invokerClassName, ruleDescr ); }
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, 384, 273, 1720, 1114, 18, 588, 1442, 951, 12, 315, 591, 6178, 1305, 6, 11272, 3639, 384, 18, 542, 1499, 12, 315, 2039, 461, 3113, 7682, 667, 11666, 11272, 3639, 16110, 4302, 8526, 12312, 273, 261, 6094, 63, 5717, 333, 18, 8840, 9642, 18, 2372, 7675, 31447, 12, 394, 16110, 4302, 63, 2211, 18, 8840, 9642, 18, 1467, 1435, 65, 11272, 3639, 14600, 2283, 2498, 12, 384, 16, 19694, 12312, 16, 19694, 1720, 16198, 18, 588, 442, 6178, 1435, 11272, 8227, 384, 18, 542, 1499, 12, 315, 955, 3113, 7682, 445, 8585, 264, 18, 904, 12, 20272, 2276, 8585, 264, 18, 904, 12, 1720, 16198, 18, 588, 442, 6178, 1435, 262, 262, 11272, 3639, 333, 18, 5163, 18, 1289, 12, 384, 18, 10492, 1435, 11272, 3639, 384, 273, 24920, 1114, 18, 588, 1442, 951, 12, 315, 591, 6178, 24455, 6, 11272, 3639, 384, 18, 542, 1499, 12, 315, 5610, 3113, 7682, 333, 18, 10657, 18, 17994, 1435, 11272, 3639, 384, 18, 542, 1499, 12, 315, 5345, 3834, 3113, 7682, 6232, 3759, 12, 333, 18, 5345, 16198, 18, 588, 3834, 1435, 262, 11272, 3639, 384, 18, 542, 1499, 12, 315, 5768, 601, 264, 3834, 3113, 7682, 1720, 16198, 18, 588, 3834, 1435, 397, 6232, 3759, 12, 667, 11666, 262, 397, 315, 24455, 6, 11272, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 384, 273, 1720, 1114, 18, 588, 1442, 951, 12, 315, 591, 6178, 1305, 6, 11272, 3639, 384, 18, 542, 1499, 12, 315, 2039, 461, 3113, 7682, 667, 11666, 11272, 3639, 16110, 4302, 8526, 12312, 273, 261, 6094, 63, 5717, 333, 18, 8840, 9642, 18, 2372, 7675, 31447, 12, 394, 16110, 4302, 63, 2211, 18, 8840, 9642, 18, 1467, 1435, 65, 11272, 3639, 14600, 2283, 2498, 12, 384, 16, 19694, 12312, 16, 19694, 1720, 16198, 18, 588, 442, 6178, 1435, 11272, 8227, 384, 18, 542, 1499, 2 ]
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); pool = BrokerPool.getInstance(); } catch (Exception e) { fail(e.getMessage()); } }
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, 13, 5411, 6382, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 3639, 775, 288, 5411, 4659, 642, 273, 394, 4659, 12, 768, 16, 6382, 1769, 5411,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 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, 13, 5411, 6382, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 3639, 775, 288, 5411, 4659, 642, 273, 394, 4659, 12, 768, 16, 6382, 1769, 5411, 20438, 2864, 18, 14895, 12, 21, 16, 1381, 16, 642, 1769, 5411, 2845, 273, 20438, 2864, 18, 588, 1442, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 13491, 2321, 12, 73, 18, 24906, 10663, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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); } dragEvent = true; return; } StyledText text = (StyledText) e.widget; int offset = -1; try { offset = text.getOffsetAtLocation(new Point(e.x, e.y)); } catch (IllegalArgumentException ex) { // leave value as -1 } if (offset == -1) text.setCursor(null); else if (item != null && item.isLinkAt(offset)) text.setCursor(handCursor); else 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, 13491, 934, 93, 1259, 1528, 977, 273, 261, 24273, 1259, 1528, 13, 425, 18, 6587, 31, 13491, 977, 18, 542, 6688, 12, 2011, 1769, 10792, 289, 10792, 8823, 1133, 273, 638, 31, 10792, 327, 31, 7734, 289, 7734, 934, 93, 1259, 1528, 977, 273, 261, 24273, 1259, 1528, 13, 425, 18, 6587, 31, 7734, 509, 1384, 273, 300, 21, 31, 7734, 775, 288, 10792, 1384, 273, 977, 18, 588, 2335, 861, 2735, 12, 2704, 4686, 12, 73, 18, 92, 16, 425, 18, 93, 10019, 7734, 289, 1044, 261, 31237, 431, 13, 288, 10792, 368, 8851, 460, 487, 300, 21, 7734, 289, 7734, 309, 261, 3348, 422, 300, 21, 13, 10792, 977, 18, 542, 6688, 12, 2011, 1769, 7734, 469, 309, 261, 1726, 480, 446, 597, 761, 18, 291, 2098, 861, 12, 3348, 3719, 10792, 977, 18, 542, 6688, 12, 2349, 6688, 1769, 7734, 469, 10792, 977, 18, 542, 6688, 12, 2011, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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4164, 13, 288, 10792, 309, 16051, 15997, 1133, 13, 288, 13491, 934, 93, 1259, 1528, 977, 273, 261, 24273, 1259, 1528, 13, 425, 18, 6587, 31, 13491, 977, 18, 542, 6688, 12, 2011, 1769, 10792, 289, 10792, 8823, 1133, 273, 638, 31, 10792, 327, 31, 7734, 289, 7734, 934, 93, 1259, 1528, 977, 273, 261, 24273, 1259, 1528, 13, 425, 18, 6587, 31, 7734, 509, 1384, 273, 300, 21, 31, 7734, 775, 288, 10792, 1384, 273, 977, 18, 588, 2335, 861, 2735, 12, 2704, 4686, 12, 73, 18, 92, 16, 425, 18, 93, 10019, 7734, 2 ]
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<String> optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getSeverities(); // add option values from ProductConfiguration to Attribute optionValues for (String option: optionValues) { a.addOptionValue(option, option); } // add Attribute to model attributes.put("severites", a); // ATTRIBUTE: OS a = new Attribute("OS"); a.setParameterName("op_sys"); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getOSs(); for (String option: optionValues) { a.addOptionValue(option, option); } attributes.put("OSs", a); // ATTRIBUTE: Platform a = new Attribute("Platform"); a.setParameterName("rep_platform"); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getPlatforms(); for (String option: optionValues) { a.addOptionValue(option, option); } attributes.put("platforms", a); // ATTRIBUTE: Version a = new Attribute("Version"); a.setParameterName("version"); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getVersions(model.getProduct()); for (String option: optionValues) { a.addOptionValue(option, option); } attributes.put("versions", a); // ATTRIBUTE: Component a = new Attribute("Component"); a.setParameterName("component"); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getComponents(model.getProduct()); for (String option: optionValues) { a.addOptionValue(option, option); } attributes.put("components", a); // ATTRIBUTE: Priority a = new Attribute("Priority"); a.setParameterName("bug_severity"); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getPriorities(); for (String option: optionValues) { a.addOptionValue(option, option); } // set NBM Attributes (after all Attributes have been created, and added // to attributes map) model.attributes = attributes; }
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, 5621, 202, 202, 759, 11616, 30, 21630, 202, 202, 1499, 69, 33, 2704, 1499, 2932, 21630, 8863, 202, 202, 69, 18, 542, 24586, 2932, 925, 67, 27341, 8863, 202, 202, 759, 588, 3482, 1972, 2080, 4133, 1750, 202, 202, 682, 32, 780, 34, 3482, 1972, 33, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 4133, 1750, 12, 3567, 1489, 2934, 588, 1761, 502, 1961, 5621, 202, 202, 759, 1289, 3482, 2372, 2080, 4133, 1750, 869, 1499, 3482, 1972, 202, 202, 1884, 12, 780, 3482, 30, 3482, 1972, 15329, 1082, 202, 69, 18, 1289, 13366, 12, 3482, 16, 3482, 1769, 202, 202, 97, 202, 202, 759, 1289, 12399, 322, 278, 362, 1009, 202, 202, 4350, 18, 458, 2932, 307, 502, 2997, 3113, 69, 1769, 202, 202, 759, 11616, 30, 4618, 202, 202, 69, 33, 2704, 1499, 2932, 4618, 8863, 202, 202, 69, 18, 542, 24586, 2932, 556, 67, 9499, 8863, 202, 202, 3482, 1972, 33, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 4133, 1750, 12, 3567, 1489, 2934, 588, 4618, 87, 5621, 202, 202, 1884, 12, 780, 3482, 30, 3482, 1972, 15329, 1082, 202, 69, 18, 1289, 13366, 12, 3482, 16, 3482, 1769, 202, 202, 97, 202, 202, 4350, 18, 458, 2932, 4618, 87, 3113, 69, 1769, 202, 202, 759, 11616, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5621, 202, 202, 759, 11616, 30, 21630, 202, 202, 1499, 69, 33, 2704, 1499, 2932, 21630, 8863, 202, 202, 69, 18, 542, 24586, 2932, 925, 67, 27341, 8863, 202, 202, 759, 588, 3482, 1972, 2080, 4133, 1750, 202, 202, 682, 32, 780, 34, 3482, 1972, 33, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 4133, 1750, 12, 3567, 1489, 2934, 588, 1761, 502, 1961, 5621, 202, 202, 759, 1289, 3482, 2372, 2080, 4133, 1750, 869, 1499, 3482, 1972, 202, 202, 1884, 12, 780, 2 ]
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 = ((RubyFixnum) beg).getValue(); long o = ((RubyFixnum) obj).getValue(); if (b <= o) { long e = ((RubyFixnum) end).getValue(); if (excl) { if (o < e) { return getRuby().getTrue(); } } else { if (o <= e) { return getRuby().getTrue(); } } } return getRuby().getFalse(); } else if (beg.funcall("<=", obj).isTrue()) { if (excl) { if (end.funcall(">", obj).isTrue()) { return getRuby().getTrue(); } } else { if (end.funcall(">=", obj).isTrue()) { return getRuby().getTrue(); } } } return getRuby().getFalse(); }
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, 8863, 3639, 1250, 4687, 273, 3694, 1537, 2932, 338, 830, 20387, 291, 5510, 5621, 3639, 309, 14015, 70, 1332, 1276, 19817, 8585, 2107, 13, 597, 261, 2603, 1276, 19817, 8585, 2107, 13, 597, 261, 409, 1276, 19817, 8585, 2107, 3719, 288, 5411, 1525, 324, 273, 14015, 54, 10340, 8585, 2107, 13, 16847, 2934, 24805, 5621, 5411, 1525, 320, 273, 14015, 54, 10340, 8585, 2107, 13, 1081, 2934, 24805, 5621, 5411, 309, 261, 70, 1648, 320, 13, 288, 7734, 1525, 425, 273, 225, 19817, 9902, 18, 904, 22, 5748, 12, 409, 1769, 7734, 309, 261, 338, 830, 13, 288, 10792, 309, 261, 83, 411, 425, 13, 288, 13491, 327, 4170, 10340, 7675, 588, 5510, 5621, 10792, 289, 7734, 289, 469, 288, 10792, 309, 261, 83, 1648, 425, 13, 288, 13491, 327, 4170, 10340, 7675, 588, 5510, 5621, 10792, 289, 7734, 289, 5411, 289, 5411, 327, 4170, 10340, 7675, 588, 8381, 5621, 3639, 289, 469, 309, 261, 70, 1332, 18, 644, 454, 2932, 32, 1546, 16, 1081, 2934, 291, 5510, 10756, 288, 5411, 309, 261, 338, 830, 13, 288, 7734, 309, 261, 409, 18, 644, 454, 2932, 2984, 16, 1081, 2934, 291, 5510, 10756, 288, 10792, 327, 4170, 10340, 7675, 588, 5510, 5621, 7734, 289, 5411, 289, 469, 288, 7734, 309, 261, 409, 18, 644, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8863, 3639, 1250, 4687, 273, 3694, 1537, 2932, 338, 830, 20387, 291, 5510, 5621, 3639, 309, 14015, 70, 1332, 1276, 19817, 8585, 2107, 13, 597, 261, 2603, 1276, 19817, 8585, 2107, 13, 597, 261, 409, 1276, 19817, 8585, 2107, 3719, 288, 5411, 1525, 324, 273, 14015, 54, 10340, 8585, 2107, 13, 16847, 2934, 24805, 5621, 5411, 1525, 320, 273, 14015, 54, 10340, 8585, 2107, 13, 1081, 2934, 24805, 5621, 5411, 309, 261, 70, 1648, 320, 13, 288, 7734, 1525, 425, 273, 225, 19817, 9902, 18, 2 ]
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('&'); } for (Iterator i = parameters.entrySet().iterator(); i.hasNext();) { Map.Entry entry = (Map.Entry)i.next(); if (entry.getValue().getClass().isArray()) { Object[] value = (Object[])entry.getValue(); for (int j = 0; j < value.length; j++) { if (j > 0) { buffer.append('&'); } buffer.append(entry.getKey()); buffer.append('='); buffer.append(value[j]); } } else { buffer.append(entry.getKey()); buffer.append('='); buffer.append(entry.getValue()); } if (i.hasNext()) { buffer.append('&'); } } return buffer.toString(); }
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, 6674, 12, 1650, 1769, 3639, 309, 261, 1650, 18, 31806, 2668, 4899, 13, 422, 300, 21, 13, 288, 5411, 1613, 18, 6923, 2668, 4899, 1769, 3639, 289, 469, 288, 5411, 1613, 18, 6923, 2668, 10, 8284, 3639, 289, 3639, 364, 261, 3198, 277, 273, 1472, 18, 4099, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 5411, 309, 261, 4099, 18, 24805, 7675, 588, 797, 7675, 291, 1076, 10756, 288, 7734, 1033, 8526, 460, 273, 261, 921, 63, 5717, 4099, 18, 24805, 5621, 7734, 364, 261, 474, 525, 273, 374, 31, 525, 411, 460, 18, 2469, 31, 525, 27245, 288, 10792, 309, 261, 78, 405, 374, 13, 288, 13491, 1613, 18, 6923, 2668, 10, 8284, 10792, 289, 10792, 1613, 18, 6923, 12, 4099, 18, 588, 653, 10663, 10792, 1613, 18, 6923, 2668, 2218, 1769, 10792, 1613, 18, 6923, 12, 1132, 63, 78, 19226, 7734, 289, 5411, 289, 469, 288, 7734, 1613, 18, 6923, 12, 4099, 18, 588, 653, 10663, 7734, 1613, 18, 6923, 2668, 2218, 1769, 7734, 1613, 18, 6923, 12, 4099, 18, 24805, 10663, 5411, 289, 5411, 309, 261, 77, 18, 5332, 2134, 10756, 288, 7734, 1613, 18, 6923, 2668, 10, 8284, 5411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6674, 12, 1650, 1769, 3639, 309, 261, 1650, 18, 31806, 2668, 4899, 13, 422, 300, 21, 13, 288, 5411, 1613, 18, 6923, 2668, 4899, 1769, 3639, 289, 469, 288, 5411, 1613, 18, 6923, 2668, 10, 8284, 3639, 289, 3639, 364, 261, 3198, 277, 273, 1472, 18, 4099, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 5411, 309, 261, 4099, 18, 24805, 7675, 588, 797, 7675, 2 ]
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, 1377, 327, 446, 31, 565, 309, 261, 87, 480, 446, 13, 1377, 272, 18, 1893, 1994, 12, 84, 1769, 565, 327, 293, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 1377, 327, 446, 31, 565, 309, 261, 87, 480, 446, 13, 1377, 272, 18, 1893, 1994, 12, 84, 1769, 565, 327, 293, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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(); if (type.equals("RIFF")) { bigChunkSize = size; if (!fcc.equals("AVI ")) { whine("Sorry, AVI RIFF format not found."); } } else { whine("Not an AVI file"); } pos = in.getFilePointer(); long spos = pos; while (in.read(list) == 4) { in.seek(pos); listString = new String(list); if (listString.equals("JUNK")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("JUNK")) { in.skipBytes(size); } } else if (listString.equals("LIST")) { spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); in.seek(spos); if (fcc.equals("hdrl")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("LIST")) { if (fcc.equals("hdrl")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("avih")) { spos = in.getFilePointer(); dwMicroSecPerFrame = DataTools.read4SignedBytes(in, little); dwMaxBytesPerSec = DataTools.read4SignedBytes(in, little); dwReserved1 = DataTools.read4SignedBytes(in, little); dwFlags = DataTools.read4SignedBytes(in, little); dwTotalFrames = DataTools.read4SignedBytes(in, little); dwInitialFrames = DataTools.read4SignedBytes(in, little); dwStreams = DataTools.read4SignedBytes(in, little); dwSuggestedBufferSize = DataTools.read4SignedBytes(in, little); dwWidth = DataTools.read4SignedBytes(in, little); dwHeight = DataTools.read4SignedBytes(in, little); dwScale = DataTools.read4SignedBytes(in, little); dwRate = DataTools.read4SignedBytes(in, little); dwStart = DataTools.read4SignedBytes(in, little); dwLength = DataTools.read4SignedBytes(in, little); metadata.put("Microseconds per frame", new Integer(dwMicroSecPerFrame)); metadata.put("Max. bytes per second", new Integer(dwMaxBytesPerSec)); metadata.put("Total frames", new Integer(dwTotalFrames)); metadata.put("Initial frames", new Integer(dwInitialFrames)); metadata.put("Frame width", new Integer(dwWidth)); metadata.put("Frame height", new Integer(dwHeight)); metadata.put("Scale factor", new Integer(dwScale)); metadata.put("Frame rate", new Integer(dwRate)); metadata.put("Start time", new Integer(dwStart)); metadata.put("Length", new Integer(dwLength)); in.seek(spos + size); } } } } else if (fcc.equals("strl")) { long startPos = in.getFilePointer(); long streamSize = size; type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("LIST")) { if (fcc.equals("strl")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strh")) { spos = in.getFilePointer(); String fccStreamTypeOld = fccStreamType; fccStreamType = readStringBytes(); if (!fccStreamType.equals("vids")) { fccStreamType = fccStreamTypeOld; } fccStreamHandler = readStringBytes(); dwStreamFlags = DataTools.read4SignedBytes(in, little); dwStreamReserved1 = DataTools.read4SignedBytes(in, little); dwStreamInitialFrames = DataTools.read4SignedBytes(in, little); dwStreamScale = DataTools.read4SignedBytes(in, little); dwStreamRate = DataTools.read4SignedBytes(in, little); dwStreamStart = DataTools.read4SignedBytes(in, little); dwStreamLength = DataTools.read4SignedBytes(in, little); dwStreamSuggestedBufferSize = DataTools.read4SignedBytes(in, little); dwStreamQuality = DataTools.read4SignedBytes(in, little); dwStreamSampleSize = DataTools.read4SignedBytes(in, little); metadata.put("Stream quality", new Integer(dwStreamQuality)); metadata.put("Stream sample size", new Integer(dwStreamSampleSize)); in.seek(spos + size); } type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strf")) { spos = in.getFilePointer(); bmpSize = DataTools.read4SignedBytes(in, little); bmpWidth = DataTools.read4SignedBytes(in, little); bmpHeight = DataTools.read4SignedBytes(in, little); bmpPlanes = DataTools.read2SignedBytes(in, little); bmpBitsPerPixel = DataTools.read2SignedBytes(in, little); bmpCompression = DataTools.read4SignedBytes(in, little); bmpSizeOfBitmap = DataTools.read4SignedBytes(in, little); bmpHorzResolution = DataTools.read4SignedBytes(in, little); bmpVertResolution = DataTools.read4SignedBytes(in, little); bmpColorsUsed = DataTools.read4SignedBytes(in, little); bmpColorsImportant = DataTools.read4SignedBytes(in, little); bmpTopDown = (bmpHeight < 0); bmpNoOfPixels = bmpWidth * bmpHeight; metadata.put("Bitmap compression value", new Integer(bmpCompression)); metadata.put("Horizontal resolution", new Integer(bmpHorzResolution)); metadata.put("Vertical resolution", new Integer(bmpVertResolution)); metadata.put("Number of colors used", new Integer(bmpColorsUsed)); metadata.put("Bits per pixel", new Integer(bmpBitsPerPixel)); // scan line is padded with zeros to be a multiple of 4 bytes int npad = bmpWidth % 4; if (npad > 0) npad = 4 - npad; bmpScanLineSize = (bmpWidth + npad) * (bmpBitsPerPixel / 8); if (bmpSizeOfBitmap != 0) { bmpActualSize = bmpSizeOfBitmap; } else { // a value of 0 doesn't mean 0 -- it means we have // to calculate it bmpActualSize = bmpScanLineSize * bmpHeight; } if (bmpColorsUsed != 0) { bmpActualColorsUsed = bmpColorsUsed; } else { // a value of 0 means we determine this based on the // bits per pixel if (bmpBitsPerPixel < 16) { bmpActualColorsUsed = 1 << bmpBitsPerPixel; } else { // no palette bmpActualColorsUsed = 0; } } if (bmpCompression != 0) { whine("Sorry, compressed AVI files not supported."); } if (!(bmpBitsPerPixel == 8 || bmpBitsPerPixel == 24 || bmpBitsPerPixel == 32)) { whine("Sorry, " + bmpBitsPerPixel + " bits per pixel not " + "supported"); } if (bmpActualColorsUsed != 0) { // read the palette pr = new byte[bmpColorsUsed]; pg = new byte[bmpColorsUsed]; pb = new byte[bmpColorsUsed]; for (int i=0; i<bmpColorsUsed; i++) { pb[i] = (byte) in.read(); pg[i] = (byte) in.read(); pr[i] = (byte) in.read(); in.read(); } } in.seek(spos + size); } } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strd")) { in.skipBytes(size); } else { in.seek(spos); } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("strn")) { in.skipBytes(size); } else { in.seek(spos); } } in.seek((int) (startPos + 8 + streamSize)); } else if (fcc.equals("movi")) { type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (type.equals("LIST")) { if (fcc.equals("movi")) { spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); fcc = readStringBytes(); if (!(type.equals("LIST") && fcc.equals("rec "))) { in.seek(spos); } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); while (type.substring(2).equals("db") || type.substring(2).equals("dc") || type.substring(2).equals("wb")) { if (type.substring(2).equals("db") || type.substring(2).equals("dc")) { offsets.add(new Long(in.getFilePointer())); in.skipBytes(bmpHeight * bmpScanLineSize); } spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); if (type.equals("JUNK")) { in.skipBytes(size); spos = in.getFilePointer(); type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); } } in.seek(spos); } } } else { // skipping unknown block in.skipBytes(8 + size); } } else { // skipping unknown block type = readStringBytes(); size = DataTools.read4SignedBytes(in, little); in.skipBytes(size); } pos = in.getFilePointer(); } numImages = offsets.size(); initOMEMetadata(); }
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, 394, 5589, 5621, 565, 1160, 8526, 666, 273, 394, 1160, 63, 24, 15533, 565, 514, 666, 780, 31, 565, 618, 273, 18646, 2160, 5621, 565, 963, 273, 1910, 10348, 18, 896, 24, 12294, 2160, 12, 267, 16, 12720, 1769, 565, 284, 952, 273, 18646, 2160, 5621, 565, 309, 261, 723, 18, 14963, 2932, 2259, 2246, 6, 3719, 288, 1377, 5446, 26307, 273, 963, 31, 1377, 309, 16051, 74, 952, 18, 14963, 2932, 37, 4136, 315, 3719, 288, 3639, 600, 558, 2932, 28898, 16, 432, 4136, 534, 16962, 740, 486, 1392, 1199, 1769, 1377, 289, 565, 289, 565, 469, 288, 1377, 600, 558, 2932, 1248, 392, 432, 4136, 585, 8863, 565, 289, 565, 949, 273, 316, 18, 29925, 4926, 5621, 565, 1525, 272, 917, 273, 949, 31, 565, 1323, 261, 267, 18, 896, 12, 1098, 13, 422, 1059, 13, 288, 1377, 316, 18, 16508, 12, 917, 1769, 1377, 666, 780, 273, 394, 514, 12, 1098, 1769, 1377, 309, 261, 1098, 780, 18, 14963, 2932, 46, 16141, 6, 3719, 288, 3639, 618, 273, 18646, 2160, 5621, 3639, 963, 273, 1910, 10348, 18, 896, 24, 12294, 2160, 12, 267, 16, 12720, 1769, 3639, 309, 261, 723, 18, 14963, 2932, 46, 16141, 6, 3719, 288, 1850, 316, 18, 7457, 2160, 12, 1467, 1769, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 394, 5589, 5621, 565, 1160, 8526, 666, 273, 394, 1160, 63, 24, 15533, 565, 514, 666, 780, 31, 565, 618, 273, 18646, 2160, 5621, 565, 963, 273, 1910, 10348, 18, 896, 24, 12294, 2160, 12, 267, 16, 12720, 1769, 565, 284, 952, 273, 18646, 2160, 5621, 565, 309, 261, 723, 18, 14963, 2932, 2259, 2246, 6, 3719, 288, 1377, 5446, 26307, 273, 963, 31, 1377, 309, 16051, 74, 952, 18, 14963, 2932, 37, 4136, 315, 3719, 288, 3639, 600, 558, 2932, 28898, 16, 2 ]
(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 declarationStatement = (PsiDeclarationStatement) PsiTreeUtil.getParentOfType(variable, PsiDeclarationStatement.class); if (declarationStatement == null) { return false; } PsiStatement nextStatement = null; final PsiStatement[] statements = containingScope.getStatements(); for (int i = 0; i < statements.length - 1; i++) { if (statements[i].equals(declarationStatement)) { nextStatement = statements[i + 1]; } } if (nextStatement == null) { return false; } if (!(nextStatement instanceof PsiThrowStatement)) { return false; } final PsiThrowStatement throwStatement = (PsiThrowStatement) nextStatement; final PsiExpression returnValue = throwStatement.getException(); if (returnValue == null) { return false; } if (!(returnValue instanceof PsiReferenceExpression)) { return false; } final PsiElement referent = ((PsiReference) returnValue).resolve(); return !(referent == null || !referent.equals(variable)); }
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, 16, 453, 7722, 1085, 1768, 18, 1106, 1769, 3639, 309, 261, 1213, 3280, 3876, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 6094, 3406, 8266, 3406, 273, 7734, 261, 52, 7722, 6094, 3406, 13, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 6105, 16, 453, 7722, 6094, 3406, 18, 1106, 1769, 3639, 309, 261, 22448, 3406, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 453, 7722, 3406, 1024, 3406, 273, 446, 31, 3639, 727, 453, 7722, 3406, 8526, 6317, 273, 4191, 3876, 18, 588, 14663, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6317, 18, 2469, 300, 404, 31, 277, 27245, 288, 5411, 309, 261, 18393, 63, 77, 8009, 14963, 12, 22448, 3406, 3719, 288, 7734, 1024, 3406, 273, 6317, 63, 77, 397, 404, 15533, 5411, 289, 3639, 289, 3639, 309, 261, 4285, 3406, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 16051, 12, 4285, 3406, 1276, 453, 7722, 8282, 3406, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 8282, 3406, 604, 3406, 273, 261, 52, 7722, 8282, 3406, 13, 1024, 3406, 31, 3639, 727, 453, 7722, 2300, 7750, 273, 604, 3406, 18, 588, 503, 5621, 3639, 309, 261, 2463, 620, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16, 453, 7722, 1085, 1768, 18, 1106, 1769, 3639, 309, 261, 1213, 3280, 3876, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 6094, 3406, 8266, 3406, 273, 7734, 261, 52, 7722, 6094, 3406, 13, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 6105, 16, 453, 7722, 6094, 3406, 18, 1106, 1769, 3639, 309, 261, 22448, 3406, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 453, 7722, 3406, 1024, 3406, 273, 446, 31, 3639, 727, 2 ]
} }
} }
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 // set if (WorkbenchPlugin.getDefault().getPreferenceStore() .getBoolean( IPreferenceConstants.REUSE_EDITORS_BOOLEAN)) { IWorkbenchPartReference ref = editorPresentation.getVisibleEditor(); if (ref instanceof WorkbenchPartReference) { WorkbenchPartReference concreteRef = (WorkbenchPartReference) ref; concreteRef.setPinned(concreteRef.isPinned()); } } return null; } }; // Assign the handler for the pin editor keyboard shortcut. final IHandlerService handlerService = (IHandlerService) window .getWorkbench().getAdapter(IHandlerService.class); pinEditorHandlerActivation = handlerService.activateHandler( "org.eclipse.ui.window.pinEditor", pinEditorHandler, //$NON-NLS-1$ new ActiveShellExpression(shell)); } }
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, 5621, 1082, 202, 6385, 467, 1503, 7092, 6946, 1503, 273, 394, 4115, 1503, 1435, 288, 9506, 202, 482, 727, 1033, 1836, 12, 6385, 8687, 1133, 871, 13, 288, 6862, 202, 759, 866, 309, 326, 315, 4605, 29431, 6635, 6, 11555, 353, 6862, 202, 759, 444, 6862, 202, 430, 261, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 1435, 6862, 1082, 202, 18, 588, 5507, 12, 6862, 6862, 202, 45, 9624, 2918, 18, 862, 8001, 67, 13208, 55, 67, 17900, 3719, 288, 4766, 7734, 467, 2421, 22144, 1988, 2404, 1278, 273, 4858, 6351, 367, 18, 588, 6207, 6946, 5621, 13491, 309, 261, 1734, 1276, 4147, 22144, 1988, 2404, 13, 288, 18701, 4147, 22144, 1988, 2404, 12220, 1957, 273, 261, 2421, 22144, 1988, 2404, 13, 1278, 31, 4766, 13491, 12220, 1957, 18, 542, 12178, 11748, 12, 23470, 1957, 18, 291, 12178, 11748, 10663, 13491, 289, 6862, 202, 97, 6862, 202, 2463, 446, 31, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 759, 12093, 326, 1838, 364, 326, 7092, 4858, 16263, 10995, 18, 1082, 202, 6385, 467, 1503, 1179, 1838, 1179, 273, 261, 45, 1503, 1179, 13, 2742, 6862, 202, 18, 588, 2421, 22144, 7675, 588, 4216, 12, 45, 1503, 1179, 18, 1106, 1769, 1082, 202, 13097, 6946, 1503, 14857, 273, 1838, 1179, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5621, 1082, 202, 6385, 467, 1503, 7092, 6946, 1503, 273, 394, 4115, 1503, 1435, 288, 9506, 202, 482, 727, 1033, 1836, 12, 6385, 8687, 1133, 871, 13, 288, 6862, 202, 759, 866, 309, 326, 315, 4605, 29431, 6635, 6, 11555, 353, 6862, 202, 759, 444, 6862, 202, 430, 261, 2421, 22144, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 1435, 6862, 1082, 202, 18, 588, 5507, 12, 6862, 6862, 202, 45, 9624, 2918, 18, 862, 8001, 67, 13208, 55, 67, 17900, 3719, 288, 4766, 7734, 2 ]
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, 0, 182, 182, 0, 0, 0, 0, 0, 0, 0, 182, 182, 0, 182, 182, 182, 182, 182, 0, 0, 0, 0, 0, 0, 0, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 290, 0, 182, 0, 0, 0, 0, 0, 182, 0, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 286, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 286, 286, 0, 0, 0, 286, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 0, 0, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 322, 216, 216, 0, 0, 216, 216, 322, 286, 0, 216, 0, 0, 0, 0, 0, 216, 0, 216, 0, 216, 0, 216, 216, 216, 216, 216, 216, 216, 0, 216, 290, 290, 290, 0, 0, 290, 290, 290,
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, 0, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 290, 373, 290, 0, 0, 0, 0, 373, 0, 373, 286, 373, 0, 373, 373, 373, 373, 373, 373, 373, 286, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 286, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 286, 286, 0, 0, 0, 286, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 0, 0, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 322, 216, 216, 0, 0, 216, 216, 322, 0, 286, 216, 0, 0, 0, 0, 0, 216, 0, 216, 0, 216, 0, 216, 216, 216, 216, 216, 216, 216, 0, 216, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 290, 290, 290, 0, 0, 290, 290, 290,
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 85, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 87, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 472, 0, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 0, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 0, 0, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 0, 473, 473, 473, 473, 473, 0, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 492, 473, 473, 473, 473, 473, 473, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 77, 0, 0, 77, 0, 0, 75, 0, 0, 75, 0, 0, 0, 6, 0, 0, 0, 0, 350, 0, 77, 0, 0, 0, 0, 0, 75, 0, 350, 0, 0, 6, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 280, 0, 0, 350, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 0, 492, 0, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 494, 0, 251, 251, 251, 251, 251, 251, 251, 251, 494, 251, 251, 251, 251, 0, 0, 251, 251, 251, 0, 0, 0, 6, 6, 6, 0, 77, 476, 6, 6, 492, 6, 75, 0, 0, 0, 0, 492, 251, 0, 494, 251, 0, 251, 251, 251, 0, 251, 0, 251, 0, 251, 0, 0, 0, 0, 0, 494, 494, 251, 0, 0, 251, 251, 251, 251, 251, 251, 350, 350, 350, 0, 0, 350, 350, 350, 0, 350, 476, 0, 0, 0, 0, 0, 280, 476, 350, 350, 350, 0, 472, 280, 494, 0, 0, 0, 350, 350, 0, 350, 350, 350, 350, 350, 0, 0, 77, 8, 0, 476, 0, 0, 75, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 494, 0, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 492, 0, 350, 350, 350, 0, 0, 350, 8, 0, 492, 0, 0, 350, 0, 350, 0, 350, 0, 350, 350, 350, 350, 350, 350, 350, 8, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 492, 0, 0, 492, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 8, 492, 0, 0, 0, 0, 0, 7, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 494, 0, 492, 494, 494, 494, 0, 494, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 423, 0, 0, 423, 0, 0, 0, 494, 494, 0, 494, 494, 494, 494, 494, 0, 0, 423, 423, 0, 82, 0, 423, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 423, 0, 0, 8, 8, 8, 0, 0, 0, 8, 8, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 273, 0, 0, 0, 492, 492, 492, 0, 0, 492, 492, 492, 0, 492, 273, 273, 0, 89, 0, 273, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 492, 492, 492, 492, 492, 0, 0, 0, 0, 7, 7, 7, 273, 0, 273, 7, 7, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 273, 0, 492, 0, 0, 0, 0, 0, 492, 0, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 423, 423, 423, 0, 0, 423, 423, 423, 0, 423, 0, 0, 0, 0, 40, 0, 0, 0, 0, 423, 423, 0, 0, 0, 40, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 40, 40, 423, 423, 423, 0, 424, 423, 0, 0, 0, 0, 0, 423, 0, 423, 0, 423, 32, 423, 423, 423, 423, 423, 423, 423, 0, 423, 32, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 273, 273, 273, 0, 0, 273, 273, 273, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 32, 273, 273, 261, 0, 0, 0, 0, 40, 0, 273, 273, 34, 273, 273, 273, 273, 273, 32, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 34, 0, 0, 0, 279, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 273, 0, 0, 0, 279, 0, 273, 279, 273, 0, 273, 0, 273, 273, 273, 273, 273, 273, 273, 0, 273, 279, 279, 32, 88, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 40, 40, 0, 279, 40, 40, 40, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 280, 0, 0, 280, 0, 0, 0, 0, 40, 40, 0, 40, 40, 40, 40, 40, 0, 280, 280, 0, 83, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 280, 0, 0, 0, 32, 32, 32, 0, 0, 0, 32, 32, 0, 32, 0, 0, 34, 34, 34, 0, 0, 373, 34, 34, 0, 34, 0, 0, 0, 0, 0, 373, 280, 0, 0, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 34, 34, 34, 34, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 0, 0, 373, 0, 0, 0, 279, 279, 279, 0, 0, 279, 279, 279, 0, 279, 373, 373, 0, 0, 0, 373, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 373, 0, 279, 0, 0, 0, 0, 0, 279, 0, 279, 0, 279, 0, 279, 279, 279, 279, 279, 279, 279, 0, 279, 280, 280, 280, 0, 0, 280, 280, 280, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 182, 0, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 0, 280, 280, 280, 0, 0, 280, 0, 0, 0, 182, 0, 280, 182, 280, 0, 280, 0, 280, 280, 280, 280, 280, 280, 280, 14, 280, 182, 182, 0, 0, 0, 182, 0, 0, 14, 0, 0, 0, 0, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 182, 0, 0, 0, 14, 0, 0, 373, 373, 0, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 216, 14, 0, 0, 0, 0, 0, 0, 0, 0, 216, 182, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 0, 373, 0, 0, 0, 216, 0, 373, 216, 373, 0, 373, 0, 373, 373, 373, 373, 373, 373, 373, 0, 373, 216, 216, 0, 0, 0, 216, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 322, 0, 216, 0, 0, 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 182, 182, 0, 0, 0, 0, 0, 0, 0, 182, 182, 0, 182, 182, 182, 182, 182, 0, 0, 0, 0, 0, 0, 0, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 290, 0, 182, 0, 0, 0, 0, 0, 182, 0, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 286, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 286, 286, 0, 0, 0, 286, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 0, 0, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 322, 216, 216, 0, 0, 216, 216, 322, 286, 0, 216, 0, 0, 0, 0, 0, 216, 0, 216, 0, 216, 0, 216, 216, 216, 216, 216, 216, 216, 0, 216, 290, 290, 290, 0, 0, 290, 290, 290, 0, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 290, 290, 290, 290, 290, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 0, 0, 290, 290, 290, 0, 0, 290, 0, 0, 0, 183, 0, 290, 183, 290, 0, 290, 0, 290, 290, 290, 290, 290, 290, 290, 0, 290, 183, 183, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 183, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 183, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 410, 0, 286, 410, 286, 0, 286, 0, 286, 286, 286, 286, 286, 286, 286, 0, 286, 410, 410, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 410, 0, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 411, 0, 0, 411, 0, 0, 0, 183, 183, 183, 0, 0, 183, 183, 183, 0, 183, 411, 411, 0, 0, 0, 411, 0, 0, 0, 183, 183, 0, 0, 0, 0, 0, 0, 0, 183, 183, 0, 183, 183, 183, 183, 183, 0, 0, 0, 0, 0, 0, 0, 411, 0, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 411, 0, 183, 0, 0, 0, 0, 0, 183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 318, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 318, 318, 0, 0, 0, 318, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 318, 0, 410, 0, 0, 0, 0, 0, 410, 0, 410, 0, 410, 0, 410, 410, 410, 410, 410, 410, 410, 0, 410, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 0, 0, 0, 319, 0, 0, 0, 0, 411, 411, 0, 0, 0, 319, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 0, 0, 319, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 319, 319, 411, 411, 411, 319, 0, 411, 0, 0, 0, 0, 0, 411, 0, 411, 0, 411, 0, 411, 411, 411, 411, 411, 411, 411, 0, 411, 0, 0, 0, 0, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 318, 318, 318, 0, 0, 318, 318, 318, 0, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 318, 0, 0, 0, 0, 0, 319, 0, 0, 318, 318, 0, 318, 318, 318, 318, 318, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, 0, 0, 318, 318, 318, 0, 0, 318, 0, 0, 0, 0, 0, 0, 52, 318, 283, 318, 0, 318, 318, 318, 318, 318, 318, 318, 283, 318, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 0, 0, 283, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 283, 283, 0, 0, 0, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 319, 0, 0, 319, 319, 319, 52, 319, 0, 0, 0, 0, 0, 0, 0, 283, 0, 319, 0, 0, 0, 0, 0, 0, 0, 0, 319, 319, 0, 319, 319, 319, 319, 319, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 283, 193, 0, 0, 0, 0, 0, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 319, 0, 0, 319, 319, 319, 0, 0, 319, 0, 0, 0, 193, 0, 0, 193, 319, 0, 319, 0, 319, 319, 319, 319, 319, 319, 319, 0, 319, 193, 193, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 0, 189, 0, 52, 52, 52, 0, 0, 52, 52, 52, 189, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 193, 0, 0, 0, 0, 0, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 189, 0, 0, 189, 283, 283, 283, 0, 0, 283, 283, 283, 0, 283, 0, 0, 0, 189, 189, 0, 0, 0, 189, 283, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 0, 283, 283, 283, 283, 283, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 0, 0, 283, 283, 283, 0, 0, 283, 189, 0, 0, 0, 0, 0, 0, 283, 0, 283, 0, 283, 283, 283, 283, 283, 283, 283, 0, 283, 0, 0, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 172, 0, 193, 193, 193, 0, 0, 193, 193, 193, 172, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 263, 193, 193, 262, 193, 193, 193, 193, 193, 0, 0, 0, 172, 0, 0, 217, 0, 263, 263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 193, 193, 0, 0, 193, 193, 0, 0, 0, 193, 0, 0, 0, 0, 0, 193, 0, 193, 0, 193, 0, 193, 193, 193, 193, 193, 193, 193, 0, 193, 0, 189, 189, 189, 0, 0, 189, 189, 189, 0, 189, 263, 0, 0, 0, 186, 0, 0, 0, 0, 189, 189, 0, 172, 0, 186, 0, 0, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 186, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 0, 189, 189, 186, 186, 189, 189, 0, 186, 0, 189, 0, 0, 0, 0, 0, 189, 0, 189, 0, 189, 0, 189, 189, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 263, 263, 263, 0, 0, 263, 263, 263, 188, 263, 0, 188, 172, 172, 172, 0, 0, 0, 172, 172, 0, 172, 0, 0, 0, 188, 188, 0, 0, 0, 188, 263, 263, 263, 263, 263, 0, 0, 0, 0, 172, 172, 0, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 263, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 187, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 187, 187, 0, 0, 0, 187, 0, 0, 0, 186, 186, 0, 0, 0, 0, 0, 0, 0, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 0, 186, 186, 0, 0, 186, 186, 0, 187, 0, 186, 190, 0, 0, 0, 0, 186, 0, 186, 0, 186, 190, 186, 186, 186, 186, 186, 186, 186, 0, 186, 188, 188, 188, 0, 0, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 190, 0, 0, 190, 0, 0, 0, 188, 188, 0, 188, 188, 188, 188, 188, 0, 0, 190, 190, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 0, 188, 188, 0, 190, 188, 188, 0, 0, 0, 188, 0, 0, 0, 0, 0, 188, 0, 188, 0, 188, 0, 188, 188, 188, 188, 188, 188, 188, 0, 188, 0, 0, 0, 0, 0, 190, 0, 0, 0, 0, 0, 0, 0, 0, 187, 187, 187, 0, 0, 187, 187, 187, 0, 187, 0, 0, 0, 0, 191, 0, 0, 0, 0, 187, 187, 0, 0, 0, 191, 0, 0, 0, 187, 187, 0, 187, 187, 187, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 191, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 0, 187, 187, 191, 191, 187, 187, 0, 191, 0, 187, 0, 0, 0, 0, 0, 187, 0, 187, 0, 187, 0, 187, 187, 187, 187, 187, 187, 187, 0, 187, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 0, 0, 190, 190, 190, 0, 0, 190, 190, 190, 0, 190, 0, 191, 0, 0, 0, 0, 0, 0, 0, 190, 190, 0, 0, 0, 0, 0, 0, 423, 190, 190, 74, 190, 190, 190, 190, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 0, 82, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 0, 190, 190, 0, 0, 190, 190, 0, 423, 0, 190, 0, 0, 0, 0, 0, 190, 0, 190, 0, 190, 0, 190, 190, 190, 190, 190, 190, 190, 0, 190, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 81, 0, 0, 0, 191, 191, 191, 0, 0, 191, 191, 191, 0, 191, 0, 273, 0, 89, 0, 273, 0, 0, 0, 191, 191, 0, 0, 0, 0, 0, 0, 0, 191, 191, 0, 191, 191, 191, 191, 191, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 0, 191, 191, 0, 0, 191, 191, 0, 273, 42, 191, 0, 0, 0, 0, 0, 191, 0, 191, 42, 191, 0, 191, 191, 191, 191, 191, 191, 191, 0, 191, 423, 423, 423, 0, 0, 0, 423, 423, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 42, 42, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 0, 424, 0, 279, 0, 0, 80, 0, 0, 0, 423, 0, 423, 0, 423, 423, 423, 423, 423, 423, 423, 279, 423, 88, 0, 279, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 0, 273, 273, 0, 273, 0, }; }
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, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 1059, 9036, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 565, 374, 16, 225, 1059, 9060, 16, 6647, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 565, 374, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 6647, 1059, 9060, 16, 225, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 2 ]
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, 288, 1729, 18, 6923, 1763, 12, 3432, 1769, 289, 469, 288, 1729, 18, 2079, 1763, 12, 3432, 16, 1278, 1769, 289, 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, 288, 1729, 18, 6923, 1763, 12, 3432, 1769, 289, 469, 288, 1729, 18, 2079, 1763, 12, 3432, 16, 1278, 1769, 289, 1071, 907, 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, 288, 1729, 18, 6923, 1763, 12, 3432, 1769, 289, 469, 288, 1729, 18, 2079, 1763, 12, 3432, 16, 1278, 1769, 289, 918, 907, 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, 288, 1729, 18, 6923, 1763, 12, 3432, 1769, 289, 469, 288, 1729, 18, 2079, 1763, 12, 3432, 16, 1278, 1769, 289, 16492, 12, 5062, 11155, 907, 1729, 273, 9956, 1046, 5621, 309, 261, 2620, 422, 446, 13, 288, 1729, 273, 6310, 2932, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 288, 1729, 18, 6923, 1763, 12, 3432, 1769, 289, 469, 288, 1729, 18, 2079, 1763, 12, 3432, 16, 1278, 1769, 289, 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, 288, 1729, 18, 6923, 1763, 12, 3432, 1769, 289, 469, 288, 1729, 18, 2079, 1763, 12, 3432, 16, 1278, 1769, 289, 1071, 907, 1729, 273, 9956, 1046, 5621, 2 ]
}
}
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."); } if (type == PsiType.NULL) { throw new IncorrectOperationException("Cannot create field with type \"<null_type>\"."); } StringBuffer buffer = new StringBuffer(); buffer.append("X "); buffer.append(name); if (initializer != null) { buffer.append("=x"); } buffer.append(";"); PsiDeclarationStatement statement = (PsiDeclarationStatement)createStatementFromText(buffer.toString(), null); PsiVariable variable = (PsiVariable)statement.getDeclaredElements()[0]; variable.getTypeElement().replace(createTypeElement(type)); variable.getModifierList() .setModifierProperty(PsiModifier.FINAL, CodeStyleSettingsManager.getSettings(myManager.getProject()).GENERATE_FINAL_LOCALS); if (initializer != null) { variable.getInitializer().replace(initializer); } if (reformat) { statement = (PsiDeclarationStatement)CodeStyleManager.getInstance(myManager.getProject()).reformat(statement); } return statement; }
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, 16051, 4811, 1318, 18, 17994, 2276, 7675, 291, 3004, 12, 529, 3719, 288, 1377, 604, 394, 657, 6746, 10602, 2932, 8530, 397, 508, 397, 7023, 353, 486, 392, 2756, 1199, 1769, 565, 289, 565, 309, 261, 723, 422, 453, 7722, 559, 18, 8560, 13, 288, 1377, 604, 394, 657, 6746, 10602, 2932, 4515, 752, 652, 598, 618, 1239, 32, 2011, 67, 723, 34, 2412, 1199, 1769, 565, 289, 565, 6674, 1613, 273, 394, 6674, 5621, 565, 1613, 18, 6923, 2932, 60, 315, 1769, 565, 1613, 18, 6923, 12, 529, 1769, 565, 309, 261, 22181, 480, 446, 13, 288, 1377, 1613, 18, 6923, 2932, 33, 92, 8863, 565, 289, 565, 1613, 18, 6923, 2932, 4868, 1769, 565, 453, 7722, 6094, 3406, 3021, 273, 261, 52, 7722, 6094, 3406, 13, 2640, 3406, 1265, 1528, 12, 4106, 18, 10492, 9334, 446, 1769, 565, 453, 7722, 3092, 2190, 273, 261, 52, 7722, 3092, 13, 11516, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 565, 2190, 18, 588, 559, 1046, 7675, 2079, 12, 2640, 559, 1046, 12, 723, 10019, 565, 2190, 18, 588, 9829, 682, 1435, 1377, 263, 542, 9829, 1396, 12, 52, 7722, 9829, 18, 7263, 1013, 16, 3356, 2885, 2628, 1318, 18, 588, 2628, 12, 4811, 1318, 18, 588, 4109, 1435, 2934, 13990, 1777, 67, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16051, 4811, 1318, 18, 17994, 2276, 7675, 291, 3004, 12, 529, 3719, 288, 1377, 604, 394, 657, 6746, 10602, 2932, 8530, 397, 508, 397, 7023, 353, 486, 392, 2756, 1199, 1769, 565, 289, 565, 309, 261, 723, 422, 453, 7722, 559, 18, 8560, 13, 288, 1377, 604, 394, 657, 6746, 10602, 2932, 4515, 752, 652, 598, 618, 1239, 32, 2011, 67, 723, 34, 2412, 1199, 1769, 565, 289, 565, 6674, 1613, 273, 394, 6674, 5621, 565, 1613, 18, 6923, 2932, 60, 315, 1769, 565, 2 ]
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, 12, 925, 18, 26321, 9334, 7934, 18, 588, 2081, 9334, 315, 3291, 3113, 638, 3719, 10019, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 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, 12, 925, 18, 26321, 9334, 7934, 18, 588, 2081, 9334, 315, 3291, 3113, 638, 3719, 10019, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 1585, 2547, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 7675, 2704, 1076, 5621, 202, 202, 1884, 261, 3198, 277, 273, 12023, 18, 588, 5623, 7675, 588, 5623, 682, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 11488, 682, 18, 6923, 12, 18334, 18, 588, 5576, 7675, 2704, 780, 12443, 780, 13, 277, 18, 4285, 1435, 10019, 202, 202, 97, 202, 202, 2463, 5356, 682, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 7675, 2704, 1076, 5621, 202, 202, 1884, 261, 3198, 277, 273, 12023, 18, 588, 5623, 7675, 588, 5623, 682, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 11488, 682, 18, 6923, 12, 18334, 18, 588, 5576, 7675, 2704, 780, 12443, 780, 13, 277, 18, 4285, 1435, 10019, 202, 202, 97, 202, 202, 2463, 5356, 682, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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_DEFINITION__SERIES_PALETTE, null, msgs); if (newSeriesPalette != null) msgs = ((InternalEObject)newSeriesPalette).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DataPackage.SERIES_DEFINITION__SERIES_PALETTE, null, msgs); msgs = basicSetSeriesPalette(newSeriesPalette, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DataPackage.SERIES_DEFINITION__SERIES_PALETTE, newSeriesPalette, newSeriesPalette)); }
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, 10222, 25863, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 10222, 25863, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 2123, 8805, 67, 25312, 972, 2123, 8805, 67, 4066, 15146, 1448, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 6485, 25863, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2704, 6485, 25863, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 2123, 8805, 67, 25312, 972, 2123, 8805, 67, 4066, 15146, 1448, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 6485, 25863, 12, 2704, 6485, 25863, 16, 8733, 1769, 5411, 309, 261, 27439, 480, 446, 13, 8733, 18, 10739, 5621, 3639, 289, 3639, 469, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 1910, 2261, 18, 2123, 8805, 67, 25312, 972, 2123, 8805, 67, 4066, 15146, 1448, 16, 394, 6485, 25863, 16, 394, 6485, 25863, 10019, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 10222, 25863, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 10222, 25863, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 2123, 8805, 67, 25312, 972, 2123, 8805, 67, 4066, 15146, 1448, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 6485, 25863, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2704, 6485, 25863, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 2 ]
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 namePanel = createNamePanel (); tabbedPane.addTab("Name",null,namePanel,"Name Information");// add (namePanel); JComponent contactPanel = createContactPanel (); tabbedPane.addTab("Contact",null,contactPanel,"Contact Information");// add (contactPanel);// JComponent netConfPanel = createNetConfPanel ();// add (netConfPanel); setResizable(false); setSize (716, 515); addWindowListener(new AppCloser()); }
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, 2211, 16, 8549, 3744, 18, 61, 67, 25614, 10019, 3639, 804, 5661, 2992, 8485, 3246, 2992, 8485, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 5154, 8485, 7675, 1289, 12, 7032, 2992, 8485, 16, 30814, 18, 19835, 1769, 3639, 368, 1289, 261, 7032, 2992, 8485, 1769, 3639, 29058, 508, 5537, 273, 752, 461, 5537, 261, 1769, 3639, 3246, 2992, 8485, 18, 1289, 5661, 2932, 461, 3113, 2011, 16, 529, 5537, 10837, 461, 15353, 8863, 759, 3639, 527, 261, 529, 5537, 1769, 3639, 29058, 5388, 5537, 273, 752, 6567, 5537, 261, 1769, 3639, 3246, 2992, 8485, 18, 1289, 5661, 2932, 6567, 3113, 2011, 16, 8994, 5537, 10837, 6567, 15353, 8863, 759, 3639, 527, 261, 8994, 5537, 1769, 759, 3639, 29058, 2901, 3976, 5537, 273, 752, 7308, 3976, 5537, 261, 1769, 759, 3639, 527, 261, 2758, 3976, 5537, 1769, 3639, 444, 607, 6934, 12, 5743, 1769, 3639, 19106, 261, 27, 2313, 16, 1381, 3600, 1769, 3639, 527, 3829, 2223, 12, 2704, 4677, 10924, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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549, 3744, 12, 2211, 16, 8549, 3744, 18, 61, 67, 25614, 10019, 3639, 804, 5661, 2992, 8485, 3246, 2992, 8485, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 5154, 8485, 7675, 1289, 12, 7032, 2992, 8485, 16, 30814, 18, 19835, 1769, 3639, 368, 1289, 261, 7032, 2992, 8485, 1769, 3639, 29058, 508, 5537, 273, 752, 461, 5537, 261, 1769, 3639, 3246, 2992, 8485, 18, 1289, 5661, 2932, 461, 3113, 2011, 16, 529, 5537, 10837, 461, 15353, 8863, 759, 3639, 527, 261, 529, 5537, 1769, 3639, 29058, 5388, 2 ]
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", false); specifyRanges = Prefs.get("bioformats.specifyRanges", false); boolean quiet = !"".equals(arg); String id = null; ImageReader reader = new ImageReader(); IFormatReader r = null; String mergeString = "Merge channels to RGB"; String splitString = "Open each channel in its own window"; String metadataString = "Display associated metadata"; String stitchString = "Stitch files with similar names"; String rangeString = "Specify range for each series"; if (quiet && new File(arg).exists()) { // try to open the given file id = arg; // first determine whether we can handle this file try { r = reader.getReader(id); } catch (Exception exc) { return; } // we still want to prompt for channel merge/split GenericDialog gd = new GenericDialog("LOCI Bio-Formats Import Options"); gd.addCheckbox(mergeString, mergeChannels); gd.addCheckbox(splitString, splitWindows); gd.addCheckbox(metadataString, showMetadata); gd.addCheckbox(stitchString, stitchFiles); gd.addCheckbox(rangeString, specifyRanges); gd.showDialog(); if (gd.wasCanceled()) return; mergeChannels = gd.getNextBoolean(); splitWindows = gd.getNextBoolean(); showMetadata = gd.getNextBoolean(); stitchFiles = gd.getNextBoolean(); specifyRanges = gd.getNextBoolean(); } else { // prompt the user for a file using a file chooser // use system L&F, to match ImageJ's appearance to the extent possible LookAndFeel laf = null; try { laf = UIManager.getLookAndFeel(); String sys = UIManager.getSystemLookAndFeelClassName(); UIManager.setLookAndFeel(sys); } catch (Exception exc) { exc.printStackTrace(); } JFileChooser chooser = reader.getFileChooser(); String dir = OpenDialog.getDefaultDirectory(); if (dir != null) chooser.setCurrentDirectory(new File(dir)); // add some additional options to the file chooser JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); merge = new JCheckBox(mergeString, mergeChannels); newWindows = new JCheckBox(splitString, splitWindows); showMeta = new JCheckBox(metadataString, showMetadata); stitching = new JCheckBox(stitchString, stitchFiles); ranges = new JCheckBox(rangeString, specifyRanges); merge.addItemListener(this); newWindows.addItemListener(this); showMeta.addItemListener(this); stitching.addItemListener(this); ranges.addItemListener(this); panel.add(merge); panel.add(newWindows); panel.add(showMeta); panel.add(stitching); panel.add(ranges); chooser.setAccessory(panel); int rval = chooser.showOpenDialog(null); // restore original L&F if (laf != null) { try { UIManager.setLookAndFeel(laf); } catch (UnsupportedLookAndFeelException exc) { exc.printStackTrace(); } } if (rval == JFileChooser.APPROVE_OPTION) { final File file = chooser.getSelectedFile(); if (file != null) { id = file.getAbsolutePath(); OpenDialog.setDefaultDirectory( chooser.getCurrentDirectory().getPath()); } } } if (id == null) return; String fileName = id.substring(id.lastIndexOf(File.separator) + 1); IJ.showStatus("Opening " + fileName); try { if (r == null) r = reader.getReader(id); if (stitchFiles) r = new FileStitcher(r); if (mergeChannels) r = new ChannelMerger(r); else r = new ChannelSeparator(r); // store OME metadata into OME-XML structure, if available OMEXMLMetadataStore store = new OMEXMLMetadataStore(); store.createRoot(); r.setMetadataStore(store); // if necessary, prompt for the series to open GenericDialog datasets = new GenericDialog("LOCI Bio-Formats Series Chooser"); int seriesCount = r.getSeriesCount(id); store = (OMEXMLMetadataStore) r.getMetadataStore(id); for (int i=0; i<seriesCount; i++) { r.setSeries(id, i); int sizeX = r.getSizeX(id); int sizeY = r.getSizeY(id); int imageCount = r.getImageCount(id); String name = store.getImageName(new Integer(i)); if (name == null || name.length() == 0) { name = "Series " + (i + 1); } datasets.addCheckbox(name + " : " + sizeX + " x " + sizeY + " x " + imageCount, i == 0); } if (seriesCount > 1) { datasets.showDialog(); if (datasets.wasCanceled()) return; } boolean[] series = new boolean[seriesCount]; for (int i=0; i<seriesCount; i++) series[i] = datasets.getNextBoolean(); if (showMetadata) { // display standard metadata in a table in its own window Hashtable meta = r.getMetadata(id); meta.put("\tSizeX", new Integer(r.getSizeX(id))); meta.put("\tSizeY", new Integer(r.getSizeY(id))); meta.put("\tSizeZ", new Integer(r.getSizeZ(id))); meta.put("\tSizeT", new Integer(r.getSizeT(id))); meta.put("\tSizeC", new Integer(r.getSizeC(id))); meta.put("\tIsRGB", new Boolean(r.isRGB(id))); meta.put("\tPixelType", FormatReader.getPixelTypeString(r.getPixelType(id))); meta.put("\tLittleEndian", new Boolean(r.isLittleEndian(id))); meta.put("\tDimensionOrder", r.getDimensionOrder(id)); meta.put("\tIsInterleaved", new Boolean(r.isInterleaved(id))); MetadataPane mp = new MetadataPane(meta); JFrame frame = new JFrame(id + " Metadata"); frame.setContentPane(mp); frame.pack(); frame.setVisible(true); frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); } for (int i=0; i<series.length; i++) { if (!series[i]) continue; r.setSeries(id, i); String name = id + " - " + store.getImageName(new Integer(i)); int num = r.getImageCount(id); int begin = 0, end = num - 1, step = 1; if (specifyRanges && num > 1) { // prompt for range of image planes to import GenericDialog range = new GenericDialog("LOCI Bio-Formats Range Chooser"); range.addMessage("Series " + (i + 1) + ": " + num + " planes"); range.addNumericField("Series_" + (i + 1) + "_Begin: ", 1, 0); range.addNumericField("Series_" + (i + 1) + "_End: ", num, 0); range.addNumericField("Series_" + (i + 1) + "_Step: ", 1, 0); range.showDialog(); if (range.wasCanceled()) continue; begin = (int) range.getNextNumber() - 1; end = (int) range.getNextNumber() - 1; step = (int) range.getNextNumber(); } if (begin < 0) begin = 0; if (begin >= num) begin = num - 1; if (end < begin) end = begin; if (end >= num) end = num - 1; if (step < 1) step = 1; int total = (end - begin) / step + 1; // dump OME-XML to ImageJ's description field, if available FileInfo fi = new FileInfo(); fi.description = store.dumpXML(); long startTime = System.currentTimeMillis(); long time = startTime; ImageStack stackB = null, stackS = null, stackF = null, stackO = null; int channels = r.getSizeC(id); int sizeZ = r.getSizeZ(id); int sizeT = r.getSizeT(id); if (specifyRanges && num > 1) { // reset sizeZ and sizeT if we aren't opening the entire series int[] first = r.getZCTCoords(id, begin); int[] last = r.getZCTCoords(id, end); sizeZ = last[0] - first[0]; sizeT = last[2] - first[2]; if (sizeZ == 0) sizeZ++; if (sizeT == 0) sizeT++; } int q = 0; for (int j=begin; j<=end; j+=step) { // limit message update rate long clock = System.currentTimeMillis(); if (clock - time >= 50) { IJ.showStatus("Reading plane " + (j + 1) + "/" + (end + 1)); time = clock; } IJ.showProgress((double) q++ / total); BufferedImage img = r.openImage(id, j); if (img.getWidth() < r.getSizeX(id) || img.getHeight() < r.getSizeY(id)) { img = ImageTools.padImage(img, r.getSizeX(id), r.getSizeY(id)); } ImageProcessor ip = null; WritableRaster raster = img.getRaster(); int c = raster.getNumBands(); int tt = raster.getTransferType(); int w = img.getWidth(), h = img.getHeight(); if (c == 1) { if (tt == DataBuffer.TYPE_BYTE) { byte[] b = ImageTools.getBytes(img)[0]; if (b.length > w*h) { byte[] tmp = b; b = new byte[w*h]; System.arraycopy(tmp, 0, b, 0, b.length); } ip = new ByteProcessor(w, h, b, null); if (stackB == null) stackB = new ImageStack(w, h); stackB.addSlice(name + ":" + (j + 1), ip); } else if (tt == DataBuffer.TYPE_USHORT) { short[] s = ImageTools.getShorts(img)[0]; if (s.length > w*h) { short[] tmp = s; s = new short[w*h]; System.arraycopy(tmp, 0, s, 0, s.length); } ip = new ShortProcessor(w, h, s, null); if (stackS == null) stackS = new ImageStack(w, h); stackS.addSlice(name + ":" + (j + 1), ip); } else if (tt == DataBuffer.TYPE_FLOAT) { float[] f = ImageTools.getFloats(img)[0]; if (f.length > w*h) { float[] tmp = f; f = new float[w*h]; System.arraycopy(tmp, 0, f, 0, f.length); } ip = new FloatProcessor(w, h, f, null); if (stackF == null) stackF = new ImageStack(w, h); stackF.addSlice(name + ":" + (j + 1), ip); } } if (ip == null) { ip = new ImagePlus(null, img).getProcessor(); // slow if (stackO == null) stackO = new ImageStack(w, h); stackO.addSlice(name + ":" + (j + 1), ip); } } IJ.showStatus("Creating image"); IJ.showProgress(1); ImagePlus imp = null; if (stackB != null) { if (!mergeChannels && splitWindows) { slice(stackB, id, sizeZ, channels, sizeT, fi, r); } else imp = new ImagePlus(name, stackB); } if (stackS != null) { if (!mergeChannels && splitWindows) { slice(stackS, id, sizeZ, channels, sizeT, fi, r); } else imp = new ImagePlus(name, stackS); } if (stackF != null) { if (!mergeChannels && splitWindows) { slice(stackF, id, sizeZ, channels, sizeT, fi, r); } else imp = new ImagePlus(name, stackF); } if (stackO != null) { if (!mergeChannels && splitWindows) { slice(stackO, id, sizeZ, channels, sizeT, fi, r); } else imp = new ImagePlus(name, stackO); } if (imp != null) { // retrieve the spatial calibration information, if available double xcal = Double.NaN, ycal = Double.NaN, zcal = Double.NaN; Integer ii = new Integer(i); Float xf = store.getPixelSizeX(ii); if (xf != null) xcal = xf.floatValue(); Float yf = store.getPixelSizeY(ii); if (yf != null) ycal = yf.floatValue(); Float zf = store.getPixelSizeZ(ii); if (zf != null) zcal = zf.floatValue(); if (xcal == xcal || ycal == ycal || zcal == zcal) { Calibration c = new Calibration(); if (xcal == xcal) { c.pixelWidth = xcal; c.setUnit("micron"); } if (ycal == ycal) { c.pixelHeight = ycal; c.setUnit("micron"); } if (zcal == zcal) { c.pixelDepth = zcal; c.setUnit("micron"); } imp.setCalibration(c); } imp.setFileInfo(fi); imp.show(); } long endTime = System.currentTimeMillis(); double elapsed = (endTime - startTime) / 1000.0; if (num == 1) { IJ.showStatus("LOCI Bio-Formats: " + elapsed + " seconds"); } else { long average = (endTime - startTime) / num; IJ.showStatus("LOCI Bio-Formats: " + elapsed + " seconds (" + average + " ms per plane)"); } } r.close(); plugin.success = true; // save checkbox values to IJ_Prefs.txt Prefs.set("bioformats.mergeChannels", mergeChannels); Prefs.set("bioformats.splitWindows", splitWindows); Prefs.set("bioformats.showMetadata", showMetadata); Prefs.set("bioformats.stitchFiles", stitchFiles); Prefs.set("bioformats.specifyRanges", specifyRanges); mergeChannels = true; splitWindows = false; } catch (Exception exc) { exc.printStackTrace(); IJ.showStatus(""); if (!quiet) { String msg = exc.getMessage(); IJ.error("LOCI Bio-Formats", "Sorry, there was a problem " + "reading the data" + (msg == null ? "." : (":\n" + msg))); } } }
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, 3113, 629, 1769, 565, 1416, 10399, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 4939, 10399, 3113, 638, 1769, 565, 2405, 2277, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 4500, 2277, 3113, 629, 1769, 565, 384, 1437, 2697, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 334, 1437, 2697, 3113, 629, 1769, 565, 4800, 9932, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 2793, 1164, 9932, 3113, 629, 1769, 565, 1250, 10902, 273, 401, 3660, 18, 14963, 12, 3175, 1769, 565, 514, 612, 273, 446, 31, 565, 3421, 2514, 2949, 273, 394, 3421, 2514, 5621, 565, 467, 1630, 2514, 436, 273, 446, 31, 565, 514, 2691, 780, 273, 315, 6786, 5750, 358, 11510, 14432, 565, 514, 1416, 780, 273, 315, 3678, 1517, 1904, 316, 2097, 4953, 2742, 14432, 565, 514, 1982, 780, 273, 315, 4236, 3627, 1982, 14432, 565, 514, 384, 1437, 780, 273, 315, 510, 1437, 1390, 598, 7281, 1257, 14432, 565, 514, 1048, 780, 273, 315, 19302, 1048, 364, 1517, 4166, 14432, 565, 309, 261, 20380, 597, 394, 1387, 12, 3175, 2934, 1808, 10756, 288, 368, 775, 358, 1696, 326, 864, 585, 1377, 612, 273, 1501, 31, 1377, 368, 1122, 4199, 2856, 732, 848, 1640, 333, 585, 1377, 775, 288, 436, 273, 2949, 18, 588, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3113, 629, 1769, 565, 1416, 10399, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 4939, 10399, 3113, 638, 1769, 565, 2405, 2277, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 4500, 2277, 3113, 629, 1769, 565, 384, 1437, 2697, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 334, 1437, 2697, 3113, 629, 1769, 565, 4800, 9932, 273, 453, 9316, 18, 588, 2932, 21010, 11962, 18, 2793, 1164, 9932, 3113, 629, 1769, 565, 1250, 10902, 273, 401, 3660, 18, 14963, 12, 3175, 2 ]
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.printStackTrace(resultWriter()); resultWriter().println(""); }
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, 563, 2289, 7675, 8222, 12, 2139, 4709, 12, 3813, 13, 397, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 563, 2289, 7675, 8222, 12, 2139, 4709, 12, 3813, 13, 397, 6153, 397, 618, 1769, 3639, 563, 2289, 7675, 8222, 12, 1636, 18, 24906, 10663, 3639, 514, 609, 623, 273, 804, 2802, 4709, 9709, 18, 588, 14478, 3448, 12, 1636, 1769, 563, 2289, 7675, 8222, 12, 701, 623, 1769, 3639, 563, 2289, 7675, 8222, 2932, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 { configID = new URI(properties.getProperty("configID")); } catch (URISyntaxException e1) { throw new DeploymentException("Invalid configuration URI", e1); } DeploymentContext context = null; try { context = new DeploymentContext(outfile, configID, ConfigurationModuleType.SERVICE, parentID, null, null, kernel); } catch (MalformedObjectNameException e) { throw new DeploymentException(e); } // Copy over all files. for (Enumeration e = module.entries(); e.hasMoreElements();) { ZipEntry entry = (ZipEntry) e.nextElement(); context.addFile(URI.create(entry.getName()), module, entry); } // Create the JBI deployment managed object try { Properties props = new Properties(); props.put("jbiType", "Deployment"); props.put("name", configID.toString()); ObjectName name = ObjectName.getInstance(context.getDomain(), props); GBeanData gbeanData = new GBeanData(name, ServiceMixDeployment.GBEAN_INFO); context.addGBean(gbeanData); } catch (MalformedObjectNameException e) { throw new DeploymentException("Invalid gbean name: "+e,e); } if( deploymentDependencies!=null ) { String[] strings = deploymentDependencies.split("\\,"); for (int i = 0; i < strings.length; i++) { strings[i] = strings[i].trim(); if( strings[i].length()>0 ) { try { context.addDependency(new URI(strings[i])); } catch (URISyntaxException e) { throw new DeploymentException("Invalid dependency URI: "+strings[i],e); } } } } context.close(); ConfigurationData configurationData = context.getConfigurationData(); try { configurationData.addClassPathLocation(new URI(".")); } catch (URISyntaxException e) { throw new DeploymentException("Could not set classpath: "+e,e); } return configurationData; }
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, 3639, 6183, 1790, 273, 261, 2297, 13, 7088, 31, 3639, 3699, 8526, 982, 734, 273, 805, 18847, 31, 3639, 3699, 642, 734, 31, 3639, 775, 288, 5411, 642, 734, 273, 394, 3699, 12, 4738, 18, 588, 1396, 2932, 1425, 734, 7923, 1769, 3639, 289, 1044, 261, 3098, 14714, 425, 21, 13, 288, 5411, 604, 394, 8587, 503, 2932, 1941, 1664, 3699, 3113, 425, 21, 1769, 3639, 289, 3639, 8587, 1042, 819, 273, 446, 31, 3639, 775, 288, 5411, 819, 273, 394, 8587, 1042, 12, 26050, 16, 642, 734, 16, 4659, 3120, 559, 18, 12426, 16, 982, 734, 16, 446, 16, 446, 16, 5536, 1769, 3639, 289, 1044, 261, 18695, 16707, 503, 425, 13, 288, 5411, 604, 394, 8587, 503, 12, 73, 1769, 3639, 289, 3639, 368, 5631, 1879, 777, 1390, 18, 3639, 364, 261, 21847, 425, 273, 1605, 18, 8219, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 5411, 23652, 1241, 273, 261, 9141, 1622, 13, 425, 18, 4285, 1046, 5621, 5411, 819, 18, 1289, 812, 12, 3098, 18, 2640, 12, 4099, 18, 17994, 1435, 3631, 1605, 16, 1241, 1769, 3639, 289, 3639, 368, 1788, 326, 804, 31558, 6314, 7016, 733, 3639, 775, 288, 5411, 6183, 3458, 273, 394, 6183, 5621, 5411, 3458, 18, 458, 2932, 10649, 77, 559, 3113, 315, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 6183, 1790, 273, 261, 2297, 13, 7088, 31, 3639, 3699, 8526, 982, 734, 273, 805, 18847, 31, 3639, 3699, 642, 734, 31, 3639, 775, 288, 5411, 642, 734, 273, 394, 3699, 12, 4738, 18, 588, 1396, 2932, 1425, 734, 7923, 1769, 3639, 289, 1044, 261, 3098, 14714, 425, 21, 13, 288, 5411, 604, 394, 8587, 503, 2932, 1941, 1664, 3699, 3113, 425, 21, 1769, 3639, 289, 3639, 8587, 1042, 819, 273, 446, 31, 3639, 775, 288, 5411, 819, 273, 394, 8587, 1042, 12, 2 ]
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 a row checkOnRow(); // first make sure there's a current row //in case of autocommit on, if there was an exception which caused runtime rollback in this transaction prior to this call, //the rollback code will mark the language resultset closed (it doesn't mark the JDBC ResultSet closed). //That is why alongwith the earlier checkIfClosed call in this method, there is a check for language resultset close as well. //4)Make sure underneath language resultset is not closed if (theResults.isClosed()) throw Util.generateCsSQLException(SQLState.LANG_RESULT_SET_NOT_OPEN, methodName); }
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, 461, 1769, 1377, 368, 22, 13, 6464, 3071, 333, 353, 392, 2166, 8163, 10842, 1377, 866, 1211, 3404, 429, 6688, 12, 2039, 461, 1769, 1377, 368, 23, 13, 6464, 3071, 16364, 10842, 353, 1754, 329, 603, 279, 1027, 1377, 309, 16051, 291, 1398, 4600, 1999, 13, 866, 1398, 1999, 5621, 368, 1122, 1221, 3071, 1915, 1807, 279, 783, 1027, 1377, 368, 267, 648, 434, 2059, 27159, 603, 16, 309, 1915, 1703, 392, 1520, 1492, 15848, 3099, 8006, 316, 333, 2492, 6432, 358, 333, 745, 16, 1377, 368, 5787, 8006, 981, 903, 2267, 326, 2653, 26539, 4375, 261, 305, 3302, 1404, 2267, 326, 16364, 10842, 4375, 2934, 1377, 368, 18163, 353, 11598, 7563, 1918, 326, 13805, 19130, 7395, 745, 316, 333, 707, 16, 1915, 353, 279, 866, 364, 2653, 26539, 1746, 487, 5492, 18, 1377, 368, 24, 13, 6464, 3071, 3613, 4644, 421, 2653, 26539, 353, 486, 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 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, 461, 1769, 1377, 368, 22, 13, 6464, 3071, 333, 353, 392, 2166, 8163, 10842, 1377, 866, 1211, 3404, 429, 6688, 12, 2039, 461, 1769, 1377, 368, 23, 13, 6464, 3071, 16364, 10842, 353, 1754, 329, 603, 279, 1027, 1377, 309, 16051, 291, 1398, 4600, 1999, 13, 866, 1398, 1999, 5621, 368, 1122, 1221, 3071, 1915, 1807, 279, 783, 1027, 1377, 368, 267, 648, 434, 2059, 27159, 603, 16, 309, 1915, 1703, 392, 1520, 1492, 15848, 3099, 8006, 316, 333, 2492, 6432, 358, 333, 745, 2 ]
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, 3562, 16, 279, 18, 3562, 13, 597, 1910, 2276, 18, 11253, 12, 8373, 16, 279, 18, 8373, 13, 597, 1910, 2276, 18, 11253, 12, 529, 16, 279, 18, 529, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 3562, 16, 279, 18, 3562, 13, 597, 1910, 2276, 18, 11253, 12, 8373, 16, 279, 18, 8373, 13, 597, 1910, 2276, 18, 11253, 12, 529, 16, 279, 18, 529, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 16, 1158, 1769, 1850, 289, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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]; } if (lowest - 1 > _highestAckedThrough) _highestAckedThrough = lowest - 1; } List acked = null; synchronized (_outboundPackets) { for (Iterator iter = _outboundPackets.keySet().iterator(); iter.hasNext(); ) { Long id = (Long)iter.next(); if (id.longValue() <= ackThrough) { boolean nacked = false; if (nacks != null) { // linear search since its probably really tiny for (int i = 0; i < nacks.length; i++) { if (nacks[i] == id.longValue()) { nacked = true; break; // NACKed } } } if (!nacked) { // aka ACKed if (acked == null) acked = new ArrayList(1); PacketLocal ackedPacket = (PacketLocal)_outboundPackets.get(id); ackedPacket.ackReceived(); acked.add(ackedPacket); } } else { break; // _outboundPackets is ordered } } if (acked != null) { for (int i = 0; i < acked.size(); i++) { PacketLocal p = (PacketLocal)acked.get(i); _outboundPackets.remove(new Long(p.getSequenceNum())); _ackedPackets++; if (p.getNumSends() > 1) { _activeResends--; if (_log.shouldLog(Log.INFO)) _log.info("Active resend of " + p + " successful, # active left: " + _activeResends); } } } if ( (_outboundPackets.size() <= 0) && (_activeResends != 0) ) { if (_log.shouldLog(Log.WARN)) _log.warn("All outbound packets acked, clearing " + _activeResends); _activeResends = 0; } _outboundPackets.notifyAll(); } if ((acked != null) && (acked.size() > 0) ) _ackSinceCongestion = true; return acked; }
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, 3639, 289, 469, 288, 5411, 1525, 11981, 273, 300, 21, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 22098, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 261, 821, 395, 411, 374, 13, 747, 261, 82, 22098, 63, 77, 65, 411, 11981, 13, 262, 10792, 11981, 273, 290, 22098, 63, 77, 15533, 5411, 289, 5411, 309, 261, 821, 395, 300, 404, 405, 389, 8766, 395, 11931, 329, 14287, 13, 7734, 389, 8766, 395, 11931, 329, 14287, 273, 11981, 300, 404, 31, 3639, 289, 7734, 987, 8479, 329, 273, 446, 31, 3639, 3852, 261, 67, 659, 3653, 27328, 13, 288, 5411, 364, 261, 3198, 1400, 273, 389, 659, 3653, 27328, 18, 856, 694, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 7734, 3407, 612, 273, 261, 3708, 13, 2165, 18, 4285, 5621, 7734, 309, 261, 350, 18, 5748, 620, 1435, 1648, 8479, 14287, 13, 288, 10792, 1250, 290, 484, 329, 273, 629, 31, 10792, 309, 261, 82, 22098, 480, 446, 13, 288, 13491, 368, 9103, 1623, 3241, 2097, 8656, 8654, 24405, 13491, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 22098, 18, 2469, 31, 277, 27245, 288, 18701, 309, 261, 82, 22098, 63, 77, 65, 422, 612, 18, 5748, 620, 10756, 288, 27573, 290, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 289, 469, 288, 5411, 1525, 11981, 273, 300, 21, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 22098, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 261, 821, 395, 411, 374, 13, 747, 261, 82, 22098, 63, 77, 65, 411, 11981, 13, 262, 10792, 11981, 273, 290, 22098, 63, 77, 15533, 5411, 289, 5411, 309, 261, 821, 395, 300, 404, 405, 389, 8766, 395, 11931, 329, 14287, 13, 7734, 389, 8766, 395, 11931, 329, 14287, 273, 11981, 300, 2 ]
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); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.ALOAD_3);
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.ALOAD_2); cfw.add(ByteCode.ALOAD_3);
private void generateCode(Context cx, ScriptOrFnNode scriptOrFn, ObjArray names, ObjArray classFiles) { String superClassName; this.scriptOrFn = scriptOrFn; if (scriptOrFn.getType() == Token.FUNCTION) { inFunction = true; fnCurrent = (OptFunctionNode)scriptOrFn; inDirectCallFunction = fnCurrent.isTargetOfDirectCall(); generatedClassName = fnCurrent.getClassName(); superClassName = FUNCTION_SUPER_CLASS_NAME; } else { // better be a script if (scriptOrFn.getType() != Token.SCRIPT) badTree(); inFunction = false; boolean isPrimary = (nameHelper.getTargetExtends() == null && nameHelper.getTargetImplements() == null); generatedClassName = getScriptClassName(null, isPrimary); superClassName = SCRIPT_SUPER_CLASS_NAME; } generatedClassSignature = classNameToSignature(generatedClassName); itsUseDynamicScope = cx.hasCompileFunctionsWithDynamicScope(); itsSourceFile = null; // default is to generate debug info if (!cx.isGeneratingDebugChanged() || cx.isGeneratingDebug()) { itsSourceFile = scriptOrFn.getSourceName(); } version = cx.getLanguageVersion(); optLevel = cx.getOptimizationLevel(); // Generate nested function code int functionCount = scriptOrFn.getFunctionCount(); for (int i = 0; i != functionCount; ++i) { OptFunctionNode fn = (OptFunctionNode)scriptOrFn.getFunctionNode(i); Codegen codegen = new Codegen(mainCodegen); codegen.generateCode(cx, fn, names, classFiles); } classFile = new ClassFileWriter(generatedClassName, superClassName, itsSourceFile); Node codegenBase; if (inFunction) { generateInit(cx, superClassName); if (inDirectCallFunction) { 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); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.ALOAD_3); for (int i = 0; i < scriptOrFn.getParamCount(); i++) { push(i); addByteCode(ByteCode.ALOAD, 4); addByteCode(ByteCode.ARRAYLENGTH); int undefArg = acquireLabel(); int beyond = acquireLabel(); addByteCode(ByteCode.IF_ICMPGE, undefArg); addByteCode(ByteCode.ALOAD, 4); push(i); addByteCode(ByteCode.AALOAD); push(0.0); addByteCode(ByteCode.GOTO, beyond); markLabel(undefArg); pushUndefined(); push(0.0); markLabel(beyond); } addByteCode(ByteCode.ALOAD, 4); addVirtualInvoke(generatedClassName, "callDirect", fnCurrent.getDirectCallMethodSignature()); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)5, null); // 1 for this, 1 for js this, 1 for args[] emitDirectConstructor(); startCodeBodyMethod("callDirect", fnCurrent.getDirectCallMethodSignature()); assignParameterJRegs(fnCurrent); if (!fnCurrent.getParameterNumberContext()) { // make sure that all parameters are objects itsForcedObjectParameters = true; for (int i = 0; i < fnCurrent.getParamCount(); i++) { OptLocalVariable lVar = fnCurrent.getVar(i); aload(lVar.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int isObjectLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, isObjectLabel); addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); dload((short)(lVar.getJRegister() + 1)); addDoubleConstructor(); astore(lVar.getJRegister()); markLabel(isObjectLabel); } } generatePrologue(cx, scriptOrFn.getParamCount()); } else { startCodeBodyMethod("call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;)Ljava/lang/Object;"); generatePrologue(cx, -1); } codegenBase = scriptOrFn.getLastChild(); } else { // script classFile.addInterface("org/mozilla/javascript/Script"); generateInit(cx, superClassName); generateScriptCtor(cx, superClassName); generateMain(cx); generateExecute(cx); startCodeBodyMethod("call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;)Ljava/lang/Object;"); generatePrologue(cx, -1); int linenum = scriptOrFn.getEndLineno(); if (linenum != -1) classFile.addLineNumberEntry((short)linenum); scriptOrFn.addChildToBack(new Node(Token.RETURN)); codegenBase = scriptOrFn; } generateCodeFromNode(codegenBase, null); generateEpilogue(); finishMethod(cx, debugVars); emitConstantDudeInitializers(); if (isMainCodegen && mainCodegen.directCallTargets != null) { int N = mainCodegen.directCallTargets.size(); for (int i = 0; i != N; ++i) { OptFunctionNode fn = (OptFunctionNode)directCallTargets.get(i); classFile.addField(getDirectTargetFieldName(i), classNameToSignature(fn.getClassName()), (short)0); } } byte[] bytes = classFile.toByteArray(); names.add(generatedClassName); classFiles.add(bytes); classFile = null; }
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, 333, 18, 4263, 1162, 5372, 273, 2728, 1162, 5372, 31, 3639, 309, 261, 4263, 1162, 5372, 18, 588, 559, 1435, 422, 3155, 18, 7788, 13, 288, 5411, 316, 2083, 273, 638, 31, 5411, 2295, 3935, 273, 261, 6179, 2083, 907, 13, 4263, 1162, 5372, 31, 5411, 316, 5368, 1477, 2083, 273, 2295, 3935, 18, 291, 2326, 951, 5368, 1477, 5621, 5411, 4374, 3834, 273, 2295, 3935, 18, 588, 3834, 5621, 5411, 2240, 3834, 273, 13690, 67, 13272, 654, 67, 5237, 67, 1985, 31, 3639, 289, 469, 288, 5411, 368, 7844, 506, 279, 2728, 5411, 309, 261, 4263, 1162, 5372, 18, 588, 559, 1435, 480, 3155, 18, 10885, 13, 5570, 2471, 5621, 5411, 316, 2083, 273, 629, 31, 5411, 1250, 353, 6793, 273, 261, 529, 2276, 18, 588, 2326, 19581, 1435, 422, 446, 4766, 597, 508, 2276, 18, 588, 2326, 17516, 1435, 422, 446, 1769, 5411, 4374, 3834, 273, 22611, 3834, 12, 2011, 16, 353, 6793, 1769, 5411, 2240, 3834, 273, 22812, 67, 13272, 654, 67, 5237, 67, 1985, 31, 3639, 289, 3639, 4374, 797, 5374, 273, 2658, 774, 5374, 12, 11168, 3834, 1769, 3639, 2097, 3727, 9791, 3876, 273, 9494, 18, 5332, 9937, 7503, 1190, 9791, 3876, 5621, 3639, 2097, 31150, 273, 446, 31, 3639, 368, 805, 353, 358, 2103, 1198, 1123, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 333, 18, 4263, 1162, 5372, 273, 2728, 1162, 5372, 31, 3639, 309, 261, 4263, 1162, 5372, 18, 588, 559, 1435, 422, 3155, 18, 7788, 13, 288, 5411, 316, 2083, 273, 638, 31, 5411, 2295, 3935, 273, 261, 6179, 2083, 907, 13, 4263, 1162, 5372, 31, 5411, 316, 5368, 1477, 2083, 273, 2295, 3935, 18, 291, 2326, 951, 5368, 1477, 5621, 5411, 4374, 3834, 273, 2295, 3935, 18, 588, 3834, 5621, 5411, 2240, 3834, 273, 13690, 67, 13272, 654, 67, 5237, 67, 1985, 31, 3639, 2 ]
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 not found for OID" ); monitor.lookupFailed( oid, e ); throw e; }
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, 87, 18, 588, 12, 7764, 11272, 5411, 6438, 18, 7330, 329, 1211, 12, 7764, 16, 276, 11272, 5411, 327, 276, 31, 3639, 289, 3639, 26890, 425, 273, 394, 26890, 12, 315, 5559, 486, 1392, 364, 18026, 30, 315, 397, 7764, 11272, 3639, 6438, 18, 8664, 2925, 12, 7764, 16, 425, 11272, 3639, 604, 425, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 87, 18, 588, 12, 7764, 11272, 5411, 6438, 18, 7330, 329, 1211, 12, 7764, 16, 276, 11272, 5411, 327, 276, 31, 3639, 289, 3639, 26890, 425, 273, 394, 26890, 12, 315, 5559, 486, 1392, 364, 18026, 30, 315, 397, 7764, 11272, 3639, 6438, 18, 8664, 2925, 12, 7764, 16, 425, 11272, 3639, 604, 425, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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; case Id_toTimeString: return 0; case Id_toDateString: return 0; case Id_toLocaleString: return 0; case Id_toLocaleTimeString: return 0; case Id_toLocaleDateString: return 0; case Id_toUTCString: return 0; case Id_toSource: return 0; case Id_valueOf: return 0; case Id_getTime: return 0; case Id_getYear: return 0; case Id_getFullYear: return 0; case Id_getUTCFullYear: return 0; case Id_getMonth: return 0; case Id_getUTCMonth: return 0; case Id_getDate: return 0; case Id_getUTCDate: return 0; case Id_getDay: return 0; case Id_getUTCDay: return 0; case Id_getHours: return 0; case Id_getUTCHours: return 0; case Id_getMinutes: return 0; case Id_getUTCMinutes: return 0; case Id_getSeconds: return 0; case Id_getUTCSeconds: return 0; case Id_getMilliseconds: return 0; case Id_getUTCMilliseconds: return 0; case Id_getTimezoneOffset: return 0; case Id_setTime: return 1; case Id_setMilliseconds: return 1; case Id_setUTCMilliseconds: return 1; case Id_setSeconds: return 2; case Id_setUTCSeconds: return 2; case Id_setMinutes: return 3; case Id_setUTCMinutes: return 3; case Id_setHours: return 4; case Id_setUTCHours: return 4; case Id_setDate: return 1; case Id_setUTCDate: return 1; case Id_setMonth: return 2; case Id_setUTCMonth: return 2; case Id_setFullYear: return 3; case Id_setUTCFullYear: return 3; case Id_setYear: return 1; } } return super.methodArity(methodId); }
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, 31, 7734, 648, 11417, 548, 67, 2670, 30, 282, 327, 404, 31, 7734, 648, 3124, 67, 12316, 30, 3639, 327, 404, 31, 7734, 648, 3124, 67, 10492, 30, 6647, 327, 374, 31, 7734, 648, 3124, 67, 869, 950, 780, 30, 4202, 327, 374, 31, 7734, 648, 3124, 67, 869, 1626, 780, 30, 4202, 327, 374, 31, 7734, 648, 3124, 67, 869, 3916, 780, 30, 377, 327, 374, 31, 7734, 648, 3124, 67, 869, 3916, 950, 780, 30, 327, 374, 31, 7734, 648, 3124, 67, 869, 3916, 1626, 780, 30, 327, 374, 31, 7734, 648, 3124, 67, 869, 11471, 780, 30, 3639, 327, 374, 31, 7734, 648, 3124, 67, 869, 1830, 30, 6647, 327, 374, 31, 7734, 648, 3124, 67, 1132, 951, 30, 5411, 327, 374, 31, 7734, 648, 3124, 67, 588, 950, 30, 5411, 327, 374, 31, 7734, 648, 3124, 67, 588, 5593, 30, 5411, 327, 374, 31, 7734, 648, 3124, 67, 588, 5080, 5593, 30, 3639, 327, 374, 31, 7734, 648, 3124, 67, 588, 11471, 5080, 5593, 30, 377, 327, 374, 31, 7734, 648, 3124, 67, 588, 5445, 30, 6647, 327, 374, 31, 7734, 648, 3124, 67, 588, 11471, 5445, 30, 3639, 327, 374, 31, 7734, 648, 3124, 67, 588, 1626, 30, 5411, 327, 374, 31, 7734, 648, 3124, 67, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31, 7734, 648, 11417, 548, 67, 2670, 30, 282, 327, 404, 31, 7734, 648, 3124, 67, 12316, 30, 3639, 327, 404, 31, 7734, 648, 3124, 67, 10492, 30, 6647, 327, 374, 31, 7734, 648, 3124, 67, 869, 950, 780, 30, 4202, 327, 374, 31, 7734, 648, 3124, 67, 869, 1626, 780, 30, 4202, 327, 374, 31, 7734, 648, 3124, 67, 869, 3916, 780, 30, 377, 327, 374, 31, 7734, 648, 3124, 67, 869, 3916, 950, 780, 30, 327, 374, 31, 7734, 648, 3124, 2 ]
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 ); MetadataXpp3Reader metadataReader = new MetadataXpp3Reader(); Metadata m = metadataReader.read( reader ); String metaGroupId = m.getGroupId(); String metaArtifactId = m.getArtifactId(); String metaVersion = m.getVersion(); // check if the groupId, artifactId and version is in the // metadataPath // parse the path, in reverse order List pathParts = new ArrayList(); StringTokenizer st = new StringTokenizer( metadataPath, "/\\" ); while ( st.hasMoreTokens() ) { pathParts.add( st.nextToken() ); } Collections.reverse( pathParts ); // remove the metadata file pathParts.remove( 0 ); Iterator it = pathParts.iterator(); String tmpDir = (String) it.next(); ArtifactHandler handler = new DefaultArtifactHandler( "jar" ); VersionRange version = VersionRange.createFromVersion( metaVersion ); Artifact artifact = new DefaultArtifact( metaGroupId, metaArtifactId, version, "compile", "jar", "", handler ); // snapshotMetadata if ( tmpDir.equals( metaVersion ) ) { metadata = new SnapshotArtifactRepositoryMetadata( artifact ); } else if ( tmpDir.equals( metaArtifactId ) ) { // artifactMetadata metadata = new ArtifactRepositoryMetadata( artifact ); } else { String groupDir = ""; int ctr = 0; for ( it = pathParts.iterator(); it.hasNext(); ) { String path = (String) it.next(); if ( ctr == 0 ) { groupDir = path; } else { groupDir = path + "." + groupDir; } ctr++; } // groupMetadata if ( metaGroupId.equals( groupDir ) ) { metadata = new GroupRepositoryMetadata( metaGroupId ); } } } catch ( FileNotFoundException fe ) { // TODO: log ignored metadata } catch ( XmlPullParserException xe ) { // TODO: log ignored metadata } catch ( MalformedURLException e ) { // TODO: log ignored metadata } catch ( IOException ie ) { // TODO: log ignored metadata } return metadata; }
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, 397, 4016, 397, 1982, 743, 262, 18, 869, 1785, 5621, 5411, 5037, 353, 273, 880, 18, 3190, 1228, 5621, 5411, 5393, 2949, 273, 394, 15322, 12, 353, 11272, 5411, 6912, 60, 11858, 23, 2514, 1982, 2514, 273, 394, 6912, 60, 11858, 23, 2514, 5621, 5411, 6912, 312, 273, 1982, 2514, 18, 896, 12, 2949, 11272, 5411, 514, 2191, 8722, 273, 312, 18, 588, 8722, 5621, 5411, 514, 2191, 7581, 548, 273, 312, 18, 588, 7581, 548, 5621, 5411, 514, 2191, 1444, 273, 312, 18, 588, 1444, 5621, 5411, 368, 866, 309, 326, 6612, 16, 25496, 471, 1177, 353, 316, 326, 5411, 368, 1982, 743, 5411, 368, 1109, 326, 589, 16, 316, 4219, 1353, 5411, 987, 25628, 273, 394, 2407, 5621, 5411, 16370, 384, 273, 394, 16370, 12, 1982, 743, 16, 2206, 27576, 11272, 5411, 1323, 261, 384, 18, 5332, 7417, 5157, 1435, 262, 5411, 288, 7734, 25628, 18, 1289, 12, 384, 18, 4285, 1345, 1435, 11272, 5411, 289, 5411, 5737, 18, 9845, 12, 25628, 11272, 5411, 368, 1206, 326, 1982, 585, 5411, 25628, 18, 4479, 12, 374, 11272, 5411, 4498, 518, 273, 25628, 18, 9838, 5621, 5411, 514, 22521, 273, 261, 780, 13, 518, 18, 4285, 5621, 5411, 14022, 1503, 1838, 273, 394, 2989, 7581, 1503, 12, 315, 11930, 6, 11272, 5411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 397, 4016, 397, 1982, 743, 262, 18, 869, 1785, 5621, 5411, 5037, 353, 273, 880, 18, 3190, 1228, 5621, 5411, 5393, 2949, 273, 394, 15322, 12, 353, 11272, 5411, 6912, 60, 11858, 23, 2514, 1982, 2514, 273, 394, 6912, 60, 11858, 23, 2514, 5621, 5411, 6912, 312, 273, 1982, 2514, 18, 896, 12, 2949, 11272, 5411, 514, 2191, 8722, 273, 312, 18, 588, 8722, 5621, 5411, 514, 2191, 7581, 548, 273, 312, 18, 588, 7581, 548, 5621, 5411, 514, 2191, 1444, 273, 312, 18, 2 ]
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); assertTrue(class1s[1] instanceof ICPPClassType); assertTrue(class1s[2] instanceof ICPPMethod); assertTrue(class1s[3] instanceof ICPPClassType); /** result #1 * */ ICPPClassType class1 = (ICPPClassType) class1s[0]; assertEquals("Class1", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(class1))); IBinding[] methods = class1.getMethods(); assertEquals(0, methods.length); /** result #2 * */ ICPPClassType class2 = (ICPPClassType) class1s[1]; assertEquals("namespace1::Class1", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(class2))); /* Members in this class */ // methods methods = class2.getMethods(); assertEquals(2, methods.length); assertEquals("Class1", methods[0].getName()); assertEquals("~Class1", methods[1].getName()); // nested class IBinding[] nested = class2.getNestedClasses(); assertEquals(1, nested.length); assertEquals("Class2", nested[0].getName()); // fields IBinding[] fields = class2.getFields(); assertEquals(2, fields.length); assertEquals("class1x", fields[0].getName()); assertEquals("class1y", fields[1].getName()); /** result #3 * */ ICPPMethod method3 = (ICPPMethod) class1s[2]; assertEquals("namespace1::Class1::Class1", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(method3))); assertEquals(method3, methods[0]); /** result #4 * */ ICPPClassType class4 = (ICPPClassType) class1s[3]; assertEquals("namespace1::namespace2::Class1", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(class4))); methods = class4.getMethods(); assertEquals(0, methods.length); /* Search for "Class2" */ IBinding[] class2s = pdom.findBindings(Pattern.compile("Class2"), false, INDEX_FILTER, NULL_MONITOR); assertEquals(4, class2s.length); assertTrue(class2s[0] instanceof ICPPClassType); assertTrue(class2s[1] instanceof ICPPMethod); assertTrue(class2s[2] instanceof ICPPClassType); assertTrue(class2s[3] instanceof ICPPClassType); /** result #1 * */ ICPPClassType cls1 = (ICPPClassType) class2s[0]; assertEquals("Class2", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(cls1))); methods = cls1.getMethods(); assertEquals(3, methods.length); assertEquals("Class2", methods[0].getName()); assertEquals("~Class2", methods[1].getName()); assertEquals("foo", methods[2].getName()); /** result #2 * */ ICPPMethod meth2 = (ICPPMethod) class2s[1]; assertEquals("Class2::Class2", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(meth2))); assertEquals(meth2, methods[0]); /** result #3 * */ ICPPClassType cls3 = (ICPPClassType) class2s[2]; assertEquals("namespace1::Class1::Class2", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(cls3))); /** result #3 * */ ICPPClassType cls4 = (ICPPClassType) class2s[3]; assertEquals("namespace1::Class2", getBindingQualifiedName(pdom.getLinkages()[0].adaptBinding(cls4))); /* Nested class references - namespace1::Class1::Class2 */ IName[] refs = pdom.findNames(cls3, IIndex.FIND_REFERENCES); assertEquals(0, refs.length); /* Nested class declaration */ IName[] decls = pdom.findNames(cls3, IIndex.FIND_DECLARATIONS); assertEquals(0, decls.length); /* Nested class definition */ IName[] defs = pdom.findNames(cls3, IIndex.FIND_DEFINITIONS); assertEquals(1, defs.length); IASTFileLocation loc = defs[0].getFileLocation(); assertEquals(offset("Class1.h","class Class2 { //namespace1::Class1::Class2") + 6, loc.getNodeOffset()); //character offset }
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, 202, 202, 45, 5250, 8526, 667, 21, 87, 273, 4863, 362, 18, 4720, 10497, 12, 3234, 18, 11100, 2932, 797, 21, 6, 3631, 629, 16, 12425, 67, 11126, 16, 3206, 67, 17667, 30153, 1769, 202, 202, 11231, 8867, 12, 24, 16, 667, 21, 87, 18, 2469, 1769, 202, 202, 11231, 5510, 12, 1106, 21, 87, 63, 20, 65, 1276, 467, 4258, 52, 18328, 1769, 202, 202, 11231, 5510, 12, 1106, 21, 87, 63, 21, 65, 1276, 467, 4258, 52, 18328, 1769, 202, 202, 11231, 5510, 12, 1106, 21, 87, 63, 22, 65, 1276, 467, 4258, 52, 1305, 1769, 202, 202, 11231, 5510, 12, 1106, 21, 87, 63, 23, 65, 1276, 467, 4258, 52, 18328, 1769, 202, 202, 26873, 563, 468, 21, 380, 1195, 202, 202, 2871, 6584, 18328, 667, 21, 273, 261, 2871, 6584, 18328, 13, 667, 21, 87, 63, 20, 15533, 202, 202, 11231, 8867, 2932, 797, 21, 3113, 29471, 12345, 12, 84, 9859, 18, 588, 2098, 1023, 1435, 63, 20, 8009, 19195, 5250, 12, 1106, 21, 3719, 1769, 202, 202, 45, 5250, 8526, 2590, 273, 667, 21, 18, 588, 4712, 5621, 202, 202, 11231, 8867, 12, 20, 16, 2590, 18, 2469, 1769, 202, 202, 26873, 563, 468, 22, 380, 1195, 202, 202, 2871, 6584, 18328, 667, 22, 273, 261, 2871, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 202, 45, 5250, 8526, 667, 21, 87, 273, 4863, 362, 18, 4720, 10497, 12, 3234, 18, 11100, 2932, 797, 21, 6, 3631, 629, 16, 12425, 67, 11126, 16, 3206, 67, 17667, 30153, 1769, 202, 202, 11231, 8867, 12, 24, 16, 667, 21, 87, 18, 2469, 1769, 202, 202, 11231, 5510, 12, 1106, 21, 87, 63, 20, 65, 1276, 467, 4258, 52, 18328, 1769, 202, 202, 11231, 5510, 12, 1106, 21, 87, 63, 21, 65, 1276, 467, 4258, 52, 18328, 1769, 202, 202, 11231, 2 ]
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() { public IInformationControl createInformationControl(Shell shell) { boolean cutDown= false; int style= cutDown ? SWT.NONE : (SWT.V_SCROLL | SWT.H_SCROLL); return new DefaultInformationControl(shell, SWT.RESIZE, style, new HTMLTextPresenter(cutDown)); } }; fInformationPresenter= new InformationPresenter(informationControlCreator); fInformationPresenter.setSizeConstraints(60, 10, true, true); fInformationPresenter.install(getSourceViewer()); fEditorSelectionChangedListener= new EditorSelectionChangedListener(); fEditorSelectionChangedListener.install(getSelectionProvider()); if (isBrowserLikeLinks()) enableBrowserLikeLinks(); if (PreferenceConstants.getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE)) configureInsertMode(OVERWRITE, false); if (fMarkOccurrenceAnnotations) installOccurrencesFinder(); getEditorSite().getShell().addShellListener(fActivationListener); }
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, 12377, 5621, 202, 202, 23219, 18, 1289, 1396, 15744, 12, 74, 1396, 15744, 1769, 6862, 1082, 202, 45, 5369, 3367, 10636, 1779, 3367, 10636, 33, 394, 467, 5369, 3367, 10636, 1435, 288, 1082, 202, 482, 467, 5369, 3367, 752, 5369, 3367, 12, 13220, 5972, 13, 288, 9506, 202, 6494, 6391, 4164, 33, 629, 31, 9506, 202, 474, 2154, 33, 6391, 4164, 692, 348, 8588, 18, 9826, 294, 261, 55, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 1769, 9506, 202, 2463, 394, 2989, 5369, 3367, 12, 10304, 16, 348, 8588, 18, 862, 4574, 16, 2154, 16, 394, 3982, 1528, 25684, 12, 5150, 4164, 10019, 1082, 202, 97, 202, 202, 20451, 202, 202, 74, 5369, 25684, 33, 394, 15353, 25684, 12, 13117, 3367, 10636, 1769, 202, 202, 74, 5369, 25684, 18, 542, 1225, 4878, 12, 4848, 16, 1728, 16, 638, 16, 638, 1769, 9506, 202, 74, 5369, 25684, 18, 5425, 12, 588, 1830, 18415, 10663, 9506, 202, 74, 6946, 6233, 5033, 2223, 33, 394, 18451, 6233, 5033, 2223, 5621, 202, 202, 74, 6946, 6233, 5033, 2223, 18, 5425, 12, 588, 6233, 2249, 10663, 9506, 202, 430, 261, 291, 9132, 8804, 7100, 10756, 1082, 202, 7589, 9132, 8804, 7100, 5621, 202, 202, 430, 261, 9624, 2918, 18, 588, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12377, 5621, 202, 202, 23219, 18, 1289, 1396, 15744, 12, 74, 1396, 15744, 1769, 6862, 1082, 202, 45, 5369, 3367, 10636, 1779, 3367, 10636, 33, 394, 467, 5369, 3367, 10636, 1435, 288, 1082, 202, 482, 467, 5369, 3367, 752, 5369, 3367, 12, 13220, 5972, 13, 288, 9506, 202, 6494, 6391, 4164, 33, 629, 31, 9506, 202, 474, 2154, 33, 6391, 4164, 692, 348, 8588, 18, 9826, 294, 261, 55, 8588, 18, 58, 67, 2312, 14555, 571, 348, 8588, 18, 44, 67, 2312, 14555, 1769, 2 ]
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, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, 11844, 67, 3670, 294, 19817, 2360, 18, 11844, 67, 4400, 1769, 202, 202, 644, 454, 12, 588, 54, 10340, 7675, 267, 798, 2932, 11160, 6, 3631, 833, 1769, 202, 202, 27768, 18, 588, 2360, 7675, 5120, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 11844, 67, 3670, 294, 19817, 2360, 18, 11844, 67, 4400, 1769, 202, 202, 644, 454, 12, 588, 54, 10340, 7675, 267, 798, 2932, 11160, 6, 3631, 833, 1769, 202, 202, 27768, 18, 588, 2360, 7675, 5120, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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.iterator(); arg_it.hasNext(); ) { params[i++] = vs.substitute ((String)arg_it.next(), "plain"); } try { Process p = Runtime.getRuntime().exec (params); OutputMonitor stdoutMon = new OutputMonitor (this.handler, p.getInputStream(), false); OutputMonitor stderrMon = new OutputMonitor (this.handler, p.getErrorStream(), true); Thread stdoutThread = new Thread (stdoutMon); Thread stderrThread = new Thread (stderrMon); stdoutThread.setDaemon(true); stderrThread.setDaemon(true); stdoutThread.start(); stderrThread.start(); try { int exitStatus = p.waitFor (); stopMonitor(stdoutMon, stdoutThread); stopMonitor(stderrMon, stderrThread); if (exitStatus != 0) { if (this.handler.askQuestion("process execution failed", "Continue anyway?", AbstractUIHandler.CHOICES_YES_NO, AbstractUIHandler.ANSWER_YES) == AbstractUIHandler.ANSWER_NO) { return false; } } } catch (InterruptedException ie) { p.destroy (); this.handler.emitError ("process interrupted", ie.toString ()); return false; } } catch (IOException ioe) { this.handler.emitError("I/O error", ioe.toString()); return false; } return true; }
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, 18, 7099, 18, 1467, 1435, 15, 21, 15533, 2868, 859, 63, 20, 65, 273, 6195, 18, 1717, 17207, 12, 2211, 18, 3459, 16, 315, 7446, 8863, 7734, 509, 277, 273, 404, 31, 1377, 364, 261, 3198, 1501, 67, 305, 273, 333, 18, 7099, 18, 9838, 5621, 1501, 67, 305, 18, 5332, 2134, 5621, 262, 1377, 288, 3639, 859, 63, 77, 9904, 65, 273, 6195, 18, 1717, 17207, 14015, 780, 13, 3175, 67, 305, 18, 4285, 9334, 315, 7446, 8863, 1377, 289, 5411, 775, 1377, 288, 3639, 4389, 293, 273, 2509, 18, 588, 5576, 7675, 4177, 261, 2010, 1769, 7734, 3633, 7187, 3909, 11415, 273, 394, 3633, 7187, 261, 2211, 18, 4176, 16, 293, 18, 588, 4348, 9334, 629, 1769, 3639, 3633, 7187, 4514, 11415, 273, 394, 3633, 7187, 261, 2211, 18, 4176, 16, 293, 18, 588, 668, 1228, 9334, 638, 1769, 3639, 4884, 3909, 3830, 273, 394, 4884, 261, 10283, 11415, 1769, 3639, 4884, 4514, 3830, 273, 394, 4884, 261, 11241, 11415, 1769, 3639, 3909, 3830, 18, 542, 12858, 12, 3767, 1769, 3639, 4514, 3830, 18, 542, 12858, 12, 3767, 1769, 3639, 3909, 3830, 18, 1937, 5621, 3639, 4514, 3830, 18, 1937, 5621, 7734, 775, 3639, 288, 1850, 509, 2427, 1482, 273, 293, 18, 7048, 1290, 5621, 10792, 2132, 7187, 12, 10283, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18, 7099, 18, 1467, 1435, 15, 21, 15533, 2868, 859, 63, 20, 65, 273, 6195, 18, 1717, 17207, 12, 2211, 18, 3459, 16, 315, 7446, 8863, 7734, 509, 277, 273, 404, 31, 1377, 364, 261, 3198, 1501, 67, 305, 273, 333, 18, 7099, 18, 9838, 5621, 1501, 67, 305, 18, 5332, 2134, 5621, 262, 1377, 288, 3639, 859, 63, 77, 9904, 65, 273, 6195, 18, 1717, 17207, 14015, 780, 13, 3175, 67, 305, 18, 4285, 9334, 315, 7446, 8863, 1377, 289, 5411, 775, 1377, 2 ]
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, 422, 446, 13, 1377, 4250, 18, 1188, 7566, 32, 318, 13188, 2984, 1769, 565, 469, 1377, 4250, 18, 1188, 261, 82, 1769, 565, 4250, 18, 1188, 7707, 1870, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 422, 446, 13, 1377, 4250, 18, 1188, 7566, 32, 318, 13188, 2984, 1769, 565, 469, 1377, 4250, 18, 1188, 261, 82, 1769, 565, 4250, 18, 1188, 7707, 1870, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 that by checking of hierarchy and // dimension name is the same. if (mdxHierarchy != null && !mdxHierarchy.getName().equalsIgnoreCase(getName())) { return mdxHierarchy; } // Defer to the default hierarchy. return getHierarchy().lookupChild(schemaReader, s); }
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, 7849, 364, 306, 49, 297, 7053, 2685, 8009, 63, 49, 297, 7053, 2685, 65, 732, 3639, 368, 1410, 486, 327, 3481, 92, 12074, 315, 49, 297, 7053, 2685, 3113, 2724, 3904, 353, 3639, 368, 7849, 364, 1801, 300, 732, 848, 866, 716, 635, 6728, 434, 9360, 471, 3639, 368, 4968, 508, 353, 326, 1967, 18, 3639, 309, 261, 1264, 92, 12074, 480, 446, 597, 5411, 401, 1264, 92, 12074, 18, 17994, 7675, 14963, 5556, 12, 17994, 1435, 3719, 288, 5411, 327, 3481, 92, 12074, 31, 3639, 289, 3639, 368, 1505, 586, 358, 326, 805, 9360, 18, 3639, 327, 7628, 6000, 7675, 8664, 1763, 12, 4821, 2514, 16, 272, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0 ]
[ 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, 7849, 364, 306, 49, 297, 7053, 2685, 8009, 63, 49, 297, 7053, 2685, 65, 732, 3639, 368, 1410, 486, 327, 3481, 92, 12074, 315, 49, 297, 7053, 2685, 3113, 2724, 3904, 353, 3639, 368, 7849, 364, 1801, 300, 732, 848, 866, 716, 635, 6728, 434, 9360, 471, 3639, 368, 4968, 508, 353, 326, 1967, 18, 3639, 309, 261, 1264, 92, 12074, 480, 446, 597, 5411, 401, 1264, 92, 12074, 18, 17994, 7675, 14963, 5556, 12, 17994, 1435, 3719, 288, 5411, 327, 3481, 92, 2 ]
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(); definitelyDifferentBranchSet.clear(); undeterminedBranchSet.clear(); if (DEBUG) System.out.println(SignatureConverter.convertMethodSignature(classContext.getMethodGen(method))); // Get the IsNullValueAnalysis for the method from the ClassContext IsNullValueDataflow invDataflow = classContext.getIsNullValueDataflow(method); // Look for null check blocks where the reference being checked // is definitely null, or null on some path Iterator<BasicBlock> bbIter = invDataflow.getCFG().blockIterator(); while (bbIter.hasNext()) { BasicBlock basicBlock = bbIter.next(); if (basicBlock.isNullCheck()) { analyzeNullCheck(classContext, method, invDataflow, basicBlock); } else if (!basicBlock.isEmpty()) { // Look for all reference comparisons where // - both values compared are definitely null, or // - one value is definitely null and one is definitely not null // These cases are not null dereferences, // but they are quite likely to indicate an error, so while we've got // information about null values, we may as well report them. InstructionHandle lastHandle = basicBlock.getLastInstruction(); Instruction last = lastHandle.getInstruction(); switch (last.getOpcode()) { case Constants.IF_ACMPEQ: case Constants.IF_ACMPNE: analyzeRefComparisonBranch(method, invDataflow, basicBlock, lastHandle); break; case Constants.IFNULL: case Constants.IFNONNULL: analyzeIfNullBranch(method, invDataflow, basicBlock, lastHandle); break; } } } Iterator<RedundantBranch> i = redundantBranchList.iterator(); while (i.hasNext()) { RedundantBranch redundantBranch = i.next(); if (DEBUG) System.out.println("Redundant branch: " + redundantBranch); InstructionHandle handle = redundantBranch.handle; int lineNumber = redundantBranch.lineNumber; // The source to bytecode compiler may sometimes duplicate blocks of // code along different control paths. So, to report the bug, // we check to ensure that the branch is REALLY determined each // place it is duplicated, and that it is determined in the same way. if (!undeterminedBranchSet.get(lineNumber) && !(definitelySameBranchSet.get(lineNumber) && definitelyDifferentBranchSet.get(lineNumber))) { reportRedundantNullCheck(classContext, method, handle, redundantBranch); } } }
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, 1042, 18, 588, 5852, 797, 5621, 202, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 4756, 5968, 19530, 3803, 1779, 8863, 202, 202, 1118, 15362, 7108, 682, 18, 8507, 5621, 202, 202, 536, 2738, 2357, 8650, 7108, 694, 18, 8507, 5621, 202, 202, 536, 2738, 2357, 26270, 7108, 694, 18, 8507, 5621, 202, 202, 1074, 4443, 329, 7108, 694, 18, 8507, 5621, 202, 202, 430, 261, 9394, 13, 1082, 202, 3163, 18, 659, 18, 8222, 12, 5374, 5072, 18, 6283, 1305, 5374, 12, 1106, 1042, 18, 588, 1305, 7642, 12, 2039, 3719, 1769, 202, 202, 759, 968, 326, 30230, 620, 9418, 364, 326, 707, 628, 326, 1659, 1042, 202, 202, 2520, 2041, 620, 751, 2426, 2198, 751, 2426, 273, 667, 1042, 18, 588, 2520, 2041, 620, 751, 2426, 12, 2039, 1769, 202, 202, 759, 10176, 364, 446, 866, 4398, 1625, 326, 2114, 3832, 5950, 202, 202, 759, 353, 2217, 25818, 446, 16, 578, 446, 603, 2690, 589, 202, 202, 3198, 32, 8252, 1768, 34, 7129, 2360, 273, 2198, 751, 2426, 18, 588, 19727, 7675, 2629, 3198, 5621, 202, 202, 17523, 261, 9897, 2360, 18, 5332, 2134, 10756, 288, 1082, 202, 8252, 1768, 5337, 1768, 273, 7129, 2360, 18, 4285, 5621, 1082, 202, 430, 261, 13240, 1768, 18, 291, 2041, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1042, 18, 588, 5852, 797, 5621, 202, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 4756, 5968, 19530, 3803, 1779, 8863, 202, 202, 1118, 15362, 7108, 682, 18, 8507, 5621, 202, 202, 536, 2738, 2357, 8650, 7108, 694, 18, 8507, 5621, 202, 202, 536, 2738, 2357, 26270, 7108, 694, 18, 8507, 5621, 202, 202, 1074, 4443, 329, 7108, 694, 18, 8507, 5621, 202, 202, 430, 261, 9394, 13, 1082, 202, 3163, 18, 659, 18, 8222, 12, 5374, 5072, 18, 6283, 1305, 2 ]
}
}
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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; default: dimOrder = "XYZCT";
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; default: dimOrder = "XYZCT";
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(); // get Zeiss LSM-specific data // grab the TIF_CZ_LSMINFO structure, 512 bytes long short[] cz = TiffTools.getIFDShortArray(ifd, ZEISS_ID, true); int p = 0; // pointer to next byte in the structure put("MagicNumber", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("StructureSize", DataTools.bytesToInt(cz, p, little)); p += 4; put("DimensionX", DataTools.bytesToInt(cz, p, little)); p += 4; put("DimensionY", DataTools.bytesToInt(cz, p, little)); p += 4; put("DimensionZ", DataTools.bytesToInt(cz, p, little)); p += 4; int dimensionChannels = DataTools.bytesToInt(cz, p, little); put("DimensionChannels", dimensionChannels); p += 4; put("DimensionTime", DataTools.bytesToInt(cz, p, little)); p += 4; idata = DataTools.bytesToInt(cz, p, little); String type; switch (idata) { case 1: type = "8 bit unsigned integer"; break; case 2: type = "12 bit unsigned integer"; break; case 5: type = "32 bit float"; break; case 0: type = "varying data types"; break; default: type = "8 bit unsigned integer"; break; } put("DataType", type); p += 4; put("ThumbnailX", DataTools.bytesToInt(cz, p, little)); p += 4; put("ThumbnailY", DataTools.bytesToInt(cz, p, little)); p += 4; put("VoxelSizeX", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("VoxelSizeY", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("VoxelSizeZ", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8 + 24; // skip over the next 24 bytes idata = DataTools.bytesToInt(cz, p, 2, little); switch (idata) { case 0: type = "x-y-z scan"; break; case 1: type = "z scan (x-z plane)"; break; case 2: type = "line scan"; break; case 3: type = "time series x-y"; break; case 4: type = "time series x-z"; break; case 5: type = "time series 'Mean of ROIs'"; break; case 6: type = "time series x-y-z"; break; case 7: type = "spline scan"; break; case 8: type = "spline scan x-z"; break; case 9: type = "time series spline plane x-z"; break; case 10: type = "point mode"; break; default: type = "x-y-z scan"; } put("ScanType", type); p += 2; idata = DataTools.bytesToInt(cz, p, 2, little); switch (idata) { case 0: type = "no spectral scan"; break; case 1: type = "acquired with spectral scan"; break; default: type = "no spectral scan"; } put("SpectralScan", type); p += 2; data = DataTools.bytesToLong(cz, p, 4, little); switch ((int) data) { case 0: type = "original scan data"; break; case 1: type = "calculated data"; break; case 2: type = "animation"; break; default: type = "original scan data"; } put("DataType2", type); p += 4; // -- Parse OME-XML metadata -- short[] omeData = TiffTools.getIFDShortArray(ifd, ZEISS_ID, true); int imageWidth = DataTools.bytesToInt(omeData, 8, little); int imageLength = DataTools.bytesToInt(omeData, 12, little); zSize = DataTools.bytesToInt(omeData, 16, little); int cSize = DataTools.bytesToInt(omeData, 20, little); tSize = DataTools.bytesToInt(omeData, 24, little); int pixel = DataTools.bytesToInt(omeData, 28, little); switch (pixel) { case 1: pixelType[0] = FormatReader.UINT8; break; case 2: pixelType[0] = FormatReader.UINT16; break; case 5: pixelType[0] = FormatReader.FLOAT; break; default: pixelType[0] = FormatReader.UINT8; } short scanType = DataTools.bytesToShort(omeData, 88, little); switch ((int) scanType) { 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; default: dimOrder = "XYZCT"; } channels = cSize; // some LSM files will have a thumbnail associated with each plane; this // thumbnail is counted as an extra channel, but since we strip out the // thumbnails, we need to correct the channel count while (zSize * cSize * tSize > numImages) { cSize--; } if (cSize == 0) cSize++; if (isRGB(currentId) && cSize == 1 && channels > 2) cSize = 3; channels = cSize; // The metadata store we're working with. MetadataStore store = getMetadataStore(currentId); store.setPixels( new Integer(imageWidth), // SizeX new Integer(imageLength), // SizeY new Integer(zSize), // SizeZ new Integer(cSize), // SizeC new Integer(tSize), // SizeT new Integer(pixelType[0]), // PixelType null, // BigEndian dimOrder, // DimensionOrder null); int pos = in.getFilePointer(); // the following 4 are file offsets data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetVectorOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseSubBlocks(data, "OffsetInputLut", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseSubBlocks(data, "OffsetOutputLut", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); // seek to this offset and read in the structure there // first we have to make sure that the structure actually exists if (data != 0) { pos = in.getFilePointer(); in.seek(data + 4); pos = in.getFilePointer() - 4; int numColors = in.readInt(); int numNames = in.readInt(); if (numColors > getSizeC(currentId)) { in.seek(data - 2); pos = in.getFilePointer() + 7; in.order(!in.isLittleEndian()); in.readInt(); numColors = in.readInt(); numNames = in.readInt(); } idata = in.readInt(); int nameData = in.readInt(); long offsetNames = pos + idata; // will seek to this // read in the intensity value for each color in.seek(offsetNames); for (int i=0; i<numColors; i++) { data = in.readInt(); put("Intensity" + i, data); } // read in the channel names for (int i=0; i<numNames; i++) { // we want to read until we find a null char StringBuffer sb = new StringBuffer(); char current = (char) in.read(); while (current != 0) { sb.append(current); current = (char) in.read(); } String name = sb.toString(); put("ChannelName" + i, name); } in.seek(pos); in.order(isLittleEndian(currentId)); } p += 4; put("TimeInterval", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; // the following 8 are file offsets data = DataTools.bytesToLong(cz, p, 4, little); if (data != 0) { in.skipBytes((int) data); for (int i=0; i<dimensionChannels; i++) { put("OffsetChannelDataTypes" + i, in.readInt()); } in.seek(pos); } p += 4; put("OffsetScanInformation", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("OffsetKsData", DataTools.bytesToLong(cz, p, 4, little)); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); if (data != 0) { pos = in.getFilePointer(); in.skipBytes((int) data + 4); int numStamps = in.readInt(); if (numStamps > 1000) numStamps = 1000; for (int i=0; i<numStamps; i++) { ddata = in.readDouble(); put("TimeStamp" + i, ddata); } in.seek(pos); } p += 4; data = DataTools.bytesToLong(cz, p, 4, little); if (data != 0) { pos = in.getFilePointer(); long numBytes = in.readInt(); int numEvents = in.readInt(); in.seek((int) (pos + data + 8)); for (int i=0; i<numEvents; i++) { in.readInt(); ddata = in.readDouble(); put("Time" + i, ddata); data = in.readInt(); put("EventType" + i, data); byte[] descr = new byte[(int) (numBytes - 16)]; in.read(descr); put("Description" + i, new String(descr)); } in.seek(pos); } p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetRoi", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetBleachRoi", little); p += 4; put("OffsetNextRecording", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("DisplayAspectX", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("DisplayAspectY", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("DisplayAspectZ", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("DisplayAspectTime", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; // the following 4 are file offsets data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetMeanOfRoisOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetTopoIsolineOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetTopoProfileOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetLinescanOverlay", little); p += 4; put("ToolbarFlags", DataTools.bytesToLong(cz, p, 4, little)); // the following 2 are file offsets put("OffsetChannelWavelength", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("OffsetChannelFactors", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("ObjectiveSphereCorrection", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; // the following is a file offset put("OffsetUnmixParameters", DataTools.bytesToLong(cz, p, 4, little)); p += 4; in.seek(pos); } catch (FormatException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { } sizeZ[0] = zSize > 0 ? zSize : 1; sizeC[0] = channels > 0 ? channels : 1; sizeT[0] = tSize > 0 ? tSize : 1; currentOrder[0] = "XYZCT"; try { Float pixX = new Float(metadata.get("VoxelSizeX").toString()); Float pixY = new Float(metadata.get("VoxelSizeY").toString()); Float pixZ = new Float(metadata.get("VoxelSizeZ").toString()); MetadataStore store = getMetadataStore(currentId); store.setDimensions(pixX, pixY, pixZ, null, null, null); } catch (Exception e) { } }
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, 565, 368, 6620, 272, 892, 273, 374, 31, 565, 775, 288, 1377, 368, 1493, 2884, 4529, 1982, 1493, 1377, 368, 4199, 1160, 1353, 1377, 1250, 12720, 273, 399, 3048, 10348, 18, 291, 48, 10609, 12, 430, 72, 1769, 1377, 316, 18, 1019, 12, 80, 7188, 1769, 1377, 2240, 18, 2738, 2277, 5621, 1377, 368, 336, 23587, 1054, 511, 7303, 17, 12524, 501, 1377, 368, 11086, 326, 399, 5501, 67, 39, 62, 67, 3045, 49, 5923, 3695, 16, 13908, 1731, 1525, 1377, 3025, 8526, 276, 94, 273, 399, 3048, 10348, 18, 588, 5501, 40, 4897, 1076, 12, 430, 72, 16, 2285, 41, 25689, 67, 734, 16, 638, 1769, 1377, 509, 293, 273, 374, 31, 368, 4407, 358, 1024, 1160, 316, 326, 3695, 1377, 1378, 2932, 19289, 1854, 3113, 1910, 10348, 18, 3890, 30220, 12, 71, 94, 16, 293, 16, 1059, 16, 12720, 10019, 1377, 293, 1011, 1059, 31, 1377, 1378, 2932, 6999, 1225, 3113, 1910, 10348, 18, 3890, 17864, 12, 71, 94, 16, 293, 16, 12720, 10019, 1377, 293, 1011, 1059, 31, 1377, 1378, 2932, 8611, 60, 3113, 1910, 10348, 18, 3890, 17864, 12, 71, 94, 16, 293, 16, 12720, 10019, 1377, 293, 1011, 1059, 31, 1377, 1378, 2932, 8611, 61, 3113, 1910, 10348, 18, 3890, 17864, 12, 71, 94, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 368, 6620, 272, 892, 273, 374, 31, 565, 775, 288, 1377, 368, 1493, 2884, 4529, 1982, 1493, 1377, 368, 4199, 1160, 1353, 1377, 1250, 12720, 273, 399, 3048, 10348, 18, 291, 48, 10609, 12, 430, 72, 1769, 1377, 316, 18, 1019, 12, 80, 7188, 1769, 1377, 2240, 18, 2738, 2277, 5621, 1377, 368, 336, 23587, 1054, 511, 7303, 17, 12524, 501, 1377, 368, 11086, 326, 399, 5501, 67, 39, 62, 67, 3045, 49, 5923, 3695, 16, 13908, 1731, 1525, 1377, 3025, 2 ]
.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, CompoundType.UPDATE, ev); if ((type.getReferenceKey() == null) && (type.getSupertype() != null)) { return oe; } while (!pq.isEmpty()) { String tableName = (String)pq.dequeue(); Iterator cols = ((Map)columnMap.get(tableName)) .entrySet().iterator(); StringBuffer sb = new StringBuffer(); String where = null; boolean first = true; sb.append("update ") .append(tableName) .append(" set \n"); while (cols.hasNext()) { Map.Entry me = (Map.Entry)cols.next(); String value = (String)me.getValue(); if (value.equals(":" + Utilities.getKeyProperty(type).getName())) { where = (String)me.getKey() + " = " + value; } else { if (!first) { sb.append(",\n"); } else { first = false; } sb.append((String)me.getKey()) .append(" = ") .append(value); } } // only updating the "id" column or no "id" col, so ignore it if (first || (where == null)) { continue; } sb.append("\nwhere ") .append(where); Operation block = new Operation(sb.toString()); block.setLineInfo(type); oe.addOperation(block); } return oe; }
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, 2827, 863, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 2587, 2113, 273, 394, 2587, 5621, 3639, 2113, 18, 542, 1670, 966, 12, 723, 1769, 3639, 2587, 320, 73, 273, 15172, 1133, 12, 723, 16, 21327, 559, 18, 8217, 16, 2113, 1769, 3639, 309, 14015, 723, 18, 588, 2404, 653, 1435, 422, 446, 13, 597, 261, 723, 18, 588, 8051, 723, 1435, 480, 446, 3719, 288, 5411, 327, 320, 73, 31, 3639, 289, 3639, 1323, 16051, 84, 85, 18, 291, 1921, 10756, 288, 5411, 514, 4775, 273, 261, 780, 13, 84, 85, 18, 323, 4000, 5621, 5411, 4498, 5347, 273, 14015, 863, 13, 2827, 863, 18, 588, 12, 18033, 3719, 27573, 263, 4099, 694, 7675, 9838, 5621, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 514, 1625, 273, 446, 31, 5411, 1250, 1122, 273, 638, 31, 5411, 2393, 18, 6923, 2932, 2725, 9369, 2868, 263, 6923, 12, 18033, 13, 2868, 263, 6923, 2932, 444, 521, 82, 8863, 5411, 1323, 261, 6842, 18, 5332, 2134, 10756, 288, 7734, 1635, 18, 1622, 1791, 273, 261, 863, 18, 1622, 13, 6842, 18, 4285, 5621, 7734, 514, 460, 273, 261, 780, 13, 3501, 18, 24805, 5621, 7734, 309, 261, 1132, 18, 14963, 2932, 2773, 397, 26703, 18, 588, 653, 1396, 12, 723, 2934, 17994, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2827, 863, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 2587, 2113, 273, 394, 2587, 5621, 3639, 2113, 18, 542, 1670, 966, 12, 723, 1769, 3639, 2587, 320, 73, 273, 15172, 1133, 12, 723, 16, 21327, 559, 18, 8217, 16, 2113, 1769, 3639, 309, 14015, 723, 18, 588, 2404, 653, 1435, 422, 446, 13, 597, 261, 723, 18, 588, 8051, 723, 1435, 480, 446, 3719, 288, 5411, 327, 320, 73, 31, 3639, 289, 3639, 1323, 16051, 84, 85, 18, 291, 1921, 10756, 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_ATTR); if (cache == null) { // // Don't have to synchronize here. If by some chance two initial requests come in at the same time, // one of the caches will get overwritten in the ServletContext, but it will just get recreated the // next time. // cache = new InternalConcurrentHashMap/*< String, HashMap< String, ArrayList< Interceptor > > >*/(); actionContext.getApplication().put(CACHE_ATTR, cache); } String namespace = getPageFlow().getNamespace(); String actionName = getActionName(); HashMap/*< String, ArrayList< Interceptor > >*/ cacheByPageFlow = (HashMap) cache.get(namespace); if (cacheByPageFlow != null) { List/*< Interceptor >*/ interceptors = (List) cacheByPageFlow.get(actionName); if (interceptors != null) return interceptors; } // // We didn't find it in the cache -- build it. // if (cacheByPageFlow == null) cacheByPageFlow = new HashMap/*< String, ArrayList< Interceptor > >*/(); PageflowActionInterceptors config = ConfigUtil.getConfig().getPageflowActionInterceptors(); ArrayList/*< Interceptor >*/ interceptorsList = new ArrayList/*< Interceptor >*/(); if (config == null) { cacheByPageFlow.put(actionName, interceptorsList); cache.put(namespace, cacheByPageFlow); return interceptorsList; } // // Global interceptors. // PageflowActionInterceptors.Global globalInterceptors = config.getGlobal(); if (globalInterceptors != null) { addInterceptors(globalInterceptors.getActionInterceptorArray(), interceptorsList, ActionInterceptor.class); addSimpleInterceptors(globalInterceptors.getSimpleActionInterceptorArray(), interceptorsList); } // // Per-pageflow and per-action interceptors. // String pageFlowURI = getPageFlow().getPath(); PageflowActionInterceptors.PerPageflow[] perPageFlowInterceptorsConfig = config.getPerPageflowArray(); if (perPageFlowInterceptorsConfig != null) { for (int i = 0; i < perPageFlowInterceptorsConfig.length; i++) { PageflowActionInterceptors.PerPageflow ppfi = perPageFlowInterceptorsConfig[i]; if (ppfi != null && pageFlowURI.equals(ppfi.getPageflowUri())) { // // This is a matching page flow -- add per-pageflow interceptors. // addInterceptors(perPageFlowInterceptorsConfig[i].getActionInterceptorArray(), interceptorsList, ActionInterceptor.class); addSimpleInterceptors(perPageFlowInterceptorsConfig[i].getSimpleActionInterceptorArray(), interceptorsList); PageflowActionInterceptors.PerPageflow.PerAction[] perActionConfigs = perPageFlowInterceptorsConfig[i].getPerActionArray(); if (perActionConfigs != null) { for (int j = 0; j < perActionConfigs.length; j++) { PageflowActionInterceptors.PerPageflow.PerAction perActionConfig = perActionConfigs[j]; if (perActionConfig != null && actionName.equals(perActionConfig.getActionName())) { // // This is a matching action -- add per-action interceptors. // addInterceptors(perActionConfig.getActionInterceptorArray(), interceptorsList, ActionInterceptor.class); addSimpleInterceptors(perActionConfig.getSimpleActionInterceptorArray(), interceptorsList); } } } } } } cacheByPageFlow.put(actionName, interceptorsList); cache.put(namespace, cacheByPageFlow); return interceptorsList; }
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, 514, 16, 4317, 32, 514, 16, 2407, 32, 23499, 405, 405, 405, 5549, 1247, 273, 7734, 261, 3061, 18521, 8658, 13, 1301, 1042, 18, 588, 3208, 7675, 588, 12, 8495, 67, 12043, 1769, 3639, 309, 261, 2493, 422, 446, 13, 288, 5411, 368, 5411, 368, 7615, 1404, 1240, 358, 16978, 2674, 18, 225, 971, 635, 2690, 17920, 2795, 2172, 3285, 12404, 316, 622, 326, 1967, 813, 16, 5411, 368, 1245, 434, 326, 12535, 903, 336, 15345, 316, 326, 22717, 16, 1496, 518, 903, 2537, 336, 283, 4824, 326, 5411, 368, 1024, 813, 18, 5411, 368, 5411, 1247, 273, 394, 3186, 18521, 8658, 20308, 32, 514, 16, 4317, 32, 514, 16, 2407, 32, 23499, 405, 405, 405, 5549, 5621, 5411, 1301, 1042, 18, 588, 3208, 7675, 458, 12, 8495, 67, 12043, 16, 1247, 1769, 3639, 289, 3639, 514, 1981, 273, 8957, 5249, 7675, 588, 3402, 5621, 3639, 514, 15451, 273, 12473, 461, 5621, 3639, 4317, 20308, 32, 514, 16, 2407, 32, 23499, 405, 405, 5549, 1247, 858, 1964, 5249, 273, 261, 8658, 13, 1247, 18, 588, 12, 4937, 1769, 3639, 309, 261, 2493, 858, 1964, 5249, 480, 446, 13, 288, 5411, 987, 20308, 32, 23499, 405, 5549, 18496, 273, 261, 682, 13, 1247, 858, 1964, 5249, 18, 588, 12, 1128, 461, 1769, 5411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 16, 4317, 32, 514, 16, 2407, 32, 23499, 405, 405, 405, 5549, 1247, 273, 7734, 261, 3061, 18521, 8658, 13, 1301, 1042, 18, 588, 3208, 7675, 588, 12, 8495, 67, 12043, 1769, 3639, 309, 261, 2493, 422, 446, 13, 288, 5411, 368, 5411, 368, 7615, 1404, 1240, 358, 16978, 2674, 18, 225, 971, 635, 2690, 17920, 2795, 2172, 3285, 12404, 316, 622, 326, 1967, 813, 16, 5411, 368, 1245, 434, 326, 12535, 903, 336, 15345, 316, 326, 22717, 16, 1496, 518, 903, 2537, 336, 283, 2 ]
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.getFromAddress() ); if ( null != mail.getToAddresses() ) { headers.add("To: " + StringUtils.join( mail.getToAddresses(), ", " )); } if ( null != mail.getCcAddresses() ) { headers.add("Cc: " + StringUtils.join( mail.getCcAddresses(), ", " )) ; } headers.add( "Subject: " + ( mail.getSubject() == null ? "" : mail.getSubject().trim().replaceAll( "\\s", " " ) ) ); String[] headersArray = (String[])headers.toArray(new String[headers.size()]); sendMail( headersArray, mail.getBody() );
public void sendMail(Mail mail) throws IOException { if ( sock == null ) { connect(); } 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.getFromAddress() ); if ( null != mail.getToAddresses() ) { headers.add("To: " + StringUtils.join( mail.getToAddresses(), ", " )); } if ( null != mail.getCcAddresses() ) { headers.add("Cc: " + StringUtils.join( mail.getCcAddresses(), ", " )) ; } headers.add( "Subject: " + ( mail.getSubject() == null ? "" : mail.getSubject().trim().replaceAll( "\\s", " " ) ) ); String[] headersArray = (String[])headers.toArray(new String[headers.size()]); sendMail( headersArray, mail.getBody() ); }
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, 1044, 261, 1860, 431, 262, 288, 5411, 3077, 5621, 5411, 2715, 2081, 5621, 3639, 289, 3639, 1366, 1265, 1887, 12, 4791, 18, 588, 1265, 1887, 1435, 11272, 3639, 1366, 22740, 12, 4791, 18, 588, 774, 7148, 1435, 11272, 3639, 1366, 22740, 12, 4791, 18, 588, 39, 71, 7148, 1435, 11272, 3639, 1366, 22740, 12, 4791, 18, 588, 38, 952, 7148, 1435, 11272, 3639, 2407, 1607, 273, 394, 2407, 1435, 274, 3639, 1607, 18, 1289, 12, 315, 1265, 30, 315, 397, 4791, 18, 588, 1265, 1887, 1435, 11272, 3639, 309, 261, 446, 480, 4791, 18, 588, 774, 7148, 1435, 262, 288, 5411, 1607, 18, 1289, 2932, 774, 30, 315, 397, 5778, 18, 5701, 12, 4791, 18, 588, 774, 7148, 9334, 3104, 315, 262, 1769, 3639, 289, 3639, 309, 261, 446, 480, 4791, 18, 588, 39, 71, 7148, 1435, 262, 225, 288, 5411, 1607, 18, 1289, 2932, 39, 71, 30, 315, 397, 5778, 18, 5701, 12, 4791, 18, 588, 39, 71, 7148, 9334, 3104, 315, 8623, 274, 3639, 289, 3639, 1607, 18, 1289, 12, 315, 6638, 30, 315, 397, 261, 4791, 18, 588, 6638, 1435, 422, 446, 692, 1408, 294, 4791, 18, 588, 6638, 7675, 5290, 7675, 2079, 1595, 12, 8422, 87, 3113, 315, 315, 262, 262, 11272, 3639, 514, 8526, 1607, 1076, 273, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1044, 261, 1860, 431, 262, 288, 5411, 3077, 5621, 5411, 2715, 2081, 5621, 3639, 289, 3639, 1366, 1265, 1887, 12, 4791, 18, 588, 1265, 1887, 1435, 11272, 3639, 1366, 22740, 12, 4791, 18, 588, 774, 7148, 1435, 11272, 3639, 1366, 22740, 12, 4791, 18, 588, 39, 71, 7148, 1435, 11272, 3639, 1366, 22740, 12, 4791, 18, 588, 38, 952, 7148, 1435, 11272, 3639, 2407, 1607, 273, 394, 2407, 1435, 274, 3639, 1607, 18, 1289, 12, 315, 1265, 30, 315, 397, 4791, 18, 588, 1265, 2 ]
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()); archivePathField.setFocus(); } }
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, 1769, 6862, 202, 25731, 13071, 3616, 18, 542, 1526, 12, 5743, 1769, 6862, 202, 10686, 743, 974, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 25731, 12269, 3606, 3616, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 2725, 15298, 682, 12, 10686, 743, 974, 18, 588, 1528, 10663, 6862, 202, 10686, 743, 974, 18, 542, 9233, 5621, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 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, 1769, 6862, 202, 25731, 13071, 3616, 18, 542, 1526, 12, 5743, 1769, 6862, 202, 10686, 743, 974, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 25731, 12269, 3606, 3616, 18, 542, 1526, 12, 3767, 1769, 6862, 202, 2725, 15298, 682, 12, 10686, 743, 974, 18, 588, 1528, 10663, 6862, 202, 10686, 743, 974, 18, 542, 9233, 5621, 9506, 202, 97, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 || freq != 0.0f; }
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, 74, 31, 565, 997, 273, 12791, 18, 2434, 5621, 565, 1323, 261, 10161, 597, 12791, 18, 2434, 1435, 422, 1018, 13, 288, 1377, 7684, 1011, 1322, 381, 5611, 560, 7675, 87, 16884, 2074, 14485, 12, 30885, 18, 409, 1435, 300, 12791, 18, 1937, 10663, 1377, 1898, 273, 12791, 18, 4285, 5621, 565, 289, 565, 327, 1898, 747, 7684, 480, 374, 18, 20, 74, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 74, 31, 565, 997, 273, 12791, 18, 2434, 5621, 565, 1323, 261, 10161, 597, 12791, 18, 2434, 1435, 422, 1018, 13, 288, 1377, 7684, 1011, 1322, 381, 5611, 560, 7675, 87, 16884, 2074, 14485, 12, 30885, 18, 409, 1435, 300, 12791, 18, 1937, 10663, 1377, 1898, 273, 12791, 18, 4285, 5621, 565, 289, 565, 327, 1898, 747, 7684, 480, 374, 18, 20, 74, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
add(actionToolbar.getComponent(), BorderLayout.NORTH);
ImageEditorUI(BufferedImage image, EditorOptions editorOptions) { ImageDocument document = imageComponent.getDocument(); document.addChangeListener(changeListener); // Set options TransparencyChessboardOptions chessboardOptions = editorOptions.getTransparencyChessboardOptions(); GridOptions gridOptions = editorOptions.getGridOptions(); imageComponent.setTransparencyChessboardCellSize(chessboardOptions.getCellSize()); imageComponent.setTransparencyChessboardWhiteColor(chessboardOptions.getWhiteColor()); imageComponent.setTransparencyChessboardBlankColor(chessboardOptions.getBlackColor()); imageComponent.setGridLineZoomFactor(gridOptions.getLineZoomFactor()); imageComponent.setGridLineSpan(gridOptions.getLineSpan()); imageComponent.setGridLineColor(gridOptions.getLineColor()); // Create layout JScrollPane scrollPane = new JScrollPane(new ImageContainerPane(imageComponent)); scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); // Zoom by wheel listener scrollPane.addMouseWheelListener(wheelAdapter); // Construct UI setLayout(new BorderLayout()); ActionManager actionManager = ActionManager.getInstance(); ActionGroup actionGroup = (ActionGroup)actionManager.getAction(ImageEditorActions.GROUP_TOOLBAR); ActionToolbar actionToolbar = actionManager.createActionToolbar( ImageEditorActions.GROUP_TOOLBAR, actionGroup, true ); add(actionToolbar.getComponent(), BorderLayout.NORTH); add(scrollPane, BorderLayout.CENTER); // Set content document.setValue(image); }
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, 1769, 3639, 368, 1000, 702, 3639, 2604, 18258, 782, 403, 3752, 1320, 462, 403, 3752, 1320, 273, 4858, 1320, 18, 588, 1429, 18258, 782, 403, 3752, 1320, 5621, 3639, 7145, 1320, 3068, 1320, 273, 4858, 1320, 18, 588, 6313, 1320, 5621, 3639, 1316, 1841, 18, 542, 1429, 18258, 782, 403, 3752, 4020, 1225, 12, 343, 403, 3752, 1320, 18, 588, 4020, 1225, 10663, 3639, 1316, 1841, 18, 542, 1429, 18258, 782, 403, 3752, 13407, 2957, 12, 343, 403, 3752, 1320, 18, 588, 13407, 2957, 10663, 3639, 1316, 1841, 18, 542, 1429, 18258, 782, 403, 3752, 7796, 2957, 12, 343, 403, 3752, 1320, 18, 588, 13155, 2957, 10663, 3639, 1316, 1841, 18, 542, 6313, 1670, 11497, 6837, 12, 5222, 1320, 18, 588, 1670, 11497, 6837, 10663, 3639, 1316, 1841, 18, 542, 6313, 1670, 6952, 12, 5222, 1320, 18, 588, 1670, 6952, 10663, 3639, 1316, 1841, 18, 542, 6313, 1670, 2957, 12, 5222, 1320, 18, 588, 1670, 2957, 10663, 3639, 368, 1788, 3511, 3639, 804, 26360, 5532, 8485, 273, 394, 804, 26360, 12, 2704, 3421, 2170, 8485, 12, 2730, 1841, 10019, 3639, 5532, 8485, 18, 542, 15704, 6806, 5190, 2582, 12, 46, 26360, 18, 21654, 10109, 67, 2312, 14555, 21908, 67, 3033, 67, 5407, 22832, 1769, 3639, 5532, 8485, 18, 542, 14457, 6806, 5190, 2582, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1769, 3639, 368, 1000, 702, 3639, 2604, 18258, 782, 403, 3752, 1320, 462, 403, 3752, 1320, 273, 4858, 1320, 18, 588, 1429, 18258, 782, 403, 3752, 1320, 5621, 3639, 7145, 1320, 3068, 1320, 273, 4858, 1320, 18, 588, 6313, 1320, 5621, 3639, 1316, 1841, 18, 542, 1429, 18258, 782, 403, 3752, 4020, 1225, 12, 343, 403, 3752, 1320, 18, 588, 4020, 1225, 10663, 3639, 1316, 1841, 18, 542, 1429, 18258, 782, 403, 3752, 13407, 2957, 12, 343, 403, 3752, 1320, 18, 588, 13407, 2957, 10663, 2 ]
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.remove(); num_items++; } catch (Exception ex) { log.error(ex); } } Util.sleep(1000); for (int i = 0; i < adders.length; i++) { System.out.println("adder #" + i + " is " + (adders[i].isAlive() ? "alive" : "terminated")); if (!adders[i].isAlive()) { num_dead++; } } assertEquals(num_dead, 10); queue.close(false); // will cause all threads still blocking on peek() to return }
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, 374, 31, 202, 202, 474, 818, 67, 3319, 273, 374, 31, 202, 202, 474, 1516, 273, 4336, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 527, 414, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 1289, 414, 63, 77, 65, 273, 394, 1436, 3335, 1180, 12, 77, 16, 1516, 1769, 1082, 202, 1289, 414, 63, 77, 8009, 1937, 5621, 202, 202, 97, 202, 202, 17523, 261, 2107, 67, 3319, 411, 261, 1289, 414, 18, 2469, 14, 3319, 3719, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 4000, 18, 4479, 5621, 9506, 202, 2107, 67, 3319, 9904, 31, 1082, 202, 97, 1082, 202, 14683, 261, 503, 431, 13, 1082, 202, 95, 9506, 202, 1330, 18, 1636, 12, 338, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 1304, 18, 19607, 12, 18088, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 527, 414, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 361, 765, 31526, 397, 277, 397, 315, 353, 315, 397, 261, 1289, 414, 63, 77, 8009, 291, 10608, 1435, 692, 315, 11462, 6, 294, 315, 29133, 7923, 1769, 1082, 202, 430, 16051, 1289, 414, 63, 77, 8009, 291, 10608, 10756, 1082, 202, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 374, 31, 202, 202, 474, 818, 67, 3319, 273, 374, 31, 202, 202, 474, 1516, 273, 4336, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 527, 414, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 1289, 414, 63, 77, 65, 273, 394, 1436, 3335, 1180, 12, 77, 16, 1516, 1769, 1082, 202, 1289, 414, 63, 77, 8009, 1937, 5621, 202, 202, 97, 202, 202, 17523, 261, 2107, 67, 3319, 411, 261, 1289, 414, 18, 2469, 14, 3319, 3719, 2 ]
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 (newURL != null) { entry.setURL(newURL); } if (entry.isFile()) { dir.getWCProperties(name).delete(); if (copyFromURL != null) { entry.setCopyFromURL(copyFromURL); entry.setCopyFromRevision(copyFromRevision); } } boolean deleted = false; if (entry.isDeleted() && copyFromURL != null) { // convert to scheduled for deletion. deleted = true; entry.setDeleted(false); entry.scheduleForDeletion(); if (entry.isDirectory()) { entry.setKind(SVNNodeKind.FILE); } } if (entry.getLockToken() != null && copyFromURL != null) { entry.setLockToken(null); entry.setLockOwner(null); entry.setLockComment(null); entry.setLockCreationDate(null); } if (!"".equals(name) && entry.isDirectory() && !deleted) { SVNDirectory childDir = dir.getChildDirectory(name); String childCopyFromURL = copyFromURL == null ? null : PathUtil.append(copyFromURL, PathUtil.encode(entry.getName())); updateCopiedDirectory(childDir, "", newURL, childCopyFromURL, copyFromRevision); } else if ("".equals(name)) { dir.getWCProperties("").delete(); if (copyFromURL != null) { entry.setCopyFromURL(copyFromURL); entry.setCopyFromRevision(copyFromRevision); } for (Iterator ents = entries.entries(); ents.hasNext();) { SVNEntry childEntry = (SVNEntry) ents.next(); if ("".equals(childEntry.getName())) { continue; } String childCopyFromURL = copyFromURL == null ? null : PathUtil.append(copyFromURL, PathUtil.encode(childEntry.getName())); String newChildURL = newURL == null ? null : PathUtil.append(newURL, PathUtil.encode(childEntry.getName())); updateCopiedDirectory(dir, childEntry.getName(), newChildURL, childCopyFromURL, copyFromRevision); } entries.save(true); } } }
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, 5400, 3222, 273, 1577, 18, 588, 5400, 5621, 3639, 29537, 50, 1622, 1241, 273, 3222, 18, 588, 1622, 12, 529, 1769, 3639, 309, 261, 4099, 480, 446, 13, 288, 5411, 1241, 18, 542, 28127, 12, 3767, 1769, 5411, 309, 261, 2704, 1785, 480, 446, 13, 288, 7734, 1241, 18, 542, 1785, 12, 2704, 1785, 1769, 5411, 289, 5411, 309, 261, 4099, 18, 291, 812, 10756, 288, 7734, 1577, 18, 588, 59, 39, 2297, 12, 529, 2934, 3733, 5621, 7734, 309, 261, 3530, 1265, 1785, 480, 446, 13, 288, 10792, 1241, 18, 542, 2951, 1265, 1785, 12, 3530, 1265, 1785, 1769, 10792, 1241, 18, 542, 2951, 1265, 7939, 12, 3530, 1265, 7939, 1769, 7734, 289, 5411, 289, 5411, 1250, 4282, 273, 629, 31, 5411, 309, 261, 4099, 18, 291, 7977, 1435, 597, 25189, 1785, 480, 446, 13, 288, 7734, 368, 1765, 358, 9755, 364, 10899, 18, 7734, 4282, 273, 638, 31, 7734, 1241, 18, 542, 7977, 12, 5743, 1769, 7734, 1241, 18, 10676, 21916, 5621, 7734, 309, 261, 4099, 18, 291, 2853, 10756, 288, 10792, 1241, 18, 542, 5677, 12, 23927, 50, 907, 5677, 18, 3776, 1769, 7734, 289, 5411, 289, 5411, 309, 261, 4099, 18, 588, 2531, 1345, 1435, 480, 446, 597, 25189, 1785, 480, 446, 13, 288, 7734, 1241, 18, 542, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5400, 3222, 273, 1577, 18, 588, 5400, 5621, 3639, 29537, 50, 1622, 1241, 273, 3222, 18, 588, 1622, 12, 529, 1769, 3639, 309, 261, 4099, 480, 446, 13, 288, 5411, 1241, 18, 542, 28127, 12, 3767, 1769, 5411, 309, 261, 2704, 1785, 480, 446, 13, 288, 7734, 1241, 18, 542, 1785, 12, 2704, 1785, 1769, 5411, 289, 5411, 309, 261, 4099, 18, 291, 812, 10756, 288, 7734, 1577, 18, 588, 59, 39, 2297, 12, 529, 2934, 3733, 5621, 7734, 309, 261, 3530, 1265, 1785, 2 ]
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)) { return RubyMapMethod.CONTINUE; } RubyObject value = (RubyObject) _value; FindClassPathResult res = (FindClassPathResult) _res; RubyString path = null; if (!key.isConstId()) { return RubyMapMethod.CONTINUE; } String name = key.toName(); if (res.path != null) { path = (RubyString) res.path.m_dup(); path.m_cat("::"); path.m_cat(name); } else { path = RubyString.m_newString(getRuby(), name); } if (value == res.klass) { res.name = key; res.path = path; return RubyMapMethod.STOP; } if (value.m_kind_of(getRuby().getClasses().getModuleClass()).isTrue()) { if (value.getInstanceVariables() == null) { return RubyMapMethod.CONTINUE; } FindClassPathResult list = res; while (list != null) { if (list.track == value) { return RubyMapMethod.CONTINUE; } list = list.prev; } FindClassPathResult arg = new FindClassPathResult(); arg.name = null; arg.path = path; arg.klass = res.klass; arg.track = value; arg.prev = res; value.getInstanceVariables().foreach(this, arg); if (arg.name != null) { res.name = arg.name; res.path = arg.path; return RubyMapMethod.STOP; } } return RubyMapMethod.CONTINUE; }
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, 698, 288, 9506, 202, 856, 273, 261, 54, 10340, 548, 13, 389, 856, 31, 1082, 202, 97, 1044, 261, 797, 22768, 4946, 29924, 337, 82, 13, 288, 9506, 202, 856, 273, 4170, 10340, 7675, 267, 798, 12443, 780, 13, 389, 856, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 856, 5177, 1404, 1599, 30, 11843, 397, 389, 856, 397, 11143, 1769, 1082, 202, 97, 1082, 202, 430, 16051, 24899, 1132, 1276, 19817, 921, 3719, 288, 9506, 202, 2463, 19817, 863, 1305, 18, 6067, 26725, 31, 1082, 202, 97, 1082, 202, 54, 10340, 921, 460, 273, 261, 54, 10340, 921, 13, 389, 1132, 31, 1082, 202, 3125, 22158, 1253, 400, 273, 261, 3125, 22158, 1253, 13, 389, 455, 31, 1082, 202, 54, 10340, 780, 589, 273, 446, 31, 1082, 202, 430, 16051, 856, 18, 291, 9661, 548, 10756, 288, 9506, 202, 2463, 19817, 863, 1305, 18, 6067, 26725, 31, 1082, 202, 97, 1082, 202, 780, 508, 273, 498, 18, 869, 461, 5621, 1082, 202, 430, 261, 455, 18, 803, 480, 446, 13, 288, 9506, 202, 803, 273, 261, 54, 10340, 780, 13, 400, 18, 803, 18, 81, 67, 26427, 5621, 9506, 202, 803, 18, 81, 67, 2574, 2932, 30, 2773, 1769, 9506, 202, 803, 18, 81, 67, 2574, 12, 529, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 698, 288, 9506, 202, 856, 273, 261, 54, 10340, 548, 13, 389, 856, 31, 1082, 202, 97, 1044, 261, 797, 22768, 4946, 29924, 337, 82, 13, 288, 9506, 202, 856, 273, 4170, 10340, 7675, 267, 798, 12443, 780, 13, 389, 856, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 856, 5177, 1404, 1599, 30, 11843, 397, 389, 856, 397, 11143, 1769, 1082, 202, 97, 1082, 202, 430, 16051, 24899, 1132, 1276, 19817, 921, 3719, 288, 9506, 202, 2463, 19817, 863, 1305, 2 ]
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, 411, 818, 3126, 31, 277, 27245, 1082, 202, 430, 261, 10705, 18, 14963, 12, 16934, 367, 2396, 18, 588, 12, 77, 20349, 9506, 202, 16934, 367, 22199, 18, 542, 7416, 1016, 12, 77, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 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, 411, 818, 3126, 31, 277, 27245, 1082, 202, 430, 261, 10705, 18, 14963, 12, 16934, 367, 2396, 18, 588, 12, 77, 20349, 9506, 202, 16934, 367, 22199, 18, 542, 7416, 1016, 12, 77, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 name1 = u1[i].getName(); String name2 = u2[i].getName(); if (name1 == null) { throw new Error("No name for " + u1); } if (name2 == null) { throw new Error("No name for " + u2); } if (!name1.equals(name2)) {
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].getName() + " and " + u2[i].getName()); } } } }
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, 2332, 18, 659, 18, 8222, 2932, 26270, 468, 4971, 364, 315, 397, 2076, 1769, 202, 97, 469, 288, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 582, 21, 18, 2469, 31, 277, 27245, 288, 202, 202, 430, 16051, 89, 21, 63, 77, 8009, 17994, 7675, 14963, 12, 89, 22, 63, 77, 8009, 17994, 1435, 3719, 288, 1082, 565, 2332, 18, 659, 18, 8222, 2932, 11729, 11073, 4971, 315, 397, 9506, 565, 582, 21, 63, 77, 8009, 17994, 1435, 397, 315, 471, 315, 397, 9506, 565, 582, 22, 63, 77, 8009, 17994, 10663, 202, 202, 97, 202, 565, 289, 202, 97, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 2332, 18, 659, 18, 8222, 2932, 26270, 468, 4971, 364, 315, 397, 2076, 1769, 202, 97, 469, 288, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 582, 21, 18, 2469, 31, 277, 27245, 288, 202, 202, 430, 16051, 89, 21, 63, 77, 8009, 17994, 7675, 14963, 12, 89, 22, 63, 77, 8009, 17994, 1435, 3719, 288, 1082, 565, 2332, 18, 659, 18, 8222, 2932, 11729, 11073, 4971, 315, 397, 9506, 565, 582, 21, 63, 77, 8009, 17994, 1435, 2 ]
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())); } else { // redirect to the workplace explorer view getJsp().getResponse().sendRedirect(getJsp().link(CmsWorkplaceAction.C_JSP_WORKPLACE_URI)); } }
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, 14963, 12, 588, 786, 5368, 4619, 1435, 3719, 288, 5411, 368, 3136, 358, 326, 18532, 1058, 5411, 31162, 7675, 588, 1064, 7675, 4661, 5961, 12, 588, 21796, 7675, 1232, 12, 588, 786, 1420, 1435, 10019, 3639, 289, 469, 288, 5411, 368, 3136, 358, 326, 28676, 22147, 1476, 2398, 31162, 7675, 588, 1064, 7675, 4661, 5961, 12, 588, 21796, 7675, 1232, 12, 4747, 16514, 1803, 18, 39, 67, 46, 3118, 67, 10566, 12134, 67, 3098, 10019, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 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, 14963, 12, 588, 786, 5368, 4619, 1435, 3719, 288, 5411, 368, 3136, 358, 326, 18532, 1058, 5411, 31162, 7675, 588, 1064, 7675, 4661, 5961, 12, 588, 21796, 7675, 1232, 12, 588, 786, 1420, 1435, 10019, 3639, 289, 469, 288, 5411, 368, 3136, 358, 326, 28676, 22147, 1476, 2398, 31162, 7675, 588, 1064, 7675, 4661, 5961, 12, 588, 21796, 7675, 1232, 12, 4747, 16514, 1803, 18, 39, 67, 46, 3118, 67, 10566, 12134, 67, 3098, 10019, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
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); _output_.flush(); } try { _ayt_monitor.wait(timeout); if(_ayt_flag == false) { ret_value = false; _ayt_flag = true; } else ret_value = true; } catch (IllegalMonitorStateException e) { System.err.println("Exception processing AYT:" + e.getMessage()); } } return (ret_value); }
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, 3639, 288, 5411, 3852, 261, 2211, 13, 5411, 288, 7734, 389, 528, 88, 67, 6420, 273, 629, 31, 7734, 389, 2844, 27799, 2626, 24899, 19104, 67, 5255, 56, 1769, 7734, 389, 2844, 27799, 11330, 5621, 5411, 289, 5411, 775, 5411, 288, 7734, 389, 528, 88, 67, 10259, 18, 7048, 12, 4538, 1769, 7734, 309, 24899, 528, 88, 67, 6420, 422, 629, 13, 7734, 288, 10792, 325, 67, 1132, 273, 629, 31, 10792, 389, 528, 88, 67, 6420, 273, 638, 31, 7734, 289, 7734, 469, 10792, 325, 67, 1132, 273, 638, 31, 5411, 289, 5411, 1044, 261, 12195, 7187, 5060, 425,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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 3639, 288, 5411, 3852, 261, 2211, 13, 5411, 288, 7734, 389, 528, 88, 67, 6420, 273, 629, 31, 7734, 389, 2844, 27799, 2626, 24899, 19104, 67, 5255, 56, 1769, 7734, 389, 2844, 27799, 11330, 5621, 5411, 289, 5411, 775, 5411, 288, 7734, 389, 528, 88, 67, 10259, 18, 7048, 12, 4538, 1769, 7734, 309, 24899, 528, 88, 67, 6420, 422, 629, 13, 7734, 288, 10792, 325, 67, 1132, 273, 629, 31, 10792, 389, 528, 88, 67, 6420, 273, 638, 31, 7734, 289, 2 ]
_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++) { String title = "tab"; JPanel t = (JPanel) _tabPanels.elementAt(i); if (t instanceof TabSpawnable) title = ((TabSpawnable)t).getTitle(); _tabs.addTab("As " + title, t); } /* end for */ for (int i = 0; i < _tabPanels.size(); i++) _tabs.setEnabledAt(i, false); _tabs.addChangeListener(this); _tabs.addMouseListener(this); setTarget(null); }
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, 315, 7027, 3113, 2393, 16, 21190, 18, 588, 1442, 10663, 565, 18479, 12, 2704, 30814, 10663, 565, 527, 24899, 16056, 16, 30814, 18, 19835, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 7032, 5537, 87, 18, 1467, 5621, 277, 27245, 288, 1377, 514, 2077, 273, 315, 7032, 14432, 1377, 24048, 268, 273, 261, 46, 5537, 13, 389, 7032, 5537, 87, 18, 2956, 861, 12, 77, 1769, 1377, 309, 261, 88, 1276, 9483, 3389, 2219, 6914, 13, 202, 2649, 273, 14015, 5661, 3389, 2219, 6914, 13, 88, 2934, 588, 4247, 5621, 1377, 389, 16056, 18, 1289, 5661, 2932, 1463, 315, 397, 2077, 16, 268, 1769, 565, 289, 1748, 679, 364, 1195, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 7032, 5537, 87, 18, 1467, 5621, 277, 27245, 1377, 389, 16056, 18, 542, 1526, 861, 12, 77, 16, 629, 1769, 3639, 389, 16056, 18, 1289, 9186, 2223, 12, 2211, 1769, 565, 18367, 12, 2011, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 315, 7027, 3113, 2393, 16, 21190, 18, 588, 1442, 10663, 565, 18479, 12, 2704, 30814, 10663, 565, 527, 24899, 16056, 16, 30814, 18, 19835, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 7032, 5537, 87, 18, 1467, 5621, 277, 27245, 288, 1377, 514, 2077, 273, 315, 7032, 14432, 1377, 24048, 268, 273, 261, 46, 5537, 13, 389, 7032, 5537, 87, 18, 2956, 861, 12, 77, 1769, 1377, 309, 261, 88, 1276, 9483, 3389, 2219, 6914, 13, 202, 2649, 273, 14015, 2 ]
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 != null; node=node.getParentNode()) { endV.addElement(node); } int s = startV.size()-1; int e = endV.size()-1; Object result = null; while (s>=0 && e>=0) { if (startV.elementAt(s) == endV.elementAt(e)) { result = startV.elementAt(s); } else { break; } --s; --e; } return (Node)result; }
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, 8168, 1079, 5074, 18, 8168, 67, 18192, 16, 315, 9347, 67, 7998, 67, 9712, 3113, 446, 10019, 289, 3639, 5589, 787, 58, 273, 394, 5589, 5621, 3639, 2029, 756, 31, 3639, 364, 261, 2159, 33, 74, 1685, 2170, 31, 756, 480, 446, 31, 2868, 756, 33, 2159, 18, 588, 3054, 907, 10756, 540, 288, 5411, 787, 58, 18, 1289, 1046, 12, 2159, 1769, 3639, 289, 3639, 5589, 679, 58, 273, 394, 5589, 5621, 3639, 364, 261, 2159, 33, 74, 1638, 2170, 31, 756, 480, 446, 31, 2868, 756, 33, 2159, 18, 588, 3054, 907, 10756, 540, 288, 5411, 679, 58, 18, 1289, 1046, 12, 2159, 1769, 3639, 289, 3639, 509, 272, 273, 787, 58, 18, 1467, 1435, 17, 21, 31, 3639, 509, 425, 273, 679, 58, 18, 1467, 1435, 17, 21, 31, 3639, 1033, 563, 273, 446, 31, 3639, 1323, 261, 87, 34, 33, 20, 597, 425, 34, 33, 20, 13, 288, 5411, 309, 261, 1937, 58, 18, 2956, 861, 12, 87, 13, 422, 679, 58, 18, 2956, 861, 12, 73, 3719, 288, 7734, 563, 273, 787, 58, 18, 2956, 861, 12, 87, 1769, 5411, 289, 469, 288, 7734, 898, 31, 5411, 289, 5411, 1493, 87, 31, 5411, 1493, 73, 31, 3639, 289, 3639, 327, 261, 907, 13, 2088, 31, 377, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8168, 1079, 5074, 18, 8168, 67, 18192, 16, 315, 9347, 67, 7998, 67, 9712, 3113, 446, 10019, 289, 3639, 5589, 787, 58, 273, 394, 5589, 5621, 3639, 2029, 756, 31, 3639, 364, 261, 2159, 33, 74, 1685, 2170, 31, 756, 480, 446, 31, 2868, 756, 33, 2159, 18, 588, 3054, 907, 10756, 540, 288, 5411, 787, 58, 18, 1289, 1046, 12, 2159, 1769, 3639, 289, 3639, 5589, 679, 58, 273, 394, 5589, 5621, 3639, 364, 261, 2159, 33, 74, 1638, 2170, 31, 756, 480, 2 ]
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, 469, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 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, 469, 309, 261, 6376, 18, 5254, 18, 2377, 18, 8600, 18, 12298, 12, 82, 3719, 288, 1082, 202, 4661, 691, 2932, 6460, 3113, 315, 2159, 4898, 15, 82, 18, 350, 16, 290, 1769, 202, 202, 97, 469, 288, 1082, 202, 4661, 691, 2932, 4762, 3113, 315, 2159, 4898, 15, 82, 18, 350, 16, 290, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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); creator.prepareDelegate(); creator.createEdit(); Change change= creator.createChange(); if (change != null) fDelegateChanges.add(change);
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.setDeclaration(m); d.setNewElementName(newName); d.setSourceRewrite(rewrite); d.prepareDelegate(); d.createEdit(); }
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, 588, 1305, 6094, 907, 12, 11990, 16, 10738, 18, 588, 2375, 10663, 202, 202, 9586, 10636, 302, 33, 394, 27687, 1305, 10636, 5621, 202, 202, 72, 18, 542, 3456, 834, 13534, 12, 74, 9586, 758, 13643, 1769, 202, 202, 72, 18, 542, 6094, 12, 81, 1769, 202, 202, 72, 18, 542, 1908, 30584, 12, 2704, 461, 1769, 202, 202, 72, 18, 542, 1830, 19618, 12, 21489, 1769, 202, 202, 72, 18, 9366, 9586, 5621, 202, 202, 72, 18, 2640, 4666, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 588, 1305, 6094, 907, 12, 11990, 16, 10738, 18, 588, 2375, 10663, 202, 202, 9586, 10636, 302, 33, 394, 27687, 1305, 10636, 5621, 202, 202, 72, 18, 542, 3456, 834, 13534, 12, 74, 9586, 758, 13643, 1769, 202, 202, 72, 18, 542, 6094, 12, 81, 1769, 202, 202, 72, 18, 542, 1908, 30584, 12, 2704, 461, 1769, 202, 202, 72, 18, 542, 1830, 19618, 12, 21489, 1769, 202, 202, 72, 18, 9366, 9586, 5621, 202, 202, 72, 18, 2640, 4666, 5621, 202, 97, 2, -100 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 = insets.left + insets.right; // sum up preferred widths of components, find maximum of preferred // heights for (Iterator i = children.iterator(); i.hasNext();) { Component comp = (Component) i.next(); Dimension sz = comp.getPreferredSize(); x += sz.width; y = Math.max(y, sz.height); } y += insets.bottom + insets.top; } else { y = insets.top + insets.bottom; // sum up preferred heights of components, find maximum of // preferred widths for (Iterator i = children.iterator(); i.hasNext();) { Component comp = (Component) i.next(); Dimension sz = comp.getPreferredSize(); y += sz.height; x = Math.max(x, sz.width); } x += insets.left + insets.right; } return new Dimension(x, y); }
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, 588, 382, 4424, 5621, 565, 509, 619, 273, 374, 31, 565, 509, 677, 273, 374, 31, 565, 987, 2325, 273, 432, 8588, 11864, 18, 588, 6207, 4212, 12, 2938, 1769, 565, 309, 261, 291, 14457, 382, 12, 2938, 3719, 1377, 288, 7734, 619, 273, 23576, 18, 4482, 397, 23576, 18, 4083, 31, 3639, 368, 2142, 731, 9119, 15801, 434, 4085, 16, 1104, 4207, 434, 9119, 3639, 368, 24779, 3639, 364, 261, 3198, 277, 273, 2325, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 1850, 288, 5411, 5435, 1161, 273, 261, 1841, 13, 277, 18, 4285, 5621, 5411, 13037, 11262, 273, 1161, 18, 588, 16028, 1225, 5621, 5411, 619, 1011, 11262, 18, 2819, 31, 5411, 677, 273, 2361, 18, 1896, 12, 93, 16, 11262, 18, 4210, 1769, 1850, 289, 3639, 677, 1011, 23576, 18, 9176, 397, 23576, 18, 3669, 31, 1377, 289, 377, 469, 4202, 288, 7734, 677, 273, 23576, 18, 3669, 397, 23576, 18, 9176, 31, 3639, 368, 2142, 731, 9119, 24779, 434, 4085, 16, 1104, 4207, 434, 3639, 368, 225, 9119, 15801, 3639, 364, 261, 3198, 277, 273, 2325, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 1850, 288, 5411, 5435, 1161, 273, 261, 1841, 13, 277, 18, 4285, 5621, 5411, 13037, 11262, 273, 1161, 18, 588, 16028, 1225, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 382, 4424, 5621, 565, 509, 619, 273, 374, 31, 565, 509, 677, 273, 374, 31, 565, 987, 2325, 273, 432, 8588, 11864, 18, 588, 6207, 4212, 12, 2938, 1769, 565, 309, 261, 291, 14457, 382, 12, 2938, 3719, 1377, 288, 7734, 619, 273, 23576, 18, 4482, 397, 23576, 18, 4083, 31, 3639, 368, 2142, 731, 9119, 15801, 434, 4085, 16, 1104, 4207, 434, 9119, 3639, 368, 24779, 3639, 364, 261, 3198, 277, 273, 2325, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 2 ]
}
}
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 a space and the previous character is valid text, // parse the previous word. if (!Character.isJavaIdentifierPart(document.getChar(pos))) { pos--; if (!Character.isJavaIdentifierPart(document.getChar(pos))) { pos--; // Comment out the dereference code, only useful once we can // know variable types to go fish back structure members //if (document.getChar(offset) == '.') { // isDereference = true; // offset--; //} else if ((document.getChar(offset) == '>') && (document.getChar(offset - 1) == '-')) { // isDereference = true; // offset -= 2; //} } } } catch (BadLocationException e) { return null; } } // Get the current "word" region = CWordFinder.findWord(document, pos); // If we're currently try { if (region != null) { frag = document.get(region.getOffset(), region.getLength()); frag = frag.trim(); // No word is selected if (frag.length() == 0) { return null; } } else { return null; } } catch (BadLocationException x) { // ignore return null; } // Based on the frag name, build a list of completion proposals // We look in two places: the content outline and the libs ArrayList completions = new ArrayList(); // Look in index manager IProject project = null; IEditorInput input = fEditor.getEditorInput(); if(input instanceof IFileEditorInput) { project = ((IFileEditorInput)input).getFile().getProject(); // Bail out quickly, if the project was deleted. if (!project.exists()) { project = null; } } if(project != null) { addProjectCompletions(project, region, frag, completions); // Now query referenced projects IProject referenced[]; try { referenced = project.getReferencedProjects(); if(referenced.length > 0) { for (int i = 0; i < referenced.length; i++) { addProjectCompletions(referenced[i], region, frag, completions); } } } catch (CoreException e) { } } IFunctionSummary[] summary; //UserHelpFunctionInfo inf = plugin.getFunctionInfo(); summary = CCompletionContributorManager.getDefault().getMatchingFunctions(frag); if(summary != null) { for(int i = 0; i < summary.length; i++) { String fname = summary[i].getName(); String proto = summary[i].getPrototype(); completions.add( new CCompletionProposal( fname + "()", region.getOffset(), region.getLength(), //fname.length() + 1, CPluginImages.get(CPluginImages.IMG_OBJS_FUNCTION), proto.equals("") ? (fname + "()") : proto, //null, //null)); 2)); } } return (ICCompletionProposal[]) completions.toArray(new ICCompletionProposal[0]); }
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, 1082, 202, 759, 9933, 1473, 326, 949, 635, 1245, 326, 1754, 353, 374, 17, 12261, 202, 202, 430, 261, 917, 405, 374, 13, 288, 1082, 202, 917, 413, 31, 202, 202, 97, 1082, 202, 759, 5783, 16, 866, 309, 732, 4565, 603, 279, 3476, 578, 8374, 358, 1696, 279, 1958, 19, 18910, 202, 202, 430, 261, 917, 405, 404, 13, 288, 1082, 202, 698, 288, 9506, 202, 759, 971, 732, 4565, 603, 279, 3476, 471, 326, 2416, 3351, 353, 923, 977, 16, 9506, 202, 759, 1109, 326, 2416, 2076, 18, 9506, 202, 430, 16051, 7069, 18, 291, 5852, 3004, 1988, 12, 5457, 18, 588, 2156, 12, 917, 20349, 288, 6862, 202, 917, 413, 31, 6862, 202, 430, 16051, 7069, 18, 291, 5852, 3004, 1988, 12, 5457, 18, 588, 2156, 12, 917, 20349, 288, 25083, 202, 917, 413, 31, 25083, 202, 759, 9821, 596, 326, 27794, 981, 16, 1338, 5301, 3647, 732, 848, 25083, 202, 759, 5055, 2190, 1953, 358, 1960, 284, 1468, 1473, 3695, 4833, 25083, 202, 759, 430, 261, 5457, 18, 588, 2156, 12, 3348, 13, 422, 2611, 13, 288, 25083, 202, 759, 202, 291, 40, 822, 1134, 273, 638, 31, 25083, 202, 759, 202, 3348, 413, 31, 25083, 202, 759, 97, 469, 309, 14015, 5457, 18, 588, 2156, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1082, 202, 759, 9933, 1473, 326, 949, 635, 1245, 326, 1754, 353, 374, 17, 12261, 202, 202, 430, 261, 917, 405, 374, 13, 288, 1082, 202, 917, 413, 31, 202, 202, 97, 1082, 202, 759, 5783, 16, 866, 309, 732, 4565, 603, 279, 3476, 578, 8374, 358, 1696, 279, 1958, 19, 18910, 202, 202, 430, 261, 917, 405, 404, 13, 288, 1082, 202, 698, 288, 9506, 202, 759, 971, 732, 4565, 603, 279, 3476, 471, 326, 2416, 3351, 353, 923, 977, 16, 9506, 2 ]
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();final GenModel genModel = editorGen.getDomainGenModel();final String pluginActivatorClass = importManager.getImportedName(editorGen.getPlugin().getActivatorQualifiedClassName());final boolean isRichClientPlatform = genDiagram.getEditorGen().getDomainGenModel().isRichClientPlatform(); stringBuffer.append(TEXT_1); String copyrightText = genDiagram.getEditorGen().getCopyrightText();if (copyrightText != null && copyrightText.trim().length() > 0) { stringBuffer.append(TEXT_2); stringBuffer.append(copyrightText.replaceAll("\n", "\n * ")); stringBuffer.append(TEXT_3); } importManager.emitPackageStatement(stringBuffer);importManager.markImportLocation(stringBuffer);importManager.registerInnerClass("RootElementSelectorPage");if (isRichClientPlatform) { importManager.registerInnerClass("URISelectorPage"); importManager.registerInnerClass("SourceURISelectorPage"); importManager.registerInnerClass("DiagramURISelectorPage");} stringBuffer.append(TEXT_4); class FeatureGetAccessorHelper { /** * @param containerName the name of the container * @param feature the feature whose value is in interest * @param containerMetaClass the <code>GenClass</code> of the container, or <code>null</code>, if the container is declared as an <code>EObject</code>. * @param needsCastToResultType whether the cast to the result type is required (this parameter is only used if the <code>EClass</code> this feature belongs to is an external interface). */ public void appendFeatureValueGetter(String containerName, GenFeature feature, GenClass containerMetaClass, boolean needsCastToResultType) { if (feature.getGenClass().isExternalInterface()) { boolean needsCastToEObject = containerMetaClass != null && containerMetaClass.isExternalInterface(); if (needsCastToResultType) { stringBuffer.append(TEXT_5); stringBuffer.append(importManager.getImportedName(feature.isListType() ? "java.util.Collection" : feature.getTypeGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_6); } if (needsCastToEObject) { stringBuffer.append(TEXT_7); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_8); } stringBuffer.append(containerName); if (needsCastToEObject) { stringBuffer.append(TEXT_9); } stringBuffer.append(TEXT_10); stringBuffer.append(importManager.getImportedName(feature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_11); stringBuffer.append(feature.getFeatureAccessorName()); stringBuffer.append(TEXT_12); if (needsCastToResultType) { stringBuffer.append(TEXT_13); } } else { boolean needsCastToFeatureGenType = containerMetaClass == null || containerMetaClass.isExternalInterface(); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_14); stringBuffer.append(importManager.getImportedName(feature.getGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_15); } stringBuffer.append(containerName); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_16); } stringBuffer.append(TEXT_17); stringBuffer.append(feature.getGetAccessor()); stringBuffer.append(TEXT_18); } }}final FeatureGetAccessorHelper myFeatureGetAccessorHelper = new FeatureGetAccessorHelper(); stringBuffer.append(TEXT_19); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_20); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.wizard.Wizard")); stringBuffer.append(TEXT_21); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_22); if (isRichClientPlatform) { stringBuffer.append(TEXT_23); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_24); } else { stringBuffer.append(TEXT_25); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IFile")); stringBuffer.append(TEXT_26); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.dialogs.WizardNewFileCreationPage")); stringBuffer.append(TEXT_27); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IWorkbenchPage")); stringBuffer.append(TEXT_28); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_29); } stringBuffer.append(TEXT_30); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_31); if (isRichClientPlatform) { stringBuffer.append(TEXT_32); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_33); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_34); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_35); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_36); } else { stringBuffer.append(TEXT_37); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_38); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IFile")); stringBuffer.append(TEXT_39); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IWorkbenchPage")); stringBuffer.append(TEXT_40); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_41); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_42); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_43); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_44); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_45); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_46); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_47); } stringBuffer.append(TEXT_48); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_49); if (isRichClientPlatform) { stringBuffer.append(TEXT_50); } else { stringBuffer.append(TEXT_51); } stringBuffer.append(TEXT_52); if (isRichClientPlatform) { stringBuffer.append(TEXT_53); } else { stringBuffer.append(TEXT_54); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.dialogs.WizardNewFileCreationPage")); stringBuffer.append(TEXT_55); stringBuffer.append(genModel.getModelName()); stringBuffer.append(TEXT_56); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_57); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IContainer")); stringBuffer.append(TEXT_58); stringBuffer.append(editorGen.getDiagramFileExtension()); stringBuffer.append(TEXT_59); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.Path")); stringBuffer.append(TEXT_60); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.Path")); stringBuffer.append(TEXT_61); stringBuffer.append(genModel.getModelName()); stringBuffer.append(TEXT_62); } stringBuffer.append(TEXT_63); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.resource.ResourceSet")); stringBuffer.append(TEXT_64); if (isRichClientPlatform) { stringBuffer.append(TEXT_65); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_66); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_67); } else { stringBuffer.append(TEXT_68); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IFile")); stringBuffer.append(TEXT_69); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.NullProgressMonitor")); stringBuffer.append(TEXT_70); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.CoreException")); stringBuffer.append(TEXT_71); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_72); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_73); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_74); } stringBuffer.append(TEXT_75); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.AbstractCommand")); stringBuffer.append(TEXT_76); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.AbstractCommand")); stringBuffer.append(TEXT_77); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Diagram")); stringBuffer.append(TEXT_78); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_79); stringBuffer.append(importManager.getImportedName(genDiagram.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_80); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationFactory")); stringBuffer.append(TEXT_81); stringBuffer.append(importManager.getImportedName(genDiagram.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_82); if (editorGen.isSameFileForDiagramAndModel()) { stringBuffer.append(TEXT_83); } stringBuffer.append(TEXT_84); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_85); stringBuffer.append(importManager.getImportedName("java.util.Collections")); stringBuffer.append(TEXT_86); if (isRichClientPlatform) { stringBuffer.append(TEXT_87); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IEditorPart")); stringBuffer.append(TEXT_88); stringBuffer.append(importManager.getImportedName(genDiagram.getDiagramEditorUtilQualifiedClassName())); stringBuffer.append(TEXT_89); } else { stringBuffer.append(TEXT_90); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IEditorPart")); stringBuffer.append(TEXT_91); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.ide.IDE")); stringBuffer.append(TEXT_92); } stringBuffer.append(TEXT_93); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IDiagramLayouter")); stringBuffer.append(TEXT_94); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IDiagramLayouter")); stringBuffer.append(TEXT_95); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IDiagramLayouter")); stringBuffer.append(TEXT_96); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalViewer")); stringBuffer.append(TEXT_97); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalViewer")); stringBuffer.append(TEXT_98); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalViewer")); stringBuffer.append(TEXT_99); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_100); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalEditPart")); stringBuffer.append(TEXT_101); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_102); stringBuffer.append(importManager.getImportedName("java.io.IOException")); stringBuffer.append(TEXT_103); if (isRichClientPlatform) { stringBuffer.append(TEXT_104); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_105); } else { stringBuffer.append(TEXT_106); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_107); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.PartInitException")); stringBuffer.append(TEXT_108); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_109); } stringBuffer.append(TEXT_110); stringBuffer.append(TEXT_111); stringBuffer.append(TEXT_112); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Diagram")); stringBuffer.append(TEXT_113); stringBuffer.append(genDiagram.getUniqueIdentifier()); stringBuffer.append(TEXT_114); if(!genDiagram.getLinks().isEmpty()) { stringBuffer.append(TEXT_115); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.NaiveViewService")); stringBuffer.append(TEXT_116); stringBuffer.append(genDiagram.getUniqueIdentifier()); stringBuffer.append(TEXT_117); } stringBuffer.append(TEXT_118); final Comparator<GenContainerBase> comparator = new Comparator<GenContainerBase>() { public int compare(GenContainerBase o1, GenContainerBase o2) { return o1.getVisualID() - o2.getVisualID(); }};TreeSet<GenContainerBase> containers2Generate = new TreeSet<GenContainerBase>(comparator);for (Iterator containers = genDiagram.getAllContainers().iterator(); containers.hasNext();) { GenContainerBase nextContainer = (GenContainerBase) containers.next(); if (!nextContainer.getContainedNodes().isEmpty()) { containers2Generate.add(nextContainer); continue; } if (nextContainer instanceof GenDiagram) { containers2Generate.add(nextContainer); continue; } if (nextContainer instanceof GenNode) { //May need to generate if contains compartments with children for(Iterator compartments = ((GenNode) nextContainer).getCompartments().iterator(); compartments.hasNext(); ) { GenCompartment nextCompartment = (GenCompartment) compartments.next(); if (!nextCompartment.getContainedNodes().isEmpty()) { containers2Generate.add(nextContainer); break; } } }}for (Iterator<GenContainerBase> containers = containers2Generate.iterator(); containers.hasNext();) { GenContainerBase nextContainer = containers.next(); stringBuffer.append(TEXT_119); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_120); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_121); if (nextContainer instanceof GenNode) { boolean shouldIterateOverCompartments = false; for(Iterator compartments = ((GenNode) nextContainer).getCompartments().iterator(); compartments.hasNext(); ) { GenCompartment nextCompartment = (GenCompartment) compartments.next(); if (!nextCompartment.getContainedNodes().isEmpty()) { shouldIterateOverCompartments = true; break; } } if (shouldIterateOverCompartments) { stringBuffer.append(TEXT_122); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_123); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_124); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_125); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_126); for(Iterator compartments = ((GenNode) nextContainer).getCompartments().iterator(); compartments.hasNext(); ) { GenCompartment nextCompartment = (GenCompartment) compartments.next(); if (nextCompartment.getContainedNodes().isEmpty()) { continue; } stringBuffer.append(TEXT_127); stringBuffer.append(importManager.getImportedName(nextCompartment.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_128); stringBuffer.append(nextCompartment.getUniqueIdentifier()); stringBuffer.append(TEXT_129); } stringBuffer.append(TEXT_130); } } stringBuffer.append(TEXT_131); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_132); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_133); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_134); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_135); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_136); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_137); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_138); boolean shouldIterateToGenerate = false; for(Iterator containedNodes = nextContainer.getContainedNodes().iterator(); containedNodes.hasNext(); ) { GenNode nextNode = (GenNode) containedNodes.next(); if (containers2Generate.contains(nextNode)) { shouldIterateToGenerate = true; break; } } if (shouldIterateToGenerate) { stringBuffer.append(TEXT_139); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_140); for(Iterator containedNodes = nextContainer.getContainedNodes().iterator(); containedNodes.hasNext(); ) { GenNode nextNode = (GenNode) containedNodes.next(); if (containers2Generate.contains(nextNode)) { stringBuffer.append(TEXT_141); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_142); stringBuffer.append(nextNode.getUniqueIdentifier()); stringBuffer.append(TEXT_143); } } stringBuffer.append(TEXT_144); } stringBuffer.append(TEXT_145); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_146); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_147); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_148); { String _getViewCode = "parentView"; List childNodes = nextContainer.getContainedNodes(); stringBuffer.append(TEXT_149); if (childNodes.size() == 0) { stringBuffer.append(TEXT_150); stringBuffer.append(importManager.getImportedName("java.util.Collections")); stringBuffer.append(TEXT_151); } else { stringBuffer.append(TEXT_152); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_153); stringBuffer.append(importManager.getImportedName("java.util.LinkedList")); stringBuffer.append(TEXT_154); Map genFeature2genNodeMap = new LinkedHashMap(); for (int nodeIndex = 0; nodeIndex < childNodes.size(); nodeIndex++) { GenNode nextNode = (GenNode) childNodes.get(nodeIndex); TypeModelFacet typeModelFacet = nextNode.getModelFacet(); if (typeModelFacet == null) { continue; } GenFeature childMetaFeature = typeModelFacet.getChildMetaFeature(); if (!genFeature2genNodeMap.containsKey(childMetaFeature)) { genFeature2genNodeMap.put(childMetaFeature, new ArrayList()); } ((Collection) genFeature2genNodeMap.get(childMetaFeature)).add(nextNode); } Set entrySet = genFeature2genNodeMap.entrySet(); if (entrySet.size() > 0) { stringBuffer.append(TEXT_155); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_156); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_157); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_158); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_159); } for (Iterator entries = entrySet.iterator(); entries.hasNext();) { Map.Entry nextEntry = (Map.Entry) entries.next(); GenFeature childMetaFeature = (GenFeature) nextEntry.getKey(); Collection genNodesCollection = (Collection) nextEntry.getValue(); if (childMetaFeature.isListType()) { stringBuffer.append(TEXT_160); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_161); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", childMetaFeature, null, true); stringBuffer.append(TEXT_162); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_163); } else { stringBuffer.append(TEXT_164); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_165); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", childMetaFeature, null, false); stringBuffer.append(TEXT_166); } stringBuffer.append(TEXT_167); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_168); boolean generateSwitch = genNodesCollection.size() != 1; if (generateSwitch) { stringBuffer.append(TEXT_169); } for (Iterator genNodesIterator = genNodesCollection.iterator(); genNodesIterator.hasNext();) { GenNode nextNode = (GenNode) genNodesIterator.next(); if (generateSwitch) { stringBuffer.append(TEXT_170); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_171); } else { stringBuffer.append(TEXT_172); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_173); } stringBuffer.append(TEXT_174); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_175); if (generateSwitch) { stringBuffer.append(TEXT_176); } else { stringBuffer.append(TEXT_177); } } if (generateSwitch) { stringBuffer.append(TEXT_178); } if (childMetaFeature.isListType()) { stringBuffer.append(TEXT_179); }} stringBuffer.append(TEXT_180); } } stringBuffer.append(TEXT_181); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_182); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_183); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_184); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_185); { String _parentNode = "parentView"; List childNodes = nextContainer.getContainedNodes(); boolean isListLayout; if (nextContainer instanceof GenNode) { isListLayout = !org.eclipse.gmf.codegen.gmfgen.util.ViewmapLayoutTypeHelper.getSharedInstance().isStoringChildPositions((GenNode) nextContainer); } else if (nextContainer instanceof GenCompartment) { isListLayout = ((GenCompartment) nextContainer).isListLayout(); } else if (nextContainer instanceof GenDiagram) { isListLayout = false; } else { throw new RuntimeException("Unexpected container"); } stringBuffer.append(TEXT_186); stringBuffer.append(TEXT_187); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_188); for (Iterator it = childNodes.iterator(); it.hasNext(); ) { GenNode nextNode = (GenNode) it.next(); TypeModelFacet typeModelFacet = nextNode.getModelFacet(); if (typeModelFacet == null) { continue; } String childNodeInterfaceName = importManager.getImportedName(nextNode.getDomainMetaClass().getQualifiedInterfaceName()); stringBuffer.append(TEXT_189); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_190); stringBuffer.append(childNodeInterfaceName); stringBuffer.append(TEXT_191); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalNodeCommand")); stringBuffer.append(TEXT_192); stringBuffer.append(_parentNode); stringBuffer.append(TEXT_193); if (!isListLayout) { int defaultWidth = 40; int defaultHeight = 40; DefaultSizeAttributes defSizeAttrs = (DefaultSizeAttributes) nextNode.getViewmap().find(DefaultSizeAttributes.class); if (defSizeAttrs != null) { defaultWidth = defSizeAttrs.getWidth(); defaultHeight = defSizeAttrs.getHeight(); } stringBuffer.append(TEXT_194); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Rectangle")); stringBuffer.append(TEXT_195); stringBuffer.append(defaultWidth); stringBuffer.append(TEXT_196); stringBuffer.append(defaultHeight); stringBuffer.append(TEXT_197); } else { stringBuffer.append(TEXT_198); } stringBuffer.append(TEXT_199); stringBuffer.append(importManager.getImportedName(nextNode.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_200); } stringBuffer.append(TEXT_201); } stringBuffer.append(TEXT_202); }class LinksCollection { private Collection<GenLink> myTypeModelFacetLinks = new LinkedList<GenLink>(); private Collection<GenLink> myFeatureModelFacetLinks = new LinkedList<GenLink>(); public void add(GenLink link) { if (link.getModelFacet() instanceof TypeLinkModelFacet) { myTypeModelFacetLinks.add(link); } else if (link.getModelFacet() instanceof FeatureLinkModelFacet) { myFeatureModelFacetLinks.add(link); } } public Iterator<GenLink> getContainedTypeModelFacetLinks() { return myTypeModelFacetLinks.iterator(); } public Iterator<GenLink> getContainedFeatureModelFacetLinks() { return myFeatureModelFacetLinks.iterator(); }}class CreateChildLinkElements { private TreeMap<GenContainerBase, LinksCollection> myElements; public CreateChildLinkElements() { myElements = new TreeMap<GenContainerBase, LinksCollection>(comparator); } public void add(GenContainerBase o, GenLink link) { buildAncestors(o); myElements.get(o).add(link); } private void buildAncestors(GenContainerBase o) { if (!myElements.containsKey(o)) { LinksCollection elements = new LinksCollection(); myElements.put(o, elements); addAncestors(o); } } private void addAncestors(GenContainerBase o) { if (o instanceof GenCompartment) { GenCompartment compartment = (GenCompartment) o; buildAncestors(compartment.getNode()); } else if (o instanceof GenTopLevelNode) { GenTopLevelNode node = (GenTopLevelNode) o; buildAncestors(node.getDiagram()); } else if (o instanceof GenChildNode) { GenChildNode node = (GenChildNode) o; for(Iterator it = node.getContainers().iterator(); it.hasNext(); ) { GenContainerBase next = (GenContainerBase) it.next(); buildAncestors(next); } } } public boolean contains(GenContainerBase o) { return myElements.containsKey(o); } public Iterator<Map.Entry<GenContainerBase, LinksCollection>> iterator() { return myElements.entrySet().iterator(); }}if (!genDiagram.getLinks().isEmpty()) { CreateChildLinkElements linkContainers2Generate = new CreateChildLinkElements(); //No need to explicitly add diagram, since we build the whole hierarchy up. for(Iterator links = genDiagram.getLinks().iterator(); links.hasNext(); ) { GenLink next = (GenLink) links.next(); GenClass containerClass; LinkModelFacet nextModelFacet = next.getModelFacet(); if (nextModelFacet instanceof TypeLinkModelFacet) { TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) next.getModelFacet(); if (modelFacet.getSourceMetaFeature() == null && modelFacet.getTargetMetaFeature() == null) { //if one link feature is null, the element is treated as this end of the link. If both are null, we cannot do anything about such a link. containerClass = null; } else { containerClass = modelFacet.getContainmentMetaFeature().getGenClass(); } } else if (nextModelFacet instanceof FeatureLinkModelFacet) { GenFeature metaFeature = ((FeatureModelFacet) next.getModelFacet()).getMetaFeature(); containerClass = metaFeature.getGenClass(); } else { continue; } for (Iterator nodes = genDiagram.getAllNodes().iterator(); nodes.hasNext(); ) { GenNode nextNode = (GenNode) nodes.next(); if (containerClass.getEcoreClass().isSuperTypeOf(nextNode.getDomainMetaClass().getEcoreClass())) { linkContainers2Generate.add(nextNode, next); } } } for(Iterator<Map.Entry<GenContainerBase, LinksCollection>> entryIt = linkContainers2Generate.iterator(); entryIt.hasNext(); ) { Map.Entry<GenContainerBase, LinksCollection> next = entryIt.next(); GenContainerBase nextContainer = next.getKey(); LinksCollection linksCollection = next.getValue(); Iterator<GenLink> typeModelFacetLinks = linksCollection.getContainedTypeModelFacetLinks(); Iterator<GenLink> featureModelFacetLinks = linksCollection.getContainedFeatureModelFacetLinks(); stringBuffer.append(TEXT_203); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_204); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_205); if (typeModelFacetLinks.hasNext() || featureModelFacetLinks.hasNext()) { stringBuffer.append(TEXT_206); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_207); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_208); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_209); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_210); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_211); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_212); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_213); } boolean shouldIterateToGenerate = false; Collection childElements = new ArrayList(nextContainer.getContainedNodes()); if (nextContainer instanceof GenNode) { childElements.addAll(((GenNode) nextContainer).getCompartments()); } for(Iterator childrenIterator = childElements.iterator(); childrenIterator.hasNext(); ) { GenContainerBase nextChild = (GenContainerBase) childrenIterator.next(); if (linkContainers2Generate.contains(nextChild)) { shouldIterateToGenerate = true; break; } } if (shouldIterateToGenerate) { stringBuffer.append(TEXT_214); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_215); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_216); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_217); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_218); for(Iterator childrenIterator = childElements.iterator(); childrenIterator.hasNext(); ) { GenContainerBase nextChild = (GenContainerBase) childrenIterator.next(); if (!linkContainers2Generate.contains(nextChild)) { continue; } stringBuffer.append(TEXT_219); stringBuffer.append(importManager.getImportedName(nextChild.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_220); stringBuffer.append(nextChild.getUniqueIdentifier()); stringBuffer.append(TEXT_221); } stringBuffer.append(TEXT_222); } stringBuffer.append(TEXT_223); if (typeModelFacetLinks.hasNext() || featureModelFacetLinks.hasNext()) { stringBuffer.append(TEXT_224); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_225); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_226); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_227); { String _getViewCode = "parentView"; List childNodes = nextContainer.getContainedNodes(); Iterator<GenLink> _containedTypeModelFacetLinks = linksCollection.getContainedTypeModelFacetLinks();; Iterator<GenLink> _containedFeatureModelFacetLinks = linksCollection.getContainedFeatureModelFacetLinks();; stringBuffer.append(TEXT_228); stringBuffer.append(TEXT_229); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_230); stringBuffer.append(importManager.getImportedName("java.util.LinkedList")); stringBuffer.append(TEXT_231); Map genFeature2genLinkMap = new LinkedHashMap();for(Iterator it = _containedTypeModelFacetLinks; it.hasNext(); ) { GenLink genLink = (GenLink)it.next(); TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) genLink.getModelFacet(); GenFeature metaFeature = modelFacet.getChildMetaFeature(); if (!genFeature2genLinkMap.containsKey(metaFeature)) { genFeature2genLinkMap.put(metaFeature, new ArrayList()); } ((Collection) genFeature2genLinkMap.get(metaFeature)).add(genLink);}Map genFeature2featureGenLinkMap = new LinkedHashMap();for(Iterator it = _containedFeatureModelFacetLinks; it.hasNext(); ) { GenLink genLink = (GenLink)it.next(); GenFeature metaFeature = ((FeatureModelFacet) genLink.getModelFacet()).getMetaFeature(); if (!genFeature2featureGenLinkMap.containsKey(metaFeature)) { genFeature2featureGenLinkMap.put(metaFeature, new ArrayList()); } ((Collection) genFeature2featureGenLinkMap.get(metaFeature)).add(genLink);}if (!genFeature2genLinkMap.isEmpty() || !genFeature2featureGenLinkMap.isEmpty()) { stringBuffer.append(TEXT_232); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_233); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_234); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_235); }if (!genFeature2genLinkMap.isEmpty()) { stringBuffer.append(TEXT_236); }for (Iterator entries = genFeature2genLinkMap.entrySet().iterator(); entries.hasNext();) { Map.Entry nextEntry = (Map.Entry) entries.next(); GenFeature metaFeature = (GenFeature) nextEntry.getKey(); Collection genLinksCollection = (Collection) nextEntry.getValue(); if (metaFeature.isListType()) { stringBuffer.append(TEXT_237); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_238); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, true); stringBuffer.append(TEXT_239); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_240); } else { stringBuffer.append(TEXT_241); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_242); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, false); stringBuffer.append(TEXT_243); } stringBuffer.append(TEXT_244); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_245); boolean generateSwitch = genLinksCollection.size() != 1; if (generateSwitch) { stringBuffer.append(TEXT_246); } for (Iterator genLinksIterator = genLinksCollection.iterator(); genLinksIterator.hasNext(); ) { GenLink nextLink = (GenLink) genLinksIterator.next(); TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) nextLink.getModelFacet(); if (generateSwitch) { stringBuffer.append(TEXT_247); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_248); } else { stringBuffer.append(TEXT_249); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_250); } if (modelFacet.getSourceMetaFeature() != null) { stringBuffer.append(TEXT_251); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_252); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_253); myFeatureGetAccessorHelper.appendFeatureValueGetter("nextValue", modelFacet.getSourceMetaFeature(), null, false); stringBuffer.append(TEXT_254); } else { stringBuffer.append(TEXT_255); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_256); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_257); } if (modelFacet.getTargetMetaFeature() != null) { stringBuffer.append(TEXT_258); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_259); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_260); myFeatureGetAccessorHelper.appendFeatureValueGetter("nextValue", modelFacet.getTargetMetaFeature(), null, false); stringBuffer.append(TEXT_261); } else { stringBuffer.append(TEXT_262); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_263); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_264); } stringBuffer.append(TEXT_265); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_266); if (generateSwitch) { stringBuffer.append(TEXT_267); } else { stringBuffer.append(TEXT_268); } } //iterate over genLinksCollection if (generateSwitch) { stringBuffer.append(TEXT_269); } if (metaFeature.isListType()) { stringBuffer.append(TEXT_270); }}for (Iterator entries = genFeature2featureGenLinkMap.entrySet().iterator(); entries.hasNext();) { Map.Entry nextEntry = (Map.Entry) entries.next(); GenFeature metaFeature = (GenFeature) nextEntry.getKey(); Collection genLinksCollection = (Collection) nextEntry.getValue(); if (metaFeature.isListType()) { stringBuffer.append(TEXT_271); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_272); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, true); stringBuffer.append(TEXT_273); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_274); } else { stringBuffer.append(TEXT_275); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_276); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, false); stringBuffer.append(TEXT_277); } stringBuffer.append(TEXT_278); for (Iterator genLinksIterator = genLinksCollection.iterator(); genLinksIterator.hasNext(); ) { GenLink nextLink = (GenLink) genLinksIterator.next(); stringBuffer.append(TEXT_279); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_280); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_281); } stringBuffer.append(TEXT_282); if (metaFeature.isListType()) { stringBuffer.append(TEXT_283); }} stringBuffer.append(TEXT_284); } stringBuffer.append(TEXT_285); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_286); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_287); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_288); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_289); { String _diagramCode = "parentView.getDiagram()"; Iterator<GenLink> _containedTypeModelFacetLinks = linksCollection.getContainedTypeModelFacetLinks();; Iterator<GenLink> _containedFeatureModelFacetLinks = linksCollection.getContainedFeatureModelFacetLinks();; stringBuffer.append(TEXT_290); stringBuffer.append(TEXT_291); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_292); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_293); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IViewDecorator")); stringBuffer.append(TEXT_294); for(Iterator it = _containedTypeModelFacetLinks; it.hasNext(); ) { GenLink nextLink = (GenLink) it.next(); TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) nextLink.getModelFacet(); if (modelFacet == null) { continue; } stringBuffer.append(TEXT_295); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_296); stringBuffer.append(importManager.getImportedName(modelFacet.getMetaClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_297); stringBuffer.append(importManager.getImportedName(nextLink.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_298); } for(Iterator it = _containedFeatureModelFacetLinks; it.hasNext(); ) { GenLink nextLink = (GenLink) it.next(); stringBuffer.append(TEXT_299); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_300); stringBuffer.append(importManager.getImportedName(nextLink.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_301); } stringBuffer.append(TEXT_302); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalEdgeCommand")); stringBuffer.append(TEXT_303); stringBuffer.append(_diagramCode); stringBuffer.append(TEXT_304); } stringBuffer.append(TEXT_305); } }}if(!genDiagram.getLinks().isEmpty()) { stringBuffer.append(TEXT_306); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.IViewService")); stringBuffer.append(TEXT_307); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.IViewService")); stringBuffer.append(TEXT_308); } stringBuffer.append(TEXT_309); if (isRichClientPlatform) { stringBuffer.append(TEXT_310); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.wizard.WizardPage")); stringBuffer.append(TEXT_311); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Text")); stringBuffer.append(TEXT_312); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_313); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_314); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_315); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_316); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_317); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_318); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_319); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_320); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_321); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_322); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_323); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_324); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_325); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_326); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_327); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_328); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_329); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_330); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_331); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_332); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_333); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_334); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_335); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_336); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Text")); stringBuffer.append(TEXT_337); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_338); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_339); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_340); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_341); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Button")); stringBuffer.append(TEXT_342); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Button")); stringBuffer.append(TEXT_343); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_344); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.SelectionAdapter")); stringBuffer.append(TEXT_345); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.SelectionEvent")); stringBuffer.append(TEXT_346); stringBuffer.append(importManager.getImportedName(genDiagram.getDiagramEditorUtilQualifiedClassName())); stringBuffer.append(TEXT_347); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_348); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.ModifyListener")); stringBuffer.append(TEXT_349); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.ModifyListener")); stringBuffer.append(TEXT_350); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.ModifyEvent")); stringBuffer.append(TEXT_351); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_352); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_353); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_354); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_355); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_356); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_357); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_358); stringBuffer.append(editorGen.getDomainFileExtension()); stringBuffer.append(TEXT_359); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_360); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_361); stringBuffer.append(editorGen.getDiagramFileExtension()); stringBuffer.append(TEXT_362); stringBuffer.append(editorGen.getDomainGenModel().getModelName()); stringBuffer.append(TEXT_363); stringBuffer.append(editorGen.getDiagramFileExtension()); stringBuffer.append(TEXT_364); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_365); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_366); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_367); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_368); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_369); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_370); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_371); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_372); } stringBuffer.append(TEXT_373); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.wizard.WizardPage")); stringBuffer.append(TEXT_374); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.ISelectionChangedListener")); stringBuffer.append(TEXT_375); if (isRichClientPlatform) { stringBuffer.append(TEXT_376); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TreeViewer")); stringBuffer.append(TEXT_377); } stringBuffer.append(TEXT_378); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_379); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_380); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_381); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_382); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_383); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_384); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_385); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_386); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_387); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_388); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_389); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_390); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_391); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_392); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_393); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_394); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_395); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_396); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_397); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_398); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_399); final String treeViewer = isRichClientPlatform ? "myTreeViewer" : "treeViewer"; stringBuffer.append(TEXT_400); if (!isRichClientPlatform){ stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TreeViewer")); stringBuffer.append(TEXT_401); } stringBuffer.append(treeViewer); stringBuffer.append(TEXT_402); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TreeViewer")); stringBuffer.append(TEXT_403); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_404); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_405); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_406); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_407); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_408); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_409); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_410); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_411); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_412); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider")); stringBuffer.append(TEXT_413); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_414); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_415); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider")); stringBuffer.append(TEXT_416); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_417); if (!isRichClientPlatform) { stringBuffer.append(TEXT_418); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_419); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_420); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.StructuredSelection")); stringBuffer.append(TEXT_421); } stringBuffer.append(TEXT_422); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_423); if (isRichClientPlatform) { stringBuffer.append(TEXT_424); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_425); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.StructuredSelection")); stringBuffer.append(TEXT_426); } stringBuffer.append(TEXT_427); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.SelectionChangedEvent")); stringBuffer.append(TEXT_428); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_429); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_430); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_431); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.provider.IWrapperItemProvider")); stringBuffer.append(TEXT_432); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.provider.IWrapperItemProvider")); stringBuffer.append(TEXT_433); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_434); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_435); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_436); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_437); stringBuffer.append(importManager.getImportedName(genDiagram.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_438); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_439); importManager.emitSortedImports(); stringBuffer.append(TEXT_440); return stringBuffer.toString(); }
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, 63, 5717, 1237, 25146, 20, 15533, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 6385, 10938, 6946, 3908, 4858, 7642, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 5621, 6385, 10938, 1488, 3157, 1488, 273, 4858, 7642, 18, 588, 3748, 7642, 1488, 5621, 6385, 514, 1909, 12241, 639, 797, 273, 1930, 1318, 18, 588, 24934, 461, 12, 9177, 7642, 18, 588, 3773, 7675, 588, 12241, 639, 8708, 3834, 10663, 6385, 1250, 353, 22591, 1227, 8201, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 7675, 588, 3748, 7642, 1488, 7675, 291, 22591, 1227, 8201, 5621, 565, 533, 1892, 18, 6923, 12, 5151, 67, 21, 1769, 565, 514, 22245, 1528, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 7675, 588, 2951, 4083, 1528, 5621, 430, 261, 29187, 1528, 480, 446, 597, 22245, 1528, 18, 5290, 7675, 2469, 1435, 405, 374, 13, 288, 565, 533, 1892, 18, 6923, 12, 5151, 67, 22, 1769, 565, 533, 1892, 18, 6923, 12, 29187, 1528, 18, 2079, 1595, 31458, 82, 3113, 1548, 82, 380, 9369, 1769, 565, 533, 1892, 18, 6923, 12, 5151, 67, 23, 1769, 565, 289, 565, 1930, 1318, 18, 18356, 2261, 3406, 12, 1080, 1892, 1769, 5666, 1318, 18, 3355, 5010, 2735, 12, 1080, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 63, 5717, 1237, 25146, 20, 15533, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 6385, 10938, 6946, 3908, 4858, 7642, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 5621, 6385, 10938, 1488, 3157, 1488, 273, 4858, 7642, 18, 588, 3748, 7642, 1488, 5621, 6385, 514, 1909, 12241, 639, 797, 273, 1930, 1318, 18, 588, 24934, 461, 12, 9177, 7642, 18, 588, 3773, 7675, 588, 12241, 639, 8708, 3834, 10663, 6385, 1250, 353, 2 ]
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", "flintstone" ); obj.invokeMethod("save", null); GroovyObject obj2 = (GroovyObject)domainClass.newInstance(); obj2.setProperty( "id", new Long(2) ); obj2.setProperty( "firstName", "wilma" ); obj2.setProperty( "lastName", "flintstone" ); obj2.invokeMethod("save", null); Object returnValue = obj.getMetaClass().invokeStaticMethod(obj, "get", new Object[] { new Long(2) }); assertNotNull(returnValue); assertEquals(returnValue.getClass(),domainClass.getClazz()); }
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); GroovyObject obj2 = (GroovyObject)domainClass.newInstance(); obj2.setProperty( "id", new Long(2) ); obj2.setProperty( "firstName", "wilma" ); obj2.setProperty( "lastName", "flintstone" ); obj2.invokeMethod("save", null); Object returnValue = obj.getMetaClass().invokeStaticMethod(obj, "get", new Object[] { new Long(2) }); assertNotNull(returnValue); assertEquals(returnValue.getClass(),domainClass.getClazz()); }
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", "fred" ); obj.setProperty( "lastName", "flintstone" ); obj.invokeMethod("save", null); GroovyObject obj2 = (GroovyObject)domainClass.newInstance(); obj2.setProperty( "id", new Long(2) ); obj2.setProperty( "firstName", "wilma" ); obj2.setProperty( "lastName", "flintstone" ); obj2.invokeMethod("save", null); // get wilma by id Object returnValue = obj.getMetaClass().invokeStaticMethod(obj, "get", new Object[] { new Long(2) }); assertNotNull(returnValue); assertEquals(returnValue.getClass(),domainClass.getClazz()); }
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, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 535, 18, 15769, 22828, 18, 11906, 1305, 4709, 797, 8863, 9506, 202, 43, 12859, 921, 1081, 273, 261, 43, 12859, 921, 13, 4308, 797, 18, 2704, 1442, 5621, 202, 202, 2603, 18, 542, 1396, 12, 315, 350, 3113, 394, 3407, 12, 21, 13, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 3645, 461, 3113, 315, 74, 1118, 6, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 2722, 461, 3113, 315, 2242, 474, 13925, 6, 11272, 9506, 202, 2603, 18, 14407, 1305, 2932, 5688, 3113, 446, 1769, 9506, 202, 43, 12859, 921, 1081, 22, 273, 261, 43, 12859, 921, 13, 4308, 797, 18, 2704, 1442, 5621, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 350, 3113, 394, 3407, 12, 22, 13, 11272, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 3645, 461, 3113, 315, 91, 330, 2540, 6, 11272, 202, 202, 2603, 22, 18, 542, 1396, 12, 315, 2722, 461, 3113, 315, 2242, 474, 13925, 6, 11272, 9506, 202, 2603, 22, 18, 14407, 1305, 2932, 5688, 3113, 446, 1769, 6862, 202, 759, 336, 341, 330, 2540, 635, 612, 202, 202, 921, 7750, 273, 1081, 18, 588, 2781, 797, 7675, 14407, 5788, 1305, 12, 2603, 16, 315, 588, 3113, 394, 1033, 8526, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 535, 18, 15769, 22828, 18, 11906, 1305, 4709, 797, 8863, 9506, 202, 43, 12859, 921, 1081, 273, 261, 43, 12859, 921, 13, 4308, 797, 18, 2704, 1442, 5621, 202, 202, 2603, 18, 542, 1396, 12, 315, 350, 3113, 394, 3407, 12, 21, 13, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 3645, 461, 3113, 315, 74, 1118, 6, 11272, 202, 202, 2603, 18, 542, 1396, 12, 315, 2722, 461, 3113, 315, 2242, 474, 13925, 6, 2 ]
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( DATA_TYPE_CHOICES[i].getName( ) ); break; } } newBinding.setExpression( itemExpression.getText( ) ); if ( itemAggregateOn.isVisible( ) && !( itemAggregateOn.getText( ).equals( ALL ) || itemAggregateOn.getText( ) .equals( NONE ) ) ) { newBinding.setAggregateOn( itemAggregateOn.getText( ) ); } else newBinding.setAggregateOn( null ); bindingColumn = DEUtil.addColumn( getBindingObject( ), newBinding, isForceBinding( ) ); } else { if ( !( bindingColumn.getName( ) != null && bindingColumn.getName( ) .equals( itemName.getText( ).trim( ) ) ) ) bindingColumn.setName( itemName.getText( ) ); for ( int i = 0; i < DATA_TYPE_CHOICES.length; i++ ) { if ( DATA_TYPE_CHOICES[i].getDisplayName( ) .endsWith( itemType.getText( ) ) ) { bindingColumn.setDataType( DATA_TYPE_CHOICES[i].getName( ) ); break; } } bindingColumn.setExpression( itemExpression.getText( ) ); if ( itemAggregateOn.isVisible( ) && !( itemAggregateOn.getText( ).equals( ALL ) || itemAggregateOn.getText( ) .equals( NONE ) ) ) { bindingColumn.setAggregateOn( itemAggregateOn.getText( ) ); } else bindingColumn.setAggregateOn( null ); } }
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, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 2000-06-07 tdsVer = tdsVer_; id = ++nextId; }
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, 11272, 3639, 316, 273, 394, 29382, 12, 7313, 18, 588, 4348, 1435, 11272, 3639, 596, 1892, 273, 394, 1160, 63, 1896, 6667, 1782, 15533, 3639, 316, 1892, 273, 394, 1160, 63, 1896, 6667, 1782, 15533, 3639, 368, 25808, 16291, 17, 7677, 17, 8642, 3639, 333, 18, 88, 2377, 3945, 273, 268, 2377, 3945, 31, 3639, 612, 273, 965, 4285, 548, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 11272, 3639, 316, 273, 394, 29382, 12, 7313, 18, 588, 4348, 1435, 11272, 3639, 596, 1892, 273, 394, 1160, 63, 1896, 6667, 1782, 15533, 3639, 316, 1892, 273, 394, 1160, 63, 1896, 6667, 1782, 15533, 3639, 368, 25808, 16291, 17, 7677, 17, 8642, 3639, 333, 18, 88, 2377, 3945, 273, 268, 2377, 3945, 31, 3639, 612, 273, 965, 4285, 548, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 10304, 273, 5972, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 10304, 273, 5972, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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.length() == 0) throw new BridgeException(e, ERR_URI_MALFORMED, new Object[] {uri}); Element refElement = ctx.getReferencedElement(e, uri); SVGOMDocument document = (SVGOMDocument)e.getOwnerDocument(); SVGOMDocument refDocument = (SVGOMDocument)refElement.getOwnerDocument(); boolean isLocal = (refDocument == document); // import or clone the referenced element in current document Element localRefElement = (isLocal) ? (Element)refElement.cloneNode(true) : (Element)document.importNode(refElement, true); if (SVG_SYMBOL_TAG.equals(localRefElement.getLocalName())) { // The referenced 'symbol' and its contents are deep-cloned into // the generated tree, with the exception that the 'symbol' is // replaced by an 'svg'. Element svgElement = document.createElementNS(SVG_NAMESPACE_URI, SVG_SVG_TAG); // move the attributes from <symbol> to the <svg> element NamedNodeMap attrs = localRefElement.getAttributes(); int len = attrs.getLength(); for (int i = 0; i < len; i++) { Attr attr = (Attr)attrs.item(i); svgElement.setAttributeNS(attr.getNamespaceURI(), attr.getName(), attr.getValue()); } // move the children from <symbol> to the <svg> element for (Node n = localRefElement.getFirstChild(); n != null; n = localRefElement.getFirstChild()) { svgElement.appendChild(n); } localRefElement = svgElement; } if (SVG_SVG_TAG.equals(localRefElement.getLocalName())) { // The referenced 'svg' and its contents are deep-cloned into the // generated tree. If attributes width and/or height are provided // on the 'use' element, then these values will override the // corresponding attributes on the 'svg' in the generated tree. String wStr = e.getAttributeNS(null, SVG_WIDTH_ATTRIBUTE); if (wStr.length() != 0) { localRefElement.setAttributeNS (null, SVG_WIDTH_ATTRIBUTE, wStr); } String hStr = e.getAttributeNS(null, SVG_HEIGHT_ATTRIBUTE); if (hStr.length() != 0) { localRefElement.setAttributeNS (null, SVG_HEIGHT_ATTRIBUTE, hStr); } } // attach the referenced element to the current document ((HiddenChildElement)localRefElement).setParentElement(e); Element g = localRefElement; // compute URIs and style sheets for external reference if (!isLocal) { CSSUtilities.computeStyleAndURIs(refElement, localRefElement, uri); } GVTBuilder builder = ctx.getGVTBuilder(); GraphicsNode refNode = builder.build(ctx, g); /////////////////////////////////////////////////////////////////////// CompositeGraphicsNode gn = new CompositeGraphicsNode(); gn.getChildren().add(refNode); UnitProcessor.Context uctx = UnitProcessor.createContext(ctx, e); String s; // 'x' attribute - default is 0 float x = 0; s = e.getAttributeNS(null, SVG_X_ATTRIBUTE); if (s.length() != 0) { x = UnitProcessor.svgHorizontalCoordinateToUserSpace (s, SVG_X_ATTRIBUTE, uctx); } // 'y' attribute - default is 0 float y = 0; s = e.getAttributeNS(null, SVG_Y_ATTRIBUTE); if (s.length() != 0) { y = UnitProcessor.svgVerticalCoordinateToUserSpace (s, SVG_Y_ATTRIBUTE, uctx); } // set an affine transform to take into account the (x, y) // coordinates of the <use> element s = e.getAttributeNS(null, SVG_TRANSFORM_ATTRIBUTE); AffineTransform at = AffineTransform.getTranslateInstance(x, y); // 'transform' if (s.length() != 0) { at.preConcatenate (SVGUtilities.convertTransform(e, SVG_TRANSFORM_ATTRIBUTE, s)); } gn.setTransform(at); // set an affine transform to take into account the (x, y) // coordinates of the <use> element // 'visibility' gn.setVisible(CSSUtilities.convertVisibility(e)); // 'enable-background' Rectangle2D r = CSSUtilities.convertEnableBackground(e, uctx); if (r != null) { gn.setBackgroundEnable(r); } return gn; }
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, 11864, 18, 1916, 12276, 12, 73, 16, 1103, 18, 588, 12276, 1435, 3719, 288, 202, 565, 327, 446, 31, 202, 97, 3639, 368, 336, 326, 8042, 930, 3639, 514, 2003, 273, 1139, 2098, 6289, 18, 588, 60, 2098, 15962, 12, 73, 1769, 3639, 309, 261, 1650, 18, 2469, 1435, 422, 374, 13, 5411, 604, 394, 24219, 503, 12, 73, 16, 10359, 67, 3098, 67, 49, 1013, 7473, 25773, 16, 4766, 4202, 394, 1033, 8526, 288, 1650, 22938, 10792, 3010, 1278, 1046, 273, 1103, 18, 588, 22344, 1046, 12, 73, 16, 2003, 1769, 3639, 11281, 1872, 2519, 1668, 5411, 273, 261, 26531, 1872, 2519, 13, 73, 18, 588, 5541, 2519, 5621, 3639, 11281, 1872, 2519, 1278, 2519, 5411, 273, 261, 26531, 1872, 2519, 13, 1734, 1046, 18, 588, 5541, 2519, 5621, 3639, 1250, 22873, 273, 261, 1734, 2519, 422, 1668, 1769, 3639, 368, 1930, 578, 3236, 326, 8042, 930, 316, 783, 1668, 3639, 3010, 1191, 1957, 1046, 273, 261, 291, 2042, 13, 5411, 692, 261, 1046, 13, 1734, 1046, 18, 14056, 907, 12, 3767, 13, 5411, 294, 261, 1046, 13, 5457, 18, 5666, 907, 12, 1734, 1046, 16, 638, 1769, 3639, 309, 261, 26531, 67, 22093, 67, 7927, 18, 14963, 12, 3729, 1957, 1046, 18, 588, 29583, 1435, 3719, 288, 5411, 368, 1021, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11864, 18, 1916, 12276, 12, 73, 16, 1103, 18, 588, 12276, 1435, 3719, 288, 202, 565, 327, 446, 31, 202, 97, 3639, 368, 336, 326, 8042, 930, 3639, 514, 2003, 273, 1139, 2098, 6289, 18, 588, 60, 2098, 15962, 12, 73, 1769, 3639, 309, 261, 1650, 18, 2469, 1435, 422, 374, 13, 5411, 604, 394, 24219, 503, 12, 73, 16, 10359, 67, 3098, 67, 49, 1013, 7473, 25773, 16, 4766, 4202, 394, 1033, 8526, 288, 1650, 22938, 10792, 3010, 1278, 1046, 273, 1103, 18, 2 ]
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().warnOfContentChange(); showingBusy = false; } }
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, 202, 4500, 310, 29289, 273, 21697, 31, 3639, 289, 3639, 469, 95, 759, 3386, 13068, 309, 1915, 711, 2118, 279, 2549, 316, 1056, 540, 202, 430, 12, 4500, 310, 29289, 597, 2078, 21644, 480, 675, 29289, 21644, 13, 540, 202, 202, 588, 5491, 1179, 7675, 8935, 951, 1350, 3043, 5621, 540, 202, 4202, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 202, 4500, 310, 29289, 273, 21697, 31, 3639, 289, 3639, 469, 95, 759, 3386, 13068, 309, 1915, 711, 2118, 279, 2549, 316, 1056, 540, 202, 430, 12, 4500, 310, 29289, 597, 2078, 21644, 480, 675, 29289, 21644, 13, 540, 202, 202, 588, 5491, 1179, 7675, 8935, 951, 1350, 3043, 5621, 540, 202, 4202, 289, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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[]) objectManager.getHandles(actualCe.getRawChildren(), RegistryObjectManager.THIRDLEVEL_CONFIGURATION_ELEMENT); }
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, 288, 1082, 202, 2463, 261, 45, 1750, 1046, 63, 5717, 15438, 18, 588, 8788, 12, 18672, 39, 73, 18, 588, 4809, 4212, 9334, 5438, 921, 1318, 18, 21200, 67, 10976, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 288, 1082, 202, 2463, 261, 45, 1750, 1046, 63, 5717, 15438, 18, 588, 8788, 12, 18672, 39, 73, 18, 588, 4809, 4212, 9334, 5438, 921, 1318, 18, 21200, 67, 10976, 1769, 202, 202, 97, 202, 202, 2463, 261, 45, 1750, 1046, 63, 5717, 15438, 18, 588, 8788, 12, 18672, 39, 73, 18, 588, 4809, 4212, 9334, 5438, 921, 1318, 18, 2455, 7937, 40, 10398, 67, 21200, 67, 10976, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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.ENV_DEVELOPMENT); if(devDataSource == null) devDataSource = (GrailsDataSource)this.dataSourceMap.get(GrailsApplication.ENV_APPLICATION); if(devDataSource == null) throw new GrailsConfigurationException("Default 'development' data source cannot be found. Please specify alternative via -Dgrails.env=myenvironment"); return devDataSource; } else { GrailsDataSource dataSource = (GrailsDataSource)this.dataSourceMap.get(environment); if(dataSource == null) throw new GrailsConfigurationException("No data source found for environment ["+environment+"]. Please specify alternative via -Dgrails.env=myenvironment"); return dataSource; }
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, 10756, 288, 613, 18, 4148, 2932, 63, 14571, 14573, 3208, 65, 8803, 6282, 501, 1084, 364, 3330, 30, 315, 397, 3330, 1769, 289, 309, 12, 780, 1989, 18, 291, 7796, 12, 10274, 3719, 288, 10812, 14573, 8597, 4461, 8597, 273, 261, 14571, 14573, 8597, 13, 2211, 18, 892, 1830, 863, 18, 588, 12, 14571, 14573, 3208, 18, 11986, 67, 31771, 52, 3212, 1769, 309, 12, 5206, 8597, 422, 446, 13, 4461, 8597, 273, 261, 14571, 14573, 8597, 13, 2211, 18, 892, 1830, 863, 18, 588, 12, 14571, 14573, 3208, 18, 11986, 67, 25039, 1769, 309, 12, 5206, 8597, 422, 446, 13, 604, 394, 10812, 14573, 10737, 2932, 1868, 296, 26630, 11, 501, 1084, 2780, 506, 1392, 18, 7801, 4800, 10355, 3970, 300, 40, 2752, 14573, 18, 3074, 33, 4811, 10274, 8863, 327, 4461, 8597, 31, 289, 469, 288, 10812, 14573, 8597, 10233, 273, 261, 14571, 14573, 8597, 13, 2211, 18, 892, 1830, 863, 18, 588, 12, 10274, 1769, 309, 12, 892, 1830, 422, 446, 13, 604, 394, 10812, 14573, 10737, 2932, 2279, 501, 1084, 1392, 364, 3330, 8247, 15, 10274, 9078, 8009, 7801, 4800, 10355, 3970, 300, 40, 2752, 14573, 18, 3074, 33, 4811, 10274, 8863, 327, 10233, 31, 225, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 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, 10756, 288, 613, 18, 4148, 2932, 63, 14571, 14573, 3208, 65, 8803, 6282, 501, 1084, 364, 3330, 30, 315, 397, 3330, 1769, 289, 309, 12, 780, 1989, 18, 291, 7796, 12, 10274, 3719, 288, 10812, 14573, 8597, 4461, 8597, 273, 261, 14571, 14573, 8597, 13, 2211, 18, 892, 1830, 863, 18, 588, 12, 14571, 14573, 3208, 18, 11986, 67, 31771, 52, 3212, 1769, 309, 12, 5206, 8597, 422, 446, 13, 4461, 8597, 273, 261, 14571, 14573, 8597, 13, 2211, 18, 892, 1830, 863, 18, 588, 2 ]
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; bogusNoderef = false; isConnected = true; } try { // First, the new noderef processNewNoderef(data, offset, length); } catch (FSParseException e1) { synchronized(this) { bogusNoderef = true; } Logger.error(this, "Failed to parse new noderef for "+this+": "+e1, e1); // Treat as invalid version } synchronized(this) { isRoutable = true; } if(reverseInvalidVersion()) { try { node.setNewestPeerLastGoodVersion(Version.getArbitraryBuildNumber(getLastGoodVersion())); } catch (NumberFormatException e) { // ignore } Logger.normal(this, "Not connecting to "+this+" - reverse invalid version "+Version.getVersionString()+" for peer's lastGoodversion: "+getLastGoodVersion()); synchronized(this) { verifiedIncompatibleNewerVersion = true; isRoutable = false; } node.peers.disconnected(this); } else { synchronized(this) { verifiedIncompatibleNewerVersion = false; } } if(invalidVersion()) { Logger.normal(this, "Not connecting to "+this+" - invalid version "+getVersion()); synchronized(this) { verifiedIncompatibleOlderVersion = true; isRoutable = false; } node.peers.disconnected(this); } else { synchronized(this) { verifiedIncompatibleOlderVersion = false; } } setPeerNodeStatus(now); KeyTracker newTracker = new KeyTracker(this, encCipher, encKey); changedIP(replyTo); boolean bootIDChanged = false; synchronized(this) { bootIDChanged = (thisBootID != this.bootID); this.bootID = thisBootID; } if(bootIDChanged) { synchronized(this) { connectedTime = now; Logger.minor(this, "Changed boot ID from "+bootID+" to "+thisBootID+" for "+getPeer()); } boolean previousTrackerIsNull = true; synchronized(this) { previousTrackerIsNull = (previousTracker == null); } if(!previousTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = previousTracker; previousTracker = null; } old.completelyDeprecated(newTracker); } synchronized(this) { previousTracker = null; } boolean currentTrackerIsNull = true; synchronized(this) { currentTrackerIsNull = (currentTracker == null); } if(!currentTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = currentTracker; currentTracker = null; } old.completelyDeprecated(newTracker); } node.lm.lostOrRestartedNode(this); } // else it's a rekey if(unverified) { synchronized(this) { unverifiedTracker = newTracker; ctx = null; } Logger.minor(this, "sentHandshake() being called for unverifiedTracker: "+getPeer()); sentHandshake(); } else { synchronized(this) { previousTracker = currentTracker; currentTracker = newTracker; unverifiedTracker = null; } boolean previousTrackerIsNull = true; synchronized(this) { previousTrackerIsNull = (previousTracker == null); } if(!previousTrackerIsNull) { KeyTracker localPreviousTracker = null; synchronized(this) { localPreviousTracker = previousTracker; } localPreviousTracker.deprecated(); } synchronized(this) { neverConnected = false; peerAddedTime = 0; // don't store anymore } setPeerNodeStatus(now); synchronized(this) { ctx = null; } } if(!isConnected()) node.peers.disconnected(this); synchronized(this) { Logger.normal(this, "Completed handshake with "+this+" on "+replyTo+" - current: "+currentTracker+" old: "+previousTracker+" unverified: "+unverifiedTracker+" bootID: "+thisBootID+" getName(): "+getName()); } try { receivedPacket(unverified); } catch (NotConnectedException e) { Logger.error(this, "Disconnected in completedHandshake with "+this); return true; // i suppose } if(isConnected()) { node.peers.addConnectedPeer(this); } synchronized(this) { sentInitialMessages = false; } return true; }
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, 640, 19685, 13, 288, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 1313, 16855, 18, 5681, 5621, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 13615, 14545, 273, 638, 31, 377, 202, 202, 2349, 7478, 1380, 273, 374, 31, 540, 202, 70, 28774, 50, 369, 822, 74, 273, 629, 31, 1082, 202, 291, 8932, 273, 638, 31, 3639, 289, 202, 202, 698, 288, 1082, 202, 759, 5783, 16, 326, 394, 14003, 822, 74, 1082, 202, 2567, 1908, 50, 369, 822, 74, 12, 892, 16, 1384, 16, 769, 1769, 202, 202, 97, 1044, 261, 4931, 13047, 425, 21, 13, 288, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 70, 28774, 50, 369, 822, 74, 273, 638, 31, 1082, 202, 97, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 2925, 358, 1109, 394, 14003, 822, 74, 364, 13773, 2211, 15, 6877, 13773, 73, 21, 16, 425, 21, 1769, 1082, 202, 759, 26564, 487, 2057, 1177, 202, 202, 97, 377, 202, 22043, 12, 2211, 13, 288, 540, 202, 291, 4583, 429, 273, 638, 31, 3639, 289, 202, 202, 430, 12, 9845, 1941, 1444, 10756, 288, 1082, 202, 698, 288, 9506, 202, 2159, 18, 542, 1908, 395, 6813, 3024, 18195, 1444, 12, 1444, 18, 588, 686, 3682, 3345, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 19685, 13, 288, 377, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 377, 202, 1313, 16855, 18, 5681, 5621, 377, 202, 22043, 12, 2211, 13, 288, 377, 202, 202, 13615, 14545, 273, 638, 31, 377, 202, 202, 2349, 7478, 1380, 273, 374, 31, 540, 202, 70, 28774, 50, 369, 822, 74, 273, 629, 31, 1082, 202, 291, 8932, 273, 638, 31, 3639, 289, 202, 202, 698, 288, 1082, 202, 759, 5783, 16, 326, 394, 14003, 822, 74, 1082, 202, 2567, 1908, 50, 2 ]
} 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. */ String str = getFirstToken().image; try { value = new Integer( str ); } catch ( NumberFormatException E1 ) { try { value = new Long( str ); } catch ( NumberFormatException E2 ) { // if there's still an Exception it will propogate out value = new BigInteger( str ); } } return data; }
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, 16, 501, 11272, 3639, 1783, 540, 380, 10229, 326, 963, 434, 326, 761, 471, 1221, 518, 392, 2144, 16, 3407, 16, 578, 10246, 487, 5505, 18, 540, 1195, 540, 514, 609, 273, 7521, 1345, 7675, 2730, 31, 540, 775, 288, 2398, 460, 273, 394, 2144, 12, 609, 11272, 540, 289, 1044, 261, 12100, 512, 21, 262, 288, 5411, 775, 288, 7734, 460, 273, 394, 3407, 12, 609, 11272, 5411, 289, 1044, 261, 12100, 512, 22, 262, 288, 7734, 368, 309, 1915, 1807, 4859, 392, 1185, 518, 903, 2270, 717, 340, 596, 7734, 460, 273, 394, 10246, 12, 609, 11272, 5411, 289, 3639, 289, 3639, 327, 501, 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, 0, 0, 0, 0, 0, 0, 0, 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, 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, 16, 501, 11272, 3639, 1783, 540, 380, 10229, 326, 963, 434, 326, 761, 471, 1221, 518, 392, 2144, 16, 3407, 16, 578, 10246, 487, 5505, 18, 540, 1195, 540, 514, 609, 273, 7521, 1345, 7675, 2730, 31, 540, 775, 288, 2398, 460, 273, 394, 2144, 12, 609, 11272, 540, 289, 1044, 261, 12100, 512, 21, 262, 288, 5411, 775, 288, 7734, 460, 273, 394, 3407, 12, 609, 11272, 5411, 289, 1044, 261, 12100, 512, 22, 262, 288, 7734, 368, 309, 1915, 1807, 4859, 392, 2 ]
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.getProject( projectId ); } catch ( ContinuumStoreException e ) { throw new TaskExecutionException( "Error while reading the project from the store.", e ); } CheckOutScmResult result; try { result = scm.checkOut( project, workingDirectory ); } catch ( ContinuumScmException e ) { throw new TaskExecutionException( "Error while reading the project from the store.", e ); } try { store.setCheckoutDone( projectId, result ); } catch ( ContinuumStoreException e ) { throw new TaskExecutionException( "Error while storing the check out result.", e ); } }
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, 4109, 548, 5621, 3639, 1387, 5960, 2853, 273, 1562, 18, 588, 14836, 2853, 5621, 3639, 1816, 6860, 379, 4109, 1984, 31, 3639, 775, 3639, 288, 5411, 1984, 273, 1707, 18, 588, 4109, 12, 9882, 11272, 3639, 289, 3639, 1044, 261, 1816, 6860, 379, 21151, 425, 262, 3639, 288, 5411, 604, 394, 3837, 14576, 12, 315, 668, 1323, 6453, 326, 1984, 628, 326, 1707, 1199, 16, 425, 11272, 3639, 289, 3639, 2073, 1182, 1541, 81, 1253, 563, 273, 446, 31, 225, 514, 9324, 273, 446, 31, 225, 4206, 1520, 273, 446, 31, 3639, 775, 3639, 288, 5411, 563, 273, 29207, 18, 1893, 1182, 12, 1984, 16, 5960, 2853, 11272, 3639, 289, 3639, 1044, 261, 1816, 6860, 379, 1541, 81, 503, 425, 262, 3639, 288, 5411, 604, 394, 3837, 14576, 12, 315, 668, 1323, 6453, 326, 1984, 628, 326, 1707, 1199, 16, 425, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 1707, 18, 542, 18581, 7387, 12, 9882, 16, 563, 11272, 3639, 289, 3639, 1044, 261, 1816, 6860, 379, 21151, 425, 262, 3639, 288, 5411, 604, 394, 3837, 14576, 12, 315, 668, 1323, 15729, 326, 866, 596, 563, 1199, 16, 425, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 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, 4109, 548, 5621, 3639, 1387, 5960, 2853, 273, 1562, 18, 588, 14836, 2853, 5621, 3639, 1816, 6860, 379, 4109, 1984, 31, 3639, 775, 3639, 288, 5411, 1984, 273, 1707, 18, 588, 4109, 12, 9882, 11272, 3639, 289, 3639, 1044, 261, 1816, 6860, 379, 21151, 425, 262, 3639, 288, 5411, 604, 394, 3837, 14576, 12, 315, 668, 1323, 6453, 326, 1984, 628, 326, 1707, 1199, 16, 425, 11272, 3639, 289, 3639, 2073, 1182, 1541, 81, 1253, 563, 273, 446, 31, 225, 514, 9324, 273, 446, 2 ]
mouseInputListener = new MouseInputHandler(null, null, null);
mouseListener = createMouseListener();
public BasicTreeUI() { validCachedPreferredSize = false; drawingCache = new Hashtable(); nodeDimensions = createNodeDimensions(); configureLayoutCache(); propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); treeSelectionListener = createTreeSelectionListener(); mouseInputListener = new MouseInputHandler(null, null, null); keyListener = createKeyListener(); selectionModelPropertyChangeListener = createSelectionModelPropertyChangeListener(); componentListener = createComponentListener(); cellEditorListener = createCellEditorListener(); treeExpansionListener = createTreeExpansionListener(); treeModelListener = createTreeModelListener(); editingRow = -1; lastSelectedRow = -1; leafIcon = UIManager.getIcon("Tree.leafIcon"); }
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, 5621, 565, 1272, 15744, 273, 31318, 15744, 5621, 565, 7155, 2223, 273, 752, 9233, 2223, 5621, 565, 2151, 6233, 2223, 273, 752, 2471, 6233, 2223, 5621, 565, 7644, 2223, 273, 752, 9186, 2223, 5621, 565, 498, 2223, 273, 752, 653, 2223, 5621, 565, 4421, 1488, 1396, 15744, 273, 752, 6233, 1488, 1396, 15744, 5621, 565, 1794, 2223, 273, 752, 1841, 2223, 5621, 565, 2484, 6946, 2223, 273, 752, 4020, 6946, 2223, 5621, 565, 2151, 2966, 12162, 2223, 273, 752, 2471, 2966, 12162, 2223, 5621, 565, 2151, 1488, 2223, 273, 752, 2471, 1488, 2223, 5621, 565, 15755, 1999, 273, 300, 21, 31, 565, 1142, 7416, 1999, 273, 300, 21, 31, 565, 7839, 5554, 273, 6484, 1318, 18, 588, 5554, 2932, 2471, 18, 12070, 5554, 8863, 225, 289, 2, 0, 0, 0, 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]
[ 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, 5621, 565, 1272, 15744, 273, 31318, 15744, 5621, 565, 7155, 2223, 273, 752, 9233, 2223, 5621, 565, 2151, 6233, 2223, 273, 752, 2471, 6233, 2223, 5621, 565, 7644, 2223, 273, 752, 9186, 2223, 5621, 565, 498, 2223, 273, 752, 653, 2223, 5621, 565, 4421, 1488, 1396, 15744, 273, 752, 6233, 1488, 1396, 15744, 5621, 565, 1794, 2223, 273, 752, 1841, 2223, 5621, 565, 2484, 6946, 2223, 273, 752, 4020, 6946, 2223, 5621, 565, 2151, 2966, 12162, 2223, 273, 752, 2471, 2966, 12162, 2223, 5621, 565, 2 ]
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 TestToolWindowGroupListener(); group.addToolWindowGroupListener(listener); group.addToolWindow(tool); group.setVisible(true); group.setVisible(false); assertTrue(listener.isGroupHided()); assertNotNull(listener.getLastEvent()); assertEquals(ToolWindowGroupEvent.Id.GROUP_HIDED, listener.getLastEvent().getId()); assertEquals(group, listener.getLastEvent().getToolWindowGroup()); assertNull(listener.getLastEvent().getToolWindow()); }
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, 4709, 6, 3631, 13288, 3829, 11605, 18, 10462, 3639, 11272, 3639, 13288, 3829, 1114, 1041, 273, 5226, 3829, 1318, 18, 588, 6364, 3829, 1114, 2932, 5254, 8863, 3639, 7766, 6364, 3829, 1114, 2223, 2991, 273, 394, 7766, 6364, 3829, 1114, 2223, 5621, 3639, 1041, 18, 1289, 6364, 3829, 1114, 2223, 12, 12757, 1769, 3639, 1041, 18, 1289, 6364, 3829, 12, 6738, 1769, 3639, 1041, 18, 542, 6207, 12, 3767, 1769, 3639, 1041, 18, 542, 6207, 12, 5743, 1769, 3639, 1815, 5510, 12, 12757, 18, 291, 1114, 44, 13898, 10663, 3639, 25395, 12, 12757, 18, 588, 3024, 1133, 10663, 3639, 1815, 8867, 12, 6364, 3829, 1114, 1133, 18, 1803, 548, 18, 8468, 67, 44, 734, 2056, 16, 2991, 18, 588, 3024, 1133, 7675, 26321, 10663, 3639, 1815, 8867, 12, 1655, 16, 2991, 18, 588, 3024, 1133, 7675, 588, 6364, 3829, 1114, 10663, 3639, 1815, 2041, 12, 12757, 18, 588, 3024, 1133, 7675, 588, 6364, 3829, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 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, 4709, 6, 3631, 13288, 3829, 11605, 18, 10462, 3639, 11272, 3639, 13288, 3829, 1114, 1041, 273, 5226, 3829, 1318, 18, 588, 6364, 3829, 1114, 2932, 5254, 8863, 3639, 7766, 6364, 3829, 1114, 2223, 2991, 273, 394, 7766, 6364, 3829, 1114, 2223, 5621, 3639, 1041, 18, 1289, 6364, 3829, 1114, 2223, 12, 12757, 1769, 3639, 1041, 18, 1289, 6364, 3829, 12, 6738, 1769, 3639, 1041, 18, 542, 6207, 12, 3767, 1769, 3639, 1041, 18, 542, 6207, 12, 5743, 1769, 3639, 1815, 5510, 12, 12757, 18, 291, 2 ]
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 (NumberFormatException nfe) { lastSubId = -1; } if (GENERIC_TRAPS.contains(snmpTrapOid)) { snmpInfo.setGeneric(lastSubId - 1); snmpInfo.setSpecific(0); String varBindName = pdu.getVarBindAt(numVars - 1).getName() .toString(); if (varBindName.equals(SNMP_TRAP_ENTERPRISE_ID)) { snmpInfo.setId(pdu.getVarBindAt(numVars - 1).getValue() .toString()); } else { snmpInfo.setId(SNMP_TRAPS + "." + snmpTrapOidValue .charAt(snmpTrapOidValue.length() - 1)); } } else { snmpInfo.setGeneric(6); snmpInfo.setSpecific(lastSubId); int nextToLastIndex = snmpTrapOidValue.lastIndexOf(DOT_CHAR, lastIndex - 1); String nextToLastSubIdStr = snmpTrapOidValue.substring( nextToLastIndex + 1, lastIndex); if (nextToLastSubIdStr.equals("0")) { snmpInfo.setId(snmpTrapOidValue.substring(0, nextToLastIndex)); } else { snmpInfo.setId(snmpTrapOidValue.substring(0, lastIndex)); } } 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 i = 0; i < pdu.getLength(); i++) { String name = pdu.getVarBindAt(i).getName().toString(); SnmpSyntax obj = pdu.getVarBindAt(i).getValue(); parms.addParm(processSyntax(name, obj)); } event.setParms(parms); }
} 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 i = 0; i < pdu.getLength(); i++) { String name = pdu.getVarBindAt(i).getName().toString(); SnmpSyntax obj = pdu.getVarBindAt(i).getValue(); parms.addParm(processSyntax(name, obj)); } event.setParms(parms);
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 SNMPv2 Trap from host " + agent.getHostAddress()); log.warn("PDU Type = " + pdu.getCommand()); return; } // // get the address converted // IPv4Address addr = new IPv4Address(agent); String trapInterface = addr.toString(); Event event = new Event(); event.setSource("trapd"); event.setHost(trapInterface); event.setSnmphost(trapInterface); event.setInterface(trapInterface); event.setTime(org.opennms.netmgt.EventConstants .formatToString(new java.util.Date())); String ipNodeId = TrapdIPMgr.getNodeId(trapInterface); if (ipNodeId != null) { int intNodeId = Integer.parseInt(ipNodeId); event.setNodeid((long) intNodeId); } if (log.isDebugEnabled()) { log.debug("V2 trap - trapInterface: " + trapInterface); } // // set the information // int numVars = pdu.getLength(); if (log.isDebugEnabled()) { log.debug("V2 trap numVars or pdu length: " + numVars); } if (numVars >= 2) // check number of varbinds { // // The first varbind has the sysUpTime // Modify the sysUpTime varbind to add the trailing 0 if it is // missing // The second varbind has the snmpTrapOID // Confirm that these two are present // String varBindName0 = pdu.getVarBindAt(0).getName().toString(); String varBindName1 = pdu.getVarBindAt(1).getName().toString(); if (varBindName0.equals(EXTREME_SNMP_SYSUPTIME_OID)) { log .info("V2 trap from " + trapInterface + " has been corrected due to the sysUptime.0 varbind not having been sent with a trailing 0.\n\tVarbinds received are : " + varBindName0 + " and " + varBindName1); varBindName0 = SNMP_SYSUPTIME_OID; } if ((!(varBindName0.equals(SNMP_SYSUPTIME_OID))) || (!(varBindName1.equals(SNMP_TRAP_OID)))) { log .info("V2 trap from " + trapInterface + " IGNORED due to not having the required varbinds.\n\tThe first varbind must be sysUpTime.0 and the second snmpTrapOID.0\n\tVarbinds received are : " + varBindName0 + " and " + varBindName1); return; } Snmp snmpInfo = new Snmp(); if (log.isDebugEnabled()) { log.debug("V2 trap first varbind value: " + pdu.getVarBindAt(0).getValue().toString()); } // time-stamp long timeVal; switch (pdu.getVarBindAt(SNMP_SYSUPTIME_OID_INDEX).getValue() .typeId()) { case SnmpSMI.SMI_TIMETICKS: timeVal = ((SnmpTimeTicks) pdu.getVarBindAt( SNMP_SYSUPTIME_OID_INDEX).getValue()).getValue(); log .debug("V2 trap first varbind value is of type TIMETICKS (correct)"); break; case SnmpSMI.SMI_INTEGER: timeVal = ((SnmpInt32) pdu.getVarBindAt( SNMP_SYSUPTIME_OID_INDEX).getValue()).getValue(); log .debug("V2 trap first varbind value is of type INTEGER, casting to TIMETICKS"); break; default: log .info("V2 trap does not have the required first varbind as TIMETICKS - cannot process trap"); return; } snmpInfo.setTimeStamp(timeVal); // Get the value for the snmpTrapOID SnmpObjectId snmpTrapOid = (SnmpObjectId) pdu.getVarBindAt( SNMP_TRAP_OID_INDEX).getValue(); String snmpTrapOidValue = snmpTrapOid.toString(); // Force leading "." (dot) if not present if (!snmpTrapOidValue.startsWith(".")) { snmpTrapOidValue = "." + snmpTrapOidValue; } if (log.isDebugEnabled()) { log.debug("snmpTrapOID: " + snmpTrapOidValue); } // get the last subid 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 (NumberFormatException nfe) { lastSubId = -1; } // Check if standard trap if (GENERIC_TRAPS.contains(snmpTrapOid)) { // set generic snmpInfo.setGeneric(lastSubId - 1); // set specific to zero snmpInfo.setSpecific(0); // if present, the 'snmpTrapEnterprise' OID occurs as // the last OID // Check the last varbind to see if it is the enterprise ID String varBindName = pdu.getVarBindAt(numVars - 1).getName() .toString(); if (varBindName.equals(SNMP_TRAP_ENTERPRISE_ID)) { // if present, set the value of the varbind as the // enterprise id snmpInfo.setId(pdu.getVarBindAt(numVars - 1).getValue() .toString()); } else { // if not present, set the value of the varbind as the // snmpTraps value defined as in RFC 1907 snmpInfo.setId(SNMP_TRAPS + "." + snmpTrapOidValue .charAt(snmpTrapOidValue.length() - 1)); } } else // not standard trap { // set generic to 6 snmpInfo.setGeneric(6); // set specific to lastsubid snmpInfo.setSpecific(lastSubId); // get the next to last subid int nextToLastIndex = snmpTrapOidValue.lastIndexOf(DOT_CHAR, lastIndex - 1); // check if value is zero String nextToLastSubIdStr = snmpTrapOidValue.substring( nextToLastIndex + 1, lastIndex); if (nextToLastSubIdStr.equals("0")) { // set enterprise value to trap oid minus the // the last two subids snmpInfo.setId(snmpTrapOidValue.substring(0, nextToLastIndex)); } else { snmpInfo.setId(snmpTrapOidValue.substring(0, lastIndex)); } } if (log.isDebugEnabled()) { log.debug("snmp specific/generic/eid: " + snmpInfo.getSpecific() + "\t" + snmpInfo.getGeneric() + "\t" + snmpInfo.getId()); } // version snmpInfo.setVersion("v2"); // community snmpInfo.setCommunity(new String(info.getCommunity().getString())); event.setSnmp(snmpInfo); Parms parms = new Parms(); for (int i = 0; i < pdu.getLength(); i++) { String name = pdu.getVarBindAt(i).getName().toString(); SnmpSyntax obj = pdu.getVarBindAt(i).getValue(); parms.addParm(processSyntax(name, obj)); } // end for loop event.setParms(parms); } processTrapEvent(event, trapInterface, ipNodeId); }
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, 273, 1123, 18, 588, 52, 2544, 5621, 202, 202, 382, 278, 1887, 4040, 273, 1123, 18, 588, 3630, 5621, 202, 202, 759, 202, 202, 759, 3929, 326, 618, 202, 202, 759, 202, 202, 430, 261, 84, 2544, 18, 723, 548, 1435, 480, 261, 7229, 13, 261, 10461, 1291, 52, 2544, 6667, 18, 58, 22, 4349, 2203, 3719, 288, 1082, 202, 759, 309, 486, 776, 22, 23034, 16, 741, 5083, 1082, 202, 1330, 18, 8935, 2932, 8872, 486, 14204, 4566, 90, 22, 399, 1266, 628, 1479, 315, 6862, 202, 15, 4040, 18, 588, 2594, 1887, 10663, 1082, 202, 1330, 18, 8935, 2932, 52, 16214, 1412, 273, 315, 397, 21160, 18, 588, 2189, 10663, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 202, 202, 759, 336, 326, 1758, 5970, 202, 202, 759, 202, 202, 12775, 24, 1887, 3091, 273, 394, 7853, 24, 1887, 12, 5629, 1769, 202, 202, 780, 23034, 1358, 273, 3091, 18, 10492, 5621, 202, 202, 1133, 871, 273, 394, 2587, 5621, 202, 202, 2575, 18, 542, 1830, 2932, 27170, 72, 8863, 202, 202, 2575, 18, 542, 2594, 12, 27170, 1358, 1769, 202, 202, 2575, 18, 542, 10461, 81, 844, 669, 12, 27170, 1358, 1769, 202, 202, 2575, 18, 542, 1358, 12, 27170, 1358, 1769, 202, 202, 2575, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 273, 1123, 18, 588, 52, 2544, 5621, 202, 202, 382, 278, 1887, 4040, 273, 1123, 18, 588, 3630, 5621, 202, 202, 759, 202, 202, 759, 3929, 326, 618, 202, 202, 759, 202, 202, 430, 261, 84, 2544, 18, 723, 548, 1435, 480, 261, 7229, 13, 261, 10461, 1291, 52, 2544, 6667, 18, 58, 22, 4349, 2203, 3719, 288, 1082, 202, 759, 309, 486, 776, 22, 23034, 16, 741, 5083, 1082, 202, 1330, 18, 8935, 2932, 8872, 486, 14204, 4566, 90, 22, 399, 1266, 2 ]
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 true; return false; }
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, 18, 588, 1420, 12, 3353, 18, 26321, 10663, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 202, 202, 95, 1082, 202, 12849, 394, 3235, 2932, 2925, 358, 2245, 1058, 3104, 425, 1769, 202, 202, 97, 202, 202, 430, 261, 1745, 1420, 18, 588, 1350, 1782, 1435, 405, 2949, 1225, 3039, 13, 327, 638, 31, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 18, 588, 1420, 12, 3353, 18, 26321, 10663, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 202, 202, 95, 1082, 202, 12849, 394, 3235, 2932, 2925, 358, 2245, 1058, 3104, 425, 1769, 202, 202, 97, 202, 202, 430, 261, 1745, 1420, 18, 588, 1350, 1782, 1435, 405, 2949, 1225, 3039, 13, 327, 638, 31, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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); ResultsPerROIPane roiPane; StatsResultsPane pane; int c = 0; Icon up = im.getIcon(IconManager.UP), down = im.getIcon(IconManager.DOWN); List analysedROI = control.getAnalyzedROI(); Iterator i = analysedROI.iterator(); ScreenROI roi; ROIStats roiStats; Map results = control.getROIResults(); String[] channels = control.getAnalyzedChannels(); int channel = control.getAnalyzedChannel(0); listROIs = new String[analysedROI.size()]; while (i.hasNext()) { roi = (ScreenROI) i.next(); roiStats = (ROIStats) results.get(roi.getActualROI()); roiPane = new ResultsPerROIPane(c, manager, channels, roi.getName(), roi.getAnnotation()); pane = new StatsResultsPane(manager, roiStats, sizeT, sizeZ, channel, channels.length, up, down); roiPane.addToContainer(pane); paneMap.put(new Integer(c), pane); tabs.insertTab("ROI #"+roi.getIndex(), null, roiPane, null, c); listROIs[c] = "ROI #"+roi.getIndex(); c++; } JPanel p = new JPanel(); p.setLayout(new BorderLayout(0, 0)); p.add(tabs, BorderLayout.CENTER); return p; }
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, 10920, 273, 394, 804, 5661, 2992, 8485, 12, 46, 5661, 2992, 8485, 18, 10462, 16, 19694, 804, 5661, 2992, 8485, 18, 27664, 67, 28899, 67, 7868, 5069, 1769, 3639, 10920, 18, 542, 11535, 60, 12, 10066, 67, 26439, 3212, 1769, 3639, 10351, 2173, 1457, 2579, 8806, 25017, 8485, 31, 3639, 11486, 3447, 8485, 13618, 31, 3639, 509, 276, 273, 374, 31, 3639, 16011, 731, 273, 709, 18, 588, 5554, 12, 5554, 1318, 18, 3079, 3631, 2398, 2588, 273, 709, 18, 588, 5554, 12, 5554, 1318, 18, 12711, 1769, 3639, 987, 21624, 730, 1457, 45, 273, 3325, 18, 588, 979, 18409, 1457, 45, 5621, 3639, 4498, 277, 273, 21624, 730, 1457, 45, 18, 9838, 5621, 3639, 10146, 1457, 45, 25017, 31, 3639, 6525, 45, 4195, 25017, 4195, 31, 3639, 1635, 1686, 273, 3325, 18, 588, 1457, 45, 3447, 5621, 3639, 514, 8526, 5750, 273, 3325, 18, 588, 979, 18409, 10585, 5621, 3639, 509, 1904, 273, 3325, 18, 588, 979, 18409, 2909, 12, 20, 1769, 3639, 666, 1457, 2520, 273, 394, 514, 63, 304, 3450, 730, 1457, 45, 18, 1467, 1435, 15533, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 25017, 273, 261, 7956, 1457, 45, 13, 277, 18, 4285, 5621, 5411, 25017, 4195, 273, 261, 1457, 45, 4195, 13, 1686, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10920, 273, 394, 804, 5661, 2992, 8485, 12, 46, 5661, 2992, 8485, 18, 10462, 16, 19694, 804, 5661, 2992, 8485, 18, 27664, 67, 28899, 67, 7868, 5069, 1769, 3639, 10920, 18, 542, 11535, 60, 12, 10066, 67, 26439, 3212, 1769, 3639, 10351, 2173, 1457, 2579, 8806, 25017, 8485, 31, 3639, 11486, 3447, 8485, 13618, 31, 3639, 509, 276, 273, 374, 31, 3639, 16011, 731, 273, 709, 18, 588, 5554, 12, 5554, 1318, 18, 3079, 3631, 2398, 2588, 273, 709, 18, 588, 5554, 12, 5554, 2 ]
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(); } currentListeners.add(listener); familyListeners.put(family, currentListeners); } }
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, 653, 12, 9309, 3719, 288, 9506, 202, 2972, 5583, 273, 261, 2532, 13, 6755, 5583, 18, 588, 12, 9309, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2972, 5583, 273, 394, 6847, 5621, 1082, 202, 97, 5411, 783, 5583, 18, 1289, 12, 12757, 1769, 5411, 6755, 5583, 18, 458, 12, 9309, 16, 783, 5583, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 653, 12, 9309, 3719, 288, 9506, 202, 2972, 5583, 273, 261, 2532, 13, 6755, 5583, 18, 588, 12, 9309, 1769, 1082, 202, 97, 469, 288, 9506, 202, 2972, 5583, 273, 394, 6847, 5621, 1082, 202, 97, 5411, 783, 5583, 18, 1289, 12, 12757, 1769, 5411, 6755, 5583, 18, 458, 12, 9309, 16, 783, 5583, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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")) { MultiValueTable headers = new MultiValueTable(); String k = httprequest.getParam("key"); FreenetURI newURI; try { newURI = new FreenetURI(k); } catch (MalformedURLException e) { sendErrorPage(ctx, 404, "Not found", "Invalid key"); return; } headers.put("Location", "/"+newURI); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } RedirectException re = new RedirectException(); try { String querystring = uri.getQuery(); if (querystring == null) { re.newuri = welcome; } else { // TODP possibly a proper URLEncode method querystring = querystring.replace(' ', '+'); re.newuri = new URI("/welcome/?"+querystring); } } catch (URISyntaxException e) { // HUH!?! } throw re; }else if(ks.equals("/favicon.ico")){ byte[] buf = new byte[1024]; int len; InputStream strm = getClass().getResourceAsStream("staticfiles/favicon.ico"); if (strm == null) { this.sendErrorPage(ctx, 404, "Path not found", "The specified path does not exist."); return; } ctx.sendReplyHeaders(200, "OK", null, "image/x-icon", strm.available()); while ( (len = strm.read(buf)) > 0) { ctx.writeData(buf, 0, len); } return; } if(ks.startsWith("/")) ks = ks.substring(1); long maxSize = httprequest.getLongParam("max-size", MAX_LENGTH); FreenetURI key; try { key = new FreenetURI(ks); } catch (MalformedURLException e) { HTMLNode pageNode = ctx.getPageMaker().getPageNode("Invalid key"); HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode); HTMLNode errorInfobox = contentNode.addChild("div", "class", "infobox infobox-error"); errorInfobox.addChild("div", "class", "infobox-header", "Invalid key"); HTMLNode errorContent = errorInfobox.addChild("div", "class", "infobox-content"); errorContent.addChild("#", "Expected a freenet key, but got "); errorContent.addChild("code", ks); errorContent.addChild("br"); errorContent.addChild(ctx.getPageMaker().createBackLink(ctx)); errorContent.addChild("br"); errorContent.addChild("a", new String[] { "href", "title" }, new String[] { "/", "Node homepage" }, "Homepage"); StringBuffer pageBuffer = new StringBuffer(); pageNode.generate(pageBuffer); this.writeReply(ctx, 400, "text/html", "Invalid key", pageBuffer.toString()); return; } try { if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "FProxy fetching "+key+" ("+maxSize+ ')'); FetchResult result = fetch(key, maxSize); // Now, is it safe? Bucket data = result.asBucket(); String mimeType = result.getMimeType(); String requestedMimeType = httprequest.getParam("type", null); handleDownload(ctx, data, ctx.getBucketFactory(), mimeType, requestedMimeType, httprequest.getParam("force", null), httprequest.isParameterSet("forcedownload"), "/", key, maxSize != MAX_LENGTH ? "&max-size="+maxSize : ""); } catch (FetchException e) { String msg = e.getMessage(); String extra = ""; if(e.mode == FetchException.NOT_ENOUGH_PATH_COMPONENTS) { this.writePermanentRedirect(ctx, "Not enough meta-strings", '/' + URLEncoder.encode(key.toString(false)) + '/'); } else if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, '/' +e.newURI.toString()); } else if(e.mode == FetchException.TOO_BIG) { HTMLNode pageNode = ctx.getPageMaker().getPageNode("File information"); HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode); HTMLNode infobox = contentNode.addChild("div", "class", "infobox infobox-information"); infobox.addChild("div", "class", "infobox-header", "Large file"); HTMLNode infoboxContent = infobox.addChild("div", "class", "infobox-content"); HTMLNode fileInformationList = infoboxContent.addChild("ul"); HTMLNode option = fileInformationList.addChild("li"); option.addChild("#", "Filename: "); option.addChild("a", "href", '/' + key.toString(false), getFilename(e, key, e.getExpectedMimeType())); boolean finalized = e.finalizedSize(); if(e.expectedSize > 0) { if (finalized) { fileInformationList.addChild("li", "Size: " + SizeUtil.formatSize(e.expectedSize)); } else { fileInformationList.addChild("li", "Size: " + SizeUtil.formatSize(e.expectedSize) + " (may change)"); } } else { fileInformationList.addChild("li", "Size: unknown"); } String mime = e.getExpectedMimeType(); if(mime != null) { if (finalized) { fileInformationList.addChild("li", "MIME type: " + mime); } else { fileInformationList.addChild("li", "Expected MIME type: " + mime); } } else { fileInformationList.addChild("li", "MIME type: unknown"); } infobox = contentNode.addChild("div", "class", "infobox infobox-information"); infobox.addChild("div", "class", "infobox-header", "Explanation"); infoboxContent = infobox.addChild("div", "class", "infobox-content"); infoboxContent.addChild("#", "The Freenet key you requested refers to a large file. Files of this size cannot generally be sent directly to your browser since they take too long for your Freenet node to retrieve. The following options are available:"); HTMLNode optionList = infoboxContent.addChild("ul"); option = optionList.addChild("li"); HTMLNode optionForm = option.addChild("form", new String[] { "action", "method" }, new String[] {'/' + key.toString(false), "get" }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "max-size", String.valueOf(e.expectedSize == -1 ? Long.MAX_VALUE : e.expectedSize*2) }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "fetch", "Fetch anyway and display file in browser" }); option = optionList.addChild("li"); optionForm = option.addChild("form", new String[] { "action", "method" }, new String[] { "/queue/", "post" }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "key", key.toString(false) }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "return-type", "disk" }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "persistence", "forever" }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "formPassword", core.formPassword }); if (mime != null) { optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "type", mime }); } optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "download", "Download in background and store in downloads directory" }); optionList.addChild("li").addChild("a", new String[] { "href", "title" }, new String[] { "/", "FProxy home page" }, "Abort and return to the FProxy home page"); StringBuffer pageBuffer = new StringBuffer(); pageNode.generate(pageBuffer); writeReply(ctx, 200, "text/html", "OK", pageBuffer.toString()); } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; HTMLNode pageNode = ctx.getPageMaker().getPageNode(FetchException.getShortMessage(e.mode)); HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode); HTMLNode infobox = contentNode.addChild("div", "class", "infobox infobox-error"); infobox.addChild("div", "class", "infobox-header", FetchException.getShortMessage(e.mode)); HTMLNode infoboxContent = infobox.addChild("div", "class", "infobox-content"); infoboxContent.addChild("#", "Error: " + msg + extra); infoboxContent.addChild("br"); infoboxContent.addChild(ctx.getPageMaker().createBackLink(ctx)); infoboxContent.addChild("br"); infoboxContent.addChild("a", new String[] { "href", "title" }, new String[] { "/", "Node homepage" }, "Homepage"); StringBuffer pageBuffer = new StringBuffer(); pageNode.generate(pageBuffer); this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", FetchException.getShortMessage(e.mode), pageBuffer.toString()); } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } }
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, 11654, 273, 2003, 18, 10492, 5621, 202, 202, 780, 11654, 273, 2003, 18, 588, 743, 5621, 9506, 202, 23891, 1062, 2293, 273, 394, 25238, 12, 1650, 1769, 9506, 202, 430, 261, 7904, 18, 14963, 2932, 4898, 3719, 288, 1082, 202, 430, 261, 2022, 1484, 456, 18, 291, 1662, 694, 2932, 856, 6, 3719, 288, 9506, 202, 5002, 620, 1388, 1607, 273, 394, 5991, 620, 1388, 5621, 6862, 9506, 202, 780, 417, 273, 1062, 2293, 18, 588, 786, 2932, 856, 8863, 9506, 202, 42, 2842, 278, 3098, 394, 3098, 31, 9506, 202, 698, 288, 6862, 202, 2704, 3098, 273, 394, 478, 2842, 278, 3098, 12, 79, 1769, 9506, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 6862, 202, 4661, 668, 1964, 12, 5900, 16, 7709, 16, 315, 1248, 1392, 3113, 315, 1941, 498, 8863, 6862, 202, 2463, 31, 9506, 202, 97, 6862, 9506, 202, 2485, 18, 458, 2932, 2735, 3113, 4016, 15, 2704, 3098, 1769, 9506, 202, 5900, 18, 4661, 7817, 3121, 12, 23, 3103, 16, 315, 2043, 3113, 1607, 16, 446, 16, 374, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 5961, 503, 283, 273, 394, 9942, 503, 5621, 1082, 202, 698, 288, 9506, 202, 780, 20741, 273, 2003, 18, 588, 1138, 5621, 6862, 9506, 202, 430, 261, 2271, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11654, 273, 2003, 18, 10492, 5621, 202, 202, 780, 11654, 273, 2003, 18, 588, 743, 5621, 9506, 202, 23891, 1062, 2293, 273, 394, 25238, 12, 1650, 1769, 9506, 202, 430, 261, 7904, 18, 14963, 2932, 4898, 3719, 288, 1082, 202, 430, 261, 2022, 1484, 456, 18, 291, 1662, 694, 2932, 856, 6, 3719, 288, 9506, 202, 5002, 620, 1388, 1607, 273, 394, 5991, 620, 1388, 5621, 6862, 9506, 202, 780, 417, 273, 1062, 2293, 18, 588, 786, 2932, 856, 8863, 9506, 202, 42, 2842, 2 ]