rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
public Insets getBorderInsets(final Component c) { Insets result = (Insets)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { Method m = c.getClass().getMethod("getMargin", new Class[0]); return m.invoke(c, new Object[0]); } catch (Exception e) { return null; } } });
public Insets getBorderInsets(final Component c, final Insets insets) { Insets borderInsets = getBorderInsets(c); insets.bottom = borderInsets.bottom; insets.left = borderInsets.left; insets.right = borderInsets.right; insets.top = borderInsets.top;
public Insets getBorderInsets(final Component c) { Insets result = (Insets)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { Method m = c.getClass().getMethod("getMargin", new Class[0]); return m.invoke(c, new Object[0]); } catch (Exception e) { return null; } } }); return result != null ? result : super.getBorderInsets(c); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9bad25bc3f8f9cc701dfb9555df351ae7577a2d8/BasicBorders.java/buggy/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicBorders.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 22300, 2882, 1019, 382, 4424, 12, 6385, 5435, 276, 13, 288, 5411, 22300, 563, 273, 261, 382, 4424, 13, 1862, 2933, 18, 2896, 18845, 12, 2704, 24897, 1435, 288, 7734, 1071, 1033, 1086, 1435, 288, 10792, 775, 288, 13491, 2985, 312, 273, 276, 18, 588, 797, 7675, 588, 1305, 2932, 588, 9524, 3113, 394, 1659, 63, 20, 19226, 13491, 327, 312, 18, 14407, 12, 71, 16, 394, 1033, 63, 20, 19226, 10792, 289, 1044, 261, 503, 425, 13, 288, 13491, 327, 446, 31, 10792, 289, 7734, 289, 5411, 15549, 5411, 327, 563, 480, 446, 692, 563, 294, 2240, 18, 588, 8107, 382, 4424, 12, 71, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 22300, 2882, 1019, 382, 4424, 12, 6385, 5435, 276, 13, 288, 5411, 22300, 563, 273, 261, 382, 4424, 13, 1862, 2933, 18, 2896, 18845, 12, 2704, 24897, 1435, 288, 7734, 1071, 1033, 1086, 1435, 288, 10792, 775, 288, 13491, 2985, 312, 273, 276, 18, 588, 797, 7675, 588, 1305, 2932, 588, 9524, 3113, 394, 1659, 63, 20, 19226, 13491, 327, 312, 18, 14407, 12, 71, 16, 394, 1033, 63, 20, 19226, 10792, 289, 1044, 261, 503, 425, 13, 288, 13491, 327, 446, 31, 10792, 289, 7734, 289, 5411, 15549, 5411, 327, 563, 480, 446, 692, 563, 294, 2240, 18, 588, 8107, 382, 4424, 12, 71, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (getRepositoryTaskData() == null) { Composite composite = new Composite(form.getBody(), SWT.NULL); composite.setLayout(new GridLayout()); Label noBugLabel = new Label(composite, SWT.NULL); noBugLabel.setText("Could not download task data, possibly due to timeout or connectivity problem.\n"
editorComposite = form.getBody(); editorComposite.setLayout(new GridLayout()); editorComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); if (getRepositoryTaskData() == null) { toolkit.createLabel(editorComposite, "Could not download task data, possibly due to timeout or connectivity problem.\n"
protected void createFormContent(final IManagedForm managedForm) { super.createFormContent(managedForm); form = managedForm.getForm(); toolkit = managedForm.getToolkit(); if (getRepositoryTaskData() == null) { Composite composite = new Composite(form.getBody(), SWT.NULL); composite.setLayout(new GridLayout()); Label noBugLabel = new Label(composite, SWT.NULL); noBugLabel.setText("Could not download task data, possibly due to timeout or connectivity problem.\n" + "Please check connection and try again."); return; } editorComposite = form.getBody(); editorComposite.setLayout(new GridLayout()); editorComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); // /createContextMenu(editorComposite); createReportHeaderLayout(editorComposite); Composite attribComp = createAttributeLayout(editorComposite); createCustomAttributeLayout(attribComp); createDescriptionLayout(editorComposite); createAttachmentLayout(editorComposite); createCommentLayout(editorComposite, form); createActionsLayout(editorComposite); // editorComposite.setMenu(contextMenuManager.createContextMenu(editorComposite)); form.reflow(true); getSite().getPage().addSelectionListener(selectionListener); getSite().setSelectionProvider(selectionProvider); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bb10fdc50b11844c975064c0104ecd3d21ffb48e/AbstractRepositoryTaskEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AbstractRepositoryTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 19580, 1350, 12, 6385, 6246, 4184, 1204, 7016, 1204, 13, 288, 202, 202, 9565, 18, 2640, 1204, 1350, 12, 19360, 1204, 1769, 202, 202, 687, 273, 7016, 1204, 18, 588, 1204, 5621, 202, 202, 6738, 8691, 273, 7016, 1204, 18, 588, 6364, 8691, 5621, 202, 202, 430, 261, 588, 3305, 2174, 751, 1435, 422, 446, 13, 288, 1082, 202, 9400, 9635, 273, 394, 14728, 12, 687, 18, 588, 2250, 9334, 348, 8588, 18, 8560, 1769, 1082, 202, 27676, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 1082, 202, 2224, 1158, 19865, 2224, 273, 394, 5287, 12, 27676, 16, 348, 8588, 18, 8560, 1769, 1082, 202, 2135, 19865, 2224, 18, 542, 1528, 2932, 4445, 486, 4224, 1562, 501, 16, 10016, 6541, 358, 2021, 578, 20301, 6199, 8403, 82, 6, 6862, 202, 15, 315, 8496, 866, 1459, 471, 775, 3382, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 9177, 9400, 273, 646, 18, 588, 2250, 5621, 202, 202, 9177, 9400, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 202, 202, 9177, 9400, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 10019, 202, 202, 759, 342, 2640, 27315, 12, 9177, 9400, 1769, 202, 202, 2640, 4820, 1864, 3744, 12, 9177, 9400, 1769, 202, 202, 9400, 5885, 2945, 273, 752, 1499, 3744, 12, 9177, 9400, 1769, 202, 202, 2640, 3802, 1499, 3744, 12, 14588, 2945, 1769, 202, 202, 2640, 3291, 3744, 12, 9177, 9400, 1769, 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, 1117, 918, 19580, 1350, 12, 6385, 6246, 4184, 1204, 7016, 1204, 13, 288, 202, 202, 9565, 18, 2640, 1204, 1350, 12, 19360, 1204, 1769, 202, 202, 687, 273, 7016, 1204, 18, 588, 1204, 5621, 202, 202, 6738, 8691, 273, 7016, 1204, 18, 588, 6364, 8691, 5621, 202, 202, 430, 261, 588, 3305, 2174, 751, 1435, 422, 446, 13, 288, 1082, 202, 9400, 9635, 273, 394, 14728, 12, 687, 18, 588, 2250, 9334, 348, 8588, 18, 8560, 1769, 1082, 202, 27676, 18, 542, 3744, 12, 2704, 7145, 3744, 10663, 1082, 202, 2224, 1158, 19865, 2224, 273, 394, 5287, 12, 27676, 16, 348, 8588, 18, 8560, 1769, 1082, 202, 2135, 19865, 2224, 18, 542, 1528, 2932, 4445, 486, 4224, 2 ]
if (dataset.getPartitionedDataSetColumns().contains(column)) { final PartitionedColumnType oldType = dataset .getPartitionedDataSetColumnType(column);
if (column.getPartitionType()!=null) { final PartitionedColumnType oldType = column.getPartitionType();
public void requestPartitionByColumn(final DataSet dataset, final DataSetColumn column) { PartitionedColumnType type; // If the column is already partitioned, open a dialog // explaining this and asking the user to edit the settings. if (dataset.getPartitionedDataSetColumns().contains(column)) { final PartitionedColumnType oldType = dataset .getPartitionedDataSetColumnType(column); type = PartitionColumnDialog.updatePartitionedColumnType( this.martTab, oldType); // Check they didn't cancel the request, or left the // scheme unchanged. if (type == null || type.equals(oldType)) return; } // Otherwise, open a dialog asking the user to define the partitioning // scheme. else { type = PartitionColumnDialog .createPartitionedColumnType(this.martTab); // Check they didn't cancel the request. if (type == null) return; } // Do the partitioning. this.requestPartitionByColumn(dataset, column, type); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/53b7080805ba25a0b1d345968bb19d6657747fb0/DataSetTabSet.java/clean/src/java/org/biomart/builder/view/gui/DataSetTabSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 590, 7003, 858, 1494, 12, 6385, 14065, 3709, 16, 1082, 202, 6385, 14065, 1494, 1057, 13, 288, 202, 202, 7003, 329, 28149, 618, 31, 202, 202, 759, 971, 326, 1057, 353, 1818, 3590, 329, 16, 1696, 279, 6176, 202, 202, 759, 22991, 3280, 333, 471, 29288, 326, 729, 358, 3874, 326, 1947, 18, 202, 202, 430, 261, 8682, 18, 588, 7003, 329, 13676, 3380, 7675, 12298, 12, 2827, 3719, 288, 1082, 202, 6385, 12598, 329, 28149, 1592, 559, 273, 3709, 6862, 202, 18, 588, 7003, 329, 13676, 28149, 12, 2827, 1769, 1082, 202, 723, 273, 12598, 1494, 6353, 18, 2725, 7003, 329, 28149, 12, 6862, 202, 2211, 18, 81, 485, 5661, 16, 1592, 559, 1769, 1082, 202, 759, 2073, 2898, 10242, 1404, 3755, 326, 590, 16, 578, 2002, 326, 1082, 202, 759, 4355, 14827, 18, 1082, 202, 430, 261, 723, 422, 446, 747, 618, 18, 14963, 12, 1673, 559, 3719, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 5272, 16, 1696, 279, 6176, 29288, 326, 729, 358, 4426, 326, 3590, 310, 202, 202, 759, 4355, 18, 202, 202, 12107, 288, 1082, 202, 723, 273, 12598, 1494, 6353, 6862, 202, 18, 2640, 7003, 329, 28149, 12, 2211, 18, 81, 485, 5661, 1769, 1082, 202, 759, 2073, 2898, 10242, 1404, 3755, 326, 590, 18, 1082, 202, 430, 261, 723, 422, 446, 13, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 2256, 326, 3590, 310, 18, 202, 202, 2211, 18, 2293, 7003, 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, 590, 7003, 858, 1494, 12, 6385, 14065, 3709, 16, 1082, 202, 6385, 14065, 1494, 1057, 13, 288, 202, 202, 7003, 329, 28149, 618, 31, 202, 202, 759, 971, 326, 1057, 353, 1818, 3590, 329, 16, 1696, 279, 6176, 202, 202, 759, 22991, 3280, 333, 471, 29288, 326, 729, 358, 3874, 326, 1947, 18, 202, 202, 430, 261, 8682, 18, 588, 7003, 329, 13676, 3380, 7675, 12298, 12, 2827, 3719, 288, 1082, 202, 6385, 12598, 329, 28149, 1592, 559, 273, 3709, 6862, 202, 18, 588, 7003, 329, 13676, 28149, 12, 2827, 1769, 1082, 202, 723, 273, 12598, 1494, 6353, 18, 2725, 7003, 329, 28149, 12, 6862, 202, 2211, 18, 81, 485, 5661, 16, 1592, 559, 1769, 2 ]
Map oldout = (Map) out.put(bb, in);
Map<Value,Temp> oldout = out.put(bb, in);
boolean doBlockGET(BasicBlock.Factory bbF, BasicBlock bb) { List quads = bb.statements(); // compute in set by merging outs. // map <temp,field>->temp; only present if all inputs have it. // do renaming as per PHI. Map in = new HashMap(); Quad first = (Quad) quads.get(0); Quad[] pred = first.prev(); // collect maps from each pred. Map[] prin = new Map[pred.length]; for (int i=0; i<pred.length; i++) { BasicBlock prbb = bbF.getBlock(pred[i]); prin[i] = valuemaptempmap((Map) out.get(prbb), first, i); } // merge key sets Set merged=null; boolean allknown=true; for (int i=0; i<pred.length; i++) { if (prin[i]==null) { allknown=false; continue; }// no info yet. if (merged==null) merged = prin[i].keySet(); else merged.retainAll(prin[i].keySet()); moves.remove(first.prevEdge(i)); } // handle merged inputs. if (merged!=null && allknown) for (Iterator it=merged.iterator(); it.hasNext(); ) { Value v = (Value) it.next(); Temp t=null; boolean same=true; for (int i=0; i<pred.length; i++) { if (prin[i]==null) continue; // no info. // tt is the phi-mapped version of the temp. Temp tt = ((Temp[]) prin[i].get(v))[0]; if (t==null) t=tt; else if (!t.equals(tt)) same=false; } if (t==null) continue; // skip this. if (same && !phiadded.contains(Default.pair(bb, v))) in.put(v, t); else { Temp nt = (Temp) ds.find(tempgen(bb, v, t)); for (int i=0; i<pred.length; i++) { if (prin[i]==null) continue; // note that we use the un-phi-mapped temp here. Temp tt = ((Temp[]) prin[i].get(v))[1]; moves.add(first.prevEdge(i), Default.pair(nt, tt)); } in.put(v, nt); phiadded.add(Default.pair(bb, v)); } } ReadVisitor rv = new ReadVisitor(in); for (Iterator it=quads.iterator(); it.hasNext(); ) { Quad q = (Quad) it.next(); if (!useless.contains(q)) q.accept(rv); } // okay, now we have out map. Map oldout = (Map) out.put(bb, in); return (oldout==null || !oldout.equals(in)); }
2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/db47804324fde9cf29cbbd1af39e584b63e507be/MemoryOptimization.java/clean/Analysis/Quads/MemoryOptimization.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6494, 741, 1768, 3264, 12, 8252, 1768, 18, 1733, 7129, 42, 16, 7651, 1768, 7129, 13, 288, 202, 565, 987, 9474, 87, 273, 7129, 18, 18393, 5621, 202, 565, 368, 3671, 316, 444, 635, 17256, 28266, 18, 202, 565, 368, 852, 411, 5814, 16, 1518, 34, 2122, 5814, 31, 1338, 3430, 309, 777, 4540, 1240, 518, 18, 202, 565, 368, 741, 30883, 487, 1534, 15490, 45, 18, 202, 565, 1635, 316, 273, 394, 4317, 5621, 202, 565, 27258, 1122, 273, 261, 24483, 13, 9474, 87, 18, 588, 12, 20, 1769, 202, 565, 27258, 8526, 3479, 273, 1122, 18, 10001, 5621, 202, 565, 368, 3274, 7565, 628, 1517, 3479, 18, 202, 565, 1635, 8526, 846, 267, 273, 394, 1635, 63, 6510, 18, 2469, 15533, 202, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 6510, 18, 2469, 31, 277, 27245, 288, 202, 202, 8252, 1768, 846, 9897, 273, 7129, 42, 18, 588, 1768, 12, 6510, 63, 77, 19226, 202, 202, 683, 267, 63, 77, 65, 273, 460, 81, 1657, 30752, 1458, 12443, 863, 13, 596, 18, 588, 12, 683, 9897, 3631, 1122, 16, 277, 1769, 202, 565, 289, 202, 565, 368, 2691, 498, 1678, 202, 565, 1000, 5384, 33, 2011, 31, 1250, 777, 2994, 33, 3767, 31, 202, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 6510, 18, 2469, 31, 277, 27245, 288, 202, 202, 430, 261, 683, 267, 63, 77, 65, 631, 2011, 13, 288, 777, 2994, 33, 5743, 31, 1324, 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, 6494, 741, 1768, 3264, 12, 8252, 1768, 18, 1733, 7129, 42, 16, 7651, 1768, 7129, 13, 288, 202, 565, 987, 9474, 87, 273, 7129, 18, 18393, 5621, 202, 565, 368, 3671, 316, 444, 635, 17256, 28266, 18, 202, 565, 368, 852, 411, 5814, 16, 1518, 34, 2122, 5814, 31, 1338, 3430, 309, 777, 4540, 1240, 518, 18, 202, 565, 368, 741, 30883, 487, 1534, 15490, 45, 18, 202, 565, 1635, 316, 273, 394, 4317, 5621, 202, 565, 27258, 1122, 273, 261, 24483, 13, 9474, 87, 18, 588, 12, 20, 1769, 202, 565, 27258, 8526, 3479, 273, 1122, 18, 10001, 5621, 202, 565, 368, 3274, 7565, 628, 1517, 3479, 18, 202, 565, 1635, 8526, 846, 267, 273, 394, 2 ]
v.addElement(tuple); } r.close();
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { // the field descriptors for the new ResultSet Field f[] = new Field[18]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); // Added by Stefan Andreasen <stefan@linux.kapow.dk> // If the pattern are null then set them to % if (tableNamePattern == null) tableNamePattern="%"; if (columnNamePattern == null) columnNamePattern="%"; // Now form the query String query = "select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid" : "a.oid") + ",c.relname,a.attname,a.atttypid," + "a.attnum,a.attnotnull,a.attlen,a.atttypmod,d.adsrc " + "from (pg_class c inner join pg_attribute a " + "on (c.oid=a.attrelid) ) " + "left outer join pg_attrdef d " + "on (c.oid=d.adrelid and d.adnum=a.attnum) " + "where " + "c.relname like '"+tableNamePattern.toLowerCase()+"' and " + "a.attname like '"+columnNamePattern.toLowerCase()+"' and " + "a.attnum>0 " + "order by c.relname,a.attnum"; r = connection.ExecSQL(query); while(r.next()) { byte[][] tuple = new byte[18][0]; // Fetch the description for the table (if any) String getDescriptionStatement = connection.haveMinimumServerVersion("7.2") ? "select col_description(" + r.getInt(1) + "," + r.getInt(5) + ")" : "select description from pg_description where objoid=" + r.getInt(1); java.sql.ResultSet dr = connection.ExecSQL(getDescriptionStatement); if(((org.postgresql.ResultSet)dr).getTupleCount()==1) { dr.next(); tuple[11] = dr.getBytes(1); } else tuple[11] = null; dr.close(); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name dr = connection.ExecSQL("select typname from pg_type where oid = "+r.getString(4)); dr.next(); String typname=dr.getString(1); dr.close(); tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else tuple[6] = r.getBytes(7); tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal // tuple[10] is below // tuple[11] is above tuple[12] = r.getBytes(9); // column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position String nullFlag = r.getString(6); tuple[10] = Integer.toString(nullFlag.equals("f")?java.sql.DatabaseMetaData.columnNullable:java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[17] = (nullFlag.equals("f")?"YES":"NO").getBytes(); // is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/07ce9fe61dd6cb7399d76f4a9cbcbe191b988ff2/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 288, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 368, 326, 652, 14215, 364, 326, 394, 10842, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 90, 18, 1289, 1046, 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, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 288, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 368, 326, 652, 14215, 364, 326, 394, 10842, 90, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 331, 18, 1289, 1046, 12, 8052, 1769, 289, 436, 18, 4412, 5621, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 90, 18, 1289, 1046, 2 ]
int offset = currentOffset - prefix.length();
int offset = fCurrentOffset - prefix.length();
private void addProposalsFromCompletionContributors(IASTCompletionNode completionNode, List completions) { if(completionNode == null) return; String prefix = completionNode.getCompletionPrefix(); int offset = currentOffset - prefix.length(); int length = prefix.length(); // calling functions should happen only within the context of a code body if(completionNode.getCompletionContext() != IASTCompletionNode.CompletionKind.SINGLE_NAME_REFERENCE) return; IFunctionSummary[] summary; summary = CCompletionContributorManager.getDefault().getMatchingFunctions(prefix); if(summary == null) { return; } for (int i = 0; i < summary.length; i++) { String fname = summary[i].getName() + "()"; String fdesc = summary[i].getDescription(); IFunctionSummary.IFunctionPrototypeSummary fproto = summary[i].getPrototype(); String fargs = fproto.getArguments(); CCompletionProposal proposal; proposal = new CCompletionProposal(fname, offset, length, CPluginImages.get(CPluginImages.IMG_OBJS_FUNCTION), fproto.getPrototypeString(true), 2); if(fdesc != null) { proposal.setAdditionalProposalInfo(fdesc); } if(fargs != null && fargs.length() > 0) { proposal.setContextInformation(new ContextInformation(fname, fargs)); } completions.add(proposal); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/4ae8242ff673e5e222aea96ddc39c8a8d141254e/CCompletionProcessor.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CCompletionProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 626, 22536, 1265, 11238, 442, 665, 13595, 12, 45, 9053, 11238, 907, 8364, 907, 16, 987, 23738, 13, 288, 202, 202, 430, 12, 11469, 907, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 780, 1633, 273, 8364, 907, 18, 588, 11238, 2244, 5621, 202, 202, 474, 1384, 273, 783, 2335, 300, 1633, 18, 2469, 5621, 202, 202, 474, 769, 273, 1633, 18, 2469, 5621, 9506, 202, 759, 4440, 4186, 1410, 5865, 1338, 3470, 326, 819, 434, 279, 981, 1417, 202, 202, 430, 12, 11469, 907, 18, 588, 11238, 1042, 1435, 480, 467, 9053, 11238, 907, 18, 11238, 5677, 18, 20184, 67, 1985, 67, 14617, 13, 1082, 202, 2463, 31, 9506, 202, 45, 2083, 4733, 8526, 4916, 31, 202, 202, 7687, 273, 385, 11238, 442, 19293, 1318, 18, 588, 1868, 7675, 588, 9517, 7503, 12, 3239, 1769, 202, 202, 430, 12, 7687, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4916, 18, 2469, 31, 277, 27245, 288, 1082, 202, 780, 5299, 273, 4916, 63, 77, 8009, 17994, 1435, 397, 315, 10031, 31, 1082, 202, 780, 5194, 742, 273, 4916, 63, 77, 8009, 588, 3291, 5621, 1082, 202, 45, 2083, 4733, 18, 45, 2083, 15846, 4733, 284, 9393, 273, 4916, 63, 77, 8009, 588, 15846, 5621, 1082, 202, 780, 284, 1968, 273, 284, 9393, 18, 588, 4628, 5621, 25083, 202, 39, 11238, 14592, 14708, 31, 1082, 202, 685, 8016, 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, 527, 626, 22536, 1265, 11238, 442, 665, 13595, 12, 45, 9053, 11238, 907, 8364, 907, 16, 987, 23738, 13, 288, 202, 202, 430, 12, 11469, 907, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 780, 1633, 273, 8364, 907, 18, 588, 11238, 2244, 5621, 202, 202, 474, 1384, 273, 783, 2335, 300, 1633, 18, 2469, 5621, 202, 202, 474, 769, 273, 1633, 18, 2469, 5621, 9506, 202, 759, 4440, 4186, 1410, 5865, 1338, 3470, 326, 819, 434, 279, 981, 1417, 202, 202, 430, 12, 11469, 907, 18, 588, 11238, 1042, 1435, 480, 467, 9053, 11238, 907, 18, 11238, 5677, 18, 20184, 67, 1985, 67, 14617, 13, 1082, 202, 2463, 31, 9506, 202, 45, 2083, 2 ]
else if (cmd.equals("removeData")) dm.removeData(getSelectedData());
else if (cmd.equals("removeData")) dm.removeData(getSelectedData(), true);
public void actionPerformed(ActionEvent e) { DataManager dm = (DataManager) lm; String cmd = e.getActionCommand(); if (cmd.equals("addData")) { DataTransform data = getSelectedData(); Class[] dataTypes = dm.getRegisteredDataTypes(); String[] dataLabels = dm.getRegisteredDataLabels(); // build popup menu from registered data transform types JPopupMenu menu = new JPopupMenu(); for (int i=0; i<dataTypes.length; i++) { // check data transform compatibility via reflection String clas = dataTypes[i].getName(); boolean validParent = false; boolean needParent = true; try { ReflectedUniverse r = new ReflectedUniverse(); r.setDebug(true); r.exec("import " + clas); r.setVar("data", data); String n = clas.substring(clas.lastIndexOf(".") + 1); r.exec("valid = " + n + ".isValidParent(data)"); validParent = ((Boolean) r.getVar("valid")).booleanValue(); r.exec("need = " + n + ".isParentRequired()"); needParent = ((Boolean) r.getVar("need")).booleanValue(); } catch (VisADException exc) { exc.printStackTrace(); } // add menu item for compatible transform type JMenuItem item = new JMenuItem(dataLabels[i]); item.setMnemonic(dataLabels[i].charAt(0)); item.setActionCommand(clas); item.addActionListener(this); item.setEnabled(validParent || !needParent); menu.add(item); } // show popup menu JButton source = (JButton) e.getSource(); menu.show(source, source.getWidth(), 0); } else if (cmd.equals("display")) { DataTransform data = getSelectedData(); if (data == null) return; DisplayManager disp = (DisplayManager) lm.getVisBio().getManager(DisplayManager.class); if (disp == null) return; DisplayWindow[] dd = disp.getDisplays(); boolean isImage = data instanceof ImageTransform; boolean canDisplay2D = data.isValidDimension(2); boolean canDisplay3D = (data.isValidDimension(3) || (isImage && canDisplay2D)); // build popup menu from display list JPopupMenu menu = new JPopupMenu(); for (int i=0; i<dd.length; i++) { final DisplayWindow window = dd[i]; JMenuItem item = new JMenuItem(window.toString()); item.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // add selected data object to chosen display DataTransform data = getSelectedData(); if (data != null) window.addTransform(data); WindowManager wm = (WindowManager) lm.getVisBio().getManager(WindowManager.class); wm.showWindow(window); } }); boolean threeD = window.is3D(); boolean valid = (!threeD && canDisplay2D) || (threeD && canDisplay3D); item.setEnabled(valid && !window.hasTransform(data)); menu.add(item); } if (dd.length > 0) menu.addSeparator(); menu.add(display2D); menu.add(display3D); // display popup menu JButton source = (JButton) e.getSource(); menu.show(source, source.getWidth(), 0); } else if (cmd.equals("edit")) showControls(getSelectedData()); else if (cmd.equals("export")) { // build popup menu JPopupMenu menu = new JPopupMenu(); DataTransform data = getSelectedData(); JMenuItem saveToDisk = new JMenuItem("Save to disk..."); saveToDisk.setMnemonic('s'); saveToDisk.setActionCommand("saveToDisk"); saveToDisk.addActionListener(this); menu.add(saveToDisk); JMenuItem uploadToOME = new JMenuItem("Upload to OME..."); uploadToOME.setMnemonic('u'); uploadToOME.setActionCommand("uploadToOME"); uploadToOME.addActionListener(this); uploadToOME.setEnabled(data instanceof Dataset); menu.add(uploadToOME); // show popup menu JButton source = (JButton) e.getSource(); menu.show(source, source.getWidth(), 0); } else if (cmd.equals("removeData")) dm.removeData(getSelectedData()); else if (cmd.equals("new2D")) doNewDisplay(false); else if (cmd.equals("new3D")) doNewDisplay(true); else if (cmd.equals("saveToDisk")) dm.exportData(); else if (cmd.equals("uploadToOME")) { OMEManager om = (OMEManager) lm.getVisBio().getManager(OMEManager.class); if (om == null) return; om.upload(this); } else { // command represents a class to instantiate via reflection DataTransform data = null; try { ReflectedUniverse r = new ReflectedUniverse(); r.setDebug(true); r.exec("import " + cmd); r.setVar("dm", dm); String n = cmd.substring(cmd.lastIndexOf(".") + 1); r.exec("data = " + n + ".makeTransform(dm)"); data = (DataTransform) r.getVar("data"); } catch (VisADException exc) { exc.printStackTrace(); } if (data != null) dm.addData(data); } }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/c46fb93b67b3f768e6ef9cf6500fdd7fc2fbe3f0/DataControls.java/clean/loci/visbio/data/DataControls.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 565, 1910, 1318, 9113, 273, 261, 751, 1318, 13, 14966, 31, 565, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 565, 309, 261, 4172, 18, 14963, 2932, 1289, 751, 6, 3719, 288, 1377, 1910, 4059, 501, 273, 16625, 751, 5621, 1377, 1659, 8526, 501, 2016, 273, 9113, 18, 588, 10868, 751, 2016, 5621, 1377, 514, 8526, 501, 5888, 273, 9113, 18, 588, 10868, 751, 5888, 5621, 1377, 368, 1361, 10431, 3824, 628, 4104, 501, 2510, 1953, 1377, 804, 13770, 4599, 3824, 273, 394, 804, 13770, 4599, 5621, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 892, 2016, 18, 2469, 31, 277, 27245, 288, 3639, 368, 866, 501, 2510, 8926, 3970, 5463, 3639, 514, 23268, 273, 501, 2016, 63, 77, 8009, 17994, 5621, 3639, 1250, 923, 3054, 273, 629, 31, 3639, 1250, 1608, 3054, 273, 638, 31, 3639, 775, 288, 1850, 17906, 329, 984, 17488, 436, 273, 394, 17906, 329, 984, 17488, 5621, 1850, 436, 18, 542, 2829, 12, 3767, 1769, 1850, 436, 18, 4177, 2932, 5666, 315, 397, 23268, 1769, 1850, 436, 18, 542, 1537, 2932, 892, 3113, 501, 1769, 1850, 514, 290, 273, 23268, 18, 28023, 12, 830, 345, 18, 2722, 31985, 2932, 1199, 13, 397, 404, 1769, 1850, 436, 18, 4177, 2932, 877, 273, 315, 397, 290, 397, 3552, 26810, 3054, 12, 892, 2225, 1769, 1850, 923, 3054, 273, 14015, 5507, 13, 436, 18, 588, 1537, 2932, 877, 7923, 2934, 6494, 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, 282, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 565, 1910, 1318, 9113, 273, 261, 751, 1318, 13, 14966, 31, 565, 514, 1797, 273, 425, 18, 588, 1803, 2189, 5621, 565, 309, 261, 4172, 18, 14963, 2932, 1289, 751, 6, 3719, 288, 1377, 1910, 4059, 501, 273, 16625, 751, 5621, 1377, 1659, 8526, 501, 2016, 273, 9113, 18, 588, 10868, 751, 2016, 5621, 1377, 514, 8526, 501, 5888, 273, 9113, 18, 588, 10868, 751, 5888, 5621, 1377, 368, 1361, 10431, 3824, 628, 4104, 501, 2510, 1953, 1377, 804, 13770, 4599, 3824, 273, 394, 804, 13770, 4599, 5621, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 892, 2016, 18, 2469, 31, 277, 27245, 288, 3639, 368, 866, 2 ]
textArea.grabFocus();
textArea.requestFocus();
public void focusOnTextArea() { SwingUtilities.invokeLater(new Runnable() { public void run() { textArea.grabFocus(); } }); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/2b85a2aa5aa9138969febf87dd786a71619d4189/EditPane.java/clean/org/gjt/sp/jedit/EditPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7155, 1398, 1528, 5484, 1435, 202, 95, 202, 202, 6050, 310, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 202, 202, 95, 1082, 202, 482, 918, 1086, 1435, 1082, 202, 95, 9506, 202, 955, 5484, 18, 2752, 70, 9233, 5621, 1082, 202, 97, 202, 202, 22938, 202, 97, 368, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7155, 1398, 1528, 5484, 1435, 202, 95, 202, 202, 6050, 310, 11864, 18, 14407, 20607, 12, 2704, 10254, 1435, 202, 202, 95, 1082, 202, 482, 918, 1086, 1435, 1082, 202, 95, 9506, 202, 955, 5484, 18, 2752, 70, 9233, 5621, 1082, 202, 97, 202, 202, 22938, 202, 97, 368, 9090, 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 ]
Main.ContextData contextData = debugGui.main.currentContextData();
Dim.ContextData contextData = debugGui.dim.currentContextData();
public void actionPerformed(ActionEvent e) { if (!enabled) return; if (e.getActionCommand().equals("ContextSwitch")) { Main.ContextData contextData = debugGui.main.currentContextData(); if (contextData == null) { return; } int frameIndex = context.getSelectedIndex(); context.setToolTipText(toolTips.elementAt(frameIndex).toString()); int frameCount = contextData.frameCount(); if (frameIndex >= frameCount) { return; } Main.StackFrame frame = contextData.getFrame(frameIndex); Object scope = frame.scope(); Object thisObj = frame.thisObj(); thisTable.resetTree(new VariableModel(debugGui.main, thisObj)); VariableModel scopeModel; if (scope != thisObj) { scopeModel = new VariableModel(debugGui.main, scope); } else { scopeModel = new VariableModel(); } localsTable.resetTree(scopeModel); debugGui.main.contextSwitch(frameIndex); debugGui.showStopLine(frame); tableModel.updateModel(); } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/402fd02406157693f66b2c8e6819e17c0b5b3e8a/DebugGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 309, 16051, 5745, 13, 327, 31, 3639, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 1042, 10200, 6, 3719, 288, 5411, 463, 381, 18, 1042, 751, 819, 751, 273, 1198, 18070, 18, 3509, 18, 2972, 1042, 751, 5621, 5411, 309, 261, 2472, 751, 422, 446, 13, 288, 327, 31, 289, 5411, 509, 2623, 1016, 273, 819, 18, 588, 7416, 1016, 5621, 5411, 819, 18, 542, 29250, 1528, 12, 6738, 56, 7146, 18, 2956, 861, 12, 3789, 1016, 2934, 10492, 10663, 5411, 509, 2623, 1380, 273, 819, 751, 18, 3789, 1380, 5621, 5411, 309, 261, 3789, 1016, 1545, 2623, 1380, 13, 288, 7734, 327, 31, 5411, 289, 5411, 12740, 18, 2624, 3219, 2623, 273, 819, 751, 18, 588, 3219, 12, 3789, 1016, 1769, 5411, 1033, 2146, 273, 2623, 18, 4887, 5621, 5411, 1033, 15261, 273, 2623, 18, 2211, 2675, 5621, 5411, 333, 1388, 18, 6208, 2471, 12, 2704, 7110, 1488, 12, 4148, 18070, 18, 5254, 16, 15261, 10019, 5411, 7110, 1488, 2146, 1488, 31, 5411, 309, 261, 4887, 480, 15261, 13, 288, 7734, 2146, 1488, 273, 394, 7110, 1488, 12, 4148, 18070, 18, 5254, 16, 2146, 1769, 5411, 289, 469, 288, 7734, 2146, 1488, 273, 394, 7110, 1488, 5621, 5411, 289, 5411, 8985, 1388, 18, 6208, 2471, 12, 4887, 1488, 1769, 5411, 1198, 18070, 18, 5254, 18, 2472, 10200, 12, 3789, 1016, 1769, 5411, 1198, 18070, 18, 4500, 4947, 1670, 12, 3789, 1769, 5411, 1014, 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, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 309, 16051, 5745, 13, 327, 31, 3639, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 1042, 10200, 6, 3719, 288, 5411, 463, 381, 18, 1042, 751, 819, 751, 273, 1198, 18070, 18, 3509, 18, 2972, 1042, 751, 5621, 5411, 309, 261, 2472, 751, 422, 446, 13, 288, 327, 31, 289, 5411, 509, 2623, 1016, 273, 819, 18, 588, 7416, 1016, 5621, 5411, 819, 18, 542, 29250, 1528, 12, 6738, 56, 7146, 18, 2956, 861, 12, 3789, 1016, 2934, 10492, 10663, 5411, 509, 2623, 1380, 273, 819, 751, 18, 3789, 1380, 5621, 5411, 309, 261, 3789, 1016, 1545, 2623, 1380, 13, 288, 7734, 327, 31, 5411, 289, 2 ]
return ( (ComponentParametersController) getFcInterface(Constants .COMPONENT_PARAMETERS_CONTROLLER)) .getComponentParameters() .getHierarchicalType(); }
return ((ComponentParametersController) getFcInterface(Constants.COMPONENT_PARAMETERS_CONTROLLER)).getComponentParameters() .getHierarchicalType(); }
public String getHierarchicalType() throws NoSuchInterfaceException { //return componentParameters.getHierarchicalType(); return ( (ComponentParametersController) getFcInterface(Constants .COMPONENT_PARAMETERS_CONTROLLER)) .getComponentParameters() .getHierarchicalType(); }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/466c325df727388912d7efbc91a624f8a1e015c8/ProActiveComponentImpl.java/buggy/src/org/objectweb/proactive/core/component/identity/ProActiveComponentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 7628, 14529, 559, 1435, 1216, 5823, 1358, 503, 288, 9506, 202, 759, 2463, 1794, 2402, 18, 588, 44, 14529, 559, 5621, 202, 202, 2463, 261, 1082, 202, 12, 1841, 2402, 2933, 13, 2812, 71, 1358, 12, 2918, 9506, 202, 18, 22922, 67, 20103, 67, 6067, 25353, 3719, 1082, 202, 18, 588, 1841, 2402, 1435, 1082, 202, 18, 588, 44, 14529, 559, 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, 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, 225, 202, 482, 514, 7628, 14529, 559, 1435, 1216, 5823, 1358, 503, 288, 9506, 202, 759, 2463, 1794, 2402, 18, 588, 44, 14529, 559, 5621, 202, 202, 2463, 261, 1082, 202, 12, 1841, 2402, 2933, 13, 2812, 71, 1358, 12, 2918, 9506, 202, 18, 22922, 67, 20103, 67, 6067, 25353, 3719, 1082, 202, 18, 588, 1841, 2402, 1435, 1082, 202, 18, 588, 44, 14529, 559, 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, -100, -100, -100, -100, -100, -100 ]
temp[0][i] = line_samples[j][i];
temp[0][i] = lineSamples[j][i];
public void go(String args[]) throws IOException, VisADException, RemoteException { String dir = ""; String slash = System.getProperty("file.separator"); if (args.length > 0) { dir = args[0]; if (!dir.endsWith(slash)) dir = dir + slash; } RealTupleType domain = null; Unit unit = null; String name = null; Set set = null; RealType[] value_types = new RealType[NFILES]; values = new float[NFILES][]; DefaultFamily loader = new DefaultFamily("loader"); for (int i=0; i<NFILES; i++) { Tuple tuple = (Tuple) loader.open(dir + "SPB" + (i+1) + ".PIC"); FieldImpl field = (FieldImpl) tuple.getComponent(0); FlatField ff = (FlatField) field.getSample(0); set = ff.getDomainSet();/*System.out.println("set = " + set);set = Linear2DSet: Length = 393216 Dimension 1: Length = 768 Range = 0.0 to 767.0 Dimension 2: Length = 512 Range = 0.0 to 511.0*/ if (i == 0) { FunctionType func = (FunctionType) ff.getType(); domain = func.getDomain(); element = (RealType) domain.getComponent(0); line = (RealType) domain.getComponent(1); value = (RealType) func.getRange(); unit = value.getDefaultUnit(); name = value.getName(); } value_types[i] = RealType.getRealType(name + (i+1), unit); float[][] temps = ff.getFloats(false); values[i] = temps[0]; // System.out.println("data " + i + " type: " + value_types[i]); } npixels = values[0].length; RealTupleType range = new RealTupleType(value_types); FunctionType big_func = new FunctionType(domain, range); final FlatField big_data = new FlatField(big_func, set); big_data.setSamples(values, false); // RealType value = RealType.getRealType("value"); RealType hue = RealType.getRealType("hue"); RealType HUE = RealType.getRealType("HUE"); RealTupleType new_range = new RealTupleType(value, hue); FunctionType new_func = new FunctionType(domain, new_range); data = new FlatField(new_func, set); data_values = new float[2][npixels]; DataReferenceImpl ref1 = new DataReferenceImpl("ref1"); ref1.setData(data); text = TextType.getTextType("text"); RealType[] time = {RealType.Time}; RealTupleType time_type = new RealTupleType(time); MathType[] mtypes = {element, line, text}; text_tuple = new TupleType(mtypes); FunctionType text_function = new FunctionType(RealType.Time, text_tuple); Set time_set = new Linear1DSet(time_type, 0.0, 1.0, 2); text_field = new FieldImpl(text_function, time_set); DataReferenceImpl text_ref = new DataReferenceImpl("text_ref"); text_ref.setData(text_field); Linear2DSet wedge_set = new Linear2DSet(domain, 0.0, 767.0, 768, 550.0, 570.0, 21); wedge = new FlatField(new_func, wedge_set); wedge_samples = new float[2][768 * 21]; DataReferenceImpl wedge_ref = new DataReferenceImpl("wedge_ref"); wedge_ref.setData(wedge); final DataReferenceImpl xref = new DataReferenceImpl("xref"); // System.out.println("data type: " + new_func); display1 = new DisplayImplJ3D("display1", new TwoDDisplayRendererJ3D()); ScalarMap xmap = new ScalarMap(element, Display.XAxis); display1.addMap(xmap); huexmap = new ScalarMap(HUE, Display.XAxis); display1.addMap(huexmap); ScalarMap ymap = new ScalarMap(line, Display.YAxis); display1.addMap(ymap); ymap.setRange(0.0, 511.0); vmap = new ScalarMap(value, Display.Value); display1.addMap(vmap); hmap = new ScalarMap(hue, Display.Hue); display1.addMap(hmap); ScalarMap textmap = new ScalarMap(text, Display.Text); display1.addMap(textmap); display1.addMap(new ConstantMap(1.0, Display.Saturation)); Control ctrl = textmap.getControl(); if (ctrl != null && ctrl instanceof TextControl) { TextControl text_control = (TextControl) ctrl; text_control.setSize(1.0); text_control.setJustification(TextControl.Justification.CENTER); text_control.setAutoSize(true); } // display1.getGraphicsModeControl().setScaleEnable(true); display1.addReference(ref1); DefaultRendererJ3D renderer = new DefaultRendererJ3D(); display1.addReferences(renderer, xref); renderer.suppressExceptions(true); DefaultRendererJ3D text_renderer = new DefaultRendererJ3D(); display1.addReferences(text_renderer, text_ref); text_renderer.suppressExceptions(true); DefaultRendererJ3D wedge_renderer = new DefaultRendererJ3D(); display1.addReferences(wedge_renderer, wedge_ref); wedge_renderer.suppressExceptions(true); line_ref = new DataReferenceImpl("line"); Gridded2DSet dummy_set = new Gridded2DSet(domain, null, 1); line_ref.setData(dummy_set); display1.addReferences( new RubberBandLineRendererJ3D(element, line), line_ref); final RealType channel = RealType.getRealType("channel"); final RealType point = RealType.getRealType("point"); RealType intensity = RealType.getRealType("intensity"); final FunctionType spectrum_type = new FunctionType(channel, intensity); final FunctionType spectra_type = new FunctionType(point, spectrum_type); final FunctionType line_type = new FunctionType(point, intensity); final FunctionType lines_type = new FunctionType(channel, line_type); final DataReferenceImpl ref2 = new DataReferenceImpl("ref2"); DisplayImplJ3D display2 = new DisplayImplJ3D("display2"); ScalarMap xmap2 = new ScalarMap(channel, Display.XAxis); display2.addMap(xmap2); ScalarMap ymap2 = new ScalarMap(intensity, Display.YAxis); display2.addMap(ymap2); ScalarMap zmap2 = new ScalarMap(point, Display.ZAxis); display2.addMap(zmap2); display2.getGraphicsModeControl().setScaleEnable(true); DefaultRendererJ3D renderer2 = new DefaultRendererJ3D(); display2.addReferences(renderer2, ref2); renderer2.suppressExceptions(true); final RealTupleType fdomain = domain; CellImpl cell = new CellImpl() { public void doAction() throws VisADException, RemoteException { Set cell_set = (Set) line_ref.getData(); if (cell_set == null) return; float[][] samples = cell_set.getSamples(); if (samples == null) return; // System.out.println("box (" + samples[0][0] + ", " + samples[1][0] + // ") to (" + samples[0][1] + ", " + samples[1][1] + ")"); float x1 = samples[0][0]; float y1 = samples[1][0]; float x2 = samples[0][1]; float y2 = samples[1][1]; double dist = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)); int nsamp = (int) (dist + 1.0); if (nsamp < 2) nsamp = 2; float[][] ss = new float[2][nsamp]; for (int i=0; i<nsamp; i++) { float a = ((float) i) / (nsamp - 1.0f); ss[0][i] = x1 + a * (x2 - x1); ss[1][i] = y1 + a * (y2 - y1); } Gridded2DSet line = new Gridded2DSet(fdomain, ss, nsamp); xref.setData(line); FlatField line_field = (FlatField) // big_data.resample(line, Data.WEIGHTED_AVERAGE, Data.NO_ERRORS); big_data.resample(line, Data.NEAREST_NEIGHBOR, Data.NO_ERRORS); float[][] line_samples = line_field.getFloats(false); // [NFILES][nsamp] Linear1DSet point_set = new Linear1DSet(point, 0.0, 1.0, nsamp); Integer1DSet channel_set = new Integer1DSet(channel, NFILES); FieldImpl spectra = new FieldImpl(spectra_type, point_set); for (int i=0; i<nsamp; i++) { FlatField spectrum = new FlatField(spectrum_type, channel_set); float[][] temp = new float[1][NFILES]; for (int j=0; j<NFILES; j++) { temp[0][j] = line_samples[j][i]; } spectrum.setSamples(temp, false); spectra.setSample(i, spectrum); } FieldImpl lines = new FieldImpl(lines_type, channel_set); for (int j=0; j<NFILES; j++) { FlatField linex = new FlatField(line_type, point_set); float[][] temp = new float[1][nsamp]; for (int i=0; i<nsamp; i++) { temp[0][i] = line_samples[j][i]; } linex.setSamples(temp, false); lines.setSample(j, linex); } ref2.setData(new Tuple(new Data[] {spectra, lines})); } }; cell.addReference(line_ref); VisADSlider[] value_sliders = new VisADSlider[NFILES]; VisADSlider[] hue_sliders = new VisADSlider[NFILES]; value_refs = new DataReferenceImpl[NFILES]; hue_refs = new DataReferenceImpl[NFILES]; JFrame frame = new JFrame("VisAD MultiLUT"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) {System.exit(0);} }); // create JPanel in frame JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS)); panel.setAlignmentY(JPanel.TOP_ALIGNMENT); panel.setAlignmentX(JPanel.LEFT_ALIGNMENT); frame.setContentPane(panel); JPanel left = new JPanel(); left.setLayout(new BoxLayout(left, BoxLayout.Y_AXIS)); left.setAlignmentY(JPanel.TOP_ALIGNMENT); left.setAlignmentX(JPanel.LEFT_ALIGNMENT); JPanel center = new JPanel(); center.setLayout(new BoxLayout(center, BoxLayout.Y_AXIS)); center.setAlignmentY(JPanel.TOP_ALIGNMENT); center.setAlignmentX(JPanel.LEFT_ALIGNMENT); JPanel right = new JPanel(); right.setLayout(new BoxLayout(right, BoxLayout.Y_AXIS)); right.setAlignmentY(JPanel.TOP_ALIGNMENT); right.setAlignmentX(JPanel.LEFT_ALIGNMENT); panel.add(left); panel.add(center); panel.add(right); Dimension d = new Dimension(300, 1000); left.setMaximumSize(d); center.setMaximumSize(d); for (int i=0; i<NFILES; i++) { value_refs[i] = new DataReferenceImpl("value" + i); value_refs[i].setData(new Real(1.0)); value_sliders[i] = new VisADSlider("value" + i, -100, 100, 100, 0.01, value_refs[i], RealType.Generic); left.add(value_sliders[i]); hue_refs[i] = new DataReferenceImpl("hue" + i); hue_refs[i].setData(new Real(1.0)); hue_sliders[i] = new VisADSlider("hue" + i, -100, 100, 100, 0.01, hue_refs[i], RealType.Generic); center.add(hue_sliders[i]); } // slider button for setting all value sliders to 0 JButton value_clear = new JButton("Zero values"); value_clear.addActionListener(this); value_clear.setActionCommand("value_clear"); left.add(Box.createVerticalStrut(10)); left.add(value_clear); // slider button for setting all value sliders to 1 JButton value_set = new JButton("One values"); value_set.addActionListener(this); value_set.setActionCommand("value_set"); left.add(value_set); // slider button for setting all hue sliders to 0 JButton hue_clear = new JButton("Zero hues"); hue_clear.addActionListener(this); hue_clear.setActionCommand("hue_clear"); center.add(Box.createVerticalStrut(10)); center.add(hue_clear); // slider button for setting all hue sliders to 1 JButton hue_set = new JButton("One hues"); hue_set.addActionListener(this); hue_set.setActionCommand("hue_set"); center.add(hue_set); // slider button for setting all hue sliders to 0 right.add(display1.getComponent()); right.add(display2.getComponent()); // vmin and vmax labels minmax = new JLabel(" "); left.add(Box.createVerticalStrut(30)); left.add(minmax); // "GO" button for applying computation in sliders JButton compute = new JButton("Compute"); compute.addActionListener(this); compute.setActionCommand("compute"); left.add(Box.createVerticalStrut(10)); left.add(compute); int WIDTH = 1200; int HEIGHT = 1000; Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); frame.setLocation(screenSize.width/2 - WIDTH/2, screenSize.height/2 - HEIGHT/2); frame.setSize(WIDTH, HEIGHT); frame.setVisible(true); doit(); }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/d3560cf43f33592c964cabbb057bed37fea39a07/MultiLUT.java/buggy/loci/MultiLUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1960, 12, 780, 833, 63, 5717, 540, 1216, 1860, 16, 8077, 1880, 503, 16, 18361, 288, 565, 514, 1577, 273, 1408, 31, 565, 514, 9026, 273, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 1377, 1577, 273, 833, 63, 20, 15533, 1377, 309, 16051, 1214, 18, 5839, 1190, 12, 12877, 3719, 1577, 273, 1577, 397, 9026, 31, 565, 289, 565, 15987, 9038, 559, 2461, 273, 446, 31, 565, 8380, 2836, 273, 446, 31, 565, 514, 508, 273, 446, 31, 565, 1000, 444, 273, 446, 31, 565, 15987, 559, 8526, 460, 67, 2352, 273, 394, 15987, 559, 63, 50, 12669, 15533, 565, 924, 273, 394, 1431, 63, 50, 12669, 6362, 15533, 565, 2989, 9203, 4088, 273, 394, 2989, 9203, 2932, 6714, 8863, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 50, 12669, 31, 277, 27245, 288, 1377, 7257, 3193, 273, 261, 9038, 13, 4088, 18, 3190, 12, 1214, 397, 315, 3118, 38, 6, 397, 261, 77, 15, 21, 13, 397, 3552, 20385, 8863, 1377, 2286, 2828, 652, 273, 261, 974, 2828, 13, 3193, 18, 588, 1841, 12, 20, 1769, 1377, 20396, 974, 6875, 273, 261, 16384, 974, 13, 652, 18, 588, 8504, 12, 20, 1769, 1377, 444, 273, 6875, 18, 588, 3748, 694, 5621, 20308, 3163, 18, 659, 18, 8222, 2932, 542, 273, 315, 397, 444, 1769, 542, 273, 13921, 22, 40, 694, 30, 11311, 273, 16977, 1578, 2313, 225, 13037, 404, 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, 1960, 12, 780, 833, 63, 5717, 540, 1216, 1860, 16, 8077, 1880, 503, 16, 18361, 288, 565, 514, 1577, 273, 1408, 31, 565, 514, 9026, 273, 2332, 18, 588, 1396, 2932, 768, 18, 11287, 8863, 565, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 1377, 1577, 273, 833, 63, 20, 15533, 1377, 309, 16051, 1214, 18, 5839, 1190, 12, 12877, 3719, 1577, 273, 1577, 397, 9026, 31, 565, 289, 565, 15987, 9038, 559, 2461, 273, 446, 31, 565, 8380, 2836, 273, 446, 31, 565, 514, 508, 273, 446, 31, 565, 1000, 444, 273, 446, 31, 565, 15987, 559, 8526, 460, 67, 2352, 273, 394, 15987, 559, 63, 50, 12669, 15533, 565, 924, 273, 394, 1431, 2 ]
assertEquals(DOMUtil.parse(expected), actual);
assertEquals(DOMUtil.parse(expected), DOMUtil.parse(actual));
public static void assertEquals(String expected, Node actual) throws DocumentsAssertionError, SAXException { ArgumentAssert.notNull(expected, "Expected document must not be null"); ArgumentAssert.notNull(actual, "Actual document must not be null"); assertEquals(DOMUtil.parse(expected), actual); }
3174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3174/57eb642d6d719c5c08c5f9e094f323ae2ab57e0c/XMLComparator.java/buggy/src/org/tigris/juxy/util/XMLComparator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1815, 8867, 12, 780, 2665, 16, 2029, 3214, 13, 1216, 4319, 87, 14979, 668, 16, 14366, 288, 565, 5067, 8213, 18, 902, 2041, 12, 3825, 16, 315, 6861, 1668, 1297, 486, 506, 446, 8863, 565, 5067, 8213, 18, 902, 2041, 12, 18672, 16, 315, 11266, 1668, 1297, 486, 506, 446, 8863, 565, 1815, 8867, 12, 8168, 1304, 18, 2670, 12, 3825, 3631, 4703, 1304, 18, 2670, 12, 18672, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1815, 8867, 12, 780, 2665, 16, 2029, 3214, 13, 1216, 4319, 87, 14979, 668, 16, 14366, 288, 565, 5067, 8213, 18, 902, 2041, 12, 3825, 16, 315, 6861, 1668, 1297, 486, 506, 446, 8863, 565, 5067, 8213, 18, 902, 2041, 12, 18672, 16, 315, 11266, 1668, 1297, 486, 506, 446, 8863, 565, 1815, 8867, 12, 8168, 1304, 18, 2670, 12, 3825, 3631, 4703, 1304, 18, 2670, 12, 18672, 10019, 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 ]
try
try
public CategoryPK ejbCreate(String categoryName) throws CreateException, RemoteException, RemoveException { // Connecting to IDManager Home interface thru JNDI IDManagerHome home = null; IDManager idManager = null; try { InitialContext initialContext = new InitialContext(); home = (IDManagerHome)PortableRemoteObject.narrow(initialContext.lookup( "java:comp/env/ejb/IDManager"), IDManagerHome.class); } catch (Exception e) { throw new EJBException("Cannot lookup IDManager: " +e); } try { IDManagerPK idPK = new IDManagerPK(); idManager = home.findByPrimaryKey(idPK); id = idManager.getNextCategoryID(); name = categoryName; } catch (Exception e) { throw new EJBException("Cannot create category: " +e); } return null; }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/CategoryBean.java/buggy/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/CategoryBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9856, 8784, 18024, 1684, 12, 780, 3150, 461, 13, 1216, 1788, 503, 16, 18361, 16, 3581, 503, 225, 288, 565, 368, 8289, 310, 358, 1599, 1318, 21321, 1560, 286, 8653, 804, 24513, 565, 1599, 1318, 8684, 6382, 273, 446, 31, 565, 1599, 1318, 612, 1318, 273, 446, 31, 1850, 775, 377, 288, 1377, 10188, 1042, 2172, 1042, 273, 394, 10188, 1042, 5621, 1377, 6382, 273, 261, 734, 1318, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 12, 28524, 2868, 315, 6290, 30, 2919, 19, 3074, 19, 73, 10649, 19, 734, 1318, 6, 3631, 1599, 1318, 8684, 18, 1106, 1769, 565, 289, 377, 1044, 261, 503, 425, 13, 565, 288, 1377, 604, 394, 12157, 503, 2932, 4515, 3689, 1599, 1318, 30, 315, 397, 73, 1769, 565, 289, 565, 775, 377, 288, 1377, 1599, 1318, 8784, 612, 8784, 273, 394, 1599, 1318, 8784, 5621, 1377, 612, 1318, 273, 6382, 18, 4720, 858, 11575, 12, 350, 8784, 1769, 1377, 612, 273, 612, 1318, 18, 588, 2134, 4457, 734, 5621, 1377, 508, 273, 3150, 461, 31, 565, 289, 377, 1044, 261, 503, 425, 13, 565, 288, 1377, 604, 394, 12157, 503, 2932, 4515, 752, 3150, 30, 315, 397, 73, 1769, 565, 289, 565, 327, 446, 31, 282, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9856, 8784, 18024, 1684, 12, 780, 3150, 461, 13, 1216, 1788, 503, 16, 18361, 16, 3581, 503, 225, 288, 565, 368, 8289, 310, 358, 1599, 1318, 21321, 1560, 286, 8653, 804, 24513, 565, 1599, 1318, 8684, 6382, 273, 446, 31, 565, 1599, 1318, 612, 1318, 273, 446, 31, 1850, 775, 377, 288, 1377, 10188, 1042, 2172, 1042, 273, 394, 10188, 1042, 5621, 1377, 6382, 273, 261, 734, 1318, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 12, 28524, 2868, 315, 6290, 30, 2919, 19, 3074, 19, 73, 10649, 19, 734, 1318, 6, 3631, 1599, 1318, 8684, 18, 1106, 1769, 565, 289, 377, 1044, 261, 503, 425, 13, 565, 288, 1377, 604, 2 ]
super( id ); this.constraint = constraint; this.objectSource = objectSource; setHasMemory( true );
this(id, constraint, objectSource, false);
AlphaNode(final int id, final FieldConstraint constraint, final ObjectSource objectSource) { super( id ); this.constraint = constraint; this.objectSource = objectSource; setHasMemory( true ); }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/e971e073de139e3ef85729a21dd445e083a9deee/AlphaNode.java/clean/drools-core/src/main/java/org/drools/reteoo/AlphaNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 24277, 907, 12, 6385, 509, 612, 16, 2868, 727, 2286, 5806, 4954, 16, 2868, 727, 1033, 1830, 733, 1830, 13, 288, 3639, 2240, 12, 612, 11272, 3639, 333, 18, 13364, 273, 4954, 31, 3639, 333, 18, 1612, 1830, 273, 733, 1830, 31, 3639, 444, 5582, 6031, 12, 638, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 24277, 907, 12, 6385, 509, 612, 16, 2868, 727, 2286, 5806, 4954, 16, 2868, 727, 1033, 1830, 733, 1830, 13, 288, 3639, 2240, 12, 612, 11272, 3639, 333, 18, 13364, 273, 4954, 31, 3639, 333, 18, 1612, 1830, 273, 733, 1830, 31, 3639, 444, 5582, 6031, 12, 638, 11272, 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 ]
return ulocale_rules.keySet();
return ulocale_rules.keySet();
public Set getAvailableSet() { return ulocale_rules.keySet(); }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/90d357a7612a0fee1860528005a32007392efc2a/GenerateCldrTests.java/buggy/tools/java/org/unicode/cldr/icu/GenerateCldrTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1000, 15796, 694, 1435, 288, 540, 202, 2463, 7493, 504, 5349, 67, 7482, 18, 856, 694, 5621, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1000, 15796, 694, 1435, 288, 540, 202, 2463, 7493, 504, 5349, 67, 7482, 18, 856, 694, 5621, 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, -100, -100, -100 ]
for(long i=addFrom;i<=addTo;i++)
for(long i=addFrom;i<=addTo;i++) { Logger.minor(this, "Adding checker for edition "+i);
void onSuccess(USKAttempt att, boolean dontUpdate, ClientSSKBlock block) { LinkedList l = null; synchronized(this) { if(completed || cancelled) return; runningAttempts.remove(att); long curLatest = att.number; if(!dontUpdate) uskManager.update(origUSK, curLatest); long lastEd = uskManager.lookup(origUSK); if(curLatest >= lastEd) { try { this.lastRequestData = block.decode(ctx.bucketFactory, 1025 /* it's an SSK */, true); this.lastCompressionCodec = block.getCompressionCodec(); this.lastWasMetadata = block.isMetadata(); } catch (KeyDecodeException e) { lastRequestData = null; } catch (IOException e) { lastRequestData = null; } } curLatest = Math.max(lastEd, curLatest); Logger.minor(this, "Latest: "+curLatest); long addTo = curLatest + minFailures; long addFrom = Math.max(lastAddedEdition + 1, curLatest + 1); if(addTo >= addFrom) { l = new LinkedList(); for(long i=addFrom;i<=addTo;i++) l.add(add(i)); } cancelBefore(curLatest); } if(l == null) return; else if(!cancelled) { for(Iterator i=l.iterator();i.hasNext();) { USKAttempt a = (USKAttempt) i.next(); a.schedule(); } } }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/12ed16eae26eb2bb0d54859f50f5c030d5c8354f/USKFetcher.java/clean/src/freenet/client/async/USKFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 20613, 12, 3378, 47, 7744, 2403, 16, 1250, 14046, 1891, 16, 2445, 1260, 47, 1768, 1203, 13, 288, 202, 202, 13174, 682, 328, 273, 446, 31, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13615, 747, 13927, 13, 327, 31, 1082, 202, 8704, 10113, 18, 4479, 12, 4558, 1769, 1082, 202, 5748, 662, 18650, 273, 2403, 18, 2696, 31, 1082, 202, 430, 12, 5, 72, 1580, 1891, 13, 9506, 202, 407, 79, 1318, 18, 2725, 12, 4949, 3378, 47, 16, 662, 18650, 1769, 1082, 202, 5748, 1142, 2671, 273, 584, 79, 1318, 18, 8664, 12, 4949, 3378, 47, 1769, 1082, 202, 430, 12, 1397, 18650, 1545, 1142, 2671, 13, 288, 9506, 202, 698, 288, 6862, 202, 2211, 18, 2722, 17031, 273, 1203, 18, 3922, 12, 5900, 18, 7242, 1733, 16, 1728, 2947, 1748, 518, 1807, 392, 348, 11129, 1195, 16, 638, 1769, 6862, 202, 2211, 18, 2722, 15270, 11008, 273, 1203, 18, 588, 15270, 11008, 5621, 6862, 202, 2211, 18, 2722, 14992, 2277, 273, 1203, 18, 291, 2277, 5621, 9506, 202, 97, 1044, 261, 653, 6615, 503, 425, 13, 288, 6862, 202, 2722, 17031, 273, 446, 31, 9506, 202, 97, 1044, 261, 14106, 425, 13, 288, 6862, 202, 2722, 17031, 273, 446, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 1397, 18650, 273, 2361, 18, 1896, 12, 2722, 2671, 16, 662, 18650, 1769, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 18650, 30, 13773, 1397, 18650, 1769, 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, 6459, 20613, 12, 3378, 47, 7744, 2403, 16, 1250, 14046, 1891, 16, 2445, 1260, 47, 1768, 1203, 13, 288, 202, 202, 13174, 682, 328, 273, 446, 31, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13615, 747, 13927, 13, 327, 31, 1082, 202, 8704, 10113, 18, 4479, 12, 4558, 1769, 1082, 202, 5748, 662, 18650, 273, 2403, 18, 2696, 31, 1082, 202, 430, 12, 5, 72, 1580, 1891, 13, 9506, 202, 407, 79, 1318, 18, 2725, 12, 4949, 3378, 47, 16, 662, 18650, 1769, 1082, 202, 5748, 1142, 2671, 273, 584, 79, 1318, 18, 8664, 12, 4949, 3378, 47, 1769, 1082, 202, 430, 12, 1397, 18650, 1545, 1142, 2671, 13, 288, 9506, 202, 698, 2 ]
return "TokenToWords";
return "TokenToWords";
public String toString() { return "TokenToWords"; }
48071 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48071/6a55df45b5e749262e5610405145a505d38c6c9e/TokenToWords.java/clean/java/de/dfki/lt/mary/modules/en/TokenToWords.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 202, 2463, 315, 1345, 774, 7363, 14432, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 1762, 1435, 288, 202, 2463, 315, 1345, 774, 7363, 14432, 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, -100, -100, -100 ]
match(input,RHS,FOLLOW_RHS_in_word3312); if (failed) return word;
match(input,RHS,FOLLOW_RHS_in_word3294); if (failed) return word;
public String word() throws RecognitionException { String word = null; Token id=null; Token str=null; word = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1286:4: ( ( ID )=>id= ID | ( 'import' )=> 'import' | ( 'use' )=> 'use' | ( 'rule' )=> 'rule' | ( 'query' )=> 'query' | ( 'salience' )=> 'salience' | ( 'no-loop' )=> 'no-loop' | ( 'when' )=> 'when' | ( 'then' )=> 'then' | ( 'end' )=> 'end' | str= STRING ) int alt51=11; switch ( input.LA(1) ) { case ID: alt51=1; break; case 28: alt51=2; break; case 73: alt51=3; break; case 37: alt51=4; break; case 34: alt51=5; break; case 41: alt51=6; break; case 42: alt51=7; break; case 38: alt51=8; break; case RHS: alt51=9; break; case 35: alt51=10; break; case STRING: alt51=11; break; default: if (backtracking>0) {failed=true; return word;} NoViableAltException nvae = new NoViableAltException("1282:1: word returns [String word] : ( ( ID )=>id= ID | ( 'import' )=> 'import' | ( 'use' )=> 'use' | ( 'rule' )=> 'rule' | ( 'query' )=> 'query' | ( 'salience' )=> 'salience' | ( 'no-loop' )=> 'no-loop' | ( 'when' )=> 'when' | ( 'then' )=> 'then' | ( 'end' )=> 'end' | str= STRING );", 51, 0, input); throw nvae; } switch (alt51) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1286:4: ( ID )=>id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word3231); if (failed) return word; if ( backtracking==0 ) { word=id.getText(); } } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1287:4: ( 'import' )=> 'import' { match(input,28,FOLLOW_28_in_word3243); if (failed) return word; if ( backtracking==0 ) { word="import"; } } break; case 3 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1288:4: ( 'use' )=> 'use' { match(input,73,FOLLOW_73_in_word3252); if (failed) return word; if ( backtracking==0 ) { word="use"; } } break; case 4 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1289:4: ( 'rule' )=> 'rule' { match(input,37,FOLLOW_37_in_word3264); if (failed) return word; if ( backtracking==0 ) { word="rule"; } } break; case 5 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1290:4: ( 'query' )=> 'query' { match(input,34,FOLLOW_34_in_word3275); if (failed) return word; if ( backtracking==0 ) { word="query"; } } break; case 6 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1291:4: ( 'salience' )=> 'salience' { match(input,41,FOLLOW_41_in_word3285); if (failed) return word; if ( backtracking==0 ) { word="salience"; } } break; case 7 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1292:5: ( 'no-loop' )=> 'no-loop' { match(input,42,FOLLOW_42_in_word3293); if (failed) return word; if ( backtracking==0 ) { word="no-loop"; } } break; case 8 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1293:4: ( 'when' )=> 'when' { match(input,38,FOLLOW_38_in_word3301); if (failed) return word; if ( backtracking==0 ) { word="when"; } } break; case 9 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1294:4: ( 'then' )=> 'then' { match(input,RHS,FOLLOW_RHS_in_word3312); if (failed) return word; if ( backtracking==0 ) { word="then"; } } break; case 10 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1295:4: ( 'end' )=> 'end' { match(input,35,FOLLOW_35_in_word3323); if (failed) return word; if ( backtracking==0 ) { word="end"; } } break; case 11 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1296:4: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word3337); if (failed) return word; if ( backtracking==0 ) { word=getString(str); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/afea9f80e7c11e7b76df18f232d3b5ca5ad21e72/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 273, 446, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 1171, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 5292, 30, 24, 30, 261, 261, 1599, 13216, 350, 33, 1599, 571, 261, 296, 5666, 11, 13216, 296, 5666, 11, 571, 261, 296, 1202, 11, 13216, 296, 1202, 11, 571, 261, 296, 5345, 11, 13216, 296, 5345, 11, 571, 261, 296, 2271, 11, 13216, 296, 2271, 11, 571, 261, 296, 21982, 6254, 11, 13216, 296, 21982, 6254, 11, 571, 261, 296, 2135, 17, 6498, 11, 13216, 296, 2135, 17, 6498, 11, 571, 261, 296, 13723, 11, 13216, 296, 13723, 11, 571, 261, 296, 15991, 11, 13216, 296, 15991, 11, 571, 261, 296, 409, 11, 13216, 296, 409, 11, 571, 609, 33, 9469, 262, 5411, 509, 3770, 10593, 33, 2499, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 1599, 30, 7734, 3770, 10593, 33, 21, 31, 7734, 898, 31, 5411, 648, 9131, 30, 7734, 3770, 10593, 33, 22, 31, 7734, 898, 31, 5411, 648, 26103, 30, 7734, 3770, 10593, 33, 23, 31, 7734, 898, 31, 5411, 648, 18091, 30, 7734, 3770, 10593, 33, 24, 31, 7734, 898, 31, 5411, 648, 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, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 273, 446, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 1171, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 5292, 30, 24, 30, 261, 261, 1599, 13216, 350, 33, 1599, 571, 261, 296, 5666, 11, 13216, 296, 5666, 11, 571, 261, 296, 1202, 11, 13216, 296, 1202, 11, 571, 261, 296, 5345, 11, 13216, 296, 5345, 11, 571, 261, 296, 2271, 11, 13216, 296, 2271, 11, 2 ]
fName = cdiVariableObject.getName();
setName( cdiVariableObject.getName() );
protected CVariable( CDebugElement parent, ICDIVariableDescriptor cdiVariableObject ) { super( parent ); if ( cdiVariableObject != null ) { fName = cdiVariableObject.getName(); createOriginal( cdiVariableObject ); } fIsEnabled = ( parent instanceof AbstractCValue ) ? ((AbstractCValue)parent).getParentVariable().isEnabled() : !isBookkeepingEnabled(); getCDISession().getEventManager().addEventListener( this ); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a5fdd63e34dd4d49f63c6975be12c8c478f631b8/CVariable.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 385, 3092, 12, 385, 2829, 1046, 982, 16, 26899, 2565, 3092, 3187, 276, 3211, 3092, 921, 262, 288, 202, 202, 9565, 12, 982, 11272, 202, 202, 430, 261, 276, 3211, 3092, 921, 480, 446, 262, 288, 1082, 202, 74, 461, 273, 276, 3211, 3092, 921, 18, 17994, 5621, 1082, 202, 2640, 8176, 12, 276, 3211, 3092, 921, 11272, 202, 202, 97, 202, 202, 74, 2520, 1526, 273, 261, 982, 1276, 4115, 39, 620, 262, 692, 14015, 7469, 39, 620, 13, 2938, 2934, 588, 3054, 3092, 7675, 291, 1526, 1435, 294, 401, 291, 9084, 10102, 310, 1526, 5621, 202, 202, 588, 39, 2565, 2157, 7675, 588, 1133, 1318, 7675, 1289, 7375, 12, 333, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 385, 3092, 12, 385, 2829, 1046, 982, 16, 26899, 2565, 3092, 3187, 276, 3211, 3092, 921, 262, 288, 202, 202, 9565, 12, 982, 11272, 202, 202, 430, 261, 276, 3211, 3092, 921, 480, 446, 262, 288, 1082, 202, 74, 461, 273, 276, 3211, 3092, 921, 18, 17994, 5621, 1082, 202, 2640, 8176, 12, 276, 3211, 3092, 921, 11272, 202, 202, 97, 202, 202, 74, 2520, 1526, 273, 261, 982, 1276, 4115, 39, 620, 262, 692, 14015, 7469, 39, 620, 13, 2938, 2934, 588, 3054, 3092, 7675, 291, 1526, 1435, 294, 401, 291, 9084, 10102, 310, 1526, 5621, 202, 202, 588, 39, 2565, 2157, 7675, 588, 1133, 1318, 7675, 1289, 7375, 12, 333, 11272, 202, 97, 2, -100 ]
releaseLock(conn, LOCK_TRIGGER_ACCESS, transOwner); closeConnection(conn);
try { releaseLock(conn, LOCK_TRIGGER_ACCESS, transOwner); } finally { closeConnection(conn); }
public void storeTrigger(SchedulingContext ctxt, Trigger newTrigger, boolean replaceExisting) throws ObjectAlreadyExistsException, JobPersistenceException { Connection conn = getConnection(); boolean transOwner = false; try { if(isLockOnInsert() || replaceExisting) { getLockHandler().obtainLock(conn, LOCK_TRIGGER_ACCESS); transOwner = true; //getLockHandler().obtainLock(conn, LOCK_JOB_ACCESS); } storeTrigger(conn, ctxt, newTrigger, null, replaceExisting, STATE_WAITING, false, false); commitConnection(conn); } catch (JobPersistenceException e) { rollbackConnection(conn); throw e; } finally { releaseLock(conn, LOCK_TRIGGER_ACCESS, transOwner); closeConnection(conn); } }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/a1e34efab77120ec8bb75b6dd44ed5d8a9b59918/JobStoreTX.java/buggy/src/java/org/quartz/impl/jdbcjobstore/JobStoreTX.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1707, 6518, 12, 25401, 1042, 14286, 16, 11321, 394, 6518, 16, 5411, 1250, 1453, 9895, 13, 1216, 1033, 26853, 16, 5411, 3956, 13182, 503, 288, 3639, 4050, 1487, 273, 6742, 5621, 3639, 1250, 906, 5541, 273, 629, 31, 3639, 775, 288, 5411, 309, 12, 291, 2531, 1398, 4600, 1435, 747, 1453, 9895, 13, 288, 7734, 22206, 1503, 7675, 947, 5977, 2531, 12, 4646, 16, 14631, 67, 6566, 27399, 67, 13204, 1769, 7734, 906, 5541, 273, 638, 31, 7734, 368, 588, 2531, 1503, 7675, 947, 5977, 2531, 12, 4646, 16, 14631, 67, 18321, 67, 13204, 1769, 5411, 289, 13491, 1707, 6518, 12, 4646, 16, 14286, 16, 394, 6518, 16, 446, 16, 1453, 9895, 16, 10792, 7442, 67, 19046, 1360, 16, 629, 16, 629, 1769, 5411, 3294, 1952, 12, 4646, 1769, 3639, 289, 1044, 261, 2278, 13182, 503, 425, 13, 288, 5411, 8006, 1952, 12, 4646, 1769, 5411, 604, 425, 31, 3639, 289, 3095, 288, 5411, 3992, 2531, 12, 4646, 16, 14631, 67, 6566, 27399, 67, 13204, 16, 906, 5541, 1769, 8227, 1746, 1952, 12, 4646, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1707, 6518, 12, 25401, 1042, 14286, 16, 11321, 394, 6518, 16, 5411, 1250, 1453, 9895, 13, 1216, 1033, 26853, 16, 5411, 3956, 13182, 503, 288, 3639, 4050, 1487, 273, 6742, 5621, 3639, 1250, 906, 5541, 273, 629, 31, 3639, 775, 288, 5411, 309, 12, 291, 2531, 1398, 4600, 1435, 747, 1453, 9895, 13, 288, 7734, 22206, 1503, 7675, 947, 5977, 2531, 12, 4646, 16, 14631, 67, 6566, 27399, 67, 13204, 1769, 7734, 906, 5541, 273, 638, 31, 7734, 368, 588, 2531, 1503, 7675, 947, 5977, 2531, 12, 4646, 16, 14631, 67, 18321, 67, 13204, 1769, 5411, 289, 13491, 1707, 6518, 12, 4646, 16, 14286, 16, 394, 6518, 16, 446, 16, 1453, 9895, 16, 10792, 7442, 67, 2 ]
item.put("type", obj.attribType); objRefList.add(item);
attribList.add(item); } } else { if(obj.attribType == Constants.NUMBER_TYPE || obj.attribType == Constants.STRING_OR_NUMBER_TYPE) { Hashtable item = new Hashtable(); item.put("name", attribName); item.put("value", obj.attribValue.toString()); attribList.add(item); } else { if ((obj.attribType !=Constants.LIST_TYPE) || (((List)obj.attribValue).size()!=0)) { Hashtable item = new Hashtable(); item.put("name", attribName); item.put("value", obj.attribValue); item.put("type", obj.attribType); objRefList.add(item); }
protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttribute) attribHash.get(attribName); if (obj != null && obj.attribValue != null) { if ( obj.attribType == Constants.STRING_TYPE) { if (attribName.equals(sPCDATAAttribute)) { xmlInfo.put("PCDATA", obj.attribValue); } else { Hashtable item = new Hashtable(); item.put("name", attribName); item.put("value", obj.attribValue); attribList.add(item); } } else { if(obj.attribType == Constants.NUMBER_TYPE || obj.attribType == Constants.STRING_OR_NUMBER_TYPE) { //it's an attribute of Number type Hashtable item = new Hashtable(); item.put("name", attribName); item.put("value", obj.attribValue.toString()); attribList.add(item); } else {// add to list if it is not an empty list -k.z. if ((obj.attribType !=Constants.LIST_TYPE) || (((List)obj.attribValue).size()!=0)) { Hashtable item = new Hashtable(); item.put("name", attribName); item.put("value", obj.attribValue); item.put("type", obj.attribType); objRefList.add(item); } } } } } xmlInfo.put("attribList", attribList); xmlInfo.put("childObjList", objRefList); return xmlInfo; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/2f56bf014cdbab92ae53cc7d21aed10035ed3f3a/BaseObject.java/buggy/src/gov/nasa/gsfc/adc/xdf/BaseObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 18559, 336, 4201, 966, 1832, 288, 565, 18559, 2025, 966, 273, 394, 18559, 5621, 565, 2407, 5885, 682, 273, 394, 2407, 5621, 565, 2407, 1081, 1957, 682, 273, 394, 2407, 5621, 565, 509, 963, 273, 5885, 2310, 18, 1467, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 31, 277, 27245, 288, 1377, 514, 5885, 461, 273, 261, 780, 13, 5885, 2448, 18, 588, 12, 77, 1769, 1377, 3167, 1499, 1081, 273, 261, 4201, 1499, 13, 5885, 2310, 18, 588, 12, 14588, 461, 1769, 1377, 309, 261, 2603, 480, 446, 597, 1081, 18, 14588, 620, 480, 446, 13, 288, 3639, 309, 261, 1081, 18, 14588, 559, 422, 5245, 18, 5804, 67, 2399, 13, 3639, 288, 1850, 309, 261, 14588, 461, 18, 14963, 12, 87, 3513, 4883, 1499, 3719, 288, 5411, 2025, 966, 18, 458, 2932, 3513, 4883, 3113, 1081, 18, 14588, 620, 1769, 1850, 289, 469, 288, 5411, 18559, 761, 273, 394, 18559, 5621, 5411, 761, 18, 458, 2932, 529, 3113, 5885, 461, 1769, 5411, 761, 18, 458, 2932, 1132, 3113, 1081, 18, 14588, 620, 1769, 5411, 5885, 682, 18, 1289, 12, 1726, 1769, 1850, 289, 3639, 289, 3639, 469, 288, 1850, 309, 12, 2603, 18, 14588, 559, 422, 5245, 18, 9931, 67, 2399, 747, 2398, 1081, 18, 14588, 559, 422, 5245, 18, 5804, 67, 916, 67, 9931, 67, 2399, 13, 288, 225, 368, 305, 1807, 392, 1566, 434, 3588, 618, 5411, 18559, 761, 273, 394, 18559, 5621, 5411, 761, 18, 458, 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, 18559, 336, 4201, 966, 1832, 288, 565, 18559, 2025, 966, 273, 394, 18559, 5621, 565, 2407, 5885, 682, 273, 394, 2407, 5621, 565, 2407, 1081, 1957, 682, 273, 394, 2407, 5621, 565, 509, 963, 273, 5885, 2310, 18, 1467, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 31, 277, 27245, 288, 1377, 514, 5885, 461, 273, 261, 780, 13, 5885, 2448, 18, 588, 12, 77, 1769, 1377, 3167, 1499, 1081, 273, 261, 4201, 1499, 13, 5885, 2310, 18, 588, 12, 14588, 461, 1769, 1377, 309, 261, 2603, 480, 446, 597, 1081, 18, 14588, 620, 480, 446, 13, 288, 3639, 309, 261, 1081, 18, 14588, 559, 422, 5245, 18, 5804, 67, 2399, 13, 3639, 2 ]
s.SendIntegerReverse(4,4); s.SendIntegerReverse(value,4);
s.SendInteger(4,4); s.SendInteger(value,4);
protected void send(postgresql.PG_Stream s) throws IOException { if(type) { // argument is an integer s.SendIntegerReverse(4,4); // size of an integer s.SendIntegerReverse(value,4); // integer value of argument } else { // argument is a byte array s.SendIntegerReverse(bytes.length,4); // size of array s.Send(bytes); } }
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/4e9dd952966b600951f05ab2913b5b97936d42ba/FastpathArg.java/clean/src/interfaces/jdbc/postgresql/fastpath/FastpathArg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1366, 12, 2767, 24330, 18, 18679, 67, 1228, 272, 13, 1216, 1860, 225, 288, 565, 309, 12, 723, 13, 288, 1377, 368, 1237, 353, 392, 3571, 1377, 272, 18, 3826, 4522, 12650, 12, 24, 16, 24, 1769, 202, 759, 963, 434, 392, 3571, 1377, 272, 18, 3826, 4522, 12650, 12, 1132, 16, 24, 1769, 202, 759, 3571, 460, 434, 1237, 565, 289, 469, 288, 1377, 368, 1237, 353, 279, 1160, 526, 1377, 272, 18, 3826, 4522, 12650, 12, 3890, 18, 2469, 16, 24, 1769, 202, 759, 963, 434, 526, 1377, 272, 18, 3826, 12, 3890, 1769, 565, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1366, 12, 2767, 24330, 18, 18679, 67, 1228, 272, 13, 1216, 1860, 225, 288, 565, 309, 12, 723, 13, 288, 1377, 368, 1237, 353, 392, 3571, 1377, 272, 18, 3826, 4522, 12650, 12, 24, 16, 24, 1769, 202, 759, 963, 434, 392, 3571, 1377, 272, 18, 3826, 4522, 12650, 12, 1132, 16, 24, 1769, 202, 759, 3571, 460, 434, 1237, 565, 289, 469, 288, 1377, 368, 1237, 353, 279, 1160, 526, 1377, 272, 18, 3826, 4522, 12650, 12, 3890, 18, 2469, 16, 24, 1769, 202, 759, 963, 434, 526, 1377, 272, 18, 3826, 12, 3890, 1769, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
localPatternChars = value;
localPatternChars = chars;
public void setLocalPatternChars (String value) { localPatternChars = value; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9cc7b60db57475e9252947e71598fd6bdc44e23e/DateFormatSymbols.java/clean/core/src/classpath/java/java/text/DateFormatSymbols.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 27970, 3234, 7803, 261, 780, 460, 13, 225, 288, 565, 1191, 3234, 7803, 273, 5230, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 27970, 3234, 7803, 261, 780, 460, 13, 225, 288, 565, 1191, 3234, 7803, 273, 5230, 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 ]
{ Object result;
{ Object result;
public Object getAdaptor(Class subjectClass) { Object result; if (cache != null) { synchronized (cache) { result = cache.get(subjectClass); if (result != null) return result; } } result = searchForAdaptor(subjectClass); // Record the result in the cache if (cache == null) { synchronized (this) { if (cache == null) cache = new HashMap(CACHE_MAP_SIZE); } // There's a tiny window here if register() is invoked // in another thread. synchronized (cache) { cache.put(subjectClass, result); } } return result; }
4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/c51d8d4dd8d476478f92119536b3819c3e9980a1/Decorator.java/buggy/framework/src/com/primix/tapestry/util/Decorator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 29888, 12, 797, 3221, 797, 13, 565, 288, 3639, 1033, 563, 31, 3639, 309, 261, 2493, 480, 446, 13, 3639, 288, 5411, 3852, 261, 2493, 13, 5411, 288, 7734, 563, 273, 1247, 18, 588, 12, 7857, 797, 1769, 7734, 309, 261, 2088, 480, 446, 13, 10792, 327, 563, 31, 5411, 289, 3639, 289, 3639, 563, 273, 1623, 1290, 29888, 12, 7857, 797, 1769, 3639, 368, 5059, 326, 563, 316, 326, 1247, 3639, 309, 261, 2493, 422, 446, 13, 3639, 288, 5411, 3852, 261, 2211, 13, 5411, 288, 7734, 309, 261, 2493, 422, 446, 13, 10792, 1247, 273, 394, 4317, 12, 8495, 67, 8352, 67, 4574, 1769, 5411, 289, 5411, 368, 6149, 1807, 279, 24405, 2742, 2674, 309, 1744, 1435, 353, 8187, 5411, 368, 316, 4042, 2650, 18, 5411, 3852, 261, 2493, 13, 5411, 288, 7734, 1247, 18, 458, 12, 7857, 797, 16, 563, 1769, 5411, 289, 3639, 289, 3639, 327, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 29888, 12, 797, 3221, 797, 13, 565, 288, 3639, 1033, 563, 31, 3639, 309, 261, 2493, 480, 446, 13, 3639, 288, 5411, 3852, 261, 2493, 13, 5411, 288, 7734, 563, 273, 1247, 18, 588, 12, 7857, 797, 1769, 7734, 309, 261, 2088, 480, 446, 13, 10792, 327, 563, 31, 5411, 289, 3639, 289, 3639, 563, 273, 1623, 1290, 29888, 12, 7857, 797, 1769, 3639, 368, 5059, 326, 563, 316, 326, 1247, 3639, 309, 261, 2493, 422, 446, 13, 3639, 288, 5411, 3852, 261, 2211, 13, 5411, 288, 7734, 309, 261, 2493, 422, 446, 13, 10792, 1247, 273, 394, 4317, 12, 8495, 67, 8352, 67, 4574, 1769, 5411, 289, 5411, 368, 6149, 1807, 279, 24405, 2742, 2 ]
if (!ctxt.getOptions().getIgnoreAnnotations()) { out.printin("org.apache.jasper.runtime.AnnotationProcessor.postConstruct("); out.print(tagHandlerVar); out.println(");"); }
out.printin("org.apache.jasper.runtime.AnnotationHelper.postConstruct("); out.print(VAR_ANNOTATIONPROCESSOR); out.print(", "); out.print(tagHandlerVar); out.println(");");
private void generateCustomDoTag(Node.CustomTag n, TagHandlerInfo handlerInfo, String tagHandlerVar) throws JasperException { Class tagHandlerClass = handlerInfo.getTagHandlerClass(); n.setBeginJavaLine(out.getJavaLine()); out.printin("// "); out.println(n.getQName()); // Declare AT_BEGIN scripting variables declareScriptingVars(n, VariableInfo.AT_BEGIN); saveScriptingVars(n, VariableInfo.AT_BEGIN); String tagHandlerClassName = JspUtil .getCanonicalName(tagHandlerClass); out.printin(tagHandlerClassName); out.print(" "); out.print(tagHandlerVar); out.print(" = "); out.print("new "); out.print(tagHandlerClassName); out.println("();"); // Resource injection if (!ctxt.getOptions().getIgnoreAnnotations()) { out.printin("org.apache.jasper.runtime.AnnotationProcessor.postConstruct("); out.print(tagHandlerVar); out.println(");"); } generateSetters(n, tagHandlerVar, handlerInfo, true); // Set the body if (findJspBody(n) == null) { /* * Encapsulate body of custom tag invocation in JspFragment and * pass it to tag handler's setJspBody(), unless tag body is * empty */ if (!n.hasEmptyBody()) { out.printin(tagHandlerVar); out.print(".setJspBody("); generateJspFragment(n, tagHandlerVar); out.println(");"); } } else { /* * Body of tag is the body of the <jsp:body> element. The visit * method for that element is going to encapsulate that * element's body in a JspFragment and pass it to the tag * handler's setJspBody() */ String tmpTagHandlerVar = simpleTagHandlerVar; simpleTagHandlerVar = tagHandlerVar; boolean tmpIsSimpleTagHandler = isSimpleTagHandler; isSimpleTagHandler = true; visitBody(n); simpleTagHandlerVar = tmpTagHandlerVar; isSimpleTagHandler = tmpIsSimpleTagHandler; } out.printin(tagHandlerVar); out.println(".doTag();"); restoreScriptingVars(n, VariableInfo.AT_BEGIN); // Synchronize AT_BEGIN scripting variables syncScriptingVars(n, VariableInfo.AT_BEGIN); // Declare and synchronize AT_END scripting variables declareScriptingVars(n, VariableInfo.AT_END); syncScriptingVars(n, VariableInfo.AT_END); // Resource injection if (!ctxt.getOptions().getIgnoreAnnotations()) { out.printin("org.apache.jasper.runtime.AnnotationProcessor.preDestroy("); out.print(tagHandlerVar); out.println(");"); } n.setEndJavaLine(out.getJavaLine()); }
26330 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26330/f20929c26714f5535a17bdb94fb5d48df8458153/Generator.java/clean/java/org/apache/jasper/compiler/Generator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 2103, 3802, 3244, 1805, 12, 907, 18, 3802, 1805, 290, 16, 7734, 4034, 1503, 966, 1838, 966, 16, 514, 1047, 1503, 1537, 13, 7734, 1216, 804, 345, 457, 503, 288, 5411, 1659, 1047, 1503, 797, 273, 1838, 966, 18, 588, 1805, 1503, 797, 5621, 5411, 290, 18, 542, 8149, 5852, 1670, 12, 659, 18, 588, 5852, 1670, 10663, 5411, 596, 18, 1188, 267, 2932, 759, 225, 315, 1769, 5411, 596, 18, 8222, 12, 82, 18, 588, 13688, 10663, 5411, 368, 16110, 834, 14464, 67, 16061, 2728, 310, 3152, 5411, 14196, 3651, 310, 5555, 12, 82, 16, 7110, 966, 18, 789, 67, 16061, 1769, 5411, 1923, 3651, 310, 5555, 12, 82, 16, 7110, 966, 18, 789, 67, 16061, 1769, 5411, 514, 1047, 1503, 3834, 273, 19300, 1304, 10792, 263, 588, 15512, 461, 12, 2692, 1503, 797, 1769, 5411, 596, 18, 1188, 267, 12, 2692, 1503, 3834, 1769, 5411, 596, 18, 1188, 2932, 315, 1769, 5411, 596, 18, 1188, 12, 2692, 1503, 1537, 1769, 5411, 596, 18, 1188, 2932, 273, 315, 1769, 5411, 596, 18, 1188, 2932, 2704, 315, 1769, 5411, 596, 18, 1188, 12, 2692, 1503, 3834, 1769, 5411, 596, 18, 8222, 2932, 26994, 1769, 5411, 368, 2591, 10380, 5411, 309, 16051, 20364, 18, 588, 1320, 7675, 588, 3777, 5655, 10756, 288, 7734, 596, 18, 1188, 267, 2932, 3341, 18, 19211, 18, 78, 345, 457, 18, 9448, 18, 3257, 5164, 18, 2767, 7249, 2932, 1769, 7734, 596, 18, 1188, 12, 2692, 1503, 1537, 1769, 7734, 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, 540, 3238, 918, 2103, 3802, 3244, 1805, 12, 907, 18, 3802, 1805, 290, 16, 7734, 4034, 1503, 966, 1838, 966, 16, 514, 1047, 1503, 1537, 13, 7734, 1216, 804, 345, 457, 503, 288, 5411, 1659, 1047, 1503, 797, 273, 1838, 966, 18, 588, 1805, 1503, 797, 5621, 5411, 290, 18, 542, 8149, 5852, 1670, 12, 659, 18, 588, 5852, 1670, 10663, 5411, 596, 18, 1188, 267, 2932, 759, 225, 315, 1769, 5411, 596, 18, 8222, 12, 82, 18, 588, 13688, 10663, 5411, 368, 16110, 834, 14464, 67, 16061, 2728, 310, 3152, 5411, 14196, 3651, 310, 5555, 12, 82, 16, 7110, 966, 18, 789, 67, 16061, 1769, 5411, 1923, 3651, 310, 5555, 12, 82, 16, 7110, 966, 18, 789, 67, 2 ]
"Name or visibility cannot" + " be an expression", st .getTokenIndex());
Translator.localize(msg), st.getTokenIndex());
public void parseOperation(String s, Object op) throws ParseException { MyTokenizer st; boolean hasColon = false; String name = null; String parameterlist = null; String stereotype = null; String token; String type = null; String visibility = null; Vector properties = null; int paramOffset = 0; s = s.trim(); if (s.length() > 0 && NotationUtilityUml.VISIBILITYCHARS.indexOf(s.charAt(0)) >= 0) { visibility = s.substring(0, 1); s = s.substring(1); } try { st = new MyTokenizer(s, " ,\t,<<,>>,:,=,{,},\\,", NotationUtilityUml.operationCustomSep); while (st.hasMoreTokens()) { token = st.nextToken(); if (" ".equals(token) || "\t".equals(token) || ",".equals(token)) { ;// Do nothing } else if ("<<".equals(token)) { if (stereotype != null) { throw new ParseException("Operations cannot have two " + "sets of stereotypes", st.getTokenIndex()); } stereotype = ""; while (true) { token = st.nextToken(); if (">>".equals(token)) { break; } stereotype += token; } } else if ("{".equals(token)) { String propname = ""; String propvalue = null; if (properties == null) { properties = new Vector(); } while (true) { token = st.nextToken(); if (",".equals(token) || "}".equals(token)) { if (propname.length() > 0) { properties.add(propname); properties.add(propvalue); } propname = ""; propvalue = null; if ("}".equals(token)) { break; } } else if ("=".equals(token)) { if (propvalue != null) { throw new ParseException("Property " + propname + " cannot have two values", st .getTokenIndex()); } propvalue = ""; } else if (propvalue == null) { propname += token; } else { propvalue += token; } } if (propname.length() > 0) { properties.add(propname); properties.add(propvalue); } } else if (":".equals(token)) { hasColon = true; } else if ("=".equals(token)) { throw new ParseException("Operations cannot have " + "default values", st.getTokenIndex()); } else if (token.charAt(0) == '(' && !hasColon) { if (parameterlist != null) { throw new ParseException("Operations cannot have two " + "parameter lists", st.getTokenIndex()); } parameterlist = token; } else { if (hasColon) { if (type != null) { throw new ParseException("Operations cannot have " + "two types", st.getTokenIndex()); } if (token.length() > 0 && (token.charAt(0) == '\"' || token.charAt(0) == '\'')) { throw new ParseException("Type cannot be quoted", st.getTokenIndex()); } if (token.length() > 0 && token.charAt(0) == '(') { throw new ParseException("Type cannot be an " + "expression", st.getTokenIndex()); } type = token; } else { if (name != null && visibility != null) { throw new ParseException("Extra text in Operation", st.getTokenIndex()); } if (token.length() > 0 && (token.charAt(0) == '\"' || token.charAt(0) == '\'')) { throw new ParseException( "Name or visibility cannot" + " be quoted", st.getTokenIndex()); } if (token.length() > 0 && token.charAt(0) == '(') { throw new ParseException( "Name or visibility cannot" + " be an expression", st .getTokenIndex()); } if (name == null && visibility == null && token.length() > 1 && NotationUtilityUml.VISIBILITYCHARS.indexOf( token.charAt(0)) >= 0) { visibility = token.substring(0, 1); token = token.substring(1); } if (name != null) { visibility = name; name = token; } else { name = token; } } } } } catch (NoSuchElementException nsee) { throw new ParseException("Unexpected end of operation", s.length()); } catch (ParseException pre) { throw pre; } if (parameterlist != null) { // parameterlist is guaranteed to contain at least "(" if (parameterlist.charAt(parameterlist.length() - 1) != ')') { throw new ParseException("The parameter list was incomplete", paramOffset + parameterlist.length() - 1); } paramOffset++; parameterlist = parameterlist.substring(1, parameterlist.length() - 1); NotationUtilityUml.parseParamList(op, parameterlist, paramOffset); } if (visibility != null) { Model.getCoreHelper().setVisibility(op, NotationUtilityUml.getVisibility(visibility.trim())); } if (name != null) { Model.getCoreHelper().setName(op, name.trim()); } else if (Model.getFacade().getName(op) == null || "".equals(Model.getFacade().getName(op))) { Model.getCoreHelper().setName(op, "anonymous"); } if (type != null) { Object ow = Model.getFacade().getOwner(op); Object ns = null; if (ow != null && Model.getFacade().getNamespace(ow) != null) { ns = Model.getFacade().getNamespace(ow); } else { ns = Model.getFacade().getModel(op); } Object mtype = NotationUtilityUml.getType(type.trim(), ns); setReturnParameter(op, mtype); } if (properties != null) { NotationUtilityUml.setProperties(op, properties, NotationUtilityUml.operationSpecialStrings); } NotationUtilityUml.dealWithStereotypes(op, stereotype, true); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/3a348b60807c47d91728708433b2fa7fd9dec972/OperationNotationUml.java/buggy/src_new/org/argouml/uml/notation/uml/OperationNotationUml.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 2988, 12, 780, 272, 16, 1033, 1061, 13, 1216, 10616, 288, 3639, 8005, 10524, 384, 31, 3639, 1250, 711, 19636, 273, 629, 31, 3639, 514, 508, 273, 446, 31, 3639, 514, 1569, 1098, 273, 446, 31, 3639, 514, 22890, 10570, 273, 446, 31, 3639, 514, 1147, 31, 3639, 514, 618, 273, 446, 31, 3639, 514, 9478, 273, 446, 31, 3639, 5589, 1790, 273, 446, 31, 3639, 509, 579, 2335, 273, 374, 31, 3639, 272, 273, 272, 18, 5290, 5621, 3639, 309, 261, 87, 18, 2469, 1435, 405, 374, 1171, 597, 2288, 367, 6497, 57, 781, 18, 4136, 30310, 21666, 18, 31806, 12, 87, 18, 3001, 861, 12, 20, 3719, 1545, 374, 13, 288, 5411, 9478, 273, 272, 18, 28023, 12, 20, 16, 404, 1769, 5411, 272, 273, 272, 18, 28023, 12, 21, 1769, 3639, 289, 3639, 775, 288, 5411, 384, 273, 394, 8005, 10524, 12, 87, 16, 315, 269, 64, 88, 16, 17685, 16, 9778, 16, 30, 16, 33, 16, 95, 16, 5779, 1695, 16, 3113, 10792, 2288, 367, 6497, 57, 781, 18, 7624, 3802, 5097, 1769, 5411, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 7734, 1147, 273, 384, 18, 4285, 1345, 5621, 7734, 309, 7566, 3552, 14963, 12, 2316, 13, 747, 1548, 88, 9654, 14963, 12, 2316, 13, 13491, 747, 5753, 18, 14963, 12, 2316, 3719, 288, 10792, 274, 759, 2256, 5083, 7734, 289, 469, 309, 7566, 17685, 9654, 14963, 12, 2316, 3719, 288, 10792, 309, 261, 334, 822, 10570, 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, 1109, 2988, 12, 780, 272, 16, 1033, 1061, 13, 1216, 10616, 288, 3639, 8005, 10524, 384, 31, 3639, 1250, 711, 19636, 273, 629, 31, 3639, 514, 508, 273, 446, 31, 3639, 514, 1569, 1098, 273, 446, 31, 3639, 514, 22890, 10570, 273, 446, 31, 3639, 514, 1147, 31, 3639, 514, 618, 273, 446, 31, 3639, 514, 9478, 273, 446, 31, 3639, 5589, 1790, 273, 446, 31, 3639, 509, 579, 2335, 273, 374, 31, 3639, 272, 273, 272, 18, 5290, 5621, 3639, 309, 261, 87, 18, 2469, 1435, 405, 374, 1171, 597, 2288, 367, 6497, 57, 781, 18, 4136, 30310, 21666, 18, 31806, 12, 87, 18, 3001, 861, 12, 20, 3719, 1545, 374, 13, 288, 5411, 9478, 2 ]
for (int i = 0; i < allNames.length; i++) { dumpComponentAsGDL(out, allNames[i]);
for (String componentName : allNames) { dumpComponentAsGDL(out, componentName);
public void showConfigAsGDL(String path) throws IOException { PrintStream out = new PrintStream(new FileOutputStream(path)); dumpGDLHeader(out); String[] allNames = getInstanceNames(Object.class); for (int i = 0; i < allNames.length; i++) { dumpComponentAsGDL(out, allNames[i]); } dumpGDLFooter(out); out.close(); }
8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/1e253ff9b370c4f396f6985c411d9757412bd5bc/ConfigurationManager.java/buggy/sphinx4/src/sphinx4/edu/cmu/sphinx/util/props/ConfigurationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 809, 1463, 43, 8914, 12, 780, 589, 13, 1216, 1860, 288, 3639, 21677, 596, 273, 394, 21677, 12, 2704, 12942, 12, 803, 10019, 3639, 4657, 43, 8914, 1864, 12, 659, 1769, 3639, 514, 8526, 777, 1557, 273, 3694, 1557, 12, 921, 18, 1106, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 777, 1557, 18, 2469, 31, 277, 27245, 288, 5411, 4657, 1841, 1463, 43, 8914, 12, 659, 16, 777, 1557, 63, 77, 19226, 3639, 289, 3639, 4657, 43, 8914, 13787, 12, 659, 1769, 3639, 596, 18, 4412, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 918, 2405, 809, 1463, 43, 8914, 12, 780, 589, 13, 1216, 1860, 288, 3639, 21677, 596, 273, 394, 21677, 12, 2704, 12942, 12, 803, 10019, 3639, 4657, 43, 8914, 1864, 12, 659, 1769, 3639, 514, 8526, 777, 1557, 273, 3694, 1557, 12, 921, 18, 1106, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 777, 1557, 18, 2469, 31, 277, 27245, 288, 5411, 4657, 1841, 1463, 43, 8914, 12, 659, 16, 777, 1557, 63, 77, 19226, 3639, 289, 3639, 4657, 43, 8914, 13787, 12, 659, 1769, 3639, 596, 18, 4412, 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 ]
msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DataPackage.ACTION__VALUE, null, msgs);
msgs = ((InternalEObject) newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DataPackage.ACTION__VALUE, null, msgs);
public void setValue(ActionValue newValue) { if (newValue != value) { NotificationChain msgs = null; if (value != null) msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DataPackage.ACTION__VALUE, null, msgs); if (newValue != null) msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DataPackage.ACTION__VALUE, null, msgs); msgs = basicSetValue(newValue, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DataPackage.ACTION__VALUE, newValue, newValue)); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ActionImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/ActionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5524, 12, 1803, 620, 6129, 13, 565, 288, 3639, 309, 261, 2704, 620, 480, 460, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 1132, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 1132, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 12249, 972, 4051, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 620, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 6129, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 12249, 972, 4051, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 620, 12, 2704, 620, 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, 12249, 972, 4051, 16, 6129, 16, 6129, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5524, 12, 1803, 620, 6129, 13, 565, 288, 3639, 309, 261, 2704, 620, 480, 460, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 1132, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 1132, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 12249, 972, 4051, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 620, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 6129, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 1910, 2261, 18, 12249, 972, 4051, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 620, 12, 2704, 620, 2 ]
public imakante.sales.casaOp getInternalObject() {
public imakante.sales.casaOpAdvances getInternalObject() {
public imakante.sales.casaOp getInternalObject() { return internalObject; }
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/54c14899c98eb3a723c8eabaa469f7fe32062470/FrmCaseOpAdvances.java/buggy/src/imakante/sales/FrmCaseOpAdvances.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 709, 581, 7974, 18, 87, 5408, 18, 6349, 69, 3817, 28915, 6872, 16918, 921, 1435, 288, 3639, 327, 2713, 921, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 709, 581, 7974, 18, 87, 5408, 18, 6349, 69, 3817, 28915, 6872, 16918, 921, 1435, 288, 3639, 327, 2713, 921, 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 ]
assertEquals("/WEB-INF/grails-app/views/layouts/test.gsp", d.getPage());
assertEquals("/WEB-INF/grails-app/views/layouts/test.gsp", d.getURIPath());
public void testGetDecoratorHttpServletRequestPage() { MockHttpServletRequest request = new MockHttpServletRequest("GET", "orders/list"); GrailsLayoutDecoratorMapper m = new GrailsLayoutDecoratorMapper(); FastPageParser parser = new FastPageParser(); String html = "<html><head><title>Test title</title><meta name=\"layout\" content=\"test\"></meta></head><body>here is the body</body></html>"; Page page = parser.parse( new StringReader(html) ); Decorator d = m.getDecorator(request, page); assertEquals("/WEB-INF/grails-app/views/layouts/test.gsp", d.getPage()); assertEquals("test", d.getName()); }
55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/cf6ea0865f1e5dcdfccf88e7313e534dbd6d09b7/GrailsLayoutDecoratorMapperTests.java/clean/test/web/org/codehaus/groovy/grails/web/sitemesh/GrailsLayoutDecoratorMapperTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 10361, 2940, 18572, 1964, 1435, 288, 202, 202, 9865, 2940, 18572, 590, 273, 394, 7867, 2940, 18572, 2932, 3264, 3113, 315, 9972, 19, 1098, 8863, 202, 202, 14571, 14573, 3744, 10361, 4597, 312, 273, 394, 10812, 14573, 3744, 10361, 4597, 5621, 202, 202, 12305, 1964, 2678, 2082, 273, 394, 9545, 1964, 2678, 5621, 202, 202, 780, 1729, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 4709, 2077, 1757, 2649, 4438, 3901, 508, 5189, 6741, 2412, 913, 5189, 3813, 2412, 4695, 3901, 4695, 1978, 4438, 3432, 34, 14852, 353, 326, 1417, 1757, 3432, 4695, 2620, 2984, 31, 25083, 202, 1964, 1363, 273, 2082, 18, 2670, 12, 394, 26227, 12, 2620, 13, 11272, 3196, 202, 10361, 302, 273, 312, 18, 588, 10361, 12, 2293, 16, 1363, 1769, 9506, 202, 11231, 8867, 2932, 19, 14778, 17, 19212, 19, 2752, 14573, 17, 2910, 19, 7061, 19, 28283, 19, 3813, 18, 564, 84, 3113, 302, 18, 588, 1964, 10663, 202, 202, 11231, 8867, 2932, 3813, 3113, 302, 18, 17994, 10663, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 967, 10361, 2940, 18572, 1964, 1435, 288, 202, 202, 9865, 2940, 18572, 590, 273, 394, 7867, 2940, 18572, 2932, 3264, 3113, 315, 9972, 19, 1098, 8863, 202, 202, 14571, 14573, 3744, 10361, 4597, 312, 273, 394, 10812, 14573, 3744, 10361, 4597, 5621, 202, 202, 12305, 1964, 2678, 2082, 273, 394, 9545, 1964, 2678, 5621, 202, 202, 780, 1729, 273, 3532, 2620, 4438, 1978, 4438, 2649, 34, 4709, 2077, 1757, 2649, 4438, 3901, 508, 5189, 6741, 2412, 913, 5189, 3813, 2412, 4695, 3901, 4695, 1978, 4438, 3432, 34, 14852, 353, 326, 1417, 1757, 3432, 4695, 2620, 2984, 31, 25083, 202, 1964, 1363, 273, 2082, 18, 2670, 12, 394, 26227, 12, 2620, 13, 11272, 3196, 202, 2 ]
if (!determineShouldBeAtLeastGrayChecked(treeElement)) checkedStateStore.remove(treeElement);
if (!determineShouldBeAtLeastGrayChecked(treeElement)) { checkedStateStore.remove(treeElement); }
protected void ungrayCheckHierarchy(Object treeElement) { if (!determineShouldBeAtLeastGrayChecked(treeElement)) checkedStateStore.remove(treeElement); Object parent = treeContentProvider.getParent(treeElement); if (parent != null) ungrayCheckHierarchy(parent); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ResourceTreeAndListGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceTreeAndListGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 640, 22440, 1564, 12074, 12, 921, 2151, 1046, 13, 288, 3639, 309, 16051, 24661, 14309, 1919, 25070, 23521, 11454, 12, 3413, 1046, 3719, 5411, 5950, 1119, 2257, 18, 4479, 12, 3413, 1046, 1769, 3639, 1033, 982, 273, 2151, 1350, 2249, 18, 588, 3054, 12, 3413, 1046, 1769, 3639, 309, 261, 2938, 480, 446, 13, 5411, 640, 22440, 1564, 12074, 12, 2938, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 640, 22440, 1564, 12074, 12, 921, 2151, 1046, 13, 288, 3639, 309, 16051, 24661, 14309, 1919, 25070, 23521, 11454, 12, 3413, 1046, 3719, 5411, 5950, 1119, 2257, 18, 4479, 12, 3413, 1046, 1769, 3639, 1033, 982, 273, 2151, 1350, 2249, 18, 588, 3054, 12, 3413, 1046, 1769, 3639, 309, 261, 2938, 480, 446, 13, 5411, 640, 22440, 1564, 12074, 12, 2938, 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 ]
throw new PSQLException(GT.tr("This statement has been closed."));
throw new PSQLException(GT.tr("This statement has been closed."), PSQLState.OBJECT_NOT_IN_STATE);
protected void checkClosed() throws SQLException { if (isClosed) throw new PSQLException(GT.tr("This statement has been closed.")); }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/2d0245f6946ddb872b4191c2f65f0e490bf5e549/AbstractJdbc2Statement.java/buggy/org/postgresql/jdbc2/AbstractJdbc2Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 7395, 1435, 1216, 6483, 565, 288, 3639, 309, 261, 291, 7395, 13, 5411, 604, 394, 453, 23116, 12, 16506, 18, 313, 2932, 2503, 3021, 711, 2118, 4375, 1199, 3631, 453, 3997, 1119, 18, 9422, 67, 4400, 67, 706, 67, 7998, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 866, 7395, 1435, 1216, 6483, 565, 288, 3639, 309, 261, 291, 7395, 13, 5411, 604, 394, 453, 23116, 12, 16506, 18, 313, 2932, 2503, 3021, 711, 2118, 4375, 1199, 3631, 453, 3997, 1119, 18, 9422, 67, 4400, 67, 706, 67, 7998, 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 ]
if (step.getMpUsed() > (entity.getOriginalJumpMP())) {
if (step.getMpUsed() > cachedMaxMPExpenditure) {
private void checkExtremeGravityMovement(Entity entity, MoveStep step, Coords curPos) { PilotingRollData rollTarget; if (game.getOptions().floatOption("gravity") != 1) { if (entity instanceof Mech) { if ((step.getMovementType() == Entity.MOVE_WALK) || (step.getMovementType() == Entity.MOVE_RUN)) { if (step.getMpUsed() > entity.getRunMP(false)) { // We moved too fast, let's make PSR to see if we get damage game.addExtremeGravityPSR(entity.checkMovedTooFast(step)); } } else if (step.getMovementType() == Entity.MOVE_JUMP) { if (step.getMpUsed() > (entity.getOriginalJumpMP())) { // We jumped too far, let's make PSR to see if we get damage game.addExtremeGravityPSR(entity.checkMovedTooFast(step)); } else if (game.getOptions().floatOption("gravity") > 1) { // jumping in high g is bad for your legs rollTarget = entity.getBasePilotingRoll(); rollTarget.append(new PilotingRollData(entity.getId(), 0, "jumped in high gravity")); game.addExtremeGravityPSR(rollTarget); } } } else if (entity instanceof Tank) { if (step.getMovementType() == Entity.MOVE_WALK || step.getMovementType() == Entity.MOVE_RUN) { // For Tanks, we need to check if the tank had // more MPs because it was moving along a road. if (step.getMpUsed() > entity.getRunMP(false) && !step.isOnlyPavement()) { game.addExtremeGravityPSR(entity.checkMovedTooFast(step)); } else if (step.getMpUsed() > entity.getRunMP(false) + 1) { // If the tank was moving on a road, he got a +1 bonus. // N.B. The Ask Precentor Martial forum said that a 4/6 // tank on a road can move 5/7, **not** 5/8. game.addExtremeGravityPSR(entity.checkMovedTooFast(step)); } // End tank-has-road-bonus } } } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/59ec2b4702cce81dbe744c0414e31a71d16f5e25/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 2482, 2764, 73, 14571, 16438, 49, 26140, 12, 1943, 1522, 16, 9933, 4160, 2235, 16, 10320, 87, 662, 1616, 13, 288, 3639, 453, 330, 17128, 24194, 751, 5824, 2326, 31, 3639, 309, 261, 13957, 18, 588, 1320, 7675, 5659, 1895, 2932, 2752, 16438, 7923, 480, 404, 13, 288, 5411, 309, 261, 1096, 1276, 7499, 343, 13, 288, 7734, 309, 14015, 4119, 18, 588, 49, 26140, 559, 1435, 422, 3887, 18, 16537, 67, 59, 1013, 47, 13, 747, 261, 4119, 18, 588, 49, 26140, 559, 1435, 422, 3887, 18, 16537, 67, 15238, 3719, 288, 10792, 309, 261, 4119, 18, 588, 49, 84, 6668, 1435, 405, 1522, 18, 588, 1997, 4566, 12, 5743, 3719, 288, 13491, 368, 1660, 10456, 4885, 4797, 16, 2231, 1807, 1221, 30999, 358, 2621, 309, 732, 336, 302, 301, 410, 13491, 7920, 18, 1289, 2482, 2764, 73, 14571, 16438, 5857, 54, 12, 1096, 18, 1893, 25317, 10703, 12305, 12, 4119, 10019, 10792, 289, 7734, 289, 469, 309, 261, 4119, 18, 588, 49, 26140, 559, 1435, 422, 3887, 18, 16537, 67, 46, 23942, 13, 288, 10792, 309, 261, 4119, 18, 588, 49, 84, 6668, 1435, 405, 3472, 2747, 4566, 424, 1302, 305, 594, 13, 288, 13491, 368, 1660, 525, 379, 1845, 4885, 10247, 16, 2231, 1807, 1221, 30999, 358, 2621, 309, 732, 336, 302, 301, 410, 13491, 7920, 18, 1289, 2482, 2764, 73, 14571, 16438, 5857, 54, 12, 1096, 18, 1893, 25317, 10703, 12305, 12, 4119, 10019, 10792, 289, 469, 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, 3238, 918, 866, 2482, 2764, 73, 14571, 16438, 49, 26140, 12, 1943, 1522, 16, 9933, 4160, 2235, 16, 10320, 87, 662, 1616, 13, 288, 3639, 453, 330, 17128, 24194, 751, 5824, 2326, 31, 3639, 309, 261, 13957, 18, 588, 1320, 7675, 5659, 1895, 2932, 2752, 16438, 7923, 480, 404, 13, 288, 5411, 309, 261, 1096, 1276, 7499, 343, 13, 288, 7734, 309, 14015, 4119, 18, 588, 49, 26140, 559, 1435, 422, 3887, 18, 16537, 67, 59, 1013, 47, 13, 747, 261, 4119, 18, 588, 49, 26140, 559, 1435, 422, 3887, 18, 16537, 67, 15238, 3719, 288, 10792, 309, 261, 4119, 18, 588, 49, 84, 6668, 1435, 405, 1522, 18, 588, 1997, 4566, 12, 5743, 3719, 288, 13491, 368, 2 ]
assertSame( tuple1, map.get( f1 ) );
assertEquals( 2, table.size() ); assertTrue( table.contains( f1 ) );
public void testAssertObjectWithMemory() throws Exception { final PropagationContext context = new PropagationContextImpl( 0, PropagationContext.ASSERTION, null, null ); final ReteooWorkingMemory workingMemory = new ReteooWorkingMemory( 1, (ReteooRuleBase) RuleBaseFactory.newRuleBase() ); final LeftInputAdapterNode liaNode = new LeftInputAdapterNode( 1, new MockObjectSource( 15 ) ); final MockTupleSink sink = new MockTupleSink(); liaNode.addTupleSink( sink ); //force liaNode to have memory final Field field = BaseNode.class.getDeclaredField( "hasMemory" ); field.setAccessible( true ); field.set( liaNode, new Boolean( true ) ); final Object string1 = "cheese"; // assert object final DefaultFactHandle f0 = (DefaultFactHandle) workingMemory.assertObject( string1 ); liaNode.assertObject( f0, context, workingMemory ); final List asserted = sink.getAsserted(); assertLength( 1, asserted ); final Tuple tuple0 = (Tuple) ((Object[]) asserted.get( 0 ))[0]; assertSame( string1, workingMemory.getObject( tuple0.get( 0 ) ) ); // check node memory final ObjectHashMap map = (ObjectHashMap) workingMemory.getNodeMemory( liaNode ); assertSame( tuple0, map.get( f0 ) ); // check memory works with multiple handles final DefaultFactHandle f1 = (DefaultFactHandle) workingMemory.assertObject( "test1" ); liaNode.assertObject( f1, context, workingMemory ); assertLength( 2, asserted ); final Tuple tuple1 = (Tuple) ((Object[]) asserted.get( 1 ))[0]; assertSame( tuple1, map.get( f1 ) ); assertNotSame( tuple0, tuple1 ); }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/ab61b5def7f0eff0ab9d0824289ac46bc6ac19cf/LeftInputAdapterNodeTest.java/clean/drools-core/src/test/java/org/drools/reteoo/LeftInputAdapterNodeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8213, 921, 1190, 6031, 1435, 1216, 1185, 288, 3639, 727, 1186, 9095, 367, 1042, 819, 273, 394, 1186, 9095, 367, 1042, 2828, 12, 374, 16, 28524, 4202, 1186, 9095, 367, 1042, 18, 8423, 11539, 1146, 16, 28524, 4202, 446, 16, 28524, 4202, 446, 11272, 3639, 727, 17100, 4361, 83, 14836, 6031, 5960, 6031, 273, 394, 17100, 4361, 83, 14836, 6031, 12, 404, 16, 28524, 6647, 261, 7055, 4361, 83, 2175, 2171, 13, 6781, 2171, 1733, 18, 2704, 2175, 2171, 1435, 11272, 3639, 727, 13338, 1210, 4216, 907, 328, 1155, 907, 273, 394, 13338, 1210, 4216, 907, 12, 404, 16, 28524, 4202, 394, 7867, 921, 1830, 12, 4711, 262, 11272, 3639, 727, 7867, 9038, 11326, 9049, 273, 394, 7867, 9038, 11326, 5621, 3639, 328, 1155, 907, 18, 1289, 9038, 11326, 12, 9049, 11272, 3639, 368, 5734, 328, 1155, 907, 358, 1240, 3778, 3639, 727, 2286, 652, 273, 3360, 907, 18, 1106, 18, 588, 18888, 974, 12, 315, 5332, 6031, 6, 11272, 3639, 652, 18, 542, 10451, 12, 638, 11272, 3639, 652, 18, 542, 12, 328, 1155, 907, 16, 10402, 394, 3411, 12, 638, 262, 11272, 3639, 727, 1033, 533, 21, 273, 315, 18706, 3392, 14432, 3639, 368, 1815, 733, 3639, 727, 2989, 9766, 3259, 284, 20, 273, 261, 1868, 9766, 3259, 13, 5960, 6031, 18, 11231, 921, 12, 533, 21, 11272, 3639, 328, 1155, 907, 18, 11231, 921, 12, 284, 20, 16, 17311, 819, 16, 17311, 5960, 6031, 11272, 3639, 727, 987, 1815, 329, 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, 1842, 8213, 921, 1190, 6031, 1435, 1216, 1185, 288, 3639, 727, 1186, 9095, 367, 1042, 819, 273, 394, 1186, 9095, 367, 1042, 2828, 12, 374, 16, 28524, 4202, 1186, 9095, 367, 1042, 18, 8423, 11539, 1146, 16, 28524, 4202, 446, 16, 28524, 4202, 446, 11272, 3639, 727, 17100, 4361, 83, 14836, 6031, 5960, 6031, 273, 394, 17100, 4361, 83, 14836, 6031, 12, 404, 16, 28524, 6647, 261, 7055, 4361, 83, 2175, 2171, 13, 6781, 2171, 1733, 18, 2704, 2175, 2171, 1435, 11272, 3639, 727, 13338, 1210, 4216, 907, 328, 1155, 907, 273, 394, 13338, 1210, 4216, 907, 12, 404, 16, 28524, 4202, 394, 7867, 921, 1830, 12, 4711, 262, 11272, 3639, 727, 7867, 9038, 11326, 9049, 2 ]
if(maxValue.compareTo(propertyValue) > 0) {
if((propertyValue == null) || (maxValue.compareTo(propertyValue) < 0)) {
protected void processValidate(Object target, Object propertyValue, Errors errors) { if(maxValue.compareTo(propertyValue) > 0) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, maxValue }; super.rejectValue(errors,MAX_CONSTRAINT + EXCEEDED_SUFFIX,args,getDefaultMessage(DEFAULT_INVALID_MAX_MESSAGE_CODE, args)); } }
55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1207, 4270, 12, 921, 1018, 16, 1033, 12337, 16, 9372, 1334, 13, 288, 5411, 309, 12443, 4468, 620, 422, 446, 13, 747, 261, 1896, 620, 18, 9877, 774, 12, 4468, 620, 13, 411, 374, 3719, 288, 7734, 1033, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 18666, 225, 289, 31, 7734, 2240, 18, 24163, 620, 12, 4324, 16, 6694, 67, 15199, 397, 5675, 26031, 67, 14964, 16, 1968, 16, 588, 1868, 1079, 12, 5280, 67, 9347, 67, 6694, 67, 8723, 67, 5572, 16, 833, 10019, 5411, 289, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 918, 1207, 4270, 12, 921, 1018, 16, 1033, 12337, 16, 9372, 1334, 13, 288, 5411, 309, 12443, 4468, 620, 422, 446, 13, 747, 261, 1896, 620, 18, 9877, 774, 12, 4468, 620, 13, 411, 374, 3719, 288, 7734, 1033, 8526, 833, 273, 394, 1033, 8526, 288, 4954, 13073, 16, 4954, 3494, 2093, 797, 16, 12337, 16, 18666, 225, 289, 31, 7734, 2240, 18, 24163, 620, 12, 4324, 16, 6694, 67, 15199, 397, 5675, 26031, 67, 14964, 16, 1968, 16, 588, 1868, 1079, 12, 5280, 67, 9347, 67, 6694, 67, 8723, 67, 5572, 16, 833, 10019, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return Collections.singletonMap(Constants.SITEMAP_PARAMETERS_LOCATION, config.getLocation());
return new SitemapParameters.ExtendedHashMap(config);
protected Map getParameters(Configuration config) throws ConfigurationException { Configuration[] children = config.getChildren("parameter"); if (children.length == 0) { // Parameters are only the component's location return Collections.singletonMap(Constants.SITEMAP_PARAMETERS_LOCATION, config.getLocation()); } Map params = new HashMap(children.length+1); // Add the location information as a parameter params.put(Constants.SITEMAP_PARAMETERS_LOCATION, config.getLocation()); for (int i = 0; i < children.length; i++) { Configuration child = children[i]; if (true) { // FIXME : check namespace String name = child.getAttribute("name"); String value = child.getAttribute("value"); try { params.put( VariableResolverFactory.getResolver(name, this.manager), VariableResolverFactory.getResolver(value, this.manager)); } catch(PatternException pe) { String msg = "Invalid pattern '" + value + " at " + child.getLocation(); throw new ConfigurationException(msg, pe); } } } return params; }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/4ca99feecc6f70328199e642069e628d9f201a2f/AbstractProcessingNodeBuilder.java/buggy/src/java/org/apache/cocoon/components/treeprocessor/AbstractProcessingNodeBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1635, 10028, 12, 1750, 642, 13, 1216, 22196, 288, 3639, 4659, 8526, 2325, 273, 642, 18, 588, 4212, 2932, 6775, 8863, 3639, 309, 261, 5906, 18, 2469, 422, 374, 13, 288, 5411, 368, 7012, 854, 1338, 326, 1794, 1807, 2117, 2398, 327, 394, 348, 8848, 2402, 18, 11456, 8658, 12, 1425, 1769, 3639, 289, 3639, 1635, 859, 273, 394, 4317, 12, 5906, 18, 2469, 15, 21, 1769, 3639, 368, 1436, 326, 2117, 1779, 487, 279, 1569, 3639, 859, 18, 458, 12, 2918, 18, 55, 12674, 2203, 67, 20103, 67, 15277, 16, 642, 18, 588, 2735, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 5411, 4659, 1151, 273, 2325, 63, 77, 15533, 5411, 309, 261, 3767, 13, 288, 368, 9852, 294, 866, 1981, 7734, 514, 508, 273, 1151, 18, 588, 1499, 2932, 529, 8863, 7734, 514, 460, 273, 1151, 18, 588, 1499, 2932, 1132, 8863, 7734, 775, 288, 10792, 859, 18, 458, 12, 13491, 7110, 4301, 1733, 18, 588, 4301, 12, 529, 16, 333, 18, 4181, 3631, 13491, 7110, 4301, 1733, 18, 588, 4301, 12, 1132, 16, 333, 18, 4181, 10019, 7734, 289, 1044, 12, 3234, 503, 2804, 13, 288, 10792, 514, 1234, 273, 315, 1941, 1936, 2119, 397, 460, 397, 315, 622, 315, 397, 1151, 18, 588, 2735, 5621, 10792, 604, 394, 22196, 12, 3576, 16, 2804, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 859, 31, 565, 289, 2, 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, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1635, 10028, 12, 1750, 642, 13, 1216, 22196, 288, 3639, 4659, 8526, 2325, 273, 642, 18, 588, 4212, 2932, 6775, 8863, 3639, 309, 261, 5906, 18, 2469, 422, 374, 13, 288, 5411, 368, 7012, 854, 1338, 326, 1794, 1807, 2117, 2398, 327, 394, 348, 8848, 2402, 18, 11456, 8658, 12, 1425, 1769, 3639, 289, 3639, 1635, 859, 273, 394, 4317, 12, 5906, 18, 2469, 15, 21, 1769, 3639, 368, 1436, 326, 2117, 1779, 487, 279, 1569, 3639, 859, 18, 458, 12, 2918, 18, 55, 12674, 2203, 67, 20103, 67, 15277, 16, 642, 18, 588, 2735, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 5411, 4659, 1151, 273, 2 ]
codeStream.incrStackSize(1);
codeStream.pushOnStack(scope.getJavaLangThrowable());
public void generateCode(BlockScope currentScope, CodeStream codeStream) { if ((bits & IsReachable) == 0) { return; } // in case the labels needs to be reinitialized // when the code generation is restarted in wide mode if (this.anyExceptionLabelsCount > 0) { this.anyExceptionLabels = NO_EXCEPTION_HANDLER; this.anyExceptionLabelsCount = 0; } int pc = codeStream.position; final int NO_FINALLY = 0; // no finally block final int FINALLY_SUBROUTINE = 1; // finally is generated as a subroutine (using jsr/ret bytecodes) final int FINALLY_DOES_NOT_COMPLETE = 2; // non returning finally is optimized with only one instance of finally block final int FINALLY_MUST_BE_INLINED = 3; // finally block must be inlined since cannot use jsr/ret bytecodes >1.5 int finallyMode; if (subRoutineStartLabel == null) { finallyMode = NO_FINALLY; } else { if (this.isSubRoutineEscaping) { finallyMode = FINALLY_DOES_NOT_COMPLETE; } else if (scope.compilerOptions().inlineJsrBytecode) { finallyMode = FINALLY_MUST_BE_INLINED; } else { finallyMode = FINALLY_SUBROUTINE; } } boolean requiresNaturalExit = false; // preparing exception labels int maxCatches; ExceptionLabel[] exceptionLabels = new ExceptionLabel[maxCatches = catchArguments == null ? 0 : catchArguments.length]; for (int i = 0; i < maxCatches; i++) { exceptionLabels[i] = new ExceptionLabel(codeStream, catchArguments[i].binding.type); } if (subRoutineStartLabel != null) { subRoutineStartLabel.initialize(codeStream); this.enterAnyExceptionHandler(codeStream); } // generate the try block tryBlock.generateCode(scope, codeStream); boolean tryBlockHasSomeCode = codeStream.position != pc; // flag telling if some bytecodes were issued inside the try block // place end positions of user-defined exception labels if (tryBlockHasSomeCode) { // natural exit may require subroutine invocation (if finally != null) Label naturalExitLabel = new Label(codeStream); if (!tryBlockExit) { int position = codeStream.position; switch(finallyMode) { case FINALLY_SUBROUTINE : case FINALLY_MUST_BE_INLINED : requiresNaturalExit = true; // fall through case NO_FINALLY : codeStream.goto_(naturalExitLabel); break; case FINALLY_DOES_NOT_COMPLETE : codeStream.goto_(subRoutineStartLabel); break; } codeStream.updateLastRecordedEndPC(tryBlock.scope, position); //goto is tagged as part of the try block } for (int i = 0; i < maxCatches; i++) { exceptionLabels[i].placeEnd(); } /* generate sequence of handler, all starting by storing the TOS (exception thrown) into their own catch variables, the one specified in the source that must denote the handled exception. */ if (catchArguments != null) { for (int i = 0; i < maxCatches; i++) { // May loose some local variable initializations : affecting the local variable attributes if (preTryInitStateIndex != -1) { codeStream.removeNotDefinitelyAssignedVariables(currentScope, preTryInitStateIndex); } exceptionLabels[i].place(); codeStream.incrStackSize(1); // optimizing the case where the exception variable is not actually used LocalVariableBinding catchVar; int varPC = codeStream.position; if ((catchVar = catchArguments[i].binding).resolvedPosition != -1) { codeStream.store(catchVar, false); catchVar.recordInitializationStartPC(codeStream.position); codeStream.addVisibleLocalVariable(catchVar); } else { codeStream.pop(); } codeStream.recordPositionsFrom(varPC, catchArguments[i].sourceStart); // Keep track of the pcs at diverging point for computing the local attribute // since not passing the catchScope, the block generation will exitUserScope(catchScope) catchBlocks[i].generateCode(scope, codeStream); if (!catchExits[i]) { switch(finallyMode) { case FINALLY_SUBROUTINE : case FINALLY_MUST_BE_INLINED : requiresNaturalExit = true; // fall through case NO_FINALLY : codeStream.goto_(naturalExitLabel); break; case FINALLY_DOES_NOT_COMPLETE : codeStream.goto_(subRoutineStartLabel); break; } } } } this.exitAnyExceptionHandler(); // extra handler for trailing natural exit (will be fixed up later on when natural exit is generated below) ExceptionLabel naturalExitExceptionHandler = finallyMode == FINALLY_SUBROUTINE && requiresNaturalExit ? new ExceptionLabel(codeStream, null) : null; // addition of a special handler so as to ensure that any uncaught exception (or exception thrown // inside catch blocks) will run the finally block int finallySequenceStartPC = codeStream.position; if (subRoutineStartLabel != null) { this.placeAllAnyExceptionHandlers(); if (naturalExitExceptionHandler != null) naturalExitExceptionHandler.place(); if (preTryInitStateIndex != -1) { // reset initialization state, as for a normal catch block codeStream.removeNotDefinitelyAssignedVariables(currentScope, preTryInitStateIndex); } codeStream.incrStackSize(1); switch(finallyMode) { case FINALLY_SUBROUTINE : codeStream.store(anyExceptionVariable, false); codeStream.jsr(subRoutineStartLabel); codeStream.recordPositionsFrom(finallySequenceStartPC, finallyBlock.sourceStart); int position = codeStream.position; codeStream.load(anyExceptionVariable); codeStream.athrow(); codeStream.recordPositionsFrom(position, finallyBlock.sourceEnd); subRoutineStartLabel.place(); codeStream.incrStackSize(1); position = codeStream.position; codeStream.store(returnAddressVariable, false); codeStream.recordPositionsFrom(position, finallyBlock.sourceStart); finallyBlock.generateCode(scope, codeStream); position = codeStream.position; codeStream.ret(returnAddressVariable.resolvedPosition);// codeStream.updateLastRecordedEndPC(position); codeStream.recordPositionsFrom( position, finallyBlock.sourceEnd); // the ret bytecode is part of the subroutine break; case FINALLY_MUST_BE_INLINED : codeStream.store(anyExceptionVariable, false); codeStream.recordPositionsFrom(finallySequenceStartPC, finallyBlock.sourceStart); this.finallyBlock.generateCode(currentScope, codeStream); position = codeStream.position; codeStream.load(anyExceptionVariable); codeStream.athrow(); subRoutineStartLabel.place(); codeStream.recordPositionsFrom(position, finallyBlock.sourceEnd); break; case FINALLY_DOES_NOT_COMPLETE : codeStream.pop(); subRoutineStartLabel.place(); codeStream.recordPositionsFrom(finallySequenceStartPC, finallyBlock.sourceStart); finallyBlock.generateCode(scope, codeStream); break; } // will naturally fall into subsequent code after subroutine invocation naturalExitLabel.place(); if (requiresNaturalExit) { switch(finallyMode) { case FINALLY_SUBROUTINE : int position = codeStream.position; // fix up natural exit handler naturalExitExceptionHandler.placeStart(); codeStream.jsr(subRoutineStartLabel); naturalExitExceptionHandler.placeEnd(); codeStream.recordPositionsFrom( position, finallyBlock.sourceEnd); break; case FINALLY_MUST_BE_INLINED : // May loose some local variable initializations : affecting the local variable attributes // needed since any exception handler got inlined subroutine if (preTryInitStateIndex != -1) { codeStream.removeNotDefinitelyAssignedVariables(currentScope, preTryInitStateIndex); } // entire sequence for finally is associated to finally block finallyBlock.generateCode(scope, codeStream); break; case FINALLY_DOES_NOT_COMPLETE : break; } } } else { // no subroutine, simply position end label (natural exit == end) naturalExitLabel.place(); } } else { // try block had no effect, only generate the body of the finally block if any if (subRoutineStartLabel != null) { finallyBlock.generateCode(scope, codeStream); } } // May loose some local variable initializations : affecting the local variable attributes if (mergedInitStateIndex != -1) { codeStream.removeNotDefinitelyAssignedVariables(currentScope, mergedInitStateIndex); codeStream.addDefinitelyAssignedVariables(currentScope, mergedInitStateIndex); } codeStream.recordPositionsFrom(pc, this.sourceStart); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/TryStatement.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TryStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2103, 1085, 12, 1768, 3876, 783, 3876, 16, 3356, 1228, 981, 1228, 13, 288, 202, 202, 430, 14015, 6789, 473, 2585, 26136, 429, 13, 422, 374, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 316, 648, 326, 3249, 4260, 358, 506, 283, 13227, 202, 202, 759, 1347, 326, 981, 9377, 353, 28893, 316, 14812, 1965, 202, 202, 430, 261, 2211, 18, 2273, 503, 5888, 1380, 405, 374, 13, 288, 1082, 202, 2211, 18, 2273, 503, 5888, 273, 3741, 67, 12658, 67, 19937, 31, 1082, 202, 2211, 18, 2273, 503, 5888, 1380, 273, 374, 31, 202, 202, 97, 202, 202, 474, 6125, 273, 981, 1228, 18, 3276, 31, 202, 202, 6385, 509, 3741, 67, 7263, 4685, 61, 273, 374, 31, 6862, 6862, 202, 759, 1158, 3095, 1203, 202, 202, 6385, 509, 17563, 4685, 61, 67, 8362, 1457, 1693, 3740, 273, 404, 31, 4405, 202, 759, 3095, 353, 4374, 487, 279, 720, 22640, 261, 9940, 3828, 86, 19, 1349, 635, 14537, 1145, 13, 202, 202, 6385, 509, 17563, 4685, 61, 67, 3191, 3991, 67, 4400, 67, 15795, 273, 576, 31, 202, 759, 1661, 5785, 3095, 353, 15411, 598, 1338, 1245, 791, 434, 3095, 1203, 202, 202, 6385, 509, 17563, 4685, 61, 67, 49, 5996, 67, 5948, 67, 706, 20663, 2056, 273, 890, 31, 1082, 202, 759, 3095, 1203, 1297, 506, 316, 22316, 3241, 2780, 999, 3828, 86, 19, 1349, 635, 14537, 1145, 405, 21, 18, 25, 202, 202, 474, 3095, 2309, 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, 2103, 1085, 12, 1768, 3876, 783, 3876, 16, 3356, 1228, 981, 1228, 13, 288, 202, 202, 430, 14015, 6789, 473, 2585, 26136, 429, 13, 422, 374, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 316, 648, 326, 3249, 4260, 358, 506, 283, 13227, 202, 202, 759, 1347, 326, 981, 9377, 353, 28893, 316, 14812, 1965, 202, 202, 430, 261, 2211, 18, 2273, 503, 5888, 1380, 405, 374, 13, 288, 1082, 202, 2211, 18, 2273, 503, 5888, 273, 3741, 67, 12658, 67, 19937, 31, 1082, 202, 2211, 18, 2273, 503, 5888, 1380, 273, 374, 31, 202, 202, 97, 202, 202, 474, 6125, 273, 981, 1228, 18, 3276, 31, 202, 202, 6385, 509, 2 ]
public PrimitiveTypeImpl getCharType(){ return _primitives[2]; }
public PrimitiveTypeImpl getCharType(){ return _primitives[CHAR_INDEX]; }
public PrimitiveTypeImpl getCharType(){ return _primitives[2]; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/ba7f55d89dcf40f0d2718397b348f39209d50c3a/BaseProcessorEnv.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14488, 30639, 23577, 559, 1435, 95, 327, 389, 683, 18116, 63, 22, 15533, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14488, 30639, 23577, 559, 1435, 95, 327, 389, 683, 18116, 63, 22, 15533, 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 ]
List list = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getVisibleDataSets( );
List list = getReportDesignHandle( ).getVisibleDataSets( );
public String[] getAllDataSets( ) { List list = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getVisibleDataSets( ); String[] names = new String[list.size( )]; for ( int i = 0; i < names.length; i++ ) { names[i] = ( (DataSetHandle) list.get( i ) ).getQualifiedName( ); } return names; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/060d4ae94338ab244ee62a019ed1b76b4cdca5eb/ReportDataServiceProvider.java/clean/chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ReportDataServiceProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 5514, 751, 2785, 12, 262, 202, 95, 202, 202, 682, 666, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 262, 9506, 202, 18, 588, 6207, 751, 2785, 12, 11272, 202, 202, 780, 8526, 1257, 273, 394, 514, 63, 1098, 18, 1467, 12, 262, 15533, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1257, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 1973, 63, 77, 65, 273, 261, 261, 13676, 3259, 13, 666, 18, 588, 12, 277, 262, 262, 18, 588, 12345, 12, 11272, 202, 202, 97, 202, 202, 2463, 1257, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 514, 8526, 5514, 751, 2785, 12, 262, 202, 95, 202, 202, 682, 666, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 262, 9506, 202, 18, 588, 6207, 751, 2785, 12, 11272, 202, 202, 780, 8526, 1257, 273, 394, 514, 63, 1098, 18, 1467, 12, 262, 15533, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1257, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 1973, 63, 77, 65, 273, 261, 261, 13676, 3259, 13, 666, 18, 588, 12, 277, 262, 262, 18, 588, 12345, 12, 11272, 202, 202, 97, 202, 202, 2463, 1257, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
Method m = null;
private Object processResolution(Object obj, int handle) throws IOException { if (obj instanceof Serializable) { Method m = null; try { Class classArgs[] = {}; m = getMethod(obj.getClass(), "readResolve", classArgs); obj = m.invoke(obj, new Object[] {}); } catch (NoSuchMethodException ignore) { } catch (IllegalAccessException ignore) { } catch (InvocationTargetException ignore) { } } if (this.resolveEnabled) obj = resolveObject(obj); this.objectLookupTable.put(new Integer(handle), new ObjectIdentityWrapper(obj)); return obj; }
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/287ecb3eab399e579158e4cbd037261f67ffbc1b/ObjectInputStream.java/buggy/libjava/java/io/ObjectInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1033, 1207, 11098, 12, 921, 1081, 16, 509, 1640, 13, 565, 1216, 1860, 225, 288, 565, 309, 261, 2603, 1276, 13687, 13, 1377, 288, 540, 202, 698, 202, 225, 288, 202, 565, 1659, 667, 2615, 8526, 273, 2618, 31, 202, 565, 312, 273, 6272, 12, 2603, 18, 588, 797, 9334, 315, 896, 8460, 3113, 667, 2615, 1769, 202, 565, 1081, 273, 312, 18, 14407, 12, 2603, 16, 394, 1033, 8526, 2618, 1769, 1082, 225, 289, 202, 14683, 261, 28341, 14513, 2305, 13, 202, 225, 288, 202, 225, 289, 202, 14683, 261, 12195, 9773, 2305, 13, 202, 225, 288, 202, 225, 289, 202, 14683, 261, 9267, 14950, 2305, 13, 202, 225, 288, 202, 225, 289, 1377, 289, 565, 309, 261, 2211, 18, 10828, 1526, 13, 1377, 1081, 273, 2245, 921, 12, 2603, 1769, 565, 333, 18, 1612, 6609, 1388, 18, 458, 12, 2704, 2144, 12, 4110, 3631, 9506, 4202, 394, 1033, 4334, 3611, 12, 2603, 10019, 565, 327, 1081, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1033, 1207, 11098, 12, 921, 1081, 16, 509, 1640, 13, 565, 1216, 1860, 225, 288, 565, 309, 261, 2603, 1276, 13687, 13, 1377, 288, 540, 202, 698, 202, 225, 288, 202, 565, 1659, 667, 2615, 8526, 273, 2618, 31, 202, 565, 312, 273, 6272, 12, 2603, 18, 588, 797, 9334, 315, 896, 8460, 3113, 667, 2615, 1769, 202, 565, 1081, 273, 312, 18, 14407, 12, 2603, 16, 394, 1033, 8526, 2618, 1769, 1082, 225, 289, 202, 14683, 261, 28341, 14513, 2305, 13, 202, 225, 288, 202, 225, 289, 202, 14683, 261, 12195, 9773, 2305, 13, 202, 225, 288, 202, 225, 289, 202, 14683, 261, 9267, 14950, 2305, 13, 202, 225, 288, 202, 225, 289, 1377, 289, 565, 2 ]
protected Object newInstance( Class theClass, Map attributes, XMLOutput output) throws JellyTagException { String text = (String) attributes.remove("style"); if (text != null) { int style = SwtHelper.parseStyle(theClass, text); // now lets try invoke a constructor Class[] types = { int.class }; try { Constructor constructor = theClass.getConstructor(types); if (constructor != null) { Object[] values = { new Integer(style) }; return constructor.newInstance(values); } } catch (NoSuchMethodException e) { throw new JellyTagException(e); } catch (InstantiationException e) { throw new JellyTagException(e); } catch (IllegalAccessException e) { throw new JellyTagException(e); } catch (InvocationTargetException e) { throw new JellyTagException(e); } } return super.newInstance(theClass, attributes, output); }
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/4586bb597b2001acabf920e9341f5f7d435b3324/LayoutDataTag.java/buggy/jelly-tags/swt/src/java/org/apache/commons/jelly/tags/swt/LayoutDataTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 5984, 12, 3639, 1659, 326, 797, 16, 3639, 1635, 1677, 16, 3639, 3167, 1447, 876, 13, 3639, 1216, 804, 292, 715, 1805, 503, 288, 10792, 514, 977, 273, 261, 780, 13, 1677, 18, 4479, 2932, 4060, 8863, 3639, 309, 261, 955, 480, 446, 13, 288, 5411, 509, 2154, 273, 5434, 88, 2276, 18, 2670, 2885, 12, 5787, 797, 16, 977, 1769, 13491, 368, 2037, 14557, 775, 4356, 279, 3885, 5411, 1659, 8526, 1953, 273, 288, 509, 18, 1106, 289, 31, 13491, 775, 288, 7734, 11417, 3885, 273, 326, 797, 18, 588, 6293, 12, 2352, 1769, 7734, 309, 261, 12316, 480, 446, 13, 288, 10792, 1033, 8526, 924, 273, 288, 394, 2144, 12, 4060, 13, 289, 31, 10792, 327, 3885, 18, 2704, 1442, 12, 2372, 1769, 7734, 289, 5411, 289, 1044, 261, 28341, 14513, 425, 13, 288, 7734, 604, 394, 804, 292, 715, 1805, 503, 12, 73, 1769, 5411, 289, 1044, 261, 10675, 7072, 503, 425, 13, 288, 7734, 604, 394, 804, 292, 715, 1805, 503, 12, 73, 1769, 5411, 289, 1044, 261, 12195, 9773, 425, 13, 288, 7734, 604, 394, 804, 292, 715, 1805, 503, 12, 73, 1769, 5411, 289, 1044, 261, 9267, 14950, 425, 13, 288, 7734, 604, 394, 804, 292, 715, 1805, 503, 12, 73, 1769, 5411, 289, 3639, 289, 3639, 327, 2240, 18, 2704, 1442, 12, 5787, 797, 16, 1677, 16, 876, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 5984, 12, 3639, 1659, 326, 797, 16, 3639, 1635, 1677, 16, 3639, 3167, 1447, 876, 13, 3639, 1216, 804, 292, 715, 1805, 503, 288, 10792, 514, 977, 273, 261, 780, 13, 1677, 18, 4479, 2932, 4060, 8863, 3639, 309, 261, 955, 480, 446, 13, 288, 5411, 509, 2154, 273, 5434, 88, 2276, 18, 2670, 2885, 12, 5787, 797, 16, 977, 1769, 13491, 368, 2037, 14557, 775, 4356, 279, 3885, 5411, 1659, 8526, 1953, 273, 288, 509, 18, 1106, 289, 31, 13491, 775, 288, 7734, 11417, 3885, 273, 326, 797, 18, 588, 6293, 12, 2352, 1769, 7734, 309, 261, 12316, 480, 446, 13, 288, 10792, 1033, 8526, 924, 273, 288, 394, 2144, 12, 4060, 13, 289, 31, 2 ]
GroupElementHandle handle = GroupElementFactory.newGroupElement( designHandle, modelList );
GroupElementHandle handle = GroupElementFactory.newGroupElement( designHandle, modelList );
public static GroupElementHandle getMultiSelectionHandle( List modelList ) { ModuleHandle designHandle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); GroupElementHandle handle = GroupElementFactory.newGroupElement( designHandle, modelList ); return handle; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/8f4d195ea2cee97486772b52961bc6329e4c409f/DEUtil.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 3756, 1046, 3259, 31863, 6233, 3259, 12, 987, 938, 682, 262, 202, 95, 202, 202, 3120, 3259, 8281, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 1114, 1046, 3259, 1640, 273, 3756, 1046, 1733, 18, 2704, 1114, 1046, 12, 9506, 202, 16934, 3259, 16, 938, 682, 11272, 202, 202, 2463, 1640, 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, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3756, 1046, 3259, 31863, 6233, 3259, 12, 987, 938, 682, 262, 202, 95, 202, 202, 3120, 3259, 8281, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 1114, 1046, 3259, 1640, 273, 3756, 1046, 1733, 18, 2704, 1114, 1046, 12, 9506, 202, 16934, 3259, 16, 938, 682, 11272, 202, 202, 2463, 1640, 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, -100, -100, -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 Node createLoop(int loopType, Node body, Node cond, Node init, Node incr, int lineno)
private Node createLoop(Node.Jump loop, int loopType, Node body, Node cond, Node init, Node incr)
private Node createLoop(int loopType, Node body, Node cond, Node init, Node incr, int lineno) { Node.Target bodyTarget = new Node.Target(); Node.Target condTarget = new Node.Target(); if (loopType == LOOP_FOR && cond.getType() == Token.EMPTY) { cond = new Node(Token.TRUE); } Node.Jump IFEQ = new Node.Jump(Token.IFEQ, cond); IFEQ.target = bodyTarget; Node.Target breakTarget = new Node.Target(); Node.Jump result = new Node.Jump(Token.LOOP, lineno); result.addChildToBack(bodyTarget); result.addChildrenToBack(body); if (loopType == LOOP_WHILE || loopType == LOOP_FOR) { // propagate lineno to condition result.addChildrenToBack(new Node(Token.EMPTY, lineno)); } result.addChildToBack(condTarget); result.addChildToBack(IFEQ); result.addChildToBack(breakTarget); result.target = breakTarget; Node.Target continueTarget = condTarget; if (loopType == LOOP_WHILE || loopType == LOOP_FOR) { // Just add a GOTO to the condition in the do..while Node.Jump GOTO = new Node.Jump(Token.GOTO); GOTO.target = condTarget; result.addChildToFront(GOTO); if (loopType == LOOP_FOR) { if (init.getType() != Token.EMPTY) { if (init.getType() != Token.VAR) { init = new Node(Token.EXPR_VOID, init); } result.addChildToFront(init); } Node.Target incrTarget = new Node.Target(); result.addChildAfter(incrTarget, body); if (incr.getType() != Token.EMPTY) { incr = new Node(Token.EXPR_VOID, incr); result.addChildAfter(incr, incrTarget); } continueTarget = incrTarget; } } result.setContinue(continueTarget); return result; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/78e835470e0a90ae1ee62618c62f364ed850bede/IRFactory.java/clean/src/org/mozilla/javascript/IRFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 752, 6452, 12, 474, 2798, 559, 16, 2029, 1417, 16, 2029, 6941, 16, 18701, 2029, 1208, 16, 2029, 17633, 16, 509, 7586, 13, 565, 288, 3639, 2029, 18, 2326, 1417, 2326, 273, 394, 2029, 18, 2326, 5621, 3639, 2029, 18, 2326, 6941, 2326, 273, 394, 2029, 18, 2326, 5621, 3639, 309, 261, 6498, 559, 422, 1806, 3665, 67, 7473, 597, 6941, 18, 588, 559, 1435, 422, 3155, 18, 13625, 13, 288, 5411, 6941, 273, 394, 2029, 12, 1345, 18, 18724, 1769, 3639, 289, 3639, 2029, 18, 26743, 467, 8090, 53, 273, 394, 2029, 18, 26743, 12, 1345, 18, 5501, 27247, 16, 6941, 1769, 3639, 467, 8090, 53, 18, 3299, 273, 1417, 2326, 31, 3639, 2029, 18, 2326, 898, 2326, 273, 394, 2029, 18, 2326, 5621, 3639, 2029, 18, 26743, 563, 273, 394, 2029, 18, 26743, 12, 1345, 18, 28677, 16, 7586, 1769, 3639, 563, 18, 1289, 1763, 774, 2711, 12, 3432, 2326, 1769, 3639, 563, 18, 1289, 4212, 774, 2711, 12, 3432, 1769, 3639, 309, 261, 6498, 559, 422, 1806, 3665, 67, 12557, 13578, 747, 2798, 559, 422, 1806, 3665, 67, 7473, 13, 288, 5411, 368, 13551, 7586, 358, 2269, 5411, 563, 18, 1289, 4212, 774, 2711, 12, 2704, 2029, 12, 1345, 18, 13625, 16, 7586, 10019, 3639, 289, 3639, 563, 18, 1289, 1763, 774, 2711, 12, 10013, 2326, 1769, 3639, 563, 18, 1289, 1763, 774, 2711, 12, 5501, 27247, 1769, 3639, 563, 18, 1289, 1763, 774, 2711, 12, 8820, 2326, 1769, 3639, 563, 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, 2029, 752, 6452, 12, 474, 2798, 559, 16, 2029, 1417, 16, 2029, 6941, 16, 18701, 2029, 1208, 16, 2029, 17633, 16, 509, 7586, 13, 565, 288, 3639, 2029, 18, 2326, 1417, 2326, 273, 394, 2029, 18, 2326, 5621, 3639, 2029, 18, 2326, 6941, 2326, 273, 394, 2029, 18, 2326, 5621, 3639, 309, 261, 6498, 559, 422, 1806, 3665, 67, 7473, 597, 6941, 18, 588, 559, 1435, 422, 3155, 18, 13625, 13, 288, 5411, 6941, 273, 394, 2029, 12, 1345, 18, 18724, 1769, 3639, 289, 3639, 2029, 18, 26743, 467, 8090, 53, 273, 394, 2029, 18, 26743, 12, 1345, 18, 5501, 27247, 16, 6941, 1769, 3639, 467, 8090, 53, 18, 3299, 273, 1417, 2326, 31, 3639, 2029, 18, 2 ]
{ return false; }
{ return false; }
public boolean supportsPositionedDelete() throws SQLException { return false; // For now... }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 6146, 2555, 329, 2613, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 31, 1082, 202, 759, 2457, 2037, 2777, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 6146, 2555, 329, 2613, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 31, 1082, 202, 759, 2457, 2037, 2777, 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, -100 ]
this.timeout = timeout; }
this.timeout = timeout; if (timeout > 0) setRetryTimes((int) (timeout / getRetryDelayMs())); }
public void setTimeout(int timeout) { this.timeout = timeout; }
54717 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54717/60533ff5234b3216373cf01e1a073a61f565b554/OsgiServiceProxyFactoryBean.java/clean/spring-osgi-core/src/main/java/org/springframework/osgi/service/OsgiServiceProxyFactoryBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9643, 12, 474, 2021, 13, 288, 3639, 333, 18, 4538, 273, 2021, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9643, 12, 474, 2021, 13, 288, 3639, 333, 18, 4538, 273, 2021, 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, -100, -100, -100 ]
String name = null; Object args = nf.createLeaf(ts.LP); Object body;
private Object function(TokenStream ts, Source source, boolean isExpr) throws IOException, JavaScriptException { String name = null; Object args = nf.createLeaf(ts.LP); Object body; int baseLineno = ts.getLineno(); // line number where source starts // save a reference to the function in the enclosing source. source.append((char) ts.FUNCTION); source.append(source.functionNumber); source.functionNumber++; // make a new Source for the enclosed function source = new Source(); // FUNCTION as the first token in a Source means it's a function // definition, and not a reference. source.append((char) ts.FUNCTION); if (ts.matchToken(ts.NAME)) { name = ts.getString(); source.addString(ts.NAME, name); } else ; // it's an anonymous function mustMatchToken(ts, ts.LP, "msg.no.paren.parms"); source.append((char) ts.LP); if (!ts.matchToken(ts.RP)) { boolean first = true; do { if (!first) source.append((char)ts.COMMA); first = false; mustMatchToken(ts, ts.NAME, "msg.no.parm"); String s = ts.getString(); nf.addChildToBack(args, nf.createName(s)); source.addString(ts.NAME, s); } while (ts.matchToken(ts.COMMA)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.parms"); } source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.body"); source.append((char)ts.LC); source.append((char)ts.EOL); body = parseFunctionBody(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); source.append((char)ts.RC); // skip the last EOL so nested functions work... // name might be null; return nf.createFunction(name, args, body, ts.getSourceName(), baseLineno, ts.getLineno(), source.buf.toString(), isExpr); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/92ccdd736e7a1516e4fb6d1eaf915e7021c8dc95/Parser.java/clean/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 445, 12, 1345, 1228, 3742, 16, 4998, 1084, 16, 1250, 353, 4742, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 514, 508, 273, 446, 31, 3639, 1033, 833, 273, 13958, 18, 2640, 9858, 12, 3428, 18, 14461, 1769, 3639, 1033, 1417, 31, 3639, 509, 1026, 48, 267, 5764, 273, 3742, 18, 588, 48, 267, 5764, 5621, 225, 368, 980, 1300, 1625, 1084, 2542, 3639, 368, 1923, 279, 2114, 358, 326, 445, 316, 326, 16307, 1084, 18, 3639, 1084, 18, 6923, 12443, 3001, 13, 3742, 18, 7788, 1769, 3639, 1084, 18, 6923, 12, 3168, 18, 915, 1854, 1769, 3639, 1084, 18, 915, 1854, 9904, 31, 3639, 368, 1221, 279, 394, 4998, 364, 326, 25636, 445, 3639, 1084, 273, 394, 4998, 5621, 3639, 368, 13690, 487, 326, 1122, 1147, 316, 279, 4998, 4696, 518, 1807, 279, 445, 3639, 368, 2379, 16, 471, 486, 279, 2114, 18, 3639, 1084, 18, 6923, 12443, 3001, 13, 3742, 18, 7788, 1769, 3639, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 1985, 3719, 288, 5411, 508, 273, 3742, 18, 588, 780, 5621, 5411, 1084, 18, 1289, 780, 12, 3428, 18, 1985, 16, 508, 1769, 3639, 289, 3639, 469, 5411, 274, 368, 518, 1807, 392, 13236, 445, 3639, 1297, 2060, 1345, 12, 3428, 16, 3742, 18, 14461, 16, 315, 3576, 18, 2135, 18, 13012, 18, 29927, 8863, 3639, 1084, 18, 6923, 12443, 3001, 13, 3742, 18, 14461, 1769, 3639, 309, 16051, 3428, 18, 1916, 1345, 12, 3428, 18, 54, 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, 1033, 445, 12, 1345, 1228, 3742, 16, 4998, 1084, 16, 1250, 353, 4742, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 514, 508, 273, 446, 31, 3639, 1033, 833, 273, 13958, 18, 2640, 9858, 12, 3428, 18, 14461, 1769, 3639, 1033, 1417, 31, 3639, 509, 1026, 48, 267, 5764, 273, 3742, 18, 588, 48, 267, 5764, 5621, 225, 368, 980, 1300, 1625, 1084, 2542, 3639, 368, 1923, 279, 2114, 358, 326, 445, 316, 326, 16307, 1084, 18, 3639, 1084, 18, 6923, 12443, 3001, 13, 3742, 18, 7788, 1769, 3639, 1084, 18, 6923, 12, 3168, 18, 915, 1854, 1769, 3639, 1084, 18, 915, 1854, 9904, 31, 3639, 368, 1221, 279, 394, 4998, 364, 326, 25636, 445, 2 ]
if (graphic.getGraphic().distance(e.getX(), e.getY()) > 2) { graphic.getStateMachine().setUnselected(); graphic.fireEvent(EOMGCursors.DEFAULT, ""); graphic.redraw(e, true); } else if (graphic.getCanGrabGraphic()) { graphic.fireEvent(EOMGCursors.EDIT, ""); graphic.redraw(e, true);
if (graphic.getGraphic().distance(e.getX(), e.getY()) <= 2) { if (graphic.getCanGrabGraphic()) { graphic.fireEvent(EOMGCursors.EDIT, "", e); graphic.redraw(e, true); } else { graphic.fireEvent(EOMGCursors.DEFAULT, "", e); } } else { graphic.fireEvent(new com.bbn.openmap.omGraphics.event.EOMGEvent());
public boolean mouseReleased(MouseEvent e) { Debug.message("eomg", "GraphicStateMachine|selected state|mouseReleased"); GrabPoint mp = graphic.getMovingPoint(e); // If the graphic itself was clicked on, then just go to selected // mode. if (mp == null) { if (graphic.getGraphic().distance(e.getX(), e.getY()) > 2) { // if the graphic isn't picked, then unselect the graphic. graphic.getStateMachine().setUnselected(); graphic.fireEvent(EOMGCursors.DEFAULT, ""); graphic.redraw(e, true); } else if (graphic.getCanGrabGraphic()) { graphic.fireEvent(EOMGCursors.EDIT, ""); graphic.redraw(e, true); } } else { // If the moving point was valid, just stay in selected mode. graphic.fireEvent(EOMGCursors.EDIT, ""); graphic.redraw(e, true); } graphic.setMovingPoint(null); return getMapMouseListenerResponse(); }
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/1b2e3ec7c77498aa4aba00851d82b1c25ce3fb88/GraphicSelectedState.java/buggy/src/openmap/com/bbn/openmap/omGraphics/editable/GraphicSelectedState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 7644, 26363, 12, 9186, 1133, 425, 13, 288, 202, 2829, 18, 2150, 2932, 2880, 75, 3113, 315, 29459, 1119, 6981, 96, 8109, 919, 96, 11697, 26363, 8863, 202, 14571, 70, 2148, 6749, 273, 19548, 18, 588, 49, 13767, 2148, 12, 73, 1769, 202, 759, 971, 326, 19548, 6174, 1703, 17688, 603, 16, 1508, 2537, 1960, 358, 3170, 202, 759, 1965, 18, 202, 430, 261, 1291, 422, 446, 13, 288, 202, 565, 309, 261, 4660, 335, 18, 588, 29459, 7675, 8969, 12, 73, 18, 588, 60, 9334, 425, 18, 588, 61, 10756, 405, 576, 13, 288, 202, 202, 759, 309, 326, 19548, 5177, 1404, 25534, 16, 1508, 640, 4025, 326, 19548, 18, 202, 202, 4660, 335, 18, 588, 1119, 6981, 7675, 542, 984, 8109, 5621, 202, 202, 4660, 335, 18, 12179, 1133, 12, 41, 1872, 43, 2408, 87, 1383, 18, 5280, 16, 1408, 1769, 202, 202, 4660, 335, 18, 1118, 1899, 12, 73, 16, 638, 1769, 202, 565, 289, 469, 309, 261, 4660, 335, 18, 588, 2568, 14571, 70, 29459, 10756, 288, 202, 202, 4660, 335, 18, 12179, 1133, 12, 41, 1872, 43, 2408, 87, 1383, 18, 10776, 16, 1408, 1769, 202, 202, 4660, 335, 18, 1118, 1899, 12, 73, 16, 638, 1769, 202, 565, 289, 202, 97, 469, 288, 202, 565, 368, 971, 326, 12499, 1634, 1703, 923, 16, 2537, 23449, 316, 3170, 1965, 18, 202, 565, 19548, 18, 12179, 1133, 12, 41, 1872, 43, 2408, 87, 1383, 18, 10776, 16, 1408, 1769, 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, 377, 1071, 1250, 7644, 26363, 12, 9186, 1133, 425, 13, 288, 202, 2829, 18, 2150, 2932, 2880, 75, 3113, 315, 29459, 1119, 6981, 96, 8109, 919, 96, 11697, 26363, 8863, 202, 14571, 70, 2148, 6749, 273, 19548, 18, 588, 49, 13767, 2148, 12, 73, 1769, 202, 759, 971, 326, 19548, 6174, 1703, 17688, 603, 16, 1508, 2537, 1960, 358, 3170, 202, 759, 1965, 18, 202, 430, 261, 1291, 422, 446, 13, 288, 202, 565, 309, 261, 4660, 335, 18, 588, 29459, 7675, 8969, 12, 73, 18, 588, 60, 9334, 425, 18, 588, 61, 10756, 405, 576, 13, 288, 202, 202, 759, 309, 326, 19548, 5177, 1404, 25534, 16, 1508, 640, 4025, 326, 19548, 18, 202, 202, 4660, 335, 18, 2 ]
}
}
public void actionPerformed(ActionEvent ae) { }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/TabChecklist.java/buggy/src_new/org/argouml/cognitive/checklist/ui/TabChecklist.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 14221, 13, 288, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26100, 12, 1803, 1133, 14221, 13, 288, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
getDataSetTabSet().requestConcatOnlyRelation(ds, relation);
getDataSetTabSet().requestSubclassRelation(dataset, relation);
public void actionPerformed(ActionEvent evt) { getDataSetTabSet().requestConcatOnlyRelation(ds, relation); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/fe72f47add9743030014f390ef70c1e3c3c1ae96/WindowContext.java/buggy/src/java/org/biomart/builder/view/gui/WindowContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 10792, 4303, 694, 5661, 694, 7675, 2293, 1676, 1106, 3963, 12, 8682, 16, 2533, 1769, 7734, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1171, 1071, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 10792, 4303, 694, 5661, 694, 7675, 2293, 1676, 1106, 3963, 12, 8682, 16, 2533, 1769, 7734, 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 ]
protected void openConnection(String host, int port, Properties info, String database, String url, Driver d) throws SQLException { // Throw an exception if the user or password properties are missing // This occasionally occurs when the client uses the properties version // of getConnection(), and is a common question on the email lists if(info.getProperty("user")==null) throw new PSQLException("postgresql.con.user"); if(info.getProperty("password")==null) throw new PSQLException("postgresql.con.pass"); this_driver = d; this_url = url; PG_DATABASE = database; PG_PASSWORD = info.getProperty("password"); PG_USER = info.getProperty("user"); PG_PORT = port; PG_HOST = host; PG_STATUS = CONNECTION_BAD; // Now make the initial connection try { pg_stream = new PG_Stream(host, port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed",e); } // Now we need to construct and send a startup packet try { // Ver 6.3 code pg_stream.SendInteger(4+4+SM_DATABASE+SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY,4); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MAJOR,2); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MINOR,2); pg_stream.Send(database.getBytes(),SM_DATABASE); // This last send includes the unused fields pg_stream.Send(PG_USER.getBytes(),SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY); // now flush the startup packets to the backend pg_stream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new SQLException(pg_stream.ReceiveString (receive_sbuf, 4096, getEncoding())); case 'R': // Get the type of request areq = pg_stream.ReceiveIntegerR(4); // Get the password salt if there is one if(areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pg_stream.ReceiveChar(); rst[1] = (byte)pg_stream.ReceiveChar(); salt = new String(rst,0,2); DriverManager.println("Salt="+salt); } // now send the auth packet switch(areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: DriverManager.println("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: DriverManager.println("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: DriverManager.println("postgresql: PASSWORD"); pg_stream.SendInteger(5+PG_PASSWORD.length(),4); pg_stream.Send(PG_PASSWORD.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; case AUTH_REQ_CRYPT: DriverManager.println("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt,PG_PASSWORD); pg_stream.SendInteger(5+crypted.length(),4); pg_stream.Send(crypted.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; default: throw new PSQLException("postgresql.con.auth",new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while(areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed",e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'K': pid = pg_stream.ReceiveInteger(4); ckey = pg_stream.ReceiveInteger(4); break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString (receive_sbuf, 4096, getEncoding())); default: throw new PSQLException("postgresql.con.setup"); } // Expect ReadyForQuery packet beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'Z': break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(receive_sbuf, 4096, getEncoding())); default: throw new PSQLException("postgresql.con.setup"); } // Originally we issued a SHOW DATESTYLE statement to find the databases default // datestyle. However, this caused some problems with timestamps, so in 6.5, we // went the way of ODBC, and set the connection to ISO. // // This may cause some clients to break when they assume anything other than ISO, // but then - they should be using the proper methods ;-) // // We also ask the DB for certain properties (i.e. DatabaseEncoding at this time) // firstWarning = null; java.sql.ResultSet initrset = ExecSQL("set datestyle to 'ISO'; select getdatabaseencoding()"); String dbEncoding = null; //retrieve DB properties if(initrset.next()) { //handle DatabaseEncoding dbEncoding = initrset.getString(1); //convert from the PostgreSQL name to the Java name if (dbEncoding.equals("SQL_ASCII")) { dbEncoding = "ASCII"; } else if (dbEncoding.equals("UNICODE")) { dbEncoding = "UTF8"; } else if (dbEncoding.equals("LATIN1")) { dbEncoding = "ISO8859_1"; } else if (dbEncoding.equals("LATIN2")) { dbEncoding = "ISO8859_2"; } else if (dbEncoding.equals("LATIN3")) { dbEncoding = "ISO8859_3"; } else if (dbEncoding.equals("LATIN4")) { dbEncoding = "ISO8859_4"; } else if (dbEncoding.equals("LATIN5")) { dbEncoding = "ISO8859_5"; } else if (dbEncoding.equals("LATIN6")) { dbEncoding = "ISO8859_6"; } else if (dbEncoding.equals("LATIN7")) { dbEncoding = "ISO8859_7"; } else if (dbEncoding.equals("LATIN8")) { dbEncoding = "ISO8859_8"; } else if (dbEncoding.equals("LATIN9")) { dbEncoding = "ISO8859_9"; } else if (dbEncoding.equals("EUC_JP")) { dbEncoding = "EUC_JP"; } else if (dbEncoding.equals("EUC_CN")) { dbEncoding = "EUC_CN"; } else if (dbEncoding.equals("EUC_KR")) { dbEncoding = "EUC_KR"; } else if (dbEncoding.equals("EUC_TW")) { dbEncoding = "EUC_TW"; } else if (dbEncoding.equals("KOI8")) { dbEncoding = "KOI8_R"; } else if (dbEncoding.equals("WIN")) { dbEncoding = "Cp1252"; } else { dbEncoding = null; } } //Set the encoding for this connection //Since the encoding could be specified or obtained from the DB we use the //following order: // 1. passed as a property // 2. value from DB if supported by current JVM // 3. default for JVM (leave encoding null) String passedEncoding = info.getProperty("charSet"); // could be null if (passedEncoding != null) { encoding = passedEncoding; } else { if (dbEncoding != null) { //test DB encoding try { "TEST".getBytes(dbEncoding); //no error the encoding is supported by the current JVM encoding = dbEncoding; } catch (UnsupportedEncodingException uee) { //dbEncoding is not supported by the current JVM encoding = null; } } else { encoding = null; } } // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup firstWarning = null; PG_STATUS = CONNECTION_OK; }
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/45b5d792afa60ae24d57cdceaaec0e03cf6abb2a/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24982, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 13, 1216, 6483, 565, 288, 565, 368, 3743, 392, 1520, 309, 326, 729, 578, 2201, 1790, 854, 3315, 565, 368, 1220, 9145, 345, 285, 1230, 9938, 1347, 326, 1004, 4692, 326, 1790, 1177, 565, 368, 434, 6742, 9334, 471, 353, 279, 2975, 5073, 603, 326, 2699, 6035, 565, 309, 12, 1376, 18, 588, 1396, 2932, 1355, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 1355, 8863, 565, 309, 12, 1376, 18, 588, 1396, 2932, 3664, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 5466, 8863, 3639, 333, 67, 7407, 273, 302, 31, 565, 333, 67, 718, 273, 880, 31, 565, 22116, 67, 22366, 273, 2063, 31, 565, 22116, 67, 13784, 273, 1123, 18, 588, 1396, 2932, 3664, 8863, 565, 22116, 67, 4714, 273, 1123, 18, 588, 1396, 2932, 1355, 8863, 565, 22116, 67, 6354, 273, 1756, 31, 565, 22116, 67, 8908, 273, 1479, 31, 565, 22116, 67, 8608, 273, 20695, 67, 16234, 31, 565, 368, 4494, 1221, 326, 2172, 1459, 565, 775, 1377, 288, 202, 8365, 67, 3256, 273, 394, 22116, 67, 1228, 12, 2564, 16, 1756, 1769, 1377, 289, 1044, 261, 5215, 503, 276, 338, 13, 288, 202, 759, 25808, 635, 453, 847, 13076, 411, 84, 847, 36, 266, 736, 84, 18, 3341, 18, 19445, 34, 202, 759, 8289, 503, 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, 918, 24982, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 13, 1216, 6483, 565, 288, 565, 368, 3743, 392, 1520, 309, 326, 729, 578, 2201, 1790, 854, 3315, 565, 368, 1220, 9145, 345, 285, 1230, 9938, 1347, 326, 1004, 4692, 326, 1790, 1177, 565, 368, 434, 6742, 9334, 471, 353, 279, 2975, 5073, 603, 326, 2699, 6035, 565, 309, 12, 1376, 18, 588, 1396, 2932, 1355, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 1355, 8863, 565, 309, 12, 1376, 18, 588, 1396, 2932, 3664, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 2 ]
private void jbInit() throws Exception { JPanel temp = new JPanel(); temp.setLayout(new BorderLayout()); treePane.setLayout(treeLayout); this.setLayout(mBaseLayout); mElementTreeScrollPane.setMinimumSize(new Dimension(0, 0)); mElementTree.setRootVisible(false); mElementTree.setShowsRootHandles(true); mBaseSplitPane.setOneTouchExpandable(true); this.add(mBaseSplitPane, BorderLayout.CENTER); mBaseSplitPane.add(treePane, JSplitPane.LEFT); mBaseSplitPane.add(mTabPane, JSplitPane.RIGHT); mTabPane.add(mElementPropSheetScrollPane, "DefaultEditor"); mElementPropSheetScrollPane.getViewport().add(mElementPropSheet, null); mElementTreeScrollPane.getViewport().add(mElementTree, null); treeToolbar.setFloatable(false); addBtn.setText("Add"); //addBtn.setEnabled(false); removeBtn.setText("Remove"); //removeBtn.setEnabled(false); addBtn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { addAction(evt); } }); removeBtn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { ;//removeAction(evt); } }); treePane.add(treeToolbar, BorderLayout.NORTH); treePane.add(mElementTreeScrollPane, BorderLayout.CENTER); treeToolbar.add(addBtn); treeToolbar.add(removeBtn); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/6570edc444bc3748e2629f90eab19d87e3a6de67/ConfigContextEditor.java/buggy/modules/jackal/editors/org/vrjuggler/jccl/editors/ConfigContextEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 20515, 2570, 1435, 15069, 1185, 95, 46, 5537, 1906, 273, 394, 24048, 5621, 5814, 18, 542, 3744, 12, 2704, 30814, 10663, 3413, 8485, 18, 542, 3744, 12, 3413, 3744, 1769, 2211, 18, 542, 3744, 12, 81, 2171, 3744, 1769, 81, 1046, 2471, 26360, 18, 542, 13042, 1225, 12, 2704, 13037, 12, 20, 16, 374, 10019, 81, 1046, 2471, 18, 542, 2375, 6207, 12, 5743, 1769, 81, 1046, 2471, 18, 542, 24548, 2375, 8788, 12, 3767, 1769, 81, 2171, 5521, 8485, 18, 542, 3335, 10491, 12271, 429, 12, 3767, 1769, 2211, 18, 1289, 12, 81, 2171, 5521, 8485, 16, 30814, 18, 19835, 1769, 81, 2171, 5521, 8485, 18, 1289, 12, 3413, 8485, 16, 804, 5521, 8485, 18, 10066, 1769, 81, 2171, 5521, 8485, 18, 1289, 12, 81, 5661, 8485, 16, 804, 5521, 8485, 18, 11847, 1769, 81, 5661, 8485, 18, 1289, 12, 81, 1046, 4658, 8229, 26360, 16, 315, 1868, 6946, 8863, 81, 1046, 4658, 8229, 26360, 18, 588, 22743, 7675, 1289, 12, 81, 1046, 4658, 8229, 16, 446, 1769, 81, 1046, 2471, 26360, 18, 588, 22743, 7675, 1289, 12, 81, 1046, 2471, 16, 446, 1769, 3413, 17907, 18, 542, 4723, 429, 12, 5743, 1769, 1289, 20541, 18, 542, 1528, 2932, 986, 8863, 759, 1289, 20541, 18, 542, 1526, 12, 5743, 1769, 4479, 20541, 18, 542, 1528, 2932, 3288, 8863, 759, 4479, 20541, 18, 542, 1526, 12, 5743, 1769, 527, 20541, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 95, 482, 918, 26100, 12, 1803, 1133, 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, 3238, 918, 20515, 2570, 1435, 15069, 1185, 95, 46, 5537, 1906, 273, 394, 24048, 5621, 5814, 18, 542, 3744, 12, 2704, 30814, 10663, 3413, 8485, 18, 542, 3744, 12, 3413, 3744, 1769, 2211, 18, 542, 3744, 12, 81, 2171, 3744, 1769, 81, 1046, 2471, 26360, 18, 542, 13042, 1225, 12, 2704, 13037, 12, 20, 16, 374, 10019, 81, 1046, 2471, 18, 542, 2375, 6207, 12, 5743, 1769, 81, 1046, 2471, 18, 542, 24548, 2375, 8788, 12, 3767, 1769, 81, 2171, 5521, 8485, 18, 542, 3335, 10491, 12271, 429, 12, 3767, 1769, 2211, 18, 1289, 12, 81, 2171, 5521, 8485, 16, 30814, 18, 19835, 1769, 81, 2171, 5521, 8485, 18, 1289, 12, 3413, 8485, 16, 804, 5521, 8485, 18, 10066, 2 ]
catch (Exception e)
catch (Exception ignore)
public String getBuyNowForm(Integer itemId, String username, String password) throws RemoteException { int userId = -1; StringBuffer html = new StringBuffer(); PreparedStatement stmt = null; ResultSet rs = null; Connection conn = null; // Authenticate the user who want to comment if ((username != null && username !="") || (password != null && password !="")) { SB_AuthHome authHome = null; SB_Auth auth = null; try { authHome = (SB_AuthHome)PortableRemoteObject.narrow(initialContext.lookup("java:comp/env/ejb/SB_Auth"), SB_AuthHome.class); auth = authHome.create(); } catch (Exception e) { throw new RemoteException("Cannot lookup SB_Auth: " +e); } try { userId = auth.authenticate(username, password); } catch (Exception e) { throw new RemoteException("Authentication failed: " +e); } if (userId == -1) { html.append(" You don't have an account on RUBiS!<br>You have to register first.<br>"); return html.toString(); } } // Try to find the Item corresponding to the Item ID String itemName = null, description = null; String startDate = null, endDate = null, sellerName = null; int quantity = 0, sellerId = -1; float buyNow = 0; try { conn = dataSource.getConnection(); stmt = conn.prepareStatement("SELECT * FROM items WHERE id=?"); stmt.setInt(1, itemId.intValue()); rs = stmt.executeQuery(); if (rs.first()) { itemName = rs.getString("name"); description = rs.getString("description"); startDate = rs.getString("start_date"); endDate = rs.getString("end_date"); buyNow = rs.getFloat("buy_now"); quantity = rs.getInt("quantity"); sellerId = rs.getInt("seller"); } try { stmt = conn.prepareStatement("SELECT nickname FROM users WHERE id=?"); stmt.setInt(1, sellerId); ResultSet srs = stmt.executeQuery(); if (srs.first()) { sellerName = srs.getString("nickname"); } } catch (SQLException s) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Failed to execute Query for seller: " +s); } } catch (Exception e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Failed to execute Query for item: " +e); } // Display the form for buying the item html.append("<TABLE width=\"100%\" bgcolor=\"#CCCCFF\">\n<TR><TD align=\"center\" width=\"100%\"><FONT size=\"4\" color=\"#000000\"><B>You are ready to buy this item: "+itemName+"</B></FONT></TD></TR>\n</TABLE><p>\n"); try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); html.append(printItemDescriptionToBuyNow(itemId.intValue(), itemName, description, buyNow, quantity, sellerId, sellerName, startDate, endDate, userId)); } catch (Exception e) { try { if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (Exception ignore) { } throw new RemoteException("Unable to print Item description: " +e); } return html.toString(); }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/f4e968f06192caa924056050f199dbc663b1dae2/SB_BuyNowBean.java/buggy/EJB_SessionBean/edu/rice/rubis/beans/SB_BuyNowBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 2882, 9835, 8674, 1204, 12, 4522, 18424, 16, 514, 2718, 16, 514, 2201, 13, 1216, 18361, 225, 288, 565, 509, 6249, 273, 300, 21, 31, 565, 6674, 1729, 273, 394, 6674, 5621, 565, 16913, 3480, 273, 446, 31, 565, 10842, 3597, 6647, 273, 446, 31, 565, 4050, 1487, 3639, 273, 446, 31, 565, 368, 26644, 326, 729, 10354, 2545, 358, 2879, 1377, 309, 14015, 5053, 480, 446, 597, 2718, 480, 3660, 13, 747, 261, 3664, 480, 446, 597, 2201, 480, 3660, 3719, 1377, 288, 3639, 348, 38, 67, 1730, 8684, 1357, 8684, 273, 446, 31, 3639, 348, 38, 67, 1730, 1357, 273, 446, 31, 3639, 775, 540, 288, 1850, 1357, 8684, 273, 261, 14541, 67, 1730, 8684, 13, 2617, 429, 5169, 921, 18, 82, 7815, 12, 6769, 1042, 18, 8664, 2932, 6290, 30, 2919, 19, 3074, 19, 73, 10649, 19, 14541, 67, 1730, 6, 3631, 348, 38, 67, 1730, 8684, 18, 1106, 1769, 1850, 1357, 273, 1357, 8684, 18, 2640, 5621, 3639, 289, 540, 1044, 261, 503, 2305, 13, 3639, 288, 1850, 604, 394, 18361, 2932, 4515, 3689, 348, 38, 67, 1730, 30, 315, 397, 73, 1769, 3639, 289, 3639, 775, 540, 288, 1850, 6249, 273, 1357, 18, 22035, 12, 5053, 16, 2201, 1769, 3639, 289, 540, 1044, 261, 503, 2305, 13, 3639, 288, 1850, 604, 394, 18361, 2932, 6492, 2535, 30, 315, 397, 73, 1769, 3639, 289, 3639, 309, 261, 18991, 422, 300, 21, 13, 3639, 288, 6647, 1729, 18, 6923, 2932, 4554, 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, 2882, 9835, 8674, 1204, 12, 4522, 18424, 16, 514, 2718, 16, 514, 2201, 13, 1216, 18361, 225, 288, 565, 509, 6249, 273, 300, 21, 31, 565, 6674, 1729, 273, 394, 6674, 5621, 565, 16913, 3480, 273, 446, 31, 565, 10842, 3597, 6647, 273, 446, 31, 565, 4050, 1487, 3639, 273, 446, 31, 565, 368, 26644, 326, 729, 10354, 2545, 358, 2879, 1377, 309, 14015, 5053, 480, 446, 597, 2718, 480, 3660, 13, 747, 261, 3664, 480, 446, 597, 2201, 480, 3660, 3719, 1377, 288, 3639, 348, 38, 67, 1730, 8684, 1357, 8684, 273, 446, 31, 3639, 348, 38, 67, 1730, 1357, 273, 446, 31, 3639, 775, 540, 288, 1850, 1357, 8684, 273, 261, 14541, 67, 1730, 2 ]
if (menubarStructure == null) menubarStructure = (ActionSetDisplayItem) structures.get(0); if (toolbarStructure == null) toolbarStructure = (ActionSetDisplayItem) structures.get(1);
if (menubarStructure == null) { menubarStructure = (ActionSetDisplayItem) structures.get(0); } if (toolbarStructure == null) { toolbarStructure = (ActionSetDisplayItem) structures.get(1); }
void handleActionSetSelected(SelectionChangedEvent event) { IStructuredSelection sel = (IStructuredSelection) event.getSelection(); ActionSetDescriptor element = (ActionSetDescriptor) sel .getFirstElement(); if (element == selectedActionSet) return; String actionSetId = element.getId(); // Hash table is used to cache previous selections ArrayList structures = (ArrayList) actionSetStructures.get(actionSetId); ActionSetDisplayItem menubarStructure = null; ActionSetDisplayItem toolbarStructure = null; // If the actionset has never been selected then we need to populate the structures if (structures == null) { structures = new ArrayList(2); menubarStructure = new ActionSetDisplayItem("Menubar"); //$NON-NLS-1$ toolbarStructure = new ActionSetDisplayItem("Toolbar"); //$NON-NLS-1$ // Build the menus and toolbars for it using our fake action bars. // Can't reuse customizeActionBars between action sets due to action set menu reuse. See bug 94827 for details. CustomizeActionBars customizeActionBars = new CustomizeActionBars(configurer); // Fill current actionBars in the "fake" workbench action bars window.fillActionBars(customizeActionBars, ActionBarAdvisor.FILL_PROXY | ActionBarAdvisor.FILL_MENU_BAR | ActionBarAdvisor.FILL_COOL_BAR); // Populate the action bars with the action set buildMenusAndToolbarsFor(customizeActionBars, element); // Build the representation to show menubarStructure.fillMenusFor(actionSetId, customizeActionBars.menuManager); toolbarStructure.fillToolsFor(actionSetId, customizeActionBars.coolBarManager); // Be sure to dispose the custom bars or we'll leak customizeActionBars.dispose(); // Add menubarStructure and toolbarStructure to arrayList structures.add(menubarStructure); structures.add(toolbarStructure); // Add the structure to the hash table with key actionSetId actionSetStructures.put(actionSetId, structures); } // retrieve the actionsets from the arraylist if (menubarStructure == null) menubarStructure = (ActionSetDisplayItem) structures.get(0); if (toolbarStructure == null) toolbarStructure = (ActionSetDisplayItem) structures.get(1); // fill the menu structure table actionSetMenuViewer.setInput(menubarStructure); if (menubarStructure.children.size() > 0) { actionSetMenuViewer .reveal(menubarStructure.children.get(0)); } // fill the toolbar structure table actionSetToolbarViewer.setInput(toolbarStructure); if (toolbarStructure.children.size() > 0) { actionSetToolbarViewer.reveal(toolbarStructure.children .get(0)); } selectedActionSet = element; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/CustomizePerspectiveDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CustomizePerspectiveDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 1803, 694, 7416, 12, 6233, 27553, 871, 13, 288, 3639, 467, 30733, 6233, 357, 273, 261, 45, 30733, 6233, 13, 871, 18, 588, 6233, 5621, 3639, 4382, 694, 3187, 930, 273, 261, 1803, 694, 3187, 13, 357, 7734, 263, 588, 3759, 1046, 5621, 3639, 309, 261, 2956, 422, 3170, 1803, 694, 13, 5411, 327, 31, 3639, 514, 1301, 18523, 273, 930, 18, 26321, 5621, 3639, 368, 2474, 1014, 353, 1399, 358, 1247, 2416, 21738, 3639, 2407, 12597, 273, 261, 19558, 13, 1301, 694, 3823, 1823, 18, 588, 12, 1128, 18523, 1769, 3639, 4382, 694, 4236, 1180, 21247, 373, 297, 6999, 273, 446, 31, 3639, 4382, 694, 4236, 1180, 12748, 6999, 273, 446, 31, 3639, 368, 971, 326, 1301, 542, 711, 5903, 2118, 3170, 1508, 732, 1608, 358, 6490, 326, 12597, 3639, 309, 261, 27979, 422, 446, 13, 288, 5411, 12597, 273, 394, 2407, 12, 22, 1769, 5411, 21247, 373, 297, 6999, 273, 394, 4382, 694, 4236, 1180, 2932, 49, 275, 373, 297, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 12748, 6999, 273, 394, 4382, 694, 4236, 1180, 2932, 17907, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 13491, 368, 3998, 326, 21374, 471, 12748, 87, 364, 518, 1450, 3134, 10517, 1301, 22252, 18, 540, 202, 759, 4480, 1404, 11827, 20236, 1803, 5190, 87, 3086, 1301, 1678, 6541, 358, 1301, 444, 3824, 11827, 18, 225, 2164, 7934, 2468, 8875, 5324, 364, 3189, 18, 540, 202, 3802, 554, 1803, 5190, 87, 20236, 1803, 5190, 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, 918, 1640, 1803, 694, 7416, 12, 6233, 27553, 871, 13, 288, 3639, 467, 30733, 6233, 357, 273, 261, 45, 30733, 6233, 13, 871, 18, 588, 6233, 5621, 3639, 4382, 694, 3187, 930, 273, 261, 1803, 694, 3187, 13, 357, 7734, 263, 588, 3759, 1046, 5621, 3639, 309, 261, 2956, 422, 3170, 1803, 694, 13, 5411, 327, 31, 3639, 514, 1301, 18523, 273, 930, 18, 26321, 5621, 3639, 368, 2474, 1014, 353, 1399, 358, 1247, 2416, 21738, 3639, 2407, 12597, 273, 261, 19558, 13, 1301, 694, 3823, 1823, 18, 588, 12, 1128, 18523, 1769, 3639, 4382, 694, 4236, 1180, 21247, 373, 297, 6999, 273, 446, 31, 3639, 4382, 694, 4236, 1180, 12748, 6999, 273, 446, 31, 3639, 368, 971, 2 ]
this(description, null, true); wasChecked = true; }
this(description, null, true); wasChecked = true; }
public MockConstraint( String description ) { this(description, null, true); wasChecked = true; }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/MockConstraint.java/buggy/jmock/core/src/test/jmock/core/testsupport/MockConstraint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7867, 5806, 12, 514, 2477, 262, 288, 202, 202, 2211, 12, 3384, 16, 446, 16, 638, 1769, 202, 202, 17416, 11454, 273, 638, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7867, 5806, 12, 514, 2477, 262, 288, 202, 202, 2211, 12, 3384, 16, 446, 16, 638, 1769, 202, 202, 17416, 11454, 273, 638, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 void read() {
public void read(JLabel status) {
public void read() { // get a programmer reference and write Programmer p = InstanceManager.programmerInstance(); if (p != null) { _busy = true; _reading = true; try { p.readCV(_num, this); } catch (Exception e) { log.warn("Exception during CV read: "+e); setBusy(false); } } else { log.error("No programmer available!"); } }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/d0990d9221e1d87fb80fc569665a23bfcf53f7d7/CvValue.java/buggy/jmri/symbolicprog/CvValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 855, 1435, 288, 202, 202, 759, 336, 279, 5402, 6592, 2114, 471, 1045, 202, 202, 9459, 6592, 293, 273, 5180, 1318, 18, 12890, 6592, 1442, 5621, 202, 202, 430, 261, 84, 480, 446, 13, 288, 1082, 202, 67, 9274, 93, 273, 638, 31, 1082, 202, 67, 21803, 273, 638, 31, 1082, 202, 698, 288, 9506, 202, 84, 18, 896, 22007, 24899, 2107, 16, 333, 1769, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 202, 1330, 18, 8935, 2932, 503, 4982, 385, 58, 855, 30, 13773, 73, 1769, 9506, 202, 542, 29289, 12, 5743, 1769, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 1330, 18, 1636, 2932, 2279, 5402, 6592, 2319, 4442, 1769, 202, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 855, 1435, 288, 202, 202, 759, 336, 279, 5402, 6592, 2114, 471, 1045, 202, 202, 9459, 6592, 293, 273, 5180, 1318, 18, 12890, 6592, 1442, 5621, 202, 202, 430, 261, 84, 480, 446, 13, 288, 1082, 202, 67, 9274, 93, 273, 638, 31, 1082, 202, 67, 21803, 273, 638, 31, 1082, 202, 698, 288, 9506, 202, 84, 18, 896, 22007, 24899, 2107, 16, 333, 1769, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 202, 1330, 18, 8935, 2932, 503, 4982, 385, 58, 855, 30, 13773, 73, 1769, 9506, 202, 542, 29289, 12, 5743, 1769, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 1330, 18, 1636, 2932, 2279, 5402, 6592, 2319, 4442, 2 ]
errString = "Unable to response " + e.toString();
errString = "Unable to respond: " + e.toString(); if (log.isWarnEnabled()) { log.warn(errString, e); } } if (log.isWarnEnabled()) { log.warn(errString);
public void doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException { String errString = "request successful"; try { if (log.isDebugEnabled()) { log.debug("doPost"); } res.setContentType("text/html"); // if a request comes in for naming certificate, // reply if found, if not ask upper CA ObjectInputStream ois = new ObjectInputStream(req.getInputStream()); Object obj = ois.readObject(); // this is a query if (obj instanceof String []) { String [] names = (String [])obj; if (log.isDebugEnabled()) { log.debug("received request for name server cert, size " + names.length); } NameServerCertificate [] certs = new NameServerCertificate[names.length]; for (int i = 0; i < names.length; i++) { if (log.isDebugEnabled()) { log.debug("checking whether we have " + names[i]); } X509Certificate [] cert = (X509Certificate [])/*_certCache.get(names[i]);*/ NameServerCertificateComponent.getNameServerCert(names[i]); if (cert == null) { //_pendingCache.add(names[i]); NameServerCertificateComponent.getPendingList().add(names[i]); } certs[i] = new NameServerCertificate(names[i], cert); } ObjectOutputStream oos = new ObjectOutputStream(res.getOutputStream()); oos.writeObject(certs); return; } else if (obj instanceof NameServerCertificate) { NameServerCertificate nc = (NameServerCertificate)obj; if (log.isDebugEnabled()) { log.debug("received name server cert from " + nc); } //_certCache.put(nc.nameserver, nc.cert); NameServerCertificateComponent.addToNameCertCache(nc.nameserver, nc.certChain); CertificateCacheService cacheservice = (CertificateCacheService) support.getServiceBroker().getService(this, CertificateCacheService.class, null); for (int i = 0; i < nc.certChain.length; i++) { cacheservice.addSSLCertificateToCache(nc.certChain[i]); } support.getServiceBroker().releaseService(this, CertificateCacheService.class, cacheservice); } else { errString = "received unknown request"; } } catch (Exception e) { errString = "Unable to response " + e.toString(); } PrintWriter out = res.getWriter(); out.println(errString); out.flush(); out.close(); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/dd3d9ab019e5d74390d6e50a23a62e186a385831/NameServerCertificateServlet.java/buggy/securityservices/src/org/cougaar/core/security/certauthority/servlet/NameServerCertificateServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 3349, 261, 2940, 18572, 225, 1111, 16, 12446, 400, 13, 565, 1216, 16517, 16, 14106, 225, 288, 565, 514, 393, 780, 273, 315, 2293, 6873, 14432, 565, 775, 288, 1377, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 3639, 613, 18, 4148, 2932, 2896, 3349, 8863, 1377, 289, 1377, 400, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 1377, 368, 309, 279, 590, 14535, 316, 364, 14634, 4944, 16, 1377, 368, 4332, 309, 1392, 16, 309, 486, 6827, 3854, 6425, 1377, 22726, 320, 291, 273, 394, 22726, 12, 3658, 18, 588, 4348, 10663, 1377, 1033, 1081, 273, 320, 291, 18, 896, 921, 5621, 1377, 368, 333, 353, 279, 843, 1377, 309, 261, 2603, 1276, 514, 5378, 13, 288, 3639, 514, 5378, 1257, 273, 261, 780, 5378, 13, 2603, 31, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 202, 225, 613, 18, 4148, 2932, 15213, 590, 364, 508, 1438, 3320, 16, 963, 315, 397, 1257, 18, 2469, 1769, 3639, 289, 3639, 1770, 2081, 4719, 5378, 13870, 273, 394, 1770, 2081, 4719, 63, 1973, 18, 2469, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1257, 18, 2469, 31, 277, 27245, 288, 1850, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 2932, 24609, 2856, 732, 1240, 315, 397, 1257, 63, 77, 19226, 1850, 289, 1850, 1139, 5995, 4719, 5378, 3320, 273, 261, 60, 5995, 4719, 5378, 13176, 14, 67, 7593, 1649, 18, 588, 12, 1973, 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, 741, 3349, 261, 2940, 18572, 225, 1111, 16, 12446, 400, 13, 565, 1216, 16517, 16, 14106, 225, 288, 565, 514, 393, 780, 273, 315, 2293, 6873, 14432, 565, 775, 288, 1377, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 3639, 613, 18, 4148, 2932, 2896, 3349, 8863, 1377, 289, 1377, 400, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 1377, 368, 309, 279, 590, 14535, 316, 364, 14634, 4944, 16, 1377, 368, 4332, 309, 1392, 16, 309, 486, 6827, 3854, 6425, 1377, 22726, 320, 291, 273, 394, 22726, 12, 3658, 18, 588, 4348, 10663, 1377, 1033, 1081, 273, 320, 291, 18, 896, 921, 5621, 1377, 368, 333, 353, 279, 843, 1377, 309, 261, 2603, 1276, 2 ]
IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) { UIListenerLogging.logPerspectiveSavedAs(this, page, oldPerspective, newPerspective); perspectiveListeners.firePerspectiveSavedAs(page, oldPerspective, newPerspective); }
IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) { UIListenerLogging.logPerspectiveSavedAs(this, page, oldPerspective, newPerspective); perspectiveListeners.firePerspectiveSavedAs(page, oldPerspective, newPerspective); }
void firePerspectiveSavedAs(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) { UIListenerLogging.logPerspectiveSavedAs(this, page, oldPerspective, newPerspective); perspectiveListeners.firePerspectiveSavedAs(page, oldPerspective, newPerspective); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4452, 14781, 16772, 16776, 1463, 12, 45, 2421, 22144, 1964, 1363, 16, 5411, 2971, 414, 16772, 3187, 1592, 14781, 16772, 16, 2971, 414, 16772, 3187, 394, 14781, 16772, 13, 288, 3639, 6484, 2223, 7735, 18, 1330, 14781, 16772, 16776, 1463, 12, 2211, 16, 1363, 16, 1592, 14781, 16772, 16, 394, 14781, 16772, 1769, 377, 202, 10422, 16772, 5583, 18, 12179, 14781, 16772, 16776, 1463, 12, 2433, 16, 1592, 14781, 16772, 16, 394, 14781, 16772, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4452, 14781, 16772, 16776, 1463, 12, 45, 2421, 22144, 1964, 1363, 16, 5411, 2971, 414, 16772, 3187, 1592, 14781, 16772, 16, 2971, 414, 16772, 3187, 394, 14781, 16772, 13, 288, 3639, 6484, 2223, 7735, 18, 1330, 14781, 16772, 16776, 1463, 12, 2211, 16, 1363, 16, 1592, 14781, 16772, 16, 394, 14781, 16772, 1769, 377, 202, 10422, 16772, 5583, 18, 12179, 14781, 16772, 16776, 1463, 12, 2433, 16, 1592, 14781, 16772, 16, 394, 14781, 16772, 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 ]
UIAction action;
protected JComponent buildComponent(Element current) { String tag = current.getTagName(); JComponent comp = null; String label = null;; // menu tag if (tag.equals(menu_tag)) { Node node; JMenu menu = new MenuCtrl(); String my_id = current.getAttribute(id_attr); comp = menu; label = getReferencedLabel(current, label_attr); if (label != null) ((JMenuItem)comp).setText(label); menu.setActionCommand(my_id); node = current.getFirstChild().getNextSibling(); // loop through all its children while (node != null) { processNode(node, menu); node = node.getNextSibling(); } } else if (tag.equals(menuitem_tag)) { // menuitem tag String type = current.getAttribute(type_attr); UIAction action; // which type of menuitem? if (type.equals("")) { // no type ? it's a regular menuitem comp = buildMenuItem(current); } else if (type.equals(separator_attr)) { // separator comp = buildSeparator(current); } else if (type.equals(checkbox_attr)) { // checkboxes comp = buildCheckBoxMenuItem(current); } else if (type.equals(radio_attr)) { // radio comp = buildRadioMenuItem(current); } } comp.setFont(new Font("Helvetica", Font.PLAIN, 12)); return comp; }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/643daf07863ac7a9460301170008b0c42861828f/XMLMenuBuilder.java/buggy/grendel/ui/XMLMenuBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 29058, 1361, 1841, 12, 1046, 783, 13, 288, 565, 514, 1047, 273, 783, 18, 588, 8520, 5621, 565, 29058, 1161, 273, 446, 31, 565, 514, 1433, 273, 446, 25708, 3639, 368, 3824, 1047, 565, 309, 261, 2692, 18, 14963, 12, 5414, 67, 2692, 3719, 288, 1377, 2029, 756, 31, 1377, 804, 4599, 3824, 273, 394, 9809, 12418, 5621, 1377, 514, 3399, 67, 350, 273, 783, 18, 588, 1499, 12, 350, 67, 1747, 1769, 1377, 1161, 273, 3824, 31, 1377, 1433, 273, 13223, 72, 2224, 12, 2972, 16, 1433, 67, 1747, 1769, 1377, 309, 261, 1925, 480, 446, 13, 14015, 46, 12958, 13, 2919, 2934, 542, 1528, 12, 1925, 1769, 1377, 3824, 18, 542, 1803, 2189, 12, 4811, 67, 350, 1769, 1377, 756, 273, 783, 18, 588, 3759, 1763, 7675, 588, 2134, 10291, 5621, 1377, 368, 2798, 3059, 777, 2097, 2325, 1377, 1323, 261, 2159, 480, 446, 13, 288, 3639, 1207, 907, 12, 2159, 16, 3824, 1769, 3639, 756, 273, 756, 18, 588, 2134, 10291, 5621, 1377, 289, 565, 289, 469, 309, 261, 2692, 18, 14963, 12, 5414, 1726, 67, 2692, 3719, 288, 368, 3824, 1726, 1047, 1377, 514, 618, 273, 783, 18, 588, 1499, 12, 723, 67, 1747, 1769, 1171, 368, 1492, 618, 434, 3824, 1726, 35, 1377, 309, 261, 723, 18, 14963, 2932, 6, 3719, 288, 540, 368, 1158, 618, 692, 518, 1807, 279, 6736, 3824, 1726, 3639, 1161, 273, 1361, 12958, 12, 2972, 1769, 1377, 289, 469, 309, 261, 723, 18, 14963, 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, 282, 4750, 29058, 1361, 1841, 12, 1046, 783, 13, 288, 565, 514, 1047, 273, 783, 18, 588, 8520, 5621, 565, 29058, 1161, 273, 446, 31, 565, 514, 1433, 273, 446, 25708, 3639, 368, 3824, 1047, 565, 309, 261, 2692, 18, 14963, 12, 5414, 67, 2692, 3719, 288, 1377, 2029, 756, 31, 1377, 804, 4599, 3824, 273, 394, 9809, 12418, 5621, 1377, 514, 3399, 67, 350, 273, 783, 18, 588, 1499, 12, 350, 67, 1747, 1769, 1377, 1161, 273, 3824, 31, 1377, 1433, 273, 13223, 72, 2224, 12, 2972, 16, 1433, 67, 1747, 1769, 1377, 309, 261, 1925, 480, 446, 13, 14015, 46, 12958, 13, 2919, 2934, 542, 1528, 12, 1925, 1769, 1377, 3824, 18, 542, 1803, 2189, 12, 4811, 2 ]
return ds.getConnection(); }
return ds.getConnection(); }
private Connection getConnection() throws SQLException, NamingException { DataSource ds = (DataSource) getInitialContext().lookup(dataSource); return ds.getConnection(); } //getConnection
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/eacf4dd5b0993e24e9a5988e58f9a0cbb200450b/LocalKeyRecoverySessionBean.java/clean/src/java/se/anatom/ejbca/keyrecovery/LocalKeyRecoverySessionBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4050, 6742, 1435, 1216, 6483, 16, 26890, 288, 202, 202, 8597, 3780, 273, 261, 8597, 13, 24044, 1042, 7675, 8664, 12, 892, 1830, 1769, 202, 202, 2463, 3780, 18, 588, 1952, 5621, 202, 97, 368, 588, 1952, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4050, 6742, 1435, 1216, 6483, 16, 26890, 288, 202, 202, 8597, 3780, 273, 261, 8597, 13, 24044, 1042, 7675, 8664, 12, 892, 1830, 1769, 202, 202, 2463, 3780, 18, 588, 1952, 5621, 202, 97, 368, 588, 1952, 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 ]
SymmetricKey symkey = ((SecretKeyFacade)key).key; return symkey.getLength();
public int engineGetKeySize(Key key) throws InvalidKeyException { if( ! (key instanceof SecretKeyFacade) ) { throw new InvalidKeyException("key must be JSS key"); } SymmetricKey symkey = ((SecretKeyFacade)key).key; return symkey.getLength(); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/844a47f512fc6f90ce5a4435b8a2511c9ef25adc/JSSCipherSpi.java/buggy/security/jss/org/mozilla/jss/provider/javax/crypto/JSSCipherSpi.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 4073, 967, 653, 1225, 12, 653, 498, 13, 1216, 28885, 288, 3639, 309, 12, 401, 261, 856, 1276, 19391, 12467, 13, 262, 288, 5411, 604, 394, 28885, 2932, 856, 1297, 506, 29686, 498, 8863, 3639, 289, 3639, 10042, 6899, 653, 5382, 856, 273, 14015, 24526, 12467, 13, 856, 2934, 856, 31, 3639, 327, 5382, 856, 18, 588, 1782, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4073, 967, 653, 1225, 12, 653, 498, 13, 1216, 28885, 288, 3639, 309, 12, 401, 261, 856, 1276, 19391, 12467, 13, 262, 288, 5411, 604, 394, 28885, 2932, 856, 1297, 506, 29686, 498, 8863, 3639, 289, 3639, 10042, 6899, 653, 5382, 856, 273, 14015, 24526, 12467, 13, 856, 2934, 856, 31, 3639, 327, 5382, 856, 18, 588, 1782, 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 ]
public org.quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { org.quickfix.field.LegIssuer value = new org.quickfix.field.LegIssuer();
public quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { quickfix.field.LegIssuer value = new quickfix.field.LegIssuer();
public org.quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { org.quickfix.field.LegIssuer value = new org.quickfix.field.LegIssuer(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/IndicationOfInterest.java/clean/src/java/src/quickfix/fix44/IndicationOfInterest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 336, 8329, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 336, 8329, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 16667, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
public EditableTransaction(TransactionsFrameLayout parent){ this.parent = parent; // date = new JFormattedTextField(Formatter.getInstance().getDateFormat()); date = new JDateChooser(new Date(), PrefsInstance.getInstance().getPrefs().getDateFormat()); amount = new JNumberField(Formatter.getInstance().getDecimalFormat()); transferFrom = new JComboBox(); transferTo = new JComboBox(); number = new JTextField(); description = new AutoCompleteTextField(PrefsInstance.getInstance().getDescDict()); memo = new JTextArea(); components = new Vector<JComponent>(); toModel = new DefaultComboBoxModel(); fromModel = new DefaultComboBoxModel(); transferTo.setModel(toModel); transferFrom.setModel(fromModel); number.setPreferredSize(new Dimension(34, number.getPreferredSize().height)); description.setPreferredSize(new Dimension(100, number.getPreferredSize().height)); Dimension comboDimension = new Dimension(50, transferFrom.getPreferredSize().height); transferFrom.setPreferredSize(comboDimension); transferTo.setPreferredSize(comboDimension); date.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_DATE)); amount.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_AMOUNT)); transferFrom.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_FROM)); transferTo.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_TO)); number.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_NUMBER)); description.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_DESC)); memo.setToolTipText(Translate.inst().get(TranslateKeys.TOOLTIP_MEMO)); JPanel topPanel = new JPanel(); JPanel bottomPanel = new JPanel(); topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS)); bottomPanel.setLayout(new BoxLayout(bottomPanel, BoxLayout.X_AXIS)); components.add(date); components.add(amount); components.add(transferFrom); components.add(transferTo); components.add(number); components.add(description); components.add(memo); topPanel.add(date); topPanel.add(description); topPanel.add(number); bottomPanel.add(amount); bottomPanel.add(transferFrom); bottomPanel.add(new JLabel(Translate.inst().get(TranslateKeys.TO))); bottomPanel.add(transferTo); JPanel mainPanel = new JPanel(); mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS)); mainPanel.add(topPanel); mainPanel.add(bottomPanel); JScrollPane memoScroller = new JScrollPane(memo); memoScroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); memoScroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); this.setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.add(mainPanel); this.add(memoScroller); int textHeight = date.getPreferredSize().height; date.setPreferredSize(new Dimension(100, textHeight)); description.setPreferredSize(new Dimension(200, textHeight)); number.setPreferredSize(new Dimension(80, textHeight)); amount.setMinimumSize(new Dimension(100, textHeight)); transferFrom.setPreferredSize(new Dimension(250, transferFrom.getPreferredSize().height)); transferTo.setPreferredSize(transferFrom.getPreferredSize()); memoScroller.setPreferredSize(new Dimension(300, memo.getPreferredSize().height)); initActions(); //updateContent(); }
48285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48285/9cb2c0ff9149c29aa86cfd420b2e252f8aae9c40/EditableTransaction.java/buggy/src/org/homeunix/drummer/view/components/EditableTransaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6651, 9085, 3342, 12, 14186, 3219, 3744, 982, 15329, 202, 202, 2211, 18, 2938, 273, 982, 31, 9506, 202, 759, 202, 202, 712, 273, 394, 804, 18298, 16157, 12, 5074, 18, 588, 1442, 7675, 588, 11878, 10663, 202, 202, 712, 273, 394, 804, 1626, 17324, 12, 2704, 2167, 9334, 453, 9316, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 11878, 10663, 202, 202, 8949, 273, 394, 804, 1854, 974, 12, 5074, 18, 588, 1442, 7675, 588, 5749, 1630, 10663, 202, 202, 13866, 1265, 273, 394, 804, 22199, 5621, 202, 202, 13866, 774, 273, 394, 804, 22199, 5621, 202, 202, 2696, 273, 394, 804, 16157, 5621, 202, 202, 3384, 273, 394, 8064, 6322, 16157, 12, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 4217, 5014, 10663, 202, 202, 19521, 273, 394, 804, 1528, 5484, 5621, 9506, 202, 8119, 273, 394, 5589, 32, 46, 1841, 34, 5621, 9506, 202, 869, 1488, 273, 394, 2989, 22199, 1488, 5621, 202, 202, 2080, 1488, 273, 394, 2989, 22199, 1488, 5621, 9506, 202, 13866, 774, 18, 542, 1488, 12, 869, 1488, 1769, 202, 202, 13866, 1265, 18, 542, 1488, 12, 2080, 1488, 1769, 25083, 202, 2696, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 5026, 16, 1300, 18, 588, 16028, 1225, 7675, 4210, 10019, 202, 202, 3384, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 6625, 16, 1300, 18, 588, 16028, 1225, 7675, 4210, 10019, 9506, 202, 8611, 16778, 8611, 273, 394, 13037, 12, 3361, 16, 7412, 1265, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6651, 9085, 3342, 12, 14186, 3219, 3744, 982, 15329, 202, 202, 2211, 18, 2938, 273, 982, 31, 9506, 202, 759, 202, 202, 712, 273, 394, 804, 18298, 16157, 12, 5074, 18, 588, 1442, 7675, 588, 11878, 10663, 202, 202, 712, 273, 394, 804, 1626, 17324, 12, 2704, 2167, 9334, 453, 9316, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 11878, 10663, 202, 202, 8949, 273, 394, 804, 1854, 974, 12, 5074, 18, 588, 1442, 7675, 588, 5749, 1630, 10663, 202, 202, 13866, 1265, 273, 394, 804, 22199, 5621, 202, 202, 13866, 774, 273, 394, 804, 22199, 5621, 202, 202, 2696, 273, 394, 804, 16157, 5621, 202, 202, 3384, 273, 394, 8064, 6322, 16157, 12, 2 ]
private final void writeBarrier(VM_Address src, VM_Address tgt, VM_Address obj)
private final void writeBarrier(VM_Address src, VM_Address tgt)
private final void writeBarrier(VM_Address src, VM_Address tgt, VM_Address obj) throws VM_PragmaInline { if (GATHER_WRITE_BARRIER_STATS) wbFastPathCounter++; VM_Address old; do { old = VM_Address.fromInt(VM_Magic.prepare(src, 0)); } while (!VM_Magic.attempt(src, 0, old.toInt(), tgt.toInt())); if (old.GE(RC_START)) decBuffer.pushOOL(old); if (tgt.GE(RC_START)) incBuffer.pushOOL(tgt); // VM_Magic.setMemoryAddress(src, tgt); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/d31caf7bd0b332532ed37b4c587c3ffccef6ec87/Plan.java/buggy/rvm/src/vm/memoryManagers/JMTk/plan/refCount/Plan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 918, 1045, 5190, 10342, 12, 7397, 67, 1887, 1705, 16, 8251, 67, 1887, 11680, 13, 377, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 43, 3275, 654, 67, 11677, 67, 21908, 2259, 654, 67, 31983, 13, 17298, 12305, 743, 4789, 9904, 31, 565, 8251, 67, 1887, 1592, 31, 565, 741, 288, 1377, 1592, 273, 8251, 67, 1887, 18, 2080, 1702, 12, 7397, 67, 19289, 18, 9366, 12, 4816, 16, 374, 10019, 565, 289, 1323, 16051, 7397, 67, 19289, 18, 11764, 12, 4816, 16, 374, 16, 1592, 18, 869, 1702, 9334, 11680, 18, 869, 1702, 1435, 10019, 565, 309, 261, 1673, 18, 7113, 12, 11529, 67, 7570, 3719, 1377, 2109, 1892, 18, 6206, 51, 1741, 12, 1673, 1769, 565, 309, 261, 29672, 18, 7113, 12, 11529, 67, 7570, 3719, 1377, 7290, 1892, 18, 6206, 51, 1741, 12, 29672, 1769, 565, 368, 8251, 67, 19289, 18, 542, 6031, 1887, 12, 4816, 16, 11680, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 918, 1045, 5190, 10342, 12, 7397, 67, 1887, 1705, 16, 8251, 67, 1887, 11680, 13, 377, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 43, 3275, 654, 67, 11677, 67, 21908, 2259, 654, 67, 31983, 13, 17298, 12305, 743, 4789, 9904, 31, 565, 8251, 67, 1887, 1592, 31, 565, 741, 288, 1377, 1592, 273, 8251, 67, 1887, 18, 2080, 1702, 12, 7397, 67, 19289, 18, 9366, 12, 4816, 16, 374, 10019, 565, 289, 1323, 16051, 7397, 67, 19289, 18, 11764, 12, 4816, 16, 374, 16, 1592, 18, 869, 1702, 9334, 11680, 18, 869, 1702, 1435, 10019, 565, 309, 261, 1673, 18, 7113, 12, 11529, 67, 7570, 3719, 1377, 2109, 1892, 18, 6206, 51, 1741, 2 ]
(componentType != InputSource.class)
(componentType != InputSource.class) && !File.class.isAssignableFrom(componentType) && !InputStream.class.isAssignableFrom(componentType) && !InputSource.class.isAssignableFrom(componentType)
private void processJAXPSchemaSource(Hashtable locationPairs) throws IOException { fJAXPProcessed = true; if (fJAXPSource == null) { return; } Class componentType = fJAXPSource.getClass().getComponentType(); XMLInputSource xis = null; String sid = null; if (componentType == null) { // Not an array if (fJAXPSource instanceof InputStream || fJAXPSource instanceof InputSource) { SchemaGrammar g = (SchemaGrammar)fJAXPCache.get(fJAXPSource); if (g != null) { fGrammarBucket.putGrammar(g); return; } } fXSDDescription.reset(); xis = xsdToXMLInputSource(fJAXPSource); sid = xis.getSystemId(); fXSDDescription.fContextType = XSDDescription.CONTEXT_PREPARSE; if (sid != null) { fXSDDescription.setBaseSystemId(xis.getBaseSystemId()); fXSDDescription.setLiteralSystemId(sid); fXSDDescription.setExpandedSystemId(sid); fXSDDescription.fLocationHints = new String[]{sid}; } SchemaGrammar g = loadSchema(fXSDDescription, xis, locationPairs); // it is possible that we won't be able to resolve JAXP schema-source location if (g != null) { if (fJAXPSource instanceof InputStream || fJAXPSource instanceof InputSource) { fJAXPCache.put(fJAXPSource, g); if (fIsCheckedFully) { XSConstraints.fullSchemaChecking(fGrammarBucket, fSubGroupHandler, fCMBuilder, fErrorReporter); } } fGrammarBucket.putGrammar(g); } return; } else if ( (componentType != Object.class) && (componentType != String.class) && (componentType != File.class) && (componentType != InputStream.class) && (componentType != InputSource.class) ) { // Not an Object[], String[], File[], InputStream[], InputSource[] throw new XMLConfigurationException( XMLConfigurationException.NOT_SUPPORTED, "\""+JAXP_SCHEMA_SOURCE+ "\" property cannot have an array of type {"+componentType.getName()+ "}. Possible types of the array supported are Object, String, File, "+ "InputStream, InputSource."); } // JAXP spec. allow []s of type String, File, InputStream, // InputSource also, apart from [] of type Object. Object[] objArr = (Object[]) fJAXPSource; // make local vector for storing target namespaces of schemasources specified in object arrays. ArrayList jaxpSchemaSourceNamespaces = new ArrayList(); for (int i = 0; i < objArr.length; i++) { if(objArr[i] instanceof InputStream || objArr[i] instanceof InputSource) { SchemaGrammar g = (SchemaGrammar)fJAXPCache.get(objArr[i]); if (g != null) { fGrammarBucket.putGrammar(g); continue; } } fXSDDescription.reset(); xis = xsdToXMLInputSource(objArr[i]); sid = xis.getSystemId(); fXSDDescription.fContextType = XSDDescription.CONTEXT_PREPARSE; if (sid != null) { fXSDDescription.setBaseSystemId(xis.getBaseSystemId()); fXSDDescription.setLiteralSystemId(sid); fXSDDescription.setExpandedSystemId(sid); fXSDDescription.fLocationHints = new String[]{sid}; } String targetNamespace = null ; // load schema SchemaGrammar grammar = fSchemaHandler.parseSchema(xis,fXSDDescription, locationPairs); if (fIsCheckedFully) { XSConstraints.fullSchemaChecking(fGrammarBucket, fSubGroupHandler, fCMBuilder, fErrorReporter); } if (grammar != null) { targetNamespace = grammar.getTargetNamespace(); if (jaxpSchemaSourceNamespaces.contains(targetNamespace)) { //when an array of objects is passed it is illegal to have two schemas that share same namespace. throw new java.lang.IllegalArgumentException( " When using array of Objects as the value of SCHEMA_SOURCE property , " + "no two Schemas should share the same targetNamespace. " ); } else { jaxpSchemaSourceNamespaces.add(targetNamespace) ; } if (objArr[i] instanceof InputStream || objArr[i] instanceof InputSource) { fJAXPCache.put(objArr[i], grammar); } fGrammarBucket.putGrammar(grammar); } else { //REVISIT: What should be the acutal behavior if grammar can't be loaded as specified in schema source? } } }//processJAXPSchemaSource
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/a3bd40f2aeab4b4e00ec3b7aba475fb97e01aee7/XMLSchemaLoader.java/buggy/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 17368, 52, 3078, 1830, 12, 5582, 14544, 2117, 10409, 13, 1216, 1860, 288, 3639, 284, 17368, 52, 13533, 273, 638, 31, 3639, 309, 261, 74, 17368, 52, 1830, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 7734, 1659, 20065, 273, 284, 17368, 52, 1830, 18, 588, 797, 7675, 588, 28116, 5621, 3639, 3167, 1210, 1830, 619, 291, 273, 446, 31, 3639, 514, 7348, 273, 446, 31, 3639, 309, 261, 4652, 559, 422, 446, 13, 288, 5411, 368, 2288, 392, 526, 5411, 309, 261, 74, 17368, 52, 1830, 1276, 5037, 747, 10792, 284, 17368, 52, 1830, 1276, 23699, 13, 288, 7734, 4611, 18576, 314, 273, 261, 3078, 18576, 13, 74, 17368, 52, 1649, 18, 588, 12, 74, 17368, 52, 1830, 1769, 7734, 309, 261, 75, 480, 446, 13, 288, 10792, 284, 18576, 4103, 18, 458, 18576, 12, 75, 1769, 10792, 327, 31, 7734, 289, 5411, 289, 5411, 284, 31244, 3291, 18, 6208, 5621, 5411, 619, 291, 273, 14802, 774, 4201, 1210, 1830, 12, 74, 17368, 52, 1830, 1769, 5411, 7348, 273, 619, 291, 18, 588, 3163, 548, 5621, 5411, 284, 31244, 3291, 18, 74, 1042, 559, 273, 26462, 3291, 18, 13181, 67, 3670, 21045, 31, 5411, 309, 261, 7453, 480, 446, 13, 288, 7734, 284, 31244, 3291, 18, 542, 2171, 3163, 548, 12, 5674, 18, 588, 2171, 3163, 548, 10663, 7734, 284, 31244, 3291, 18, 542, 6177, 3163, 548, 12, 7453, 1769, 7734, 284, 31244, 3291, 18, 542, 17957, 3163, 548, 12, 7453, 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, 1207, 17368, 52, 3078, 1830, 12, 5582, 14544, 2117, 10409, 13, 1216, 1860, 288, 3639, 284, 17368, 52, 13533, 273, 638, 31, 3639, 309, 261, 74, 17368, 52, 1830, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 7734, 1659, 20065, 273, 284, 17368, 52, 1830, 18, 588, 797, 7675, 588, 28116, 5621, 3639, 3167, 1210, 1830, 619, 291, 273, 446, 31, 3639, 514, 7348, 273, 446, 31, 3639, 309, 261, 4652, 559, 422, 446, 13, 288, 5411, 368, 2288, 392, 526, 5411, 309, 261, 74, 17368, 52, 1830, 1276, 5037, 747, 10792, 284, 17368, 52, 1830, 1276, 23699, 13, 288, 7734, 4611, 18576, 314, 273, 261, 3078, 18576, 13, 74, 17368, 52, 1649, 18, 588, 2 ]
try { for(Iterator i = interfaces.iterator(); i.hasNext(); ) { String interfaceName = (String)i.next();
for(Iterator i = interfaces.iterator(); i.hasNext(); ) { String interfaceName = (String)i.next(); try {
public void addInterface(String name, short modifiers, Vector interfaces, String javadoc) { Object mInterface = addClassifier(UmlFactory.getFactory().getCore().createInterface(), name, modifiers, javadoc); try { for(Iterator i = interfaces.iterator(); i.hasNext(); ) { String interfaceName = (String)i.next(); Object parentInterface = getContext(interfaceName).getInterface(getClassifierName(interfaceName)); getGeneralization(currentPackage, parentInterface, mInterface); } } catch(ClassifierNotFoundException e) { // Currently if a classifier cannot be found in the // model/classpath then information will be lost from // source files, because the classifier cannot be // created on the fly. cat.warn("Modeller.java: a classifier that was in the source"+ " file could not be generated in the model "+ "(to generate a generalization)- information lost\n"+ "\t"+e); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/022b0ff3f94772ff21f5c4bac6511cf8987e109a/Modeller.java/buggy/src_new/org/argouml/uml/reveng/java/Modeller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1358, 12, 780, 508, 16, 11794, 3025, 10429, 16, 11794, 5589, 7349, 16, 11794, 514, 30829, 13, 565, 288, 3639, 1033, 312, 1358, 273, 9058, 1251, 12, 57, 781, 1733, 18, 588, 1733, 7675, 588, 4670, 7675, 2640, 1358, 9334, 508, 16, 10429, 16, 30829, 1769, 3639, 775, 288, 5411, 364, 12, 3198, 277, 273, 7349, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 7734, 514, 24088, 273, 261, 780, 13, 77, 18, 4285, 5621, 7734, 1033, 982, 1358, 273, 6474, 12, 5831, 461, 2934, 588, 1358, 12, 588, 13860, 461, 12, 5831, 461, 10019, 7734, 336, 12580, 1588, 12, 2972, 2261, 16, 982, 1358, 16, 312, 1358, 1769, 5411, 289, 3639, 289, 3639, 1044, 12, 13860, 3990, 425, 13, 288, 202, 202, 759, 15212, 309, 279, 14622, 2780, 506, 1392, 316, 326, 7734, 368, 938, 19, 26302, 1508, 1779, 903, 506, 13557, 628, 7734, 368, 1084, 1390, 16, 2724, 326, 14622, 2780, 506, 7734, 368, 2522, 603, 326, 21434, 18, 7734, 6573, 18, 8935, 2932, 1488, 749, 18, 6290, 30, 279, 14622, 716, 1703, 316, 326, 1084, 6, 15, 7682, 315, 585, 3377, 486, 506, 4374, 316, 326, 938, 13773, 7682, 7751, 869, 2103, 279, 7470, 1588, 24950, 1779, 13557, 64, 82, 6, 15, 7682, 1548, 88, 6, 15, 73, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1358, 12, 780, 508, 16, 11794, 3025, 10429, 16, 11794, 5589, 7349, 16, 11794, 514, 30829, 13, 565, 288, 3639, 1033, 312, 1358, 273, 9058, 1251, 12, 57, 781, 1733, 18, 588, 1733, 7675, 588, 4670, 7675, 2640, 1358, 9334, 508, 16, 10429, 16, 30829, 1769, 3639, 775, 288, 5411, 364, 12, 3198, 277, 273, 7349, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 7734, 514, 24088, 273, 261, 780, 13, 77, 18, 4285, 5621, 7734, 1033, 982, 1358, 273, 6474, 12, 5831, 461, 2934, 588, 1358, 12, 588, 13860, 461, 12, 5831, 461, 10019, 7734, 336, 12580, 1588, 12, 2972, 2261, 16, 982, 1358, 16, 312, 1358, 1769, 5411, 289, 3639, 289, 2 ]
private void scheduleFetcher() {
private synchronized void scheduleFetcher() {
private void scheduleFetcher() { Logger.minor(this, "scheduling fetcher for "+pubUSK.getURI()); synchronized(this) { if(finished) return; fetcher = ctx.uskManager.getFetcherForInsertDontSchedule(pubUSK, parent.priorityClass, this); } fetcher.schedule(); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/a6a9cc01004d94d4bdefc0b76c0bdb1962187369/USKInserter.java/buggy/src/freenet/client/async/USKInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4788, 16855, 1435, 288, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 87, 13252, 20521, 364, 13773, 10174, 3378, 47, 18, 588, 3098, 10663, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 5754, 264, 273, 1103, 18, 407, 79, 1318, 18, 588, 16855, 1290, 4600, 40, 1580, 6061, 12, 10174, 3378, 47, 16, 982, 18, 8457, 797, 16, 333, 1769, 202, 202, 97, 202, 202, 5754, 264, 18, 10676, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4788, 16855, 1435, 288, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 87, 13252, 20521, 364, 13773, 10174, 3378, 47, 18, 588, 3098, 10663, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 5754, 264, 273, 1103, 18, 407, 79, 1318, 18, 588, 16855, 1290, 4600, 40, 1580, 6061, 12, 10174, 3378, 47, 16, 982, 18, 8457, 797, 16, 333, 1769, 202, 202, 97, 202, 202, 5754, 264, 18, 10676, 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 ]
upTbl.put(new Long(header.seqID), msg);
upTbl.put(new Long(header.sequenceID), msg);
private void _recvBcast(Message msg) { Header header = (Header)msg.getHeader(getName()); // i. Put the message in the up pending queue only if it's not // already there, as it seems that the event may be received // multiple times before a view change when all members are // negotiating a common set of stable msgs // // ii. Deliver as many messages as possible synchronized(upTbl) { if (header.seqID <= seqID) return; upTbl.put(new Long(header.seqID), msg); } _deliverBcast(); }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/3b9246c3f8342f832ec4ec90358c7a8110b920c0/TOTAL.java/buggy/src/org/jgroups/protocols/TOTAL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 389, 18334, 38, 4155, 12, 1079, 1234, 13, 288, 202, 202, 1864, 1446, 273, 261, 1864, 13, 3576, 18, 588, 1864, 12, 17994, 10663, 202, 202, 759, 277, 18, 4399, 326, 883, 316, 326, 731, 4634, 2389, 1338, 309, 518, 1807, 486, 202, 202, 759, 1818, 1915, 16, 487, 518, 12001, 716, 326, 871, 2026, 506, 5079, 202, 202, 759, 3229, 4124, 1865, 279, 1476, 2549, 1347, 777, 4833, 854, 202, 202, 759, 17257, 22906, 279, 2975, 444, 434, 14114, 8733, 202, 202, 759, 202, 202, 759, 6072, 18, 6603, 1667, 487, 4906, 2743, 487, 3323, 202, 202, 22043, 12, 416, 22592, 13, 288, 202, 202, 430, 261, 3374, 18, 5436, 734, 1648, 3833, 734, 13, 1082, 202, 2463, 31, 202, 202, 416, 22592, 18, 458, 12, 2704, 3407, 12, 3374, 18, 5436, 734, 3631, 1234, 1769, 202, 202, 97, 202, 202, 67, 26672, 38, 4155, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 389, 18334, 38, 4155, 12, 1079, 1234, 13, 288, 202, 202, 1864, 1446, 273, 261, 1864, 13, 3576, 18, 588, 1864, 12, 17994, 10663, 202, 202, 759, 277, 18, 4399, 326, 883, 316, 326, 731, 4634, 2389, 1338, 309, 518, 1807, 486, 202, 202, 759, 1818, 1915, 16, 487, 518, 12001, 716, 326, 871, 2026, 506, 5079, 202, 202, 759, 3229, 4124, 1865, 279, 1476, 2549, 1347, 777, 4833, 854, 202, 202, 759, 17257, 22906, 279, 2975, 444, 434, 14114, 8733, 202, 202, 759, 202, 202, 759, 6072, 18, 6603, 1667, 487, 4906, 2743, 487, 3323, 202, 202, 22043, 12, 416, 22592, 13, 288, 202, 202, 430, 261, 3374, 18, 5436, 734, 1648, 3833, 734, 2 ]
throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier);
throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier, global);
public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { String fnam = null; identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); FreenetURI uu = new FreenetURI(fs.get("URI")); String[] metas = uu.getAllMetaStrings(); if(metas != null && metas.length == 1) { fnam = metas[0]; uu = uu.setMetaString(null); } // if >1, will fail later uri = uu; } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } contentType = fs.get("Metadata.ContentType"); String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String uploadFrom = fs.get("UploadFrom"); if((uploadFrom == null) || uploadFrom.equalsIgnoreCase("direct")) { uploadFromType = UPLOAD_FROM_DIRECT; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("disk")) { uploadFromType = UPLOAD_FROM_DISK; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing field Filename", identifier); File f = new File(filename); if(!(f.exists() && f.isFile() && f.canRead())) throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, null, identifier); dataLength = f.length(); FileBucket fileBucket = new FileBucket(f, true, false, false, false); this.bucket = fileBucket; this.origFilename = f; redirectTarget = null; if(fnam == null) fnam = origFilename.getName(); } else if(uploadFrom.equalsIgnoreCase("redirect")) { uploadFromType = UPLOAD_FROM_REDIRECT; String target = fs.get("TargetURI"); if(target == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "TargetURI missing but UploadFrom=redirect", identifier); try { redirectTarget = new FreenetURI(target); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Invalid TargetURI: "+e, identifier); } dataLength = 0; origFilename = null; bucket = null; } else throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "UploadFrom invalid or unrecognized: "+uploadFrom, identifier); dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if((persistenceString == null) || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); String f = fs.get("TargetFilename"); if(f != null) fnam = f; if(fnam != null && fnam.indexOf('/') > -1) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "TargetFilename must not contain slashes", identifier); } if(fnam != null && fnam.length() == 0) { fnam = null; // Deliberate override to tell us not to create one. } if(uri.getKeyType().equals("CHK")) targetFilename = fnam; else targetFilename = null; earlyEncode = Fields.stringToBool(fs.get("EarlyEncode"), false); }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientPutMessage.java/clean/src/freenet/node/fcp/ClientPutMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 2295, 301, 273, 446, 31, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 42, 2842, 278, 3098, 582, 89, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 1082, 202, 780, 8526, 21232, 273, 582, 89, 18, 588, 1595, 2781, 7957, 5621, 1082, 202, 430, 12, 10578, 345, 480, 446, 597, 21232, 18, 2469, 422, 404, 13, 288, 9506, 202, 4293, 301, 273, 21232, 63, 20, 15533, 9506, 202, 24286, 273, 582, 89, 18, 542, 2781, 780, 12, 2011, 1769, 1082, 202, 97, 368, 309, 405, 21, 16, 903, 2321, 5137, 1082, 202, 1650, 273, 582, 89, 31, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 9334, 2756, 1769, 202, 202, 97, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 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, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 780, 2295, 301, 273, 446, 31, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 42, 2842, 278, 3098, 582, 89, 273, 394, 478, 2 ]
" <b>Linux users</b> can also participate if they have a correctly setup\n" +
" <b>Linux users</b> can also participate if they have a correct\n" +
private void buildAfterStatus(StringBuffer newpage) { newpage.append(" <br />\n" +" <b><big>Which Tool or Editor Is Needed to Work on Translations?</big></b><br />\n" + " <br />\n" + " For <b>Western European Latin-based languages</b>, which can use the US-ASCII\n" +" or ISO-8859-1 character set, any text editor (such as NotePad on Windows) can\n" +" be used on Windows and Linux.&nbsp; Once a file is completed, it can be sent as a\n" +" simple text file to\n" + HTML_TRANSLATE_EMAIL_ADDRESS + ".<br />\n" +" <br />\n" +" For <b>Central European languages</b>, the preferred format is a simple text\n" +" file encoded with the ISO-8859-2 character set, or an UTF-8 encoded simple\n" +" text file (which can be edited with NotePad on Windows 2000/XP), or a\n" +" correctly marked-up HTML document such as HTML email, or a Word document.<br />\n" +" <br />\n" +" For <b>other European languages</b>, the preferred format is a plain-text\n" +" file, encoded preferably with UTF-8 or a ISO-8859-* character set that\n" +" you must explicitly specify to us, or a correctly marked-up HTML document,\n" +" or a Word document.&nbsp; Please specify your working operating system and editor\n" +" you used to create plain-text files (we may support Windows codepages or Mac\n" +" charsets, but we will convert them to Unicode UTF-8 in our repository).<br />\n" +" <br />\n" +" For <b>Semitic languages</b> (Arabic, Hebrew...), the preferred format is a\n" +" plain-text file edited with a editor that supports the right-to-left layout,\n" +" encoded preferably with UTF-8 or a ISO-8859-* character set, in logical order.\n" +" Be careful with the relative order of keys and values, and with the\n" +" appearance of ASCII punctuations around right-to-left words: make sure that\n" +" your editor uses the RTL layout with the edited text aligned on the right;\n" +" please don't insert BiDi control overrides; but you may need to place LRE/PDF\n" +" marks (U+202B/U+202C) locally around non-Semitic words inserted within Semitic\n" +" sentences.&nbsp; Also the &quot;<code>\\n</code>&quot; sequences that encode a newline\n" +" will be displayed within semitic text as &quot;<code>n\\</code>&quot;: don't use\n" +" BiDi overrides for such special sequence whose appearance in your editor is not\n" +" important, but that MUST be entered with a leading backslash before the &quot;n&quot;\n" +" character.<br />\n" +" <br />\n" +" For <b>Asian Languages</b>, the preferred submission format is a Unicode text\n" +" file encoded with UTF-8.&nbsp; Users of Windows 2000/XP can use NotePad but you\n" +" must explicitly select the UTF-8 encoding when saving your file.&nbsp; Users of\n" +" localized versions of Windows 95/98/ME can only save their file in the native\n" +" local &quot;ANSI&quot; encoding, and should then send us their translation by\n" +" copying and pasting it in the content body of the email.<br />\n" +" <br />\n" +" <b>Mac users</b> should use a word-processor and send us their\n" +" translations in an unambiguous format.&nbsp; Mac OS 8/9 &quot;SimpleText&quot;\n" +" files use a Mac-specific encoding for international languages\n" +" (additionally, SimpleText is too much limited to edit large files), and a\n" +" specific format for text attachments (we may enventually have difficulties to\n" +" decipher some Mac encodings used in simple text files attachment).&nbsp; On Mac OSX,\n" +" the best tool is &quot;TextEdit&quot;, from the Jaguar accessories, with\n" +" which you can directly edit and save plain-text files encoded with UTF-8.<br />\n" +" <br />\n" +" <b>Linux users</b> can also participate if they have a correctly setup\n" +" environment for their locale.&nbsp; Files can be edited with &quot;vi&quot;,\n" +" &quot;emacs&quot;, or graphical editors for X11.<br />\n" +" <br />\n" +" For other information about internationalization standards, language and\n" +" country codes, character sets and encodings, you may visit these web pages:<br />\n" +" <ul>\n" +" <li>Language codes: <a href=\"http://www.loc.gov/standards/iso639-2/englangn.html\"\n" +" target=\"_blank\">http://www.loc.gov/standards/iso639-2/englangn.html</a></li>\n" +" <li>Country codes: <a href=\"http://www.iso.org/iso/en/prods-services/iso3166ma/index.html\"\n" +" target=\"_blank\">http://www.iso.org/iso/en/prods-services/iso3166ma/index.html</a></li>\n" +" <li>Character sets: <a href=\"http://www.w3.org/International/O-charset.html\"\n" +" target=\"_blank\">http://www.w3.org/International/O-charset.html</a></li>\n" +" <li>Letter database (languages and character sets): <a href=\"http://www.eki.ee/letter/\"\n" +" target=\"_blank\">http://www.eki.ee/letter/</a></li>\n" +" <li>Other internationalization data: <a href=\"http://www.unicode.org/unicode/onlinedat/resources.html\"\n" +" target=\"_blank\">http://www.unicode.org/unicode/onlinedat/resources.html</a></li>\n" +" </ul>\n" +" An excellent tutorial on various character sets, including the ASCII variants, the\n" +" ISO-8859 family, the Windows &quot;ANSI code pages&quot;, Macintosh character codes,\n" +" and Unicode (or its ISO/IEC 10646 repertoire) can be found on:\n" +" <a href=\"http://www.cs.tut.fi/~jkorpela/chars.html\"\n" +" target=\"_blank\">http://www.cs.tut.fi/~jkorpela/chars.html</a><br />\n" +" <br />\n" +" <b><big>How to Submit Corrections or Enhancements for Your Language</big></b><br />\n" +" <br />\n" +" Users that do not have the correct tools to edit a message bundle can send us\n" +" an email in English or in French that explains their needs.\n" +" For any discussion with the contributing translators you may write to\n" + HTML_TRANSLATE_EMAIL_ADDRESS + ".<br />\n" +" <br />\n" +" <b>If your corrections are significant</b>, you may send us your complete\n" +" message bundle.&nbsp; Please be sure to include all resource strings defined in the\n" +" latest version of the existing message bundle before sending us your\n" +" revision.<br />\n" +" <br />\n" +" <b>For simple few corrections or additions</b>, just send the corrected lines\n" +" in the content body of an email (making sure to select the correct character encoding\n" +" in your email tool before sending it so that non-ASCII characters are not lost or\n" +" replaced), with your comments.&nbsp; <i>We will review your translations and integrate\n" +" them into our existing versions after review.</i><br />\n" +" <br />\n" +" <b><big>How to Test a New Translation</big></b><br />\n" +" <br />\n" +" Only Windows and Unix simple text editors can create a plain-text file which\n" +" will work in LimeWire, and only for languages using the Western European\n" +" Latin character set.&nbsp; Don't use &quot;SimpleText&quot; on Mac OS to edit\n" +" properties files as SimpleText does not create plain-text files.&nbsp; Other\n" +" translations need to be converted into regular properties files, encoded\n" +" using the ISO-8859-1 Latin character set and Unicode escape sequences, with a\n" +" tool &quot;native2ascii&quot; found in the Java Development Kit.<br />\n" +" <br />\n" +" You do not need to rename your translated and converted bundle, which can\n" +" coexist with the English version.&nbsp; LimeWire will load the appropriate\n" +" resources file according to the &quot;<code>LANGUAGE=</code>&quot;, and\n" +" &quot;<code>COUNTRY=</code>&quot; settings stored in your\n" +" &quot;<code>limewire.props</code>&quot; preferences file.&nbsp; Lookup for the\n" +" correct language code to use, in the list beside.<br />\n" +" <br />\n" +" Bundles are stored in a single <b>zipped archive</b>\n" +" named &quot;MessagesBundles.jar&quot; installed with LimeWire.&nbsp; All bundles\n" +" are named &quot;MessagesBundle_xx.properties&quot;, where &quot;xx&quot; is replaced by\n" +" the language code (as shown on the table beside).\n" +" Note that bundles for languages using non-Western European Latin characters\n" +" will be converted from UTF-8 to ASCII using a special format with hexadecimal\n" +" Unicode escape sequences, prior to their inclusion in this archive.&nbsp; This can be\n" +" performed using the <code>native2ascii</code> tool from the Java Development Kit.\n" +" If you don't know how to proceed to test the translation yourself,\n" +" ask us for assistance at the same email address used for your contributions.<br />\n" +" <br />\n" +" <b><big>How to Create a New Translation</big></b><br />\n" +" <br />\n" +" Users that wish to contribute with a new translation must be fluent in the\n" +" target language, preferably native of a country where this language is\n" +" official.&nbsp; Before starting\n" +" your work, please contact us at\n" + HTML_TRANSLATE_EMAIL_ADDRESS + ".<br />\n" +" <br />\n" +" During the translation process, you may subscribe to the translate list (see above)\n" +" where you will benefit from other contributions sent to this address.<br />\n" + " <br />\n" + " Do not start with the existing message bundle installed with your current\n" +" servent.&nbsp; <b>Work on the latest version of a message bundle</b> from\n" +" the list of languages on the top right of this page.<br />\n" +" <br />\n" +" When translating, adopt the <b>common terminology</b> used in your localized\n" +" operating system.&nbsp; In some cases, some terms were imported from English,\n" +" despite other terms already existed in your own language.&nbsp; If a local term can\n" +" be used unambiguously, please use it in preference to the English term, even\n" +" if you have seen many uses of this English term on web sites.&nbsp; A good\n" +" translation must be understood by most native people that are not addicted to\n" +" the Internet and computers &quot;jargon&quot;.&nbsp; Pay particularly attention to the\n" +" non-technical translation of common terms: download, upload, host, byte,\n" +" firewall, address, file, directory, # (number of), leaf (terminal node)...<br />\n" +" <br />\n" +" Avoid translating word for word, do not use blindly automatic translators,\n" +" be imaginative but make a <b>clear and concise</b> translation.&nbsp; For button\n" +" labels and column names, don't translate them with long sentences, as they\n" +" may be truncated; suppress some articles, or use abbreviations if needed.\n" +" If there are problems translating some difficult terms, write to the translate\n" +" list (in English or French) for assistance, and subscribe to this list to\n" +" receive comments from users or other translators.<br />\n" +" <br />\n" +" After you've plugged in your translations into your language's message\n" +" bundle, send your copy as a plain-text file attachment to\n" + HTML_TRANSLATE_EMAIL_ADDRESS + ".<br />\n" +" <br />\n" +" <i>We will review your translations and integrate them into our existing\n" +" versions after review.</i><br />\n"+" <br />\n" +" </td>\n" + /* End of column 1 (spacing) */" <td>&nbsp;&nbsp;&nbsp;</td>\n" + /* Column 2 (spacing) */" <td valign=\"top\">\n" + /* Start of column 3 (status) */ /* Start shaded right rectangle */" <table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" bgcolor=\"#b1b1b1\" width=\"270\">\n" +" <tr bgcolor=\"#EFEFEF\">\n" + " <td valign=\"top\"><br />\n" +" <b>LAST UPDATED: <font color=\"#FF0000\">" + df.format(new Date()) + "</font><br />\n" +" <br />\n" +" To get the most recent version of a message bundle, <b>click on the\n" +" corresponding language</b> in the following list.<br />\n" +" <br />\n" +" LATEST TRANSLATIONS STATUS:</b><br />\n"); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/54a638c8af72f402cb4a61b10f0af89527aafc87/HTMLOutput.java/buggy/lib/messagebundles/com/limegroup/gnutella/i18n/HTMLOutput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 4436, 1482, 12, 780, 1892, 394, 2433, 13, 288, 3639, 394, 2433, 18, 6923, 2932, 377, 411, 2848, 342, 5333, 82, 6, 397, 6, 377, 411, 70, 4438, 14002, 34, 2888, 1354, 13288, 578, 18451, 2585, 26480, 358, 4147, 603, 8193, 1012, 35, 1757, 14002, 4695, 70, 4438, 2848, 342, 5333, 82, 6, 397, 315, 377, 411, 2848, 342, 5333, 82, 6, 397, 315, 377, 2457, 411, 70, 34, 59, 281, 798, 512, 24428, 304, 11134, 267, 17, 12261, 8191, 1757, 70, 20401, 1492, 848, 999, 326, 11836, 17, 13756, 64, 82, 6, 397, 6, 377, 578, 9351, 17, 17258, 17, 21, 3351, 444, 16, 1281, 977, 4858, 261, 87, 2648, 487, 3609, 14878, 603, 8202, 13, 848, 64, 82, 6, 397, 6, 377, 506, 1399, 603, 8202, 471, 13318, 18, 10, 10600, 31, 12419, 279, 585, 353, 5951, 16, 518, 848, 506, 3271, 487, 279, 64, 82, 6, 397, 6, 377, 4143, 977, 585, 358, 64, 82, 6, 397, 1377, 3982, 67, 25419, 1777, 67, 14686, 67, 15140, 397, 3552, 32, 2848, 342, 5333, 82, 6, 397, 6, 377, 411, 2848, 342, 5333, 82, 6, 397, 6, 377, 2457, 411, 70, 34, 39, 12839, 512, 24428, 304, 8191, 1757, 70, 20401, 326, 9119, 740, 353, 279, 4143, 977, 64, 82, 6, 397, 6, 377, 585, 3749, 598, 326, 9351, 17, 17258, 17, 22, 3351, 444, 16, 578, 392, 6380, 17, 28, 3749, 4143, 64, 82, 6, 397, 6, 377, 977, 585, 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, 3238, 918, 1361, 4436, 1482, 12, 780, 1892, 394, 2433, 13, 288, 3639, 394, 2433, 18, 6923, 2932, 377, 411, 2848, 342, 5333, 82, 6, 397, 6, 377, 411, 70, 4438, 14002, 34, 2888, 1354, 13288, 578, 18451, 2585, 26480, 358, 4147, 603, 8193, 1012, 35, 1757, 14002, 4695, 70, 4438, 2848, 342, 5333, 82, 6, 397, 315, 377, 411, 2848, 342, 5333, 82, 6, 397, 315, 377, 2457, 411, 70, 34, 59, 281, 798, 512, 24428, 304, 11134, 267, 17, 12261, 8191, 1757, 70, 20401, 1492, 848, 999, 326, 11836, 17, 13756, 64, 82, 6, 397, 6, 377, 578, 9351, 17, 17258, 17, 21, 3351, 444, 16, 1281, 977, 4858, 261, 87, 2648, 487, 3609, 14878, 603, 2 ]
else
else {
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByte((byte) TokenStream.CLOSURE, iCodeTop); Node fn = (Node) node.getProp(Node.FUNCTION_PROP); Short index = (Short) fn.getProp(Node.FUNCTION_PROP); iCodeTop = addByte((byte)(index.shortValue() >> 8), iCodeTop); iCodeTop = addByte((byte)(index.shortValue() & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != TokenStream.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNextSibling(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.LABEL : case TokenStream.WITH : case TokenStream.LOOP : case TokenStream.DEFAULT : case TokenStream.BLOCK : case TokenStream.VOID : case TokenStream.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.COMMA : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); break; case TokenStream.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; /* reminder - below we construct new GOTO nodes that aren't linked into the tree just for the purpose of having a node to pass to the addGoto routine. (Parallels codegen here). Seems unnecessary. */ Vector cases = (Vector) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.elementAt(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.SHEQ, iCodeTop); Node target = new Node(TokenStream.TARGET); thisCase.addChildAfter(target, first); Node branch = new Node(TokenStream.IFEQ); branch.putProp(Node.TARGET_PROP, target); iCodeTop = addGoto(branch, TokenStream.IFEQ, iCodeTop); itsStackDepth--; } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(TokenStream.TARGET); defaultNode.getFirstChild().addChildToFront(defaultTarget); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, defaultTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, breakTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } break; case TokenStream.TARGET : { Object lblObect = node.getProp(Node.LABEL_PROP); if (lblObect == null) { int label = markLabel(acquireLabel(), iCodeTop); node.putProp(Node.LABEL_PROP, new Integer(label)); } else { int label = ((Integer)lblObect).intValue(); markLabel(label, iCodeTop); } // if this target has a FINALLY_PROP, it is a JSR target // and so has a PC value on the top of the stack if (node.getProp(Node.FINALLY_PROP) != null) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.EQOP : case TokenStream.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int op = node.getInt(); if (version == Context.VERSION_1_2) { if (op == TokenStream.EQ) op = TokenStream.SHEQ; else if (op == TokenStream.NE) op = TokenStream.SHNE; } iCodeTop = addByte((byte) op, iCodeTop); itsStackDepth--; } break; case TokenStream.NEW : case TokenStream.CALL : { if (itsSourceFile != null && (itsData.itsSourceFile == null || ! itsSourceFile.equals(itsData.itsSourceFile))) itsData.itsSourceFile = itsSourceFile; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); int childCount = 0; while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); childCount++; } if (node.getProp(Node.SPECIALCALL_PROP) != null) { // embed line number and source filename iCodeTop = addByte((byte) TokenStream.CALLSPECIAL, iCodeTop); iCodeTop = addByte((byte)(itsLineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(itsLineNumber & 0xff), iCodeTop); iCodeTop = addString(itsSourceFile, iCodeTop); } else iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == TokenStream.NEW) childCount -= 1; else childCount -= 2; iCodeTop = addByte((byte)(childCount >> 8), iCodeTop); iCodeTop = addByte((byte)(childCount & 0xff), iCodeTop); if (childCount > itsData.itsMaxArgs) itsData.itsMaxArgs = childCount; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); } break; case TokenStream.NEWLOCAL : case TokenStream.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); } break; case TokenStream.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) iCodeTop = addByte((byte) TokenStream.RETSUB, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); } break; case TokenStream.USETEMP : { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.IFEQ : case TokenStream.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case TokenStream.GOTO : iCodeTop = addGoto(node, (byte) type, iCodeTop); break; case TokenStream.JSR : { /* mark the target with a FINALLY_PROP to indicate that it will have an incoming PC value on the top of the stack. !!! This only works if the target follows the JSR in the tree. !!! */ Node target = (Node)(node.getProp(Node.TARGET_PROP)); target.putProp(Node.FINALLY_PROP, node); iCodeTop = addGoto(node, TokenStream.GOSUB, iCodeTop); } break; case TokenStream.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseTarget = acquireLabel(); iCodeTop = addGoto(falseTarget, TokenStream.IFNE, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(falseTarget, iCodeTop); } break; case TokenStream.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueTarget = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(trueTarget, iCodeTop); } break; case TokenStream.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.GETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.GETSCOPEPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } } break; case TokenStream.DELPROP : case TokenStream.BITAND : case TokenStream.BITOR : case TokenStream.BITXOR : case TokenStream.LSH : case TokenStream.RSH : case TokenStream.URSH : case TokenStream.ADD : case TokenStream.SUB : case TokenStream.MOD : case TokenStream.DIV : case TokenStream.MUL : case TokenStream.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); else badTree(node); } break; case TokenStream.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getInt()) { case TokenStream.VOID : iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); break; case TokenStream.NOT : { int trueTarget = acquireLabel(); int beyond = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.TRUE, iCodeTop); iCodeTop = addGoto(beyond, TokenStream.GOTO, iCodeTop); markLabel(trueTarget, iCodeTop); iCodeTop = addByte((byte) TokenStream.FALSE, iCodeTop); markLabel(beyond, iCodeTop); } break; case TokenStream.BITNOT : iCodeTop = addByte((byte) TokenStream.BITNOT, iCodeTop); break; case TokenStream.TYPEOF : iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); break; case TokenStream.SUB : iCodeTop = addByte((byte) TokenStream.NEG, iCodeTop); break; case TokenStream.ADD : iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); break; default: badTree(node); break; } break; case TokenStream.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.SETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.SETPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETPROP, iCodeTop); itsStackDepth -= 2; } } break; case TokenStream.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth -= 2; break; case TokenStream.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case TokenStream.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = itsData.itsVariableTable.getOrdinal(name); if (index == -1) { iCodeTop = addByte((byte) TokenStream.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPARENT, iCodeTop); break; case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.NAME : case TokenStream.STRING : iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.INC : case TokenStream.DEC : { int childType = child.getType(); switch (childType) { case TokenStream.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); itsStackDepth--; } else { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.VARINC : TokenStream.VARDEC), iCodeTop); int i = itsData.itsVariableTable. getOrdinal(name); iCodeTop = addByte((byte)i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.GETPROP : case TokenStream.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNextSibling(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == TokenStream.GETPROP) iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); else iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.ELEMINC : TokenStream.ELEMDEC), iCodeTop); itsStackDepth--; } break; default : { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.NAMEINC : TokenStream.NAMEDEC), iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } } break; case TokenStream.NUMBER : { Number num = (Number)node.getDatum(); if (num.doubleValue() == 0.0) iCodeTop = addByte((byte) TokenStream.ZERO, iCodeTop); else if (num.doubleValue() == 1.0) iCodeTop = addByte((byte) TokenStream.ONE, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.NUMBER, iCodeTop); iCodeTop = addNumber(num, iCodeTop); } } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.POP : case TokenStream.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case TokenStream.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.NEWSCOPE : iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.LEAVEWITH : iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.TRY : { itsTryDepth++; if (itsTryDepth > itsData.itsMaxTryDepth) itsData.itsMaxTryDepth = itsTryDepth; Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); if (catchTarget == null) { iCodeTop = addByte((byte) TokenStream.TRY, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); } else iCodeTop = addGoto(node, TokenStream.TRY, iCodeTop); int finallyHandler = 0; if (finallyTarget != null) { finallyHandler = acquireLabel(); int theLabel = finallyHandler & 0x7FFFFFFF; itsLabelTable[theLabel].addFixup(iCodeTop); } iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); Node lastChild = null; /* when we encounter the child of the catchTarget, we set the stackDepth to 1 to account for the incoming exception object. */ while (child != null) { if (lastChild == catchTarget) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } iCodeTop = generateICode(child, iCodeTop); lastChild = child; child = child.getNextSibling(); } iCodeTop = addByte((byte) TokenStream.ENDTRY, iCodeTop); itsStackDepth = 0; if (finallyTarget != null) { // normal flow goes around the finally handler stublet int skippy = acquireLabel(); iCodeTop = addGoto(skippy, TokenStream.GOTO, iCodeTop); // on entry the stack will have the exception object markLabel(finallyHandler, iCodeTop); itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); Integer finallyLabel = (Integer)(finallyTarget.getProp(Node.LABEL_PROP)); iCodeTop = addGoto(finallyLabel.intValue(), TokenStream.GOSUB, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.JTHROW, iCodeTop); itsStackDepth = 0; markLabel(skippy, iCodeTop); } itsTryDepth--; } break; case TokenStream.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.THROW, iCodeTop); itsStackDepth--; break; case TokenStream.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) iCodeTop = generateICode(child, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } iCodeTop = addGoto(node, TokenStream.RETURN, iCodeTop); itsStackDepth--; break; case TokenStream.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } else { int index = itsData.itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(TokenStream.BINDNAME); node.setType(TokenStream.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int index = itsData.itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.SETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); } } break; case TokenStream.PRIMARY: iCodeTop = addByte((byte) node.getInt(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case TokenStream.ENUMNEXT : { iCodeTop = addByte((byte) TokenStream.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.ENUMDONE : // could release the local here?? break; case TokenStream.OBJECT : { Node regexp = (Node) node.getProp(Node.REGEXP_PROP); int index = ((Integer)(regexp.getProp( Node.REGEXP_PROP))).intValue(); iCodeTop = addByte((byte) TokenStream.OBJECT, iCodeTop); iCodeTop = addByte((byte)(index >> 8), iCodeTop); iCodeTop = addByte((byte)(index & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; default : badTree(node); break; } return iCodeTop; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/20d55df771c4a873866009d070fb9b0f89f67ff3/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 1671, 1725, 3631, 277, 1085, 3401, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 473, 374, 5297, 3631, 277, 1085, 3401, 1769, 4766, 3639, 2097, 2624, 6148, 9904, 31, 10792, 309, 261, 1282, 2624, 6148, 405, 2097, 751, 18, 1282, 2747, 2624, 13, 13491, 2097, 751, 18, 1282, 2747, 2624, 273, 2097, 2624, 6148, 31, 7734, 289, 7734, 898, 31, 5411, 648, 3155, 1228, 18, 10885, 294, 7734, 277, 1085, 3401, 273, 1089, 31063, 12, 2159, 16, 277, 1085, 3401, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 309, 261, 3624, 18, 588, 559, 1435, 480, 3155, 1228, 18, 7788, 13, 7682, 277, 1085, 3401, 273, 2103, 45, 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, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 2 ]
Label note = new Label(buttonComposite, SWT.NONE); note.setText(WorkbenchMessages.getString("WorkInProgressPreference.noEffectOnAllViews")); note.setFont(font);
createNoteComposite( font, buttonComposite, WorkbenchMessages.getString("Preference.note"), WorkbenchMessages.getString("WorkInProgressPreference.noEffectOnAllViews"));
private void createSingleClickGroup(Composite composite) { Font font = composite.getFont(); Group buttonComposite = new Group(composite, SWT.LEFT); GridLayout layout = new GridLayout(); buttonComposite.setLayout(layout); GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL); buttonComposite.setLayoutData(data); buttonComposite.setText(WorkbenchMessages.getString("WorkInProgressPreference.openMode")); //$NON-NLS-1$ buttonComposite.setFont(font); String label = WorkbenchMessages.getString("WorkInProgressPreference.doubleClick"); //$NON-NLS-1$ doubleClickButton = createRadioButton(buttonComposite,label); doubleClickButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { selectClickMode(singleClickButton.getSelection()); } }); doubleClickButton.setSelection(!openOnSingleClick); label = WorkbenchMessages.getString("WorkInProgressPreference.singleClick"); //$NON-NLS-1$ singleClickButton = createRadioButton(buttonComposite,label); singleClickButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { selectClickMode(singleClickButton.getSelection()); } }); singleClickButton.setSelection(openOnSingleClick); label = WorkbenchMessages.getString("WorkInProgressPreference.singleClick_SelectOnHover"); //$NON-NLS-1$ selectOnHoverButton = new Button(buttonComposite, SWT.CHECK | SWT.LEFT); selectOnHoverButton.setText(label); selectOnHoverButton.setFont(font); selectOnHoverButton.setEnabled(openOnSingleClick); selectOnHoverButton.setSelection(selectOnHover); selectOnHoverButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { selectOnHover = selectOnHoverButton.getSelection(); } }); data = new GridData(); data.horizontalIndent = 20; selectOnHoverButton.setLayoutData(data); label = WorkbenchMessages.getString("WorkInProgressPreference.singleClick_OpenAfterDelay"); //$NON-NLS-1$ openAfterDelayButton = new Button(buttonComposite, SWT.CHECK | SWT.LEFT); openAfterDelayButton.setText(label); openAfterDelayButton.setEnabled(openOnSingleClick); openAfterDelayButton.setSelection(openAfterDelay); openAfterDelayButton.setFont(font); openAfterDelayButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { openAfterDelay = openAfterDelayButton.getSelection(); } }); data = new GridData(); data.horizontalIndent = 20; openAfterDelayButton.setLayoutData(data); Label note = new Label(buttonComposite, SWT.NONE); note.setText(WorkbenchMessages.getString("WorkInProgressPreference.noEffectOnAllViews")); //$NON-NLS-1$ note.setFont(font); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/0f7293c33670797808a746c8b7bba3b0299225a0/WorkbenchPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 5281, 6563, 1114, 12, 9400, 9635, 13, 288, 9506, 202, 5711, 3512, 273, 9635, 18, 588, 5711, 5621, 9506, 202, 1114, 3568, 9400, 273, 394, 3756, 12, 27676, 16, 348, 8588, 18, 10066, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 5391, 9400, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 571, 7145, 751, 18, 6997, 2090, 67, 44, 20344, 1769, 202, 202, 5391, 9400, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 5391, 9400, 18, 542, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 2421, 13434, 9624, 18, 3190, 2309, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 5391, 9400, 18, 542, 5711, 12, 5776, 1769, 9506, 202, 780, 1433, 273, 4147, 22144, 5058, 18, 588, 780, 2932, 2421, 13434, 9624, 18, 9056, 6563, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 9056, 6563, 3616, 273, 752, 19984, 3616, 12, 5391, 9400, 16, 1925, 1769, 202, 202, 9056, 6563, 3616, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 4025, 6563, 2309, 12, 7526, 6563, 3616, 18, 588, 6233, 10663, 1082, 202, 97, 202, 202, 22938, 202, 202, 9056, 6563, 3616, 18, 542, 6233, 12, 5, 3190, 1398, 5281, 6563, 1769, 202, 202, 1925, 273, 4147, 22144, 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, 752, 5281, 6563, 1114, 12, 9400, 9635, 13, 288, 9506, 202, 5711, 3512, 273, 9635, 18, 588, 5711, 5621, 9506, 202, 1114, 3568, 9400, 273, 394, 3756, 12, 27676, 16, 348, 8588, 18, 10066, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 5391, 9400, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 571, 7145, 751, 18, 6997, 2090, 67, 44, 20344, 1769, 202, 202, 5391, 9400, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 5391, 9400, 18, 542, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 2421, 13434, 9624, 18, 3190, 2 ]
if (!(0 <= index && index <= parent.columnCount )) return; int /*long*/ parentHandle = parent.handle; int /*long*/ column = OS.gtk_tree_view_get_column (parentHandle, index); if (column == 0) return;
int count = Math.max (1, parent.getColumnCount ()); if (0 > index || index > count - 1) return;
public void setImage (int index, Image image) { checkWidget (); if (image != null && image.isDisposed()) { error(SWT.ERROR_INVALID_ARGUMENT); } if (!(0 <= index && index <= parent.columnCount )) return; int /*long*/ parentHandle = parent.handle; int /*long*/ column = OS.gtk_tree_view_get_column (parentHandle, index); if (column == 0) return; int /*long*/ pixbuf = 0; if (image != null) { ImageList imageList = parent.imageList; if (imageList == null) imageList = parent.imageList = new ImageList (); int imageIndex = imageList.indexOf (image); if (imageIndex == -1) imageIndex = imageList.add (image); pixbuf = imageList.getPixbuf (imageIndex); } int modelIndex = parent.columnCount == 0 ? Table.FIRST_COLUMN : parent.columns [index].modelIndex; OS.gtk_list_store_set (parent.modelHandle, handle, modelIndex + Table.CELL_PIXBUF, pixbuf, -1); cached = true;}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/0870332ae1d4f046f57059d8eb6710dfe338d2bd/TableItem.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 18893, 261, 474, 770, 16, 3421, 1316, 13, 288, 202, 1893, 4609, 261, 1769, 202, 430, 261, 2730, 480, 446, 597, 1316, 18, 291, 1669, 7423, 10756, 288, 202, 202, 1636, 12, 55, 8588, 18, 3589, 67, 9347, 67, 18311, 1769, 202, 97, 202, 430, 16051, 12, 20, 1648, 770, 597, 770, 1648, 982, 18, 2827, 1380, 8623, 327, 31, 202, 474, 1748, 5748, 5549, 982, 3259, 273, 982, 18, 4110, 31, 202, 474, 1748, 5748, 5549, 1057, 273, 5932, 18, 4521, 79, 67, 3413, 67, 1945, 67, 588, 67, 2827, 261, 2938, 3259, 16, 770, 1769, 202, 430, 261, 2827, 422, 374, 13, 327, 31, 202, 474, 1748, 5748, 5549, 11871, 4385, 273, 374, 31, 202, 430, 261, 2730, 480, 446, 13, 288, 202, 202, 2040, 682, 1316, 682, 273, 982, 18, 2730, 682, 31, 202, 202, 430, 261, 2730, 682, 422, 446, 13, 1316, 682, 273, 982, 18, 2730, 682, 273, 394, 3421, 682, 261, 1769, 202, 202, 474, 1316, 1016, 273, 1316, 682, 18, 31806, 261, 2730, 1769, 202, 202, 430, 261, 2730, 1016, 422, 300, 21, 13, 1316, 1016, 273, 1316, 682, 18, 1289, 261, 2730, 1769, 202, 202, 14861, 4385, 273, 1316, 682, 18, 588, 21816, 4385, 261, 2730, 1016, 1769, 202, 97, 202, 474, 938, 1016, 273, 982, 18, 2827, 1380, 422, 374, 692, 3555, 18, 15354, 67, 11009, 294, 982, 18, 5112, 306, 1615, 8009, 2284, 1016, 31, 202, 4618, 18, 4521, 79, 67, 1098, 67, 2233, 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, 1071, 918, 18893, 261, 474, 770, 16, 3421, 1316, 13, 288, 202, 1893, 4609, 261, 1769, 202, 430, 261, 2730, 480, 446, 597, 1316, 18, 291, 1669, 7423, 10756, 288, 202, 202, 1636, 12, 55, 8588, 18, 3589, 67, 9347, 67, 18311, 1769, 202, 97, 202, 430, 16051, 12, 20, 1648, 770, 597, 770, 1648, 982, 18, 2827, 1380, 8623, 327, 31, 202, 474, 1748, 5748, 5549, 982, 3259, 273, 982, 18, 4110, 31, 202, 474, 1748, 5748, 5549, 1057, 273, 5932, 18, 4521, 79, 67, 3413, 67, 1945, 67, 588, 67, 2827, 261, 2938, 3259, 16, 770, 1769, 202, 430, 261, 2827, 422, 374, 13, 327, 31, 202, 474, 1748, 5748, 5549, 11871, 4385, 273, 374, 31, 202, 2 ]
ArrayList values = new ArrayList(super.size());
ArrayList values = new ArrayList();
public Collection values() { ArrayList values = new ArrayList(super.size()); Iterator i = super.entrySet().iterator(); while ( i.hasNext() ) { Map.Entry e = (Map.Entry)i.next(); MapEntry entry = (MapEntry)e.getValue(); if ( entry.isPrimary() && entry.getValue()!=null) values.add(entry.getValue()); } return Collections.unmodifiableCollection(values); }
15905 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15905/5ee499c417aa594cc7c2572dfbf1d9864ad0e1c7/AbstractReplicatedMap.java/clean/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 2200, 924, 1435, 288, 5411, 2407, 924, 273, 394, 2407, 5621, 5411, 4498, 277, 273, 2240, 18, 4099, 694, 7675, 9838, 5621, 5411, 1323, 261, 277, 18, 5332, 2134, 1435, 262, 288, 7734, 1635, 18, 1622, 425, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 7734, 1635, 1622, 1241, 273, 261, 863, 1622, 13, 73, 18, 24805, 5621, 7734, 309, 261, 1241, 18, 291, 6793, 1435, 597, 1241, 18, 24805, 1435, 5, 33, 2011, 13, 924, 18, 1289, 12, 4099, 18, 24805, 10663, 5411, 289, 5411, 327, 5737, 18, 318, 13388, 2532, 12, 2372, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2200, 924, 1435, 288, 5411, 2407, 924, 273, 394, 2407, 5621, 5411, 4498, 277, 273, 2240, 18, 4099, 694, 7675, 9838, 5621, 5411, 1323, 261, 277, 18, 5332, 2134, 1435, 262, 288, 7734, 1635, 18, 1622, 425, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 7734, 1635, 1622, 1241, 273, 261, 863, 1622, 13, 73, 18, 24805, 5621, 7734, 309, 261, 1241, 18, 291, 6793, 1435, 597, 1241, 18, 24805, 1435, 5, 33, 2011, 13, 924, 18, 1289, 12, 4099, 18, 24805, 10663, 5411, 289, 5411, 327, 5737, 18, 318, 13388, 2532, 12, 2372, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43,
233, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 43,
private static final short[] yyTable4() { return new short[] { 54, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 56, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 47, 39, 40, 41, 42, 41, 0, 43, 44, 45, 0, 0, 0, 0, 0, 41, 0, 47, 47, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 41, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 0, 0, 0, 0, 41, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 54, 54, 0, 0, 54, 54, 54, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 54, 41, 0, 0, 0, 0, 0, 0, 54, 54, 0, 54, 54, 54, 54, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 56, 0, 0, 56, 56, 56, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 0, 0, 0, 0, 0, 0, 0, 56, 56, 0, 56, 56, 56, 56, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 47, 0, 0, 47, 47, 47, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 0, 47, 47, 47, 47, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 41, 41, 0, 0, 41, 41, 41, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 41, 41, 41, 41, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 3, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 263, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 7, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 619, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 231, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 414, 49, 50, 0, 231, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 611, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 615, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 611, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 804, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 808, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 812, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 867, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 869, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 881, 0, 232, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 251, 251, 251, 0, 251, 0, 0, 0, 251, 251, 0, 0, 0, 251, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 0, 251, 251, 251, 0, 251, 0, 251, 0, 251, 0, 0, 0, 0, 0, 0, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 268, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 526, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 526, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 593, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 643, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 769, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 798, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 483, 483, 483, 0, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 483, 483, 0, 483, 483, 483, 483, 0, 0, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 483, 483, 483, 483, 483, 483, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 233, 0, 0, 54, 55, 56, 57, 58, 59, 213, 213, 213, 0, 213, 0, 0, 0, 213, 213, 0, 0, 0, 213, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 213, 213, 213, 213, 213, 213, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 213, 213, 0, 213, 213, 213, 213, 0, 0, 213, 213, 213, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 213, 0, 0, 213, 0, 213, 213, 213, 0, 0, 0, 0, 0, 213, 0, 0, 0, 0, 0, 0, 0, 213, 0, 0, 213, 213, 213, 213, 213, 213, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 753, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 0, 106, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, 0, 0, 47, 0, 48, 49, 50, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 349, 0, 48, 49, 50, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 102, 34, 35, 36, 103, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 787, 0, 0, 107, 0, 48, 49, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 55, 56, 57, 58, 59, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 251, 0, 199, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 200, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 35, 36, 159, 38, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 174, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 286, 287, 199, 288, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 116, 117, 118, 119, 120, 121, 122, 123, 0, 0, 124, 125, 126, 127, 128, 0, 0, 129, 130, 131, 132, 133, 134, 135, 0, 0, 136, 137, 138, 192, 193, 194, 195, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 196, 197, 198, 158, 0, 0, 199, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, }; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 24, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 22431, 16, 282, 5342, 16, 282, 4200, 16, 282, 9035, 16, 282, 11201, 16, 282, 10213, 16, 282, 4248, 16, 282, 6969, 16, 565, 374, 16, 565, 374, 16, 5411, 10659, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 13850, 16, 282, 12732, 16, 282, 9131, 16, 282, 12899, 16, 282, 5196, 16, 5411, 8231, 16, 282, 3847, 16, 282, 13159, 16, 282, 13438, 16, 282, 13191, 16, 282, 6580, 16, 282, 18091, 16, 282, 18012, 16, 282, 17495, 16, 282, 16977, 16, 5411, 8063, 16, 282, 20170, 16, 282, 14856, 16, 282, 20170, 16, 565, 374, 16, 282, 21193, 16, 282, 13291, 16, 282, 12292, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 282, 20170, 16, 565, 374, 16, 282, 17495, 16, 282, 17495, 16, 282, 13850, 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, 282, 17077, 16, 565, 374, 16, 565, 374, 16, 5411, 17495, 16, 565, 374, 16, 282, 9934, 16, 282, 17160, 16, 282, 6437, 16, 565, 374, 16, 282, 21119, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 5411, 18106, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 20170, 16, 565, 374, 16, 565, 374, 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, 24, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 22431, 16, 282, 5342, 16, 282, 4200, 16, 282, 9035, 16, 282, 11201, 16, 282, 10213, 16, 282, 4248, 16, 282, 6969, 16, 565, 374, 16, 565, 374, 16, 5411, 10659, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 282, 13850, 16, 282, 12732, 16, 282, 9131, 16, 282, 12899, 16, 282, 5196, 16, 5411, 8231, 16, 282, 3847, 16, 282, 13159, 16, 282, 13438, 16, 282, 13191, 16, 282, 6580, 16, 282, 18091, 16, 282, 18012, 16, 282, 17495, 16, 282, 16977, 16, 5411, 8063, 16, 282, 20170, 16, 282, 14856, 16, 282, 20170, 16, 2 ]
pp_vector.addElement(newPrepositionalPhrase(Constants.Preposition.MAINTAINING, inv));
Asset resource = inv.getInventoryPG().getResource(); StringBuffer inventoryID = new StringBuffer().append("Inventory:").append(resource.getTypeIdentificationPG().getTypeIdentification()); pp_vector.addElement(newPrepositionalPhrase(Constants.Preposition.MAINTAINING, inventoryID.toString()));
public Task createRefillTask(Inventory inv, double refill_qty, long time) { Asset item = getInventoryAsset(inv); // create request task Vector prefs = new Vector(); Preference p_start, p_end,p_qty; long end_time = defaultRefillEndTime(time,inv);// long start_time = defaultRefillStartTime(time,inv);// p_start = createDateAfterPreference(AspectType.START_TIME, start_time); p_end = createDateBeforePreference(AspectType.END_TIME,end_time); // AMY - SF need early (OPlan Start date), best (defaultRefillEndDate) and Late (Plan End date)// double early = (double)oplan.getStartTime();// double best = (double)end_time;// double late = (double)oplan.getEndTime();// AspectValue earlyAV = new AspectValue(AspectType.END_TIME, early);// AspectValue bestAV = new AspectValue(AspectType.END_TIME, best);// AspectValue lateAV = new AspectValue(AspectType.END_TIME, late);// ScoringFunction endTimeSF = ScoringFunction.createVScoringFunction(earlyAV, bestAV, lateAV);// p_end = ldmFactory_.newPreference(AspectType.END_TIME, endTimeSF); p_qty = createRefillQuantityPreference(refill_qty);// prefs.addElement(p_start); prefs.addElement(p_end); prefs.addElement(p_qty); Vector pp_vector = new Vector(); pp_vector.addElement(newPrepositionalPhrase(Constants.Preposition.FOR, myOrgName_)); pp_vector.add(newPrepositionalPhrase(Constants.Preposition.OFTYPE, supplyType_)); Object io; Enumeration geolocs = AssetUtils.getGeolocLocationAtTime(myOrganization_, end_time); if (geolocs.hasMoreElements()) { io = (GeolocLocation)geolocs.nextElement(); } else { io = thisGeoloc_; } pp_vector.addElement(newPrepositionalPhrase(Constants.Preposition.TO, io)); pp_vector.addElement(newPrepositionalPhrase(Constants.Preposition.MAINTAINING, inv)); pp_vector.addElement(newPrepositionalPhrase(Constants.Preposition.REFILL)); NewTask task = (NewTask)buildTask(null, Constants.Verb.SUPPLY, item, pp_vector, prefs.elements()); return task; }
7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/a44aad124599fa6573ae7a97762619815907df4e/InventoryManager.java/clean/glm/src/org/cougaar/domain/glm/plugins/inventory/InventoryManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3837, 752, 1957, 737, 2174, 12, 15059, 2198, 16, 1645, 1278, 737, 67, 85, 4098, 16, 1525, 813, 13, 288, 202, 6672, 761, 273, 7854, 7792, 6672, 12, 5768, 1769, 202, 759, 752, 590, 1562, 202, 5018, 15503, 273, 394, 5589, 5621, 202, 9624, 293, 67, 1937, 16, 293, 67, 409, 16, 84, 67, 85, 4098, 31, 202, 5748, 679, 67, 957, 273, 805, 1957, 737, 25255, 12, 957, 16, 5768, 1769, 759, 282, 202, 5748, 787, 67, 957, 273, 805, 1957, 737, 13649, 12, 957, 16, 5768, 1769, 759, 282, 202, 84, 67, 1937, 273, 752, 1626, 4436, 9624, 12, 17468, 559, 18, 7570, 67, 4684, 16, 787, 67, 957, 1769, 202, 84, 67, 409, 273, 752, 1626, 4649, 9624, 12, 17468, 559, 18, 4415, 67, 4684, 16, 409, 67, 957, 1769, 202, 759, 20653, 61, 300, 21318, 1608, 11646, 261, 51, 5365, 3603, 1509, 3631, 3796, 261, 1886, 1957, 737, 24640, 13, 471, 511, 340, 261, 5365, 4403, 1509, 13, 759, 21114, 565, 1645, 11646, 273, 261, 9056, 13, 83, 7088, 18, 588, 13649, 5621, 759, 21114, 565, 1645, 3796, 273, 261, 9056, 13, 409, 67, 957, 31, 759, 21114, 565, 1645, 26374, 273, 261, 9056, 13, 83, 7088, 18, 588, 25255, 5621, 759, 21114, 565, 2970, 1181, 620, 11646, 5856, 273, 394, 2970, 1181, 620, 12, 17468, 559, 18, 4415, 67, 4684, 16, 11646, 1769, 759, 21114, 565, 2970, 1181, 620, 3796, 5856, 273, 394, 2970, 1181, 620, 12, 17468, 559, 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, 1071, 3837, 752, 1957, 737, 2174, 12, 15059, 2198, 16, 1645, 1278, 737, 67, 85, 4098, 16, 1525, 813, 13, 288, 202, 6672, 761, 273, 7854, 7792, 6672, 12, 5768, 1769, 202, 759, 752, 590, 1562, 202, 5018, 15503, 273, 394, 5589, 5621, 202, 9624, 293, 67, 1937, 16, 293, 67, 409, 16, 84, 67, 85, 4098, 31, 202, 5748, 679, 67, 957, 273, 805, 1957, 737, 25255, 12, 957, 16, 5768, 1769, 759, 282, 202, 5748, 787, 67, 957, 273, 805, 1957, 737, 13649, 12, 957, 16, 5768, 1769, 759, 282, 202, 84, 67, 1937, 273, 752, 1626, 4436, 9624, 12, 17468, 559, 18, 7570, 67, 4684, 16, 787, 67, 957, 1769, 202, 84, 67, 409, 273, 2 ]
if (popindex < vra.populatedRows.size() && rowlimit == -1) {
if (popindex < vra.populatedRows.size() && ((rowlimit == -1)||(rowNum<=rowlimit))) {
private CellValueRecordInterface findNextCell(CellValueRecordInterface current) { IntList ctRow = null; int rowNum = -1; int colNum = -1; int newCol = -1; boolean wasntFirst = false; if (current != null) { wasntFirst = true; rowNum = current.getRow(); colNum = current.getColumn(); ctRow = ((IntList)vra.celltype.get(rowNum)); } //if popindex = row iwth no cells, fast forward till we get to one with size > 0 while ((ctRow == null || ctRow.size() == 0) && vra.populatedRows.size() > popindex) { if (wasntFirst == true) { throw new RuntimeException("CANT HAPPEN WASNTFIRST BUT WE'RE FASTFORWARDING!"); } rowNum = vra.populatedRows.get(popindex); ctRow = (IntList)vra.celltype.get(rowNum); if (ctRow.size() == 0) { if (rowlimit == -1) { popindex++; } else { this.hasNext = false; } } } if (rowNum == -1) { return null; } while (newCol == -1) { newCol = findNextPopulatedCell(rowNum,colNum); colNum = newCol; if (colNum == -1) { //end of row, forward one row popindex++; if (popindex < vra.populatedRows.size() && rowlimit == -1) { rowNum = vra.populatedRows.get(popindex); } else { return null; } } } return vra.constructRecord(rowNum,colNum); }
509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/5b82dc6574ea6ca8c3a93361173b8a438078e8a2/ValueRecordsAggregate.java/clean/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8614, 620, 2115, 1358, 19429, 4020, 12, 27758, 2115, 1358, 783, 13, 288, 3639, 3094, 682, 5691, 1999, 273, 446, 31, 3639, 509, 1027, 2578, 273, 300, 21, 31, 3639, 509, 645, 2578, 273, 300, 21, 31, 3639, 509, 394, 914, 273, 300, 21, 31, 3639, 1250, 1703, 496, 3759, 273, 629, 31, 3639, 309, 261, 2972, 480, 446, 13, 288, 5411, 1703, 496, 3759, 273, 638, 31, 5411, 1027, 2578, 273, 783, 18, 588, 1999, 5621, 5411, 645, 2578, 273, 783, 18, 588, 1494, 5621, 5411, 5691, 1999, 273, 14015, 1702, 682, 13, 90, 354, 18, 3855, 723, 18, 588, 12, 492, 2578, 10019, 3639, 289, 3639, 368, 430, 1843, 1615, 273, 1027, 25522, 451, 1158, 5983, 16, 4797, 5104, 21364, 732, 336, 358, 1245, 598, 963, 405, 374, 3639, 1323, 14015, 299, 1999, 422, 446, 747, 5691, 1999, 18, 1467, 1435, 422, 374, 13, 597, 331, 354, 18, 5120, 11799, 4300, 18, 1467, 1435, 405, 1843, 1615, 13, 288, 5411, 309, 261, 17416, 496, 3759, 422, 638, 13, 288, 7734, 604, 394, 3235, 2932, 39, 6856, 670, 7215, 1157, 678, 3033, 1784, 15354, 605, 1693, 13880, 11, 862, 24239, 7473, 21343, 1360, 4442, 1769, 5411, 289, 5411, 1027, 2578, 273, 331, 354, 18, 5120, 11799, 4300, 18, 588, 12, 5120, 1615, 1769, 5411, 5691, 1999, 273, 261, 1702, 682, 13, 90, 354, 18, 3855, 723, 18, 588, 12, 492, 2578, 1769, 5411, 309, 261, 299, 1999, 18, 1467, 1435, 422, 374, 13, 288, 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, 8614, 620, 2115, 1358, 19429, 4020, 12, 27758, 2115, 1358, 783, 13, 288, 3639, 3094, 682, 5691, 1999, 273, 446, 31, 3639, 509, 1027, 2578, 273, 300, 21, 31, 3639, 509, 645, 2578, 273, 300, 21, 31, 3639, 509, 394, 914, 273, 300, 21, 31, 3639, 1250, 1703, 496, 3759, 273, 629, 31, 3639, 309, 261, 2972, 480, 446, 13, 288, 5411, 1703, 496, 3759, 273, 638, 31, 5411, 1027, 2578, 273, 783, 18, 588, 1999, 5621, 5411, 645, 2578, 273, 783, 18, 588, 1494, 5621, 5411, 5691, 1999, 273, 14015, 1702, 682, 13, 90, 354, 18, 3855, 723, 18, 588, 12, 492, 2578, 10019, 3639, 289, 3639, 368, 430, 1843, 1615, 273, 1027, 25522, 451, 1158, 2 ]
wlSeq.setEnabled( wUpdate.getSelection() );
public void setFlags() { boolean enable= ci==null || ci.supportsAutoinc(); wlAutoinc.setEnabled(enable); wAutoinc.setEnabled(enable); boolean seq = ci==null || ci.supportsSequences(); wlSeq.setEnabled(seq); wSeq.setEnabled(seq); ColumnInfo colinf =new ColumnInfo(Messages.getString("DimensionLookupDialog.ColumnInfo.Type"), ColumnInfo.COLUMN_TYPE_CCOMBO, //$NON-NLS-1$ input.isUpdate()? DimensionLookupMeta.typeDesc: DimensionLookupMeta.typeDescLookup ); wUpIns.setColumnInfo(2, colinf); if (input.isUpdate()) { wUpIns.setColumnText(2, Messages.getString("DimensionLookupDialog.UpdateOrInsertFields.ColumnText.SteamFieldToCompare")); //$NON-NLS-1$ wUpIns.setColumnText(3, Messages.getString("DimensionLookupDialog.UpdateOrInsertFields.ColumnTextTypeOfDimensionUpdate")); //$NON-NLS-1$ wUpIns.setColumnToolTip(2, Messages.getString("DimensionLookupDialog.UpdateOrInsertFields.ColumnToolTip")+Const.CR+"Punch Through: Kimball Type I"+Const.CR+"Update: Correct error in last version"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } else { wUpIns.setColumnText(2, Messages.getString("DimensionLookupDialog.UpdateOrInsertFields.ColumnText.NewNameOfOutputField")); //$NON-NLS-1$ wUpIns.setColumnText(3, Messages.getString("DimensionLookupDialog.UpdateOrInsertFields.ColumnText.TypeOfReturnField")); //$NON-NLS-1$ wUpIns.setColumnToolTip(2, Messages.getString("DimensionLookupDialog.UpdateOrInsertFields.ColumnToolTip2")); //$NON-NLS-1$ } wUpIns.optWidth(true); // In case of lookup: disable commitsize, etc. wlCommit.setEnabled( wUpdate.getSelection() ); wCommit.setEnabled( wUpdate.getSelection() ); wlAutoinc.setEnabled( wUpdate.getSelection() ); wAutoinc.setEnabled( wUpdate.getSelection() ); wlSeq.setEnabled( wUpdate.getSelection() ); wSeq.setEnabled( wUpdate.getSelection() ); wlMinyear.setEnabled( wUpdate.getSelection() ); wMinyear.setEnabled( wUpdate.getSelection() ); wlMaxyear.setEnabled( wUpdate.getSelection() ); wMaxyear.setEnabled( wUpdate.getSelection() ); wlMinyear.setEnabled( wUpdate.getSelection() ); wMinyear.setEnabled( wUpdate.getSelection() ); }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/a3abd573cba3f456078d31f4b9c44af019477a12/DimensionLookupDialog.java/clean/src/be/ibridge/kettle/trans/step/dimensionlookup/DimensionLookupDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5094, 1435, 202, 95, 202, 202, 6494, 4237, 33, 9039, 631, 2011, 747, 9039, 18, 28064, 7150, 885, 71, 5621, 202, 202, 21504, 7150, 885, 71, 18, 542, 1526, 12, 7589, 1769, 202, 202, 91, 7150, 885, 71, 18, 542, 1526, 12, 7589, 1769, 202, 202, 6494, 3833, 273, 9039, 631, 2011, 747, 9039, 18, 28064, 21710, 5621, 202, 202, 21504, 6926, 18, 542, 1526, 12, 5436, 1769, 202, 202, 91, 6926, 18, 542, 1526, 12, 5436, 1769, 202, 202, 1494, 966, 645, 10625, 273, 2704, 4753, 966, 12, 5058, 18, 588, 780, 2932, 8611, 6609, 6353, 18, 1494, 966, 18, 559, 6, 3631, 1377, 4753, 966, 18, 11009, 67, 2399, 67, 39, 4208, 5315, 16, 225, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 225, 810, 18, 291, 1891, 1435, 35, 6862, 13037, 6609, 2781, 18, 723, 4217, 30, 6862, 13037, 6609, 2781, 18, 723, 4217, 6609, 202, 202, 1769, 202, 202, 91, 1211, 5048, 18, 542, 1494, 966, 12, 22, 16, 645, 10625, 1769, 202, 202, 430, 261, 2630, 18, 291, 1891, 10756, 202, 202, 95, 1082, 202, 91, 1211, 5048, 18, 542, 1494, 1528, 12, 22, 16, 4838, 18, 588, 780, 2932, 8611, 6609, 6353, 18, 1891, 1162, 4600, 2314, 18, 1494, 1528, 18, 510, 3820, 974, 774, 8583, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 91, 1211, 5048, 18, 542, 1494, 1528, 12, 23, 16, 4838, 18, 588, 780, 2932, 8611, 6609, 6353, 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, 482, 918, 444, 5094, 1435, 202, 95, 202, 202, 6494, 4237, 33, 9039, 631, 2011, 747, 9039, 18, 28064, 7150, 885, 71, 5621, 202, 202, 21504, 7150, 885, 71, 18, 542, 1526, 12, 7589, 1769, 202, 202, 91, 7150, 885, 71, 18, 542, 1526, 12, 7589, 1769, 202, 202, 6494, 3833, 273, 9039, 631, 2011, 747, 9039, 18, 28064, 21710, 5621, 202, 202, 21504, 6926, 18, 542, 1526, 12, 5436, 1769, 202, 202, 91, 6926, 18, 542, 1526, 12, 5436, 1769, 202, 202, 1494, 966, 645, 10625, 273, 2704, 4753, 966, 12, 5058, 18, 588, 780, 2932, 8611, 6609, 6353, 18, 1494, 966, 18, 559, 6, 3631, 1377, 4753, 966, 18, 11009, 67, 2399, 67, 39, 4208, 2 ]
if (connected)
if (isConnected())
public void finalizer() { if (connected) { try { close (); } catch (Exception e) { } } }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/7113237bf329e1245f096787093aed051ea2dd23/SocketChannelImpl.java/clean/libjava/gnu/java/nio/SocketChannelImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 727, 1824, 1435, 225, 288, 565, 309, 261, 291, 8932, 10756, 1377, 288, 3639, 775, 1850, 288, 5411, 1746, 261, 1769, 1850, 289, 3639, 1044, 261, 503, 425, 13, 1850, 288, 1850, 289, 1377, 289, 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, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 1824, 1435, 225, 288, 565, 309, 261, 291, 8932, 10756, 1377, 288, 3639, 775, 1850, 288, 5411, 1746, 261, 1769, 1850, 289, 3639, 1044, 261, 503, 425, 13, 1850, 288, 1850, 289, 1377, 289, 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 ]
fInternalSubset.append("PUBLIC '"); fInternalSubset.append(publicId); fInternalSubset.append("' '");
fInternalSubset.append ("PUBLIC '"); fInternalSubset.append (publicId); fInternalSubset.append ("' '");
public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException { if (DEBUG_EVENTS) { System.out.println("==>externalEntityDecl: "+name); if (DEBUG_BASEURI) { System.out.println(" expandedSystemId:"+ identifier.getExpandedSystemId()); System.out.println(" baseURI:"+ identifier.getBaseSystemId()); } } // internal subset string String publicId = identifier.getPublicId(); String literalSystemId = identifier.getLiteralSystemId(); if (fInternalSubset != null && !fInDTDExternalSubset) { fInternalSubset.append("<!ENTITY "); if (name.startsWith("%")) { fInternalSubset.append("% "); fInternalSubset.append(name.substring(1)); } else { fInternalSubset.append(name); } fInternalSubset.append(' '); if (publicId != null) { fInternalSubset.append("PUBLIC '"); fInternalSubset.append(publicId); fInternalSubset.append("' '"); } else { fInternalSubset.append("SYSTEM '"); } fInternalSubset.append(literalSystemId); fInternalSubset.append("'>\n"); } // NOTE: We only know how to create these nodes for the Xerces // DOM implementation because DOM Level 2 does not specify // that functionality. -Ac // create full node // don't add parameter entities! if(name.startsWith("%")) return; if (fDocumentType != null) { NamedNodeMap entities = fDocumentType.getEntities(); EntityImpl entity = (EntityImpl)entities.getNamedItem(name); if (entity == null) { entity = (EntityImpl)fDocumentImpl.createEntity(name); entity.setPublicId(publicId); entity.setSystemId(literalSystemId); entity.setBaseURI(identifier.getBaseSystemId()); entities.setNamedItem(entity); } } // create deferred node if (fDocumentTypeIndex != -1) { boolean found = false; int nodeIndex = fDeferredDocumentImpl.getLastChild(fDocumentTypeIndex, false); while (nodeIndex != -1) { short nodeType = fDeferredDocumentImpl.getNodeType(nodeIndex, false); if (nodeType == Node.ENTITY_NODE) { String nodeName = fDeferredDocumentImpl.getNodeName(nodeIndex, false); if (nodeName.equals(name)) { found = true; break; } } nodeIndex = fDeferredDocumentImpl.getRealPrevSibling(nodeIndex, false); } if (!found) { int entityIndex = fDeferredDocumentImpl.createDeferredEntity( name, publicId, literalSystemId, null, identifier.getBaseSystemId()); fDeferredDocumentImpl.appendChild(fDocumentTypeIndex, entityIndex); } } } // externalEntityDecl(String,XMLResourceIdentifier, Augmentations)
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/9d1dbf89c75cf6f564facc2b605dd9f2cf2dac4d/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3903, 1943, 3456, 12, 780, 508, 16, 3167, 1420, 3004, 2756, 16, 4766, 282, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 9394, 67, 29221, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 9375, 1943, 3456, 30, 13773, 529, 1769, 5411, 309, 261, 9394, 67, 8369, 3098, 13, 288, 1171, 2332, 18, 659, 18, 8222, 2932, 282, 8406, 3163, 548, 2773, 15, 2756, 18, 588, 17957, 3163, 548, 10663, 7734, 2332, 18, 659, 18, 8222, 2932, 282, 1026, 3098, 2773, 15, 2756, 18, 588, 2171, 3163, 548, 10663, 5411, 289, 3639, 289, 1850, 368, 2713, 7931, 533, 3639, 514, 1071, 548, 273, 2756, 18, 588, 4782, 548, 5621, 3639, 514, 7158, 3163, 548, 273, 2756, 18, 588, 6177, 3163, 548, 5621, 3639, 309, 261, 74, 3061, 20315, 480, 446, 597, 401, 74, 382, 25728, 6841, 20315, 13, 288, 5411, 284, 3061, 20315, 18, 6923, 2932, 5586, 11101, 315, 1769, 5411, 309, 261, 529, 18, 17514, 1190, 2932, 16407, 3719, 288, 7734, 284, 3061, 20315, 18, 6923, 27188, 315, 1769, 7734, 284, 3061, 20315, 18, 6923, 12, 529, 18, 28023, 12, 21, 10019, 5411, 289, 5411, 469, 288, 7734, 284, 3061, 20315, 18, 6923, 12, 529, 1769, 5411, 289, 5411, 284, 3061, 20315, 18, 6923, 2668, 28005, 5411, 309, 261, 482, 548, 480, 446, 13, 288, 7734, 284, 3061, 20315, 18, 6923, 2932, 14939, 2119, 1769, 7734, 284, 3061, 20315, 18, 6923, 12, 482, 548, 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, 3903, 1943, 3456, 12, 780, 508, 16, 3167, 1420, 3004, 2756, 16, 4766, 282, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 9394, 67, 29221, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 631, 34, 9375, 1943, 3456, 30, 13773, 529, 1769, 5411, 309, 261, 9394, 67, 8369, 3098, 13, 288, 1171, 2332, 18, 659, 18, 8222, 2932, 282, 8406, 3163, 548, 2773, 15, 2756, 18, 588, 17957, 3163, 548, 10663, 7734, 2332, 18, 659, 18, 8222, 2932, 282, 1026, 3098, 2773, 15, 2756, 18, 588, 2171, 3163, 548, 10663, 5411, 289, 3639, 289, 1850, 368, 2713, 7931, 533, 3639, 514, 1071, 548, 273, 2756, 18, 588, 4782, 2 ]
public org.quickfix.field.ListID getListID() throws FieldNotFound { org.quickfix.field.ListID value = new org.quickfix.field.ListID();
public quickfix.field.ListID getListID() throws FieldNotFound { quickfix.field.ListID value = new quickfix.field.ListID();
public org.quickfix.field.ListID getListID() throws FieldNotFound { org.quickfix.field.ListID value = new org.quickfix.field.ListID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListExecute.java/buggy/src/java/src/quickfix/fix43/ListExecute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 682, 734, 10033, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 682, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 682, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 682, 734, 10033, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 682, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 682, 734, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Vector sigParts = new Vector(); Vector encPartsInternal = new Vector(); Vector encPartsExternal = new Vector(); /* * Check if a timestamp is required. If yes create one and add its Id to * signed parts. According to WSP a timestamp must be signed */ WSSecTimestamp timestamp = null; if (policyData.isIncludeTimestamp()) { timestamp = new WSSecTimestamp(); timestamp.prepare(doc); sigParts.add(new WSEncryptionPart(timestamp.getId())); } /* * Check for a recipient token. If one is avaliable use it as token to * encrypt data to the recipient. This is according to WSP * specification. */ WSSecEncrypt recEncrypt = null; RampartPolicyToken recToken = null; if ((recToken = policyData.getRecipientToken()) != null) { recEncrypt = new WSSecEncrypt(); recEncrypt.setKeyIdentifierType(recToken.getKeyIdentifier()); recEncrypt.setSymmetricEncAlgorithm(recToken.getEncAlgorithm()); recEncrypt.setKeyEnc(recToken.getEncTransportAlgorithm()); String encryptionUser = policyData.getRampartConfig().getEncryptionUser(); validateEncryptionUser(encryptionUser); recEncrypt.setUserInfo(encryptionUser); recEncrypt.prepare(doc, this.getEncryptionCrypto(policyData.getRampartConfig())); } /* * Check for an initiator token. If one is avaliable use it as token to * sign data. This is according to WSP specification. * * If SignatureProtection is enabled add the signature to the encrypted * parts vector. In any case the signature must be in the internal * ReferenceList (this list is a child of the EncryptedKey element). * * If TokenProtection is enabled add an appropriate signature reference. * * TODO Check / enable for STRTransform */ WSSecSignature iniSignature = null; RampartPolicyToken iniToken = null; if ((iniToken = policyData.getInitiatorToken()) != null) { iniSignature = new WSSecSignature(); iniSignature.setKeyIdentifierType(iniToken.getKeyIdentifier()); iniSignature.setSignatureAlgorithm(iniToken.getSigAlgorithm()); if (policyData.isTokenProtection()) { sigParts.add(new WSEncryptionPart("Token", null, null)); } if (policyData.isSignatureProtection()) { encPartsInternal.add(new WSEncryptionPart(iniSignature.getId(), "Element")); } String user = policyData.getRampartConfig().getUser(); String password = this.getPrivateKeyPasswprd(policyData.getRampartConfig(), msgCtx); iniSignature.setUserInfo(user,password); iniSignature.prepare(doc, this.getSignatureCrypto(policyData.getRampartConfig()), secHeader); } Element body = WSSecurityUtil.findBodyElement(doc, soapConstants); if (body == null) { System.out .println("No SOAP Body found - illegal message structure. Processing terminated"); return; } WSEncryptionPart bodyPart = new WSEncryptionPart("Body", soapConstants .getEnvelopeURI(), "Content"); /* * Check the protection order. If Encrypt before signing then first take * all parts and elements to encrypt and encrypt them. Take their ids * after encryption and put them to the parts to be signed. * */ Element externRefList = null; if (Constants.ENCRYPT_BEFORE_SIGNING.equals(policyData.getProtectionOrder())) { /* * Process Body: it sign and encrypt: first encrypt the body, insert * the body to the parts to be signed. * * If just to be signed: add the plain Body to the parts to be * signed */ if (policyData.isSignBody()) { if (policyData.isEncryptBody()) { Vector parts = new Vector(); parts.add(bodyPart); externRefList = recEncrypt.encryptForExternalRef( externRefList, parts); sigParts.add(bodyPart); } else { sigParts.add(bodyPart);
OMElement elem = ((SecureConversationToken) sigTok) .getIssuerEpr(); String issuerAddress = this.extractIssuerAddress(elem); issuerAddress = (issuerAddress != null) ? issuerAddress : msgCtx.getOptions().getTo().getAddress(); String id = STSRequester.getSct(rmd, issuerAddress, ((SecureConversationToken) sigTok) .getBootstrapPolicy());
private void processEnvelope(MessageContext msgCtx, RampartPolicyData policyData) throws RampartException, WSSecurityException { log.info("Before create Message assym...."); DocumentBuilderFactoryImpl.setDOOMRequired(true); // TODO: Convert to DOOM SOAPEnvelope env = msgCtx.getEnvelope(); /* * First get the SOAP envelope as document, then create a security * header and insert into the document (Envelope) */ Document doc = ((Element)env).getOwnerDocument(); SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(doc .getDocumentElement()); WSSecHeader secHeader = new WSSecHeader(); secHeader.insertSecurityHeader(doc); Vector sigParts = new Vector(); Vector encPartsInternal = new Vector(); Vector encPartsExternal = new Vector(); /* * Check if a timestamp is required. If yes create one and add its Id to * signed parts. According to WSP a timestamp must be signed */ WSSecTimestamp timestamp = null; if (policyData.isIncludeTimestamp()) { timestamp = new WSSecTimestamp(); timestamp.prepare(doc); sigParts.add(new WSEncryptionPart(timestamp.getId())); } /* * Check for a recipient token. If one is avaliable use it as token to * encrypt data to the recipient. This is according to WSP * specification. */ WSSecEncrypt recEncrypt = null; RampartPolicyToken recToken = null; if ((recToken = policyData.getRecipientToken()) != null) { recEncrypt = new WSSecEncrypt(); recEncrypt.setKeyIdentifierType(recToken.getKeyIdentifier()); recEncrypt.setSymmetricEncAlgorithm(recToken.getEncAlgorithm()); recEncrypt.setKeyEnc(recToken.getEncTransportAlgorithm()); //Get the user name from RampartConfig assertion String encryptionUser = policyData.getRampartConfig().getEncryptionUser(); validateEncryptionUser(encryptionUser); recEncrypt.setUserInfo(encryptionUser); recEncrypt.prepare(doc, this.getEncryptionCrypto(policyData.getRampartConfig())); } /* * Check for an initiator token. If one is avaliable use it as token to * sign data. This is according to WSP specification. * * If SignatureProtection is enabled add the signature to the encrypted * parts vector. In any case the signature must be in the internal * ReferenceList (this list is a child of the EncryptedKey element). * * If TokenProtection is enabled add an appropriate signature reference. * * TODO Check / enable for STRTransform */ WSSecSignature iniSignature = null; RampartPolicyToken iniToken = null; if ((iniToken = policyData.getInitiatorToken()) != null) { iniSignature = new WSSecSignature(); iniSignature.setKeyIdentifierType(iniToken.getKeyIdentifier()); iniSignature.setSignatureAlgorithm(iniToken.getSigAlgorithm()); if (policyData.isTokenProtection()) { sigParts.add(new WSEncryptionPart("Token", null, null)); } if (policyData.isSignatureProtection()) { encPartsInternal.add(new WSEncryptionPart(iniSignature.getId(), "Element")); } String user = policyData.getRampartConfig().getUser(); String password = this.getPrivateKeyPasswprd(policyData.getRampartConfig(), msgCtx); iniSignature.setUserInfo(user,password); iniSignature.prepare(doc, this.getSignatureCrypto(policyData.getRampartConfig()), secHeader); } Element body = WSSecurityUtil.findBodyElement(doc, soapConstants); if (body == null) { System.out .println("No SOAP Body found - illegal message structure. Processing terminated"); return; } WSEncryptionPart bodyPart = new WSEncryptionPart("Body", soapConstants .getEnvelopeURI(), "Content"); /* * Check the protection order. If Encrypt before signing then first take * all parts and elements to encrypt and encrypt them. Take their ids * after encryption and put them to the parts to be signed. * */ Element externRefList = null; if (Constants.ENCRYPT_BEFORE_SIGNING.equals(policyData.getProtectionOrder())) { /* * Process Body: it sign and encrypt: first encrypt the body, insert * the body to the parts to be signed. * * If just to be signed: add the plain Body to the parts to be * signed */ if (policyData.isSignBody()) { if (policyData.isEncryptBody()) { Vector parts = new Vector(); parts.add(bodyPart); externRefList = recEncrypt.encryptForExternalRef( externRefList, parts); sigParts.add(bodyPart); } else { sigParts.add(bodyPart); } } /* * Here we need to handle signed/encrypted parts: * * Get all parts that need to be encrypted _and_ signed, encrypt * them, get ids of thier encrypted data elements and add these ids * to the parts to be signed * * Then encrypt the remaining parts that don't need to be signed. * * Then add the remaining parts that don't nedd to be encrypted to * the parts to be signed. * * Similar handling for signed/encrypted elements (compare XPath * strings?) * * After all elements are encrypted put the external refernce list * to the security header. is at the bottom of the security header) */ recEncrypt.addExternalRefElement(externRefList, secHeader); /* * Now handle the supporting tokens - according to OASIS WSP * supporting tokens are not part of a Binding assertion but a top * level assertion similar to Wss11 or SignedParts. If supporting * tokens are available their BST elements have to be added later * (probably prepended to the initiator token - see below) */ /* * Now add the various elements to the header. We do a strict layout * here. * */ /* * Prepend Signature to the supporting tokens that sign the primary * signature */ iniSignature.prependToHeader(secHeader); /* * This prepends a possible initiator token to the security header */ iniSignature.prependBSTElementToHeader(secHeader); /* * Here prepend BST elements of supporting tokens * (EndorsingSupportTokens), then prepend supporting token that do * not sign the primary signature but are signed by the primary * signature. Take care of the TokenProtection protery!? */ /* * Add the encrypted key element and then the associated BST element * recipient token) */ recEncrypt.prependToHeader(secHeader); recEncrypt.prependBSTElementToHeader(secHeader); /* * Now we are ready to per Signature processing. * * First the primary Signature then supporting tokens (Signatures) * that sign the primary Signature. */ timestamp.prependToHeader(secHeader); iniSignature.addReferencesToSign(sigParts, secHeader); iniSignature.computeSignature(); Element internRef = recEncrypt.encryptForInternalRef(null, encPartsInternal); recEncrypt.addInternalRefElement(internRef); } else { System.out.println("SignBeforeEncrypt needs to be implemented"); } log.info("After creating Message asymm...."); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/4821185ddb93fcf5c23239ce2637999764705da6/MessageBuilder.java/clean/modules/security/src/org/apache/rampart/MessageBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 10862, 12, 1079, 1042, 1234, 6442, 16, 534, 931, 485, 2582, 751, 3329, 751, 13, 1216, 534, 931, 485, 503, 16, 678, 1260, 557, 2336, 503, 288, 3639, 613, 18, 1376, 2932, 4649, 752, 2350, 1551, 2942, 6265, 8863, 3639, 30236, 2828, 18, 542, 3191, 1872, 3705, 12, 3767, 1769, 3639, 368, 1377, 2660, 30, 4037, 358, 5467, 1872, 3639, 16434, 10862, 1550, 273, 1234, 6442, 18, 588, 10862, 5621, 7734, 1748, 540, 380, 5783, 336, 326, 16434, 9045, 487, 1668, 16, 1508, 752, 279, 4373, 540, 380, 1446, 471, 2243, 1368, 326, 1668, 261, 10862, 13, 540, 1195, 3639, 4319, 997, 273, 14015, 1046, 13, 3074, 2934, 588, 5541, 2519, 5621, 3639, 16434, 2918, 9930, 2918, 273, 678, 1260, 557, 2336, 1304, 18, 588, 27952, 2918, 12, 2434, 7734, 263, 588, 2519, 1046, 10663, 3639, 678, 1260, 557, 1864, 1428, 1864, 273, 394, 678, 1260, 557, 1864, 5621, 3639, 1428, 1864, 18, 6387, 4368, 1864, 12, 2434, 1769, 3639, 5589, 3553, 4305, 273, 394, 5589, 5621, 3639, 5589, 2446, 4305, 3061, 273, 394, 5589, 5621, 3639, 5589, 2446, 4305, 6841, 273, 394, 5589, 5621, 3639, 1748, 540, 380, 2073, 309, 279, 2858, 353, 1931, 18, 971, 12465, 752, 1245, 471, 527, 2097, 3124, 358, 540, 380, 6726, 2140, 18, 12848, 4643, 358, 678, 3118, 279, 2858, 1297, 506, 6726, 540, 1195, 3639, 678, 1260, 557, 4921, 2858, 273, 446, 31, 3639, 309, 261, 5086, 751, 18, 291, 8752, 4921, 10756, 288, 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, 918, 1207, 10862, 12, 1079, 1042, 1234, 6442, 16, 534, 931, 485, 2582, 751, 3329, 751, 13, 1216, 534, 931, 485, 503, 16, 678, 1260, 557, 2336, 503, 288, 3639, 613, 18, 1376, 2932, 4649, 752, 2350, 1551, 2942, 6265, 8863, 3639, 30236, 2828, 18, 542, 3191, 1872, 3705, 12, 3767, 1769, 3639, 368, 1377, 2660, 30, 4037, 358, 5467, 1872, 3639, 16434, 10862, 1550, 273, 1234, 6442, 18, 588, 10862, 5621, 7734, 1748, 540, 380, 5783, 336, 326, 16434, 9045, 487, 1668, 16, 1508, 752, 279, 4373, 540, 380, 1446, 471, 2243, 1368, 326, 1668, 261, 10862, 13, 540, 1195, 3639, 4319, 997, 273, 14015, 1046, 13, 3074, 2934, 588, 5541, 2519, 5621, 3639, 16434, 2918, 2 ]
return "04.02.07.00";
return "04.02.08.00";
public static String getBuild() { // (major).(minor).(<99 = preX, 99 = final).(bug fix) return "04.02.07.00"; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/a6ec56385810c5dc2070ff1faaf10b10a6584b58/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 21122, 1435, 202, 95, 202, 202, 759, 261, 14019, 2934, 12, 17364, 2934, 12, 32, 2733, 273, 675, 60, 16, 14605, 273, 727, 2934, 12, 925, 2917, 13, 202, 202, 2463, 315, 3028, 18, 3103, 18, 8642, 18, 713, 14432, 202, 97, 368, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 21122, 1435, 202, 95, 202, 202, 759, 261, 14019, 2934, 12, 17364, 2934, 12, 32, 2733, 273, 675, 60, 16, 14605, 273, 727, 2934, 12, 925, 2917, 13, 202, 202, 2463, 315, 3028, 18, 3103, 18, 8642, 18, 713, 14432, 202, 97, 368, 9090, 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 ]
switch (image.alignment() & Image.MIDDLE) {
switch (image.alignment() & (Image.MIDDLE | Image.RIGHT)) {
private float addImage(Image imageOrg, float left, float right, float height, int alignment) { Image image = Image.getInstance(imageOrg); if (image.scaledWidth() > right - left) { image.scaleToFit(right - left, Float.MAX_VALUE); } if (line.size() != 0) lines.add(line); line = new PdfLine(left, right, alignment, image.scaledHeight() + 0.4f * leading); lines.add(line); line = new PdfLine(left, right, alignment, leading); switch (image.alignment() & Image.MIDDLE) { case Image.RIGHT: left = right - image.scaledWidth(); break; case Image.MIDDLE: left = left + ((right - left - image.scaledWidth()) / 2f); break; case Image.LEFT: default: } image.setAbsolutePosition(left, height + (lines.size() - 2) * leading + image.scaledHeight() + 0.4f * leading); images.add(image); return height + image.scaledHeight() + 0.4f * leading; }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/7f527c96fc952dc20116521d7ac9536bd072510c/PdfCell.java/buggy/src/com/lowagie/text/pdf/PdfCell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1431, 527, 2040, 12, 2040, 1316, 6001, 16, 1431, 2002, 16, 1431, 2145, 16, 1431, 2072, 16, 509, 8710, 13, 288, 3639, 3421, 1316, 273, 3421, 18, 588, 1442, 12, 2730, 6001, 1769, 3639, 309, 261, 2730, 18, 20665, 2384, 1435, 405, 2145, 300, 2002, 13, 288, 5411, 1316, 18, 5864, 774, 14219, 12, 4083, 300, 2002, 16, 5450, 18, 6694, 67, 4051, 1769, 3639, 289, 3639, 309, 261, 1369, 18, 1467, 1435, 480, 374, 13, 2362, 18, 1289, 12, 1369, 1769, 3639, 980, 273, 394, 9989, 1670, 12, 4482, 16, 2145, 16, 8710, 16, 1316, 18, 20665, 2686, 1435, 397, 374, 18, 24, 74, 380, 7676, 1769, 3639, 2362, 18, 1289, 12, 1369, 1769, 3639, 980, 273, 394, 9989, 1670, 12, 4482, 16, 2145, 16, 8710, 16, 7676, 1769, 3639, 1620, 261, 2730, 18, 14409, 1435, 473, 261, 2040, 18, 49, 25578, 571, 3421, 18, 11847, 3719, 288, 5411, 648, 3421, 18, 11847, 30, 7734, 2002, 273, 2145, 300, 1316, 18, 20665, 2384, 5621, 7734, 898, 31, 5411, 648, 3421, 18, 49, 25578, 30, 7734, 2002, 273, 2002, 397, 14015, 4083, 300, 2002, 300, 1316, 18, 20665, 2384, 10756, 342, 576, 74, 1769, 7734, 898, 31, 5411, 648, 3421, 18, 10066, 30, 5411, 805, 30, 3639, 289, 3639, 1316, 18, 542, 10368, 2555, 12, 4482, 16, 2072, 397, 261, 3548, 18, 1467, 1435, 300, 576, 13, 380, 7676, 397, 1316, 18, 20665, 2686, 1435, 397, 374, 18, 24, 74, 380, 7676, 1769, 3639, 4602, 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, 1431, 527, 2040, 12, 2040, 1316, 6001, 16, 1431, 2002, 16, 1431, 2145, 16, 1431, 2072, 16, 509, 8710, 13, 288, 3639, 3421, 1316, 273, 3421, 18, 588, 1442, 12, 2730, 6001, 1769, 3639, 309, 261, 2730, 18, 20665, 2384, 1435, 405, 2145, 300, 2002, 13, 288, 5411, 1316, 18, 5864, 774, 14219, 12, 4083, 300, 2002, 16, 5450, 18, 6694, 67, 4051, 1769, 3639, 289, 3639, 309, 261, 1369, 18, 1467, 1435, 480, 374, 13, 2362, 18, 1289, 12, 1369, 1769, 3639, 980, 273, 394, 9989, 1670, 12, 4482, 16, 2145, 16, 8710, 16, 1316, 18, 20665, 2686, 1435, 397, 374, 18, 24, 74, 380, 7676, 1769, 3639, 2362, 18, 1289, 12, 1369, 1769, 3639, 980, 2 ]
for (Iterator iter=((ArrayNode)node).iterator(); iter.hasNext();){
for (Iterator iter = ((ArrayNode) node).iterator(); iter.hasNext();) {
private IRubyObject[] setupArgs(IRuby runtime, ThreadContext context, Node node) { if (node == null) { return IRubyObject.NULL_ARRAY; } if (node instanceof ArrayNode) { ISourcePosition position = context.getPosition(); ArrayList list = new ArrayList(((ArrayNode) node).size()); for (Iterator iter=((ArrayNode)node).iterator(); iter.hasNext();){ final Node next = (Node) iter.next(); if (next instanceof SplatNode) { list.addAll(((RubyArray) begin(next)).getList()); } else { list.add(begin(next)); } } context.setPosition(position); return (IRubyObject[]) list.toArray(new IRubyObject[list.size()]); } return ArgsUtil.arrayify(begin(node)); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/6e15491217631472c05c6928672f9c7064a978b3/EvaluationState.java/clean/src/org/jruby/evaluator/EvaluationState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 8526, 3875, 2615, 12, 7937, 10340, 3099, 16, 4884, 1042, 819, 16, 2029, 756, 13, 288, 3639, 309, 261, 2159, 422, 446, 13, 288, 5411, 327, 15908, 10340, 921, 18, 8560, 67, 8552, 31, 3639, 289, 3639, 309, 261, 2159, 1276, 1510, 907, 13, 288, 5411, 467, 1830, 2555, 1754, 273, 819, 18, 588, 2555, 5621, 5411, 2407, 666, 273, 394, 2407, 12443, 12, 1076, 907, 13, 756, 2934, 1467, 10663, 13491, 364, 261, 3198, 1400, 273, 14015, 1076, 907, 13, 756, 2934, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 7734, 727, 2029, 1024, 273, 261, 907, 13, 1400, 18, 4285, 5621, 7734, 309, 261, 4285, 1276, 11484, 270, 907, 13, 288, 10792, 666, 18, 1289, 1595, 12443, 12, 54, 10340, 1076, 13, 2376, 12, 4285, 13, 2934, 588, 682, 10663, 7734, 289, 469, 288, 10792, 666, 18, 1289, 12, 10086, 12, 4285, 10019, 7734, 289, 5411, 289, 5411, 819, 18, 542, 2555, 12, 3276, 1769, 5411, 327, 261, 7937, 10340, 921, 63, 5717, 666, 18, 31447, 12, 2704, 15908, 10340, 921, 63, 1098, 18, 1467, 1435, 19226, 3639, 289, 3639, 327, 6634, 1304, 18, 1126, 1164, 12, 10086, 12, 2159, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15908, 10340, 921, 8526, 3875, 2615, 12, 7937, 10340, 3099, 16, 4884, 1042, 819, 16, 2029, 756, 13, 288, 3639, 309, 261, 2159, 422, 446, 13, 288, 5411, 327, 15908, 10340, 921, 18, 8560, 67, 8552, 31, 3639, 289, 3639, 309, 261, 2159, 1276, 1510, 907, 13, 288, 5411, 467, 1830, 2555, 1754, 273, 819, 18, 588, 2555, 5621, 5411, 2407, 666, 273, 394, 2407, 12443, 12, 1076, 907, 13, 756, 2934, 1467, 10663, 13491, 364, 261, 3198, 1400, 273, 14015, 1076, 907, 13, 756, 2934, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 7734, 727, 2029, 1024, 273, 261, 907, 13, 1400, 18, 4285, 5621, 7734, 309, 261, 4285, 1276, 11484, 270, 907, 13, 288, 2 ]
System.arraycopy(sourceBuffer, 0, tmp, 0, sourceTop);
System.arraycopy(sourceBuffer, 0, tmp, 0, fn_sourceTop);
private void increaseSourceCapacity(int minimalCapacity) { // Call this only when capacity increase is must if (Context.check && minimalCapacity <= sourceBuffer.length) Context.codeBug(); int newCapacity = sourceBuffer.length * 2; if (newCapacity < minimalCapacity) { newCapacity = minimalCapacity; } char[] tmp = new char[newCapacity]; System.arraycopy(sourceBuffer, 0, tmp, 0, sourceTop); sourceBuffer = tmp; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/cb9350e1a2eb151e87843cfcd75986fa06c9fdeb/Parser.java/clean/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10929, 1830, 7437, 12, 474, 16745, 7437, 13, 288, 3639, 368, 3049, 333, 1338, 1347, 7519, 10929, 353, 1297, 3639, 309, 261, 1042, 18, 1893, 597, 16745, 7437, 1648, 1084, 1892, 18, 2469, 13, 5411, 1772, 18, 710, 19865, 5621, 3639, 509, 30787, 273, 1084, 1892, 18, 2469, 380, 576, 31, 3639, 309, 261, 2704, 7437, 411, 16745, 7437, 13, 288, 5411, 30787, 273, 16745, 7437, 31, 3639, 289, 3639, 1149, 8526, 1853, 273, 394, 1149, 63, 2704, 7437, 15533, 3639, 2332, 18, 1126, 3530, 12, 3168, 1892, 16, 374, 16, 1853, 16, 374, 16, 2295, 67, 3168, 3401, 1769, 3639, 1084, 1892, 273, 1853, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10929, 1830, 7437, 12, 474, 16745, 7437, 13, 288, 3639, 368, 3049, 333, 1338, 1347, 7519, 10929, 353, 1297, 3639, 309, 261, 1042, 18, 1893, 597, 16745, 7437, 1648, 1084, 1892, 18, 2469, 13, 5411, 1772, 18, 710, 19865, 5621, 3639, 509, 30787, 273, 1084, 1892, 18, 2469, 380, 576, 31, 3639, 309, 261, 2704, 7437, 411, 16745, 7437, 13, 288, 5411, 30787, 273, 16745, 7437, 31, 3639, 289, 3639, 1149, 8526, 1853, 273, 394, 1149, 63, 2704, 7437, 15533, 3639, 2332, 18, 1126, 3530, 12, 3168, 1892, 16, 374, 16, 1853, 16, 374, 16, 2295, 67, 3168, 3401, 1769, 3639, 1084, 1892, 273, 1853, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.FutSettDate2 getFutSettDate2() throws FieldNotFound { org.quickfix.field.FutSettDate2 value = new org.quickfix.field.FutSettDate2();
public quickfix.field.FutSettDate2 getFutSettDate2() throws FieldNotFound { quickfix.field.FutSettDate2 value = new quickfix.field.FutSettDate2();
public org.quickfix.field.FutSettDate2 getFutSettDate2() throws FieldNotFound { org.quickfix.field.FutSettDate2 value = new org.quickfix.field.FutSettDate2(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/buggy/src/java/src/quickfix/fix41/NewOrderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 42, 322, 694, 88, 1626, 22, 2812, 322, 694, 88, 1626, 22, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 42, 322, 694, 88, 1626, 22, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 42, 322, 694, 88, 1626, 22, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 42, 322, 694, 88, 1626, 22, 2812, 322, 694, 88, 1626, 22, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 42, 322, 694, 88, 1626, 22, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 42, 322, 694, 88, 1626, 22, 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 ]
int top = buffer.length(); int n = top - cursorpos; while(n-- > 0) m_out.write(SPACE); n = top; while(n-- > 0) { m_out.write(BS); m_out.write(SPACE); m_out.write(BS); } buffer.delete(0, buffer.length());
this.deleteLine(buffer, cursorpos);
protected String innerReadLine(String defaultString, String stopChars, int maxLength, int flags) throws EventDeliveredException, StopCharException, LineOverflowException, LineUnderflowException, IOException, InterruptedException { StringBuffer buffer = new StringBuffer(500); int cursorpos = 0; // Did we get a default string? // if(defaultString != null) { // Strip newlines // if(defaultString.endsWith("\n")) defaultString = defaultString.substring(0, defaultString.length() - 1); buffer.append(defaultString); m_out.print(defaultString); m_out.flush(); cursorpos = defaultString.length(); } boolean escapemode = false; String escapecode = ""; boolean editing = true; while(editing) { // Getting here means that we have a KeyStrokeEvent. Handle it! // KeystrokeTokenizer.Token token = null; char ch = 0; while(token == null) { for(;;) { try { ch = this.innerReadCharacter(flags); break; } catch(EventDeliveredException e) { if((flags & FLAG_STOP_ONLY_WHEN_EMPTY) == 0) throw e; else { if(buffer.length() == 0) throw e; // Otherwise, skip and hope it's queued // } } } token = m_tokenizer.feedCharacter(ch); } int kind = token.getKind(); switch(kind) { case TOKEN_UP: m_out.write(BELL); break; case TOKEN_DOWN: m_out.write(BELL); break; case TOKEN_RIGHT: if(cursorpos==buffer.length() || (flags & FLAG_ECHO) == 0) { //If at end of buffer or no echo, ignore arrow and beep. m_out.write(BELL); } else { m_out.write(buffer.charAt(cursorpos)); cursorpos++; } break; case TOKEN_LEFT: if(cursorpos == 0 || (flags & FLAG_ECHO) == 0) {// If at end of buffer or no echo, ignore arrow and beep. if((flags & FLAG_STOP_ON_BOL) != 0) { throw new LineUnderflowException(); } m_out.write(BELL); } else { cursorpos--; m_out.write(BS); } break; case TOKEN_CR: editing = false; m_out.write('\r'); m_out.write('\n'); break; case TOKEN_BS: if(cursorpos == 0) { if((flags & FLAG_STOP_ON_BOL) != 0) throw new LineUnderflowException(); m_out.write(BELL); } else { buffer.deleteCharAt(--cursorpos); m_out.write(BS); m_out.write(SPACE); m_out.write(BS); if (cursorpos < buffer.length()) { m_out.write(buffer.substring(cursorpos)); m_out.write(' '); PrintUtils.printRepeated(m_out, BS, buffer.length() - cursorpos + 1); } } break; case TOKEN_BOL: if(((flags & FLAG_ECHO) != 0) && cursorpos > 0) { //Advance cursor to beginning of line PrintUtils.printRepeated(m_out, BS, cursorpos); cursorpos = 0; } break; case TOKEN_EOL: if(((flags & FLAG_ECHO) != 0) && cursorpos < buffer.length()) { // Advance cursor to end of line // m_out.write(buffer.substring(cursorpos)); cursorpos = buffer.length(); } break; case TOKEN_DELETE_LINE: { int top = buffer.length(); // Advance cursor to end of line // int n = top - cursorpos; while(n-- > 0) m_out.write(SPACE); // Delete to beginning of line // n = top; while(n-- > 0) { m_out.write(BS); m_out.write(SPACE); m_out.write(BS); } buffer.delete(0, buffer.length()); cursorpos = 0; break; } case TOKEN_DELETE_WORD: { //Move i to beginning of current word. int i = cursorpos; for(; i > 0 && Character.isSpaceChar(buffer.charAt(i - 1)); --i) { } for(; i > 0 && !Character.isSpaceChar(buffer.charAt(i - 1)); --i) { } if (i != cursorpos) { //Delete characters in buffer from i to cursorpos. buffer.delete(i, cursorpos); //Move back cursor to i. PrintUtils.printRepeated(m_out, BS, cursorpos - i); //Print rest of buffer from i. m_out.write(buffer.substring(i)); //Pad with spaces. PrintUtils.printRepeated(m_out, SPACE, cursorpos - i); //Move back cursor to i. PrintUtils.printRepeated(m_out, BS, buffer.length() + (cursorpos - i) - i); //Set new cursorpos cursorpos = i; } break; } case TOKEN_SKIP: break; case KeystrokeTokenizerDefinition.LITERAL: if(stopChars != null && stopChars.indexOf(ch) != -1) throw new StopCharException(buffer.toString(), ch); // Are we exceeding max length? // if(maxLength != 0 && buffer.length() >= maxLength - 1) { // Break on overflow? // if((flags & FLAG_STOP_ON_EOL) != 0) { buffer.insert(cursorpos++, ch); throw new LineOverflowException(buffer.toString()); } else { // Don't break. Just make noise and ignore keystroke // m_out.write(BELL); m_out.flush(); break; } } // Store the character // buffer.insert(cursorpos++, ch); if((flags & FLAG_ECHO) != 0) { m_out.write(ch); if (cursorpos < buffer.length()) { m_out.write(buffer.substring(cursorpos)); m_out.write(SPACE); PrintUtils.printRepeated(m_out, BS, buffer.length() - cursorpos + 1); } } else m_out.write('*'); break; } m_out.flush(); } return buffer.toString(); }
3907 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3907/5d6559a6f0b4a8181d31aeec4b1b3a6d16ac7415/LineEditor.java/clean/kom/java/nu/rydin/kom/frontend/text/LineEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 3443, 1994, 1670, 12, 780, 805, 780, 16, 514, 2132, 7803, 16, 509, 13642, 16, 509, 2943, 13, 202, 15069, 2587, 20813, 329, 503, 16, 5131, 2156, 503, 16, 5377, 15526, 503, 16, 5377, 14655, 2426, 503, 16, 225, 202, 14106, 16, 7558, 202, 95, 202, 202, 780, 1892, 1613, 273, 394, 6674, 12, 12483, 1769, 202, 202, 474, 3347, 917, 273, 374, 31, 9506, 202, 759, 21148, 732, 336, 279, 805, 533, 35, 202, 202, 759, 202, 202, 430, 12, 1886, 780, 480, 446, 13, 202, 202, 95, 1082, 202, 759, 15589, 19181, 1082, 202, 759, 1082, 202, 430, 12, 1886, 780, 18, 5839, 1190, 31458, 82, 6, 3719, 9506, 202, 1886, 780, 273, 805, 780, 18, 28023, 12, 20, 16, 805, 780, 18, 2469, 1435, 300, 404, 1769, 1082, 202, 4106, 18, 6923, 12, 1886, 780, 1769, 1082, 202, 81, 67, 659, 18, 1188, 12, 1886, 780, 1769, 1082, 202, 81, 67, 659, 18, 11330, 5621, 1082, 202, 9216, 917, 273, 805, 780, 18, 2469, 5621, 202, 202, 97, 25083, 202, 6494, 4114, 3188, 273, 629, 31, 202, 202, 780, 2904, 69, 705, 390, 273, 1408, 31, 9506, 202, 6494, 15755, 273, 638, 31, 202, 202, 17523, 12, 4619, 310, 13, 202, 202, 95, 1082, 202, 759, 26602, 2674, 4696, 716, 732, 1240, 279, 1929, 14602, 1133, 18, 5004, 518, 5, 1082, 202, 759, 1082, 565, 1929, 16181, 10524, 18, 1345, 1147, 273, 446, 31, 1082, 565, 1149, 462, 273, 374, 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, 1117, 514, 3443, 1994, 1670, 12, 780, 805, 780, 16, 514, 2132, 7803, 16, 509, 13642, 16, 509, 2943, 13, 202, 15069, 2587, 20813, 329, 503, 16, 5131, 2156, 503, 16, 5377, 15526, 503, 16, 5377, 14655, 2426, 503, 16, 225, 202, 14106, 16, 7558, 202, 95, 202, 202, 780, 1892, 1613, 273, 394, 6674, 12, 12483, 1769, 202, 202, 474, 3347, 917, 273, 374, 31, 9506, 202, 759, 21148, 732, 336, 279, 805, 533, 35, 202, 202, 759, 202, 202, 430, 12, 1886, 780, 480, 446, 13, 202, 202, 95, 1082, 202, 759, 15589, 19181, 1082, 202, 759, 1082, 202, 430, 12, 1886, 780, 18, 5839, 1190, 31458, 82, 6, 3719, 9506, 202, 1886, 780, 273, 2 ]
if (token.equals("(")) foundOpenParen = true; else if (token.equals("EMPTY")) foundEmpty = true;
foundOpenParen = token.equals("("); foundEmpty = token.equals("EMPTY");
private int parseCoordinateList(String wktGeometry, StringTokenizer st, int geometryIndex, boolean isMultiPoint) throws MapyrusException { String token; boolean foundOpenParen, foundCloseParen, foundEmpty; boolean foundX, foundY; int index = geometryIndex + 1; int counter = 0; /* * First expect a '(' or the keyword 'EMPTY'. */ foundOpenParen = foundCloseParen = foundEmpty = false; while (foundOpenParen == false && foundEmpty == false && st.hasMoreTokens()) { token = st.nextToken(); if (token.equals("(")) foundOpenParen = true; else if (token.equals("EMPTY")) foundEmpty = true; } /* * Then expect a series of X and Y coordinate value separated by commas, * and then a ')' to finish the coordinate string. */ if (foundOpenParen) { foundX = foundY = false; while (foundCloseParen == false && st.hasMoreTokens()) { token = st.nextToken(); char c = token.charAt(0); if (Character.isDigit(c) || c == '-' || c == '.') { try { if (foundX == false) { if (isMultiPoint) { /* * Set each point in multipoint geometry as * a separate point geometry. */ mGeometryValue[index] = GEOMETRY_POINT; mGeometryValue[index + 1] = 1; mGeometryValue[index + 2] = MOVETO; index += 3; } else if (counter == 0) { /* * Move to first coordinate pair, then add a * line to each subsequent pair. */ mGeometryValue[index] = MOVETO; index++; } else { mGeometryValue[index] = LINETO; index++; } mGeometryValue[index] = Double.parseDouble(token); index++; foundX = true; } else if (foundY == false) { mGeometryValue[index] = Double.parseDouble(token); index++; foundY = true; counter++; } else { /* * Not expecting an X or Y coordinate. The OGC string must be invalid. */ throw new MapyrusException(MapyrusMessages.get(MapyrusMessages.INVALID_OGC_WKT) + ": " + wktGeometry); } } catch (NumberFormatException e) { throw new MapyrusException(MapyrusMessages.get(MapyrusMessages.INVALID_OGC_WKT) + ": " + wktGeometry); } } else if (c == ')' && foundY) { /* * Found closing parenthesis marking end of coordinates. */ foundCloseParen = true; } else if (c == ',' && foundY) { /* * Found comma separating coordinate pairs */ foundX = foundY = false; } else if (c != ' ') { throw new MapyrusException(MapyrusMessages.get(MapyrusMessages.INVALID_OGC_WKT) + ": " + wktGeometry); } } } /* * Did we successively parse something? */ if (foundOpenParen && foundCloseParen == false) { throw new MapyrusException(MapyrusMessages.get(MapyrusMessages.INVALID_OGC_WKT) + ": " + wktGeometry); } /* * Set number of coordinate pairs in geometry. */ mGeometryValue[geometryIndex] = counter; return(index); }
2501 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2501/9cf8864cb40867b7f43af4cc508ef39051ef0329/Argument.java/clean/src/org/mapyrus/Argument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1109, 13503, 682, 12, 780, 341, 8629, 9823, 16, 16370, 384, 16, 202, 202, 474, 5316, 1016, 16, 1250, 25129, 2148, 13, 202, 202, 15069, 1635, 93, 8010, 503, 202, 95, 202, 202, 780, 1147, 31, 202, 202, 6494, 1392, 3678, 25520, 16, 1392, 4605, 25520, 16, 1392, 1921, 31, 202, 202, 6494, 1392, 60, 16, 1392, 61, 31, 202, 202, 474, 770, 273, 5316, 1016, 397, 404, 31, 202, 202, 474, 3895, 273, 374, 31, 202, 202, 20308, 1082, 380, 5783, 4489, 279, 7321, 578, 326, 4932, 296, 13625, 10332, 1082, 1195, 202, 202, 7015, 3678, 25520, 273, 1392, 4605, 25520, 273, 1392, 1921, 273, 629, 31, 202, 202, 17523, 261, 7015, 3678, 25520, 422, 629, 597, 1392, 1921, 422, 629, 1082, 202, 10, 10, 384, 18, 5332, 7417, 5157, 10756, 202, 202, 95, 1082, 202, 2316, 273, 384, 18, 4285, 1345, 5621, 1082, 202, 430, 261, 2316, 18, 14963, 2932, 2932, 3719, 9506, 202, 7015, 3678, 25520, 273, 638, 31, 1082, 202, 12107, 309, 261, 2316, 18, 14963, 2932, 13625, 6, 3719, 9506, 202, 7015, 1921, 273, 638, 31, 202, 202, 97, 202, 202, 20308, 1082, 380, 9697, 4489, 279, 4166, 434, 1139, 471, 1624, 7799, 460, 8936, 635, 23528, 16, 1082, 380, 471, 1508, 279, 5777, 358, 4076, 326, 7799, 533, 18, 1082, 1195, 202, 202, 430, 261, 7015, 3678, 25520, 13, 202, 202, 95, 1082, 202, 7015, 60, 273, 1392, 61, 273, 629, 31, 1082, 202, 17523, 261, 7015, 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, 509, 1109, 13503, 682, 12, 780, 341, 8629, 9823, 16, 16370, 384, 16, 202, 202, 474, 5316, 1016, 16, 1250, 25129, 2148, 13, 202, 202, 15069, 1635, 93, 8010, 503, 202, 95, 202, 202, 780, 1147, 31, 202, 202, 6494, 1392, 3678, 25520, 16, 1392, 4605, 25520, 16, 1392, 1921, 31, 202, 202, 6494, 1392, 60, 16, 1392, 61, 31, 202, 202, 474, 770, 273, 5316, 1016, 397, 404, 31, 202, 202, 474, 3895, 273, 374, 31, 202, 202, 20308, 1082, 380, 5783, 4489, 279, 7321, 578, 326, 4932, 296, 13625, 10332, 1082, 1195, 202, 202, 7015, 3678, 25520, 273, 1392, 4605, 25520, 273, 1392, 1921, 273, 629, 31, 202, 202, 17523, 261, 7015, 3678, 25520, 2 ]
this.wc.codeComplete(cursorLocation, requestor);
this.wc.codeComplete(cursorLocation, requestor, this.owner);
public void testCompletionMethodDeclaration12() throws JavaModelException { this.wc = getWorkingCopy( "/Completion/src/test/CompletionMethodDeclaration12.java", "package test;\n" + "public class CompletionMethodDeclaration12 {\n" + " public void foo() {" + " }" + "}" + "class CompletionMethodDeclaration12_2 extends CompletionMethodDeclaration12{\n" + " public final void foo() {" + " }" + "}" + "class CompletionMethodDeclaration12_3 extends CompletionMethodDeclaration12_2 {\n" + " fo" + "}"); CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(true); String str = this.wc.getSource(); String completeBehind = "fo"; int cursorLocation = str.lastIndexOf(completeBehind) + completeBehind.length(); this.wc.codeComplete(cursorLocation, requestor); assertResults( "fo[POTENTIAL_METHOD_DECLARATION]{fo, Ltest.CompletionMethodDeclaration12_3;, ()V, fo, null, " + (R_DEFAULT + R_INTERESTING + R_NON_RESTRICTED) + "}", requestor.getResults());}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f13a740e3b814a194962fd0ef85df91efde745be/CompletionTests.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/CompletionTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 11238, 1305, 6094, 2138, 1435, 1216, 5110, 1488, 503, 288, 565, 333, 18, 27594, 273, 336, 14836, 2951, 12, 5411, 2206, 11238, 19, 4816, 19, 3813, 19, 11238, 1305, 6094, 2138, 18, 6290, 3113, 5411, 315, 5610, 1842, 9747, 82, 6, 397, 5411, 315, 482, 667, 20735, 1305, 6094, 2138, 18890, 82, 6, 397, 5411, 315, 225, 1071, 918, 8431, 1435, 12528, 397, 5411, 315, 225, 22837, 397, 5411, 11883, 397, 5411, 315, 1106, 20735, 1305, 6094, 2138, 67, 22, 3231, 20735, 1305, 6094, 2138, 23241, 82, 6, 397, 5411, 315, 225, 1071, 727, 918, 8431, 1435, 12528, 397, 5411, 315, 225, 22837, 397, 5411, 11883, 397, 5411, 315, 1106, 20735, 1305, 6094, 2138, 67, 23, 3231, 20735, 1305, 6094, 2138, 67, 22, 18890, 82, 6, 397, 5411, 315, 225, 18261, 6, 397, 5411, 11883, 1769, 5411, 20735, 4709, 8943, 280, 22, 590, 280, 273, 394, 20735, 4709, 8943, 280, 22, 12, 3767, 1769, 565, 514, 609, 273, 333, 18, 27594, 18, 588, 1830, 5621, 565, 514, 3912, 1919, 31748, 273, 315, 617, 14432, 565, 509, 3347, 2735, 273, 609, 18, 2722, 31985, 12, 6226, 1919, 31748, 13, 397, 3912, 1919, 31748, 18, 2469, 5621, 565, 333, 18, 27594, 18, 710, 6322, 12, 9216, 2735, 16, 590, 280, 16, 333, 18, 8443, 1769, 565, 1815, 3447, 12, 5411, 315, 617, 63, 52, 1974, 2222, 6365, 67, 5327, 67, 23956, 985, 2689, 7073, 617, 16, 511, 3813, 18, 11238, 1305, 6094, 2138, 67, 23, 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, 1071, 918, 1842, 11238, 1305, 6094, 2138, 1435, 1216, 5110, 1488, 503, 288, 565, 333, 18, 27594, 273, 336, 14836, 2951, 12, 5411, 2206, 11238, 19, 4816, 19, 3813, 19, 11238, 1305, 6094, 2138, 18, 6290, 3113, 5411, 315, 5610, 1842, 9747, 82, 6, 397, 5411, 315, 482, 667, 20735, 1305, 6094, 2138, 18890, 82, 6, 397, 5411, 315, 225, 1071, 918, 8431, 1435, 12528, 397, 5411, 315, 225, 22837, 397, 5411, 11883, 397, 5411, 315, 1106, 20735, 1305, 6094, 2138, 67, 22, 3231, 20735, 1305, 6094, 2138, 23241, 82, 6, 397, 5411, 315, 225, 1071, 727, 918, 8431, 1435, 12528, 397, 5411, 315, 225, 22837, 397, 5411, 11883, 397, 5411, 315, 1106, 20735, 1305, 6094, 2138, 67, 23, 2 ]
removeFromLifecycle( mojoDescriptor, lifecycleMappings );
removeFromLifecycle( forkEntryPoints, lifecycleMappings );
private void forkProjectLifecycle( MojoDescriptor mojoDescriptor, MavenSession session, MavenProject project ) throws LifecycleExecutionException, BuildFailureException, PluginNotFoundException { PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor(); String targetPhase = mojoDescriptor.getExecutePhase(); Map lifecycleMappings = null; if ( targetPhase != null ) { Lifecycle lifecycle = getLifecycleForPhase( targetPhase ); // Create new lifecycle lifecycleMappings = constructLifecycleMappings( session, targetPhase, project, lifecycle ); String executeLifecycle = mojoDescriptor.getExecuteLifecycle(); if ( executeLifecycle != null ) { org.apache.maven.plugin.lifecycle.Lifecycle lifecycleOverlay; try { lifecycleOverlay = pluginDescriptor.getLifecycleMapping( executeLifecycle ); } catch ( IOException e ) { throw new LifecycleExecutionException( "Unable to read lifecycle mapping file: " + e.getMessage(), e ); } catch ( XmlPullParserException e ) { throw new LifecycleExecutionException( "Unable to parse lifecycle mapping file: " + e.getMessage(), e ); } if ( lifecycleOverlay == null ) { throw new LifecycleExecutionException( "Lifecycle '" + executeLifecycle + "' not found in plugin" ); } for ( Iterator i = lifecycleOverlay.getPhases().iterator(); i.hasNext(); ) { Phase phase = (Phase) i.next(); for ( Iterator j = phase.getExecutions().iterator(); j.hasNext(); ) { Execution e = (Execution) j.next(); for ( Iterator k = e.getGoals().iterator(); k.hasNext(); ) { String goal = (String) k.next(); MojoDescriptor desc = getMojoDescriptor( pluginDescriptor, goal ); MojoExecution mojoExecution = new MojoExecution( desc, (Xpp3Dom) e.getConfiguration() ); addToLifecycleMappings( lifecycleMappings, phase.getId(), mojoExecution, session.getSettings() ); } } } } removeFromLifecycle( mojoDescriptor, lifecycleMappings ); } MavenProject executionProject = new MavenProject( project ); if ( targetPhase != null ) { Lifecycle lifecycle = getLifecycleForPhase( targetPhase ); executeGoalWithLifecycle( targetPhase, session, lifecycleMappings, executionProject, lifecycle ); } else { String goal = mojoDescriptor.getExecuteGoal(); MojoDescriptor desc = getMojoDescriptor( pluginDescriptor, goal ); executeGoals( Collections.singletonList( new MojoExecution( desc ) ), session, executionProject ); } project.setExecutionProject( executionProject ); }
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/2e89dadbce89d6d5ba6f6cef8bb3e53f486defa6/DefaultLifecycleExecutor.java/buggy/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 12515, 4109, 9977, 12, 15931, 3187, 312, 10007, 3187, 16, 17176, 2157, 1339, 16, 17176, 4109, 1984, 262, 3639, 1216, 14283, 14576, 16, 3998, 14389, 16, 6258, 3990, 565, 288, 3639, 6258, 3187, 1909, 3187, 273, 312, 10007, 3187, 18, 588, 3773, 3187, 5621, 3639, 514, 1018, 11406, 273, 312, 10007, 3187, 18, 588, 5289, 11406, 5621, 3639, 1635, 6596, 7742, 273, 446, 31, 3639, 309, 261, 1018, 11406, 480, 446, 262, 3639, 288, 5411, 14283, 6596, 273, 336, 9977, 1290, 11406, 12, 1018, 11406, 11272, 5411, 368, 1788, 394, 6596, 5411, 6596, 7742, 273, 4872, 9977, 7742, 12, 1339, 16, 1018, 11406, 16, 1984, 16, 6596, 11272, 5411, 514, 1836, 9977, 273, 312, 10007, 3187, 18, 588, 5289, 9977, 5621, 5411, 309, 261, 1836, 9977, 480, 446, 262, 5411, 288, 7734, 2358, 18, 19211, 18, 81, 7638, 18, 4094, 18, 10256, 4578, 18, 9977, 6596, 11627, 31, 7734, 775, 7734, 288, 10792, 6596, 11627, 273, 1909, 3187, 18, 588, 9977, 3233, 12, 1836, 9977, 11272, 7734, 289, 7734, 1044, 261, 1860, 425, 262, 7734, 288, 10792, 604, 394, 14283, 14576, 12, 315, 3370, 358, 855, 6596, 2874, 585, 30, 315, 397, 425, 18, 24906, 9334, 4766, 21821, 425, 11272, 7734, 289, 7734, 1044, 261, 5714, 9629, 25746, 425, 262, 7734, 288, 10792, 604, 394, 14283, 14576, 12, 315, 3370, 358, 1109, 6596, 2874, 585, 30, 315, 397, 425, 18, 24906, 9334, 4766, 21821, 425, 11272, 7734, 289, 7734, 309, 261, 6596, 11627, 422, 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, 12515, 4109, 9977, 12, 15931, 3187, 312, 10007, 3187, 16, 17176, 2157, 1339, 16, 17176, 4109, 1984, 262, 3639, 1216, 14283, 14576, 16, 3998, 14389, 16, 6258, 3990, 565, 288, 3639, 6258, 3187, 1909, 3187, 273, 312, 10007, 3187, 18, 588, 3773, 3187, 5621, 3639, 514, 1018, 11406, 273, 312, 10007, 3187, 18, 588, 5289, 11406, 5621, 3639, 1635, 6596, 7742, 273, 446, 31, 3639, 309, 261, 1018, 11406, 480, 446, 262, 3639, 288, 5411, 14283, 6596, 273, 336, 9977, 1290, 11406, 12, 1018, 11406, 11272, 5411, 368, 1788, 394, 6596, 5411, 6596, 7742, 273, 4872, 9977, 7742, 12, 1339, 16, 1018, 11406, 16, 1984, 16, 6596, 11272, 5411, 514, 1836, 9977, 273, 312, 10007, 3187, 2 ]
Address upper = VM_Magic.objectAsAddress(stack).add(fpOffset).loadAddress();
Address upper = VM_Magic.objectAsAddress(stack).loadAddress(fpOffset);
private static void dumpStackContent(byte[] stack, int fpOffset) { VM.disableGC(); Address upper = VM_Magic.objectAsAddress(stack).add(fpOffset).loadAddress(); VM.enableGC(); int upOffset = upper.diff(VM_Magic.objectAsAddress(stack)).toInt(); int cmid = VM_Magic.getIntAtOffset(stack, fpOffset + STACKFRAME_METHOD_ID_OFFSET); VM_OptCompiledMethod cm = (VM_OptCompiledMethod)VM_CompiledMethods.getCompiledMethod(cmid); int firstNonVolatile = cm.getFirstNonVolatileGPR(); int nonVolatiles = cm.getNumberOfNonvolatileGPRs(); int nonVolatileOffset = cm.getUnsignedNonVolatileOffset() + (nonVolatiles -1)*BYTES_IN_STACKSLOT; VM.sysWrite("stack of "+cm.getMethod()+"\n"); VM.sysWrite(" fp offset "+fpOffset+"\n"); VM.sysWrite(" NV area offset "+nonVolatileOffset+"\n"); VM.sysWrite(" first NV GPR "+firstNonVolatile+"\n"); for (int i=nonVolatileOffset; i>=0; i-=BYTES_IN_STACKSLOT) { Word content = VM_Magic.getWordAtOffset(stack, fpOffset-i); VM.sysWriteHex(VM_Magic.objectAsAddress(stack).add(fpOffset - i)); VM.sysWrite(" "); VM.sysWrite(content); VM.sysWriteln(); } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/71f0481e0131f8f2137e2feea85ae32a28daffcc/OSR_OptExecStateExtractor.java/clean/rvm/src/vm/arch/intel/executionState/OSR_OptExecStateExtractor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 4657, 2624, 1350, 12, 7229, 8526, 2110, 16, 509, 4253, 2335, 13, 288, 565, 8251, 18, 8394, 15396, 5621, 565, 5267, 3854, 273, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 3772, 2934, 945, 1887, 12, 7944, 2335, 1769, 565, 8251, 18, 7589, 15396, 5621, 565, 509, 731, 2335, 273, 3854, 18, 5413, 12, 7397, 67, 19289, 18, 1612, 1463, 1887, 12, 3772, 13, 2934, 869, 1702, 5621, 565, 509, 5003, 350, 273, 8251, 67, 19289, 18, 588, 1702, 861, 2335, 12, 3772, 16, 4253, 2335, 397, 11464, 15072, 67, 5327, 67, 734, 67, 11271, 1769, 565, 8251, 67, 6179, 20733, 1305, 5003, 273, 4202, 261, 7397, 67, 6179, 20733, 1305, 13, 7397, 67, 20733, 4712, 18, 588, 20733, 1305, 12, 7670, 350, 1769, 565, 509, 1122, 3989, 17431, 20295, 273, 5003, 18, 588, 3759, 3989, 17431, 20295, 43, 8025, 5621, 565, 509, 1661, 17431, 270, 1449, 377, 273, 5003, 18, 588, 9226, 3989, 15416, 20295, 43, 8025, 87, 5621, 565, 509, 1661, 17431, 20295, 2335, 273, 5003, 18, 588, 13290, 3989, 17431, 20295, 2335, 1435, 397, 261, 5836, 17431, 270, 1449, 300, 21, 17653, 13718, 67, 706, 67, 21971, 55, 1502, 56, 31, 565, 8251, 18, 9499, 3067, 2932, 3772, 434, 13773, 7670, 18, 588, 1305, 1435, 9078, 64, 82, 8863, 565, 8251, 18, 9499, 3067, 2932, 1377, 4253, 1384, 13773, 7944, 2335, 9078, 64, 82, 8863, 565, 8251, 18, 9499, 3067, 2932, 423, 58, 5091, 1384, 13773, 5836, 17431, 20295, 2335, 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, 3238, 760, 918, 4657, 2624, 1350, 12, 7229, 8526, 2110, 16, 509, 4253, 2335, 13, 288, 565, 8251, 18, 8394, 15396, 5621, 565, 5267, 3854, 273, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 3772, 2934, 945, 1887, 12, 7944, 2335, 1769, 565, 8251, 18, 7589, 15396, 5621, 565, 509, 731, 2335, 273, 3854, 18, 5413, 12, 7397, 67, 19289, 18, 1612, 1463, 1887, 12, 3772, 13, 2934, 869, 1702, 5621, 565, 509, 5003, 350, 273, 8251, 67, 19289, 18, 588, 1702, 861, 2335, 12, 3772, 16, 4253, 2335, 397, 11464, 15072, 67, 5327, 67, 734, 67, 11271, 1769, 565, 8251, 67, 6179, 20733, 1305, 5003, 273, 4202, 261, 7397, 67, 6179, 20733, 1305, 13, 7397, 67, 20733, 2 ]
/** * Clean up the OpenGL resources */
protected void cleanup() { /** * Clean up the OpenGL resources */ gl.destroy(); }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/09027058bd3bea5b4dde7a31556a7dc49eb2951f/TestApplication.java/buggy/src/test/application/TestApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 6686, 1435, 288, 202, 202, 26873, 1082, 380, 9645, 731, 326, 3502, 11261, 2703, 1082, 1195, 202, 202, 7043, 18, 11662, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6686, 1435, 288, 202, 202, 26873, 1082, 380, 9645, 731, 326, 3502, 11261, 2703, 1082, 1195, 202, 202, 7043, 18, 11662, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
occurrences = encode.remaining(); }
occurrences = encode.remaining(); }
public static RubyArray unpack(String encodedString, RubyString formatString) { IRuby runtime = formatString.getRuntime(); RubyArray result = runtime.newArray(); PtrList format = new PtrList(formatString.getValue()); PtrList encode = new PtrList(encodedString); char type = format.nextChar(); // Type to be unpacked while(!format.isAtEnd()) { // Possible next type, format of current type, occurrences of type char next = format.nextChar(); // Next indicates to decode using native encoding format if (next == '_' || next == '!') { if (NATIVE_CODES.indexOf(type) == -1) { throw runtime.newArgumentError("'" + next + "' allowed only after types " + NATIVE_CODES); } // We advance in case occurences follows next = format.nextChar(); } // How many occurrences of 'type' we want int occurrences = 0; if (format.isAtEnd()) { occurrences = 1; } else if (next == '*') { occurrences = IS_STAR; next = format.nextChar(); } else if (Character.isDigit(next)) { format.backup(1); occurrences = format.nextAsciiNumber(); next = format.nextChar(); } else { occurrences = type == '@' ? 0 : 1; } // See if we have a converter for the job... Converter converter = (Converter) converters.get(new Character(type)); if (converter != null) { decode(runtime, encode, occurrences, result, converter); type = next; continue; } // Otherwise the unpack should be here... switch (type) { case '@' : encode.setPosition(occurrences); break; case '%' : throw runtime.newArgumentError("% is not supported"); case 'A' : { if (occurrences == IS_STAR || occurrences > encode.remaining()) { occurrences = encode.remaining(); } String potential = encode.nextSubstring(occurrences); for (int t = occurrences - 1; occurrences > 0; occurrences--, t--) { char c = potential.charAt(t); if (c != '\0' && c != ' ') { break; } } potential = potential.substring(0, occurrences); result.append(runtime.newString(potential)); } break; case 'Z' : { if (occurrences == IS_STAR || occurrences > encode.remaining()) { occurrences = encode.remaining(); } String potential = encode.nextSubstring(occurrences); for (int t = occurrences - 1; occurrences > 0; occurrences--, t--) { char c = potential.charAt(t); if (c != '\0') { break; } } potential = potential.substring(0, occurrences); result.append(runtime.newString(potential)); } break; case 'a' : if (occurrences == IS_STAR || occurrences > encode.remaining()) { occurrences = encode.remaining(); } result.append(runtime.newString(encode.nextSubstring(occurrences))); break; case 'b' : { if (occurrences == IS_STAR || occurrences > encode.remaining() * 8) { occurrences = encode.remaining() * 8; } int bits = 0; StringBuffer lElem = new StringBuffer(occurrences); for (int lCurByte = 0; lCurByte < occurrences; lCurByte++) { if ((lCurByte & 7) != 0) { bits >>>= 1; } else { bits = encode.nextChar(); } lElem.append((bits & 1) != 0 ? '1' : '0'); } result.append(runtime.newString(lElem.toString())); } break; case 'B' : { if (occurrences == IS_STAR || occurrences > encode.remaining() * 8) { occurrences = encode.remaining() * 8; } int bits = 0; StringBuffer lElem = new StringBuffer(occurrences); for (int lCurByte = 0; lCurByte < occurrences; lCurByte++) { if ((lCurByte & 7) != 0) bits <<= 1; else bits = encode.nextChar(); lElem.append((bits & 128) != 0 ? '1' : '0'); } result.append(runtime.newString(lElem.toString())); } break; case 'h' : { if (occurrences == IS_STAR || occurrences > encode.remaining() * 2) { occurrences = encode.remaining() * 2; } int bits = 0; StringBuffer lElem = new StringBuffer(occurrences); for (int lCurByte = 0; lCurByte < occurrences; lCurByte++) { if ((lCurByte & 1) != 0) { bits >>>= 4; } else { bits = encode.nextChar(); } lElem.append(sHexDigits[bits & 15]); } result.append(runtime.newString(lElem.toString())); } break; case 'H' : { if (occurrences == IS_STAR || occurrences > encode.remaining() * 2) { occurrences = encode.remaining() * 2; } int bits = 0; StringBuffer lElem = new StringBuffer(occurrences); for (int lCurByte = 0; lCurByte < occurrences; lCurByte++) { if ((lCurByte & 1) != 0) bits <<= 4; else bits = encode.nextChar(); lElem.append(sHexDigits[(bits >>> 4) & 15]); } result.append(runtime.newString(lElem.toString())); } break; case 'U' : { if (occurrences == IS_STAR || occurrences > encode.remaining()) { occurrences = encode.remaining(); } //get the correct substring String toUnpack = encode.nextSubstring(occurrences); String lUtf8 = null; try { lUtf8 = new String(toUnpack.getBytes("iso8859-1"), "UTF-8"); } catch (java.io.UnsupportedEncodingException e) { assert false : "can't convert from UTF8"; } char[] c = lUtf8.toCharArray(); for (int lCurCharIdx = 0; occurrences-- > 0 && lCurCharIdx < c.length; lCurCharIdx++) result.append(runtime.newFixnum(c[lCurCharIdx])); } break; case 'X': if (occurrences == IS_STAR) { occurrences = encode.getLength() - encode.remaining(); } try { encode.backup(occurrences); } catch (IllegalArgumentException e) { throw runtime.newArgumentError("in `unpack': X outside of string"); } break; case 'x': if (occurrences == IS_STAR) { occurrences = encode.remaining(); } try { encode.nextSubstring(occurrences); } catch (IllegalArgumentException e) { throw runtime.newArgumentError("in `unpack': x outside of string"); } break; } type = next; } return result; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/buggy/src/org/jruby/util/Pack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 1076, 6167, 12, 780, 3749, 780, 16, 2398, 19817, 780, 27107, 13, 288, 3639, 15908, 10340, 3099, 273, 27107, 18, 588, 5576, 5621, 3639, 19817, 1076, 563, 273, 3099, 18, 2704, 1076, 5621, 3639, 14898, 682, 740, 273, 394, 14898, 682, 12, 2139, 780, 18, 24805, 10663, 3639, 14898, 682, 2017, 273, 394, 14898, 682, 12, 10787, 780, 1769, 3639, 1149, 618, 273, 740, 18, 4285, 2156, 5621, 368, 1412, 358, 506, 24195, 7734, 1323, 12, 5, 2139, 18, 291, 861, 1638, 10756, 288, 5411, 368, 25433, 1024, 618, 16, 740, 434, 783, 618, 16, 15698, 434, 618, 5411, 1149, 1024, 273, 740, 18, 4285, 2156, 5621, 13491, 368, 4804, 8527, 358, 2495, 1450, 6448, 2688, 740, 5411, 309, 261, 4285, 422, 4427, 747, 1024, 422, 15502, 13, 288, 7734, 309, 261, 50, 12992, 67, 17070, 18, 31806, 12, 723, 13, 422, 300, 21, 13, 288, 1171, 202, 12849, 3099, 18, 2704, 1379, 668, 2932, 4970, 397, 1024, 397, 1171, 3196, 3639, 2491, 2935, 1338, 1839, 1953, 315, 397, 423, 12992, 67, 17070, 1769, 7734, 289, 1171, 368, 1660, 8312, 316, 648, 9145, 18842, 764, 13040, 7734, 1024, 273, 740, 18, 4285, 2156, 5621, 5411, 289, 13491, 368, 9017, 4906, 15698, 434, 296, 723, 11, 732, 2545, 5411, 509, 15698, 273, 374, 31, 5411, 309, 261, 2139, 18, 291, 861, 1638, 10756, 288, 2398, 202, 26635, 12228, 273, 404, 31, 5411, 289, 469, 309, 261, 4285, 422, 5306, 13, 288, 2398, 202, 26635, 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, 19817, 1076, 6167, 12, 780, 3749, 780, 16, 2398, 19817, 780, 27107, 13, 288, 3639, 15908, 10340, 3099, 273, 27107, 18, 588, 5576, 5621, 3639, 19817, 1076, 563, 273, 3099, 18, 2704, 1076, 5621, 3639, 14898, 682, 740, 273, 394, 14898, 682, 12, 2139, 780, 18, 24805, 10663, 3639, 14898, 682, 2017, 273, 394, 14898, 682, 12, 10787, 780, 1769, 3639, 1149, 618, 273, 740, 18, 4285, 2156, 5621, 368, 1412, 358, 506, 24195, 7734, 1323, 12, 5, 2139, 18, 291, 861, 1638, 10756, 288, 5411, 368, 25433, 1024, 618, 16, 740, 434, 783, 618, 16, 15698, 434, 618, 5411, 1149, 1024, 273, 740, 18, 4285, 2156, 5621, 13491, 368, 4804, 8527, 358, 2495, 1450, 6448, 2 ]
frameOffset += 8;
frameOffset += BYTES_IN_DOUBLE;
public void unwindStackFrame(VM_CompiledMethod cm, VM_Registers registers) { VM_Address fp = registers.getInnermostFramePointer(); VM_OptCompiledMethod compiledMethod = (VM_OptCompiledMethod)cm; // restore non-volatile registers int frameOffset = compiledMethod.getUnsignedNonVolatileOffset(); int firstInteger = compiledMethod.getFirstNonVolatileGPR(); if (firstInteger >= 0) { for (int i = firstInteger; i < 32; i++) { registers.gprs.set(i, VM_Magic.getMemoryWord(fp.add(frameOffset))); frameOffset += 4; } } int firstFloat = compiledMethod.getFirstNonVolatileFPR(); if (firstFloat >= 0) { frameOffset = (frameOffset + 7) & ~7; // align pointer for doubles for (int i = firstFloat; i < 32; i++) { long temp = VM_Magic.getLongAtOffset(VM_Magic.addressAsObject(fp), frameOffset); registers.fprs[i] = VM_Magic.longBitsAsDouble(temp); frameOffset += 8; } } registers.unwindStackFrame(); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/4d22dd13124900e868c296fd635d282c7c218508/VM_OptExceptionDeliverer.java/buggy/rvm/src/vm/arch/powerPC/compilers/optimizing/vmInterface/services/VM_OptExceptionDeliverer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 640, 10094, 2624, 3219, 12, 7397, 67, 20733, 1305, 5003, 16, 8251, 67, 10277, 10285, 13, 288, 565, 8251, 67, 1887, 4253, 273, 10285, 18, 588, 382, 82, 28055, 3219, 4926, 5621, 565, 8251, 67, 6179, 20733, 1305, 7743, 1305, 273, 261, 7397, 67, 6179, 20733, 1305, 13, 7670, 31, 565, 368, 5217, 1661, 17, 15416, 20295, 10285, 565, 509, 2623, 2335, 273, 7743, 1305, 18, 588, 13290, 3989, 17431, 20295, 2335, 5621, 565, 509, 1122, 4522, 273, 7743, 1305, 18, 588, 3759, 3989, 17431, 20295, 43, 8025, 5621, 565, 309, 261, 3645, 4522, 1545, 374, 13, 288, 1377, 364, 261, 474, 277, 273, 1122, 4522, 31, 277, 411, 3847, 31, 277, 27245, 288, 3639, 10285, 18, 75, 683, 87, 18, 542, 12, 77, 16, 8251, 67, 19289, 18, 588, 6031, 3944, 12, 7944, 18, 1289, 12, 3789, 2335, 3719, 1769, 3639, 2623, 2335, 1011, 1059, 31, 1377, 289, 565, 289, 565, 509, 1122, 4723, 273, 7743, 1305, 18, 588, 3759, 3989, 17431, 20295, 42, 8025, 5621, 565, 309, 261, 3645, 4723, 1545, 374, 13, 288, 1377, 2623, 2335, 273, 261, 3789, 2335, 397, 2371, 13, 473, 4871, 27, 31, 225, 368, 5689, 4407, 364, 31446, 1377, 364, 261, 474, 277, 273, 1122, 4723, 31, 277, 411, 3847, 31, 277, 27245, 288, 3639, 1525, 1906, 273, 8251, 67, 19289, 18, 588, 3708, 861, 2335, 12, 7397, 67, 19289, 18, 2867, 1463, 921, 12, 7944, 3631, 2623, 2335, 1769, 3639, 10285, 18, 74, 683, 87, 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, 640, 10094, 2624, 3219, 12, 7397, 67, 20733, 1305, 5003, 16, 8251, 67, 10277, 10285, 13, 288, 565, 8251, 67, 1887, 4253, 273, 10285, 18, 588, 382, 82, 28055, 3219, 4926, 5621, 565, 8251, 67, 6179, 20733, 1305, 7743, 1305, 273, 261, 7397, 67, 6179, 20733, 1305, 13, 7670, 31, 565, 368, 5217, 1661, 17, 15416, 20295, 10285, 565, 509, 2623, 2335, 273, 7743, 1305, 18, 588, 13290, 3989, 17431, 20295, 2335, 5621, 565, 509, 1122, 4522, 273, 7743, 1305, 18, 588, 3759, 3989, 17431, 20295, 43, 8025, 5621, 565, 309, 261, 3645, 4522, 1545, 374, 13, 288, 1377, 364, 261, 474, 277, 273, 1122, 4522, 31, 277, 411, 3847, 31, 277, 27245, 288, 3639, 10285, 2 ]
public String getText() { return txtValue.getText(); }
public String getText( ) { return txtValue.getText( ); }
public String getText() { return txtValue.getText(); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/979b4ef9e0ecedfdb172d4326b24c2a6033cbbbd/TextEditorComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/TextEditorComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6701, 1435, 565, 288, 3639, 327, 6463, 620, 18, 588, 1528, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 514, 6701, 1435, 565, 288, 3639, 327, 6463, 620, 18, 588, 1528, 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, -100 ]
IASTASMDefinition asm = (IASTASMDefinition)parse( "asm ( \"blah blah blah\" );" ).getDeclarations().next(); assertEquals( asm.getBody(), "blah blah blah");
IASTASMDefinition asm = (IASTASMDefinition)parse( "asm ( \"blah blah blah\" );" ).getDeclarations().next(); assertEquals( asm.getBody(), "blah blah blah");
public void testASM() throws Exception { IASTASMDefinition asm = (IASTASMDefinition)parse( "asm ( \"blah blah blah\" );" ).getDeclarations().next(); assertEquals( asm.getBody(), "blah blah blah"); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3a6ffef8f855652606f74a14d4b15478c81e5db4/CompleteParseASTTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompleteParseASTTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3033, 49, 1435, 1216, 1185, 202, 95, 202, 202, 45, 9053, 3033, 49, 1852, 20415, 273, 261, 45, 9053, 3033, 49, 1852, 13, 2670, 12, 315, 23522, 261, 1239, 3083, 9795, 2811, 9795, 2811, 9795, 2412, 262, 4868, 262, 18, 588, 21408, 7675, 4285, 5621, 202, 202, 11231, 8867, 12, 20415, 18, 588, 2250, 9334, 315, 3083, 9795, 2811, 9795, 2811, 9795, 8863, 282, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 3033, 49, 1435, 1216, 1185, 202, 95, 202, 202, 45, 9053, 3033, 49, 1852, 20415, 273, 261, 45, 9053, 3033, 49, 1852, 13, 2670, 12, 315, 23522, 261, 1239, 3083, 9795, 2811, 9795, 2811, 9795, 2412, 262, 4868, 262, 18, 588, 21408, 7675, 4285, 5621, 202, 202, 11231, 8867, 12, 20415, 18, 588, 2250, 9334, 315, 3083, 9795, 2811, 9795, 2811, 9795, 8863, 282, 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 ]
public void writeEntryHeader(byte[] outbuf) { int offset = 0; offset = TarUtils.getNameBytes(this.name, outbuf, offset, NAMELEN); offset = TarUtils.getOctalBytes(this.mode, outbuf, offset, MODELEN); offset = TarUtils.getOctalBytes(this.userId, outbuf, offset, UIDLEN); offset = TarUtils.getOctalBytes(this.groupId, outbuf, offset, GIDLEN); offset = TarUtils.getLongOctalBytes(this.size, outbuf, offset, SIZELEN); offset = TarUtils.getLongOctalBytes(this.modTime, outbuf, offset, MODTIMELEN); int csOffset = offset; for (int c = 0; c < CHKSUMLEN; ++c) { outbuf[offset++] = (byte) ' '; } outbuf[offset++] = this.linkFlag; offset = TarUtils.getNameBytes(this.linkName, outbuf, offset, NAMELEN); offset = TarUtils.getNameBytes(this.magic, outbuf, offset, MAGICLEN); offset = TarUtils.getNameBytes(this.userName, outbuf, offset, UNAMELEN); offset = TarUtils.getNameBytes(this.groupName, outbuf, offset, GNAMELEN); offset = TarUtils.getOctalBytes(this.devMajor, outbuf, offset, DEVLEN); offset = TarUtils.getOctalBytes(this.devMinor, outbuf, offset, DEVLEN); while (offset < outbuf.length) { outbuf[offset++] = 0; } long checkSum = TarUtils.computeCheckSum(outbuf); TarUtils.getCheckSumOctalBytes(checkSum, outbuf, csOffset, CHKSUMLEN); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/12d6c01879b76774bb1cb969f3081301b96dab32/TarEntry.java/clean/src/main/org/apache/tools/tar/TarEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1622, 1864, 12, 7229, 8526, 596, 4385, 13, 288, 3639, 509, 1384, 273, 374, 31, 7734, 1384, 273, 20334, 1989, 18, 17994, 2160, 12, 2211, 18, 529, 16, 596, 4385, 16, 1384, 16, 6048, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 19320, 287, 2160, 12, 2211, 18, 3188, 16, 596, 4385, 16, 1384, 16, 11741, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 19320, 287, 2160, 12, 2211, 18, 18991, 16, 596, 4385, 16, 1384, 16, 10034, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 19320, 287, 2160, 12, 2211, 18, 27547, 16, 596, 4385, 16, 1384, 16, 611, 734, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 3708, 19320, 287, 2160, 12, 2211, 18, 1467, 16, 596, 4385, 16, 1384, 16, 11963, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 3708, 19320, 287, 2160, 12, 2211, 18, 1711, 950, 16, 596, 4385, 16, 1384, 16, 8663, 4684, 13017, 1769, 7734, 509, 2873, 2335, 273, 1384, 31, 7734, 364, 261, 474, 276, 273, 374, 31, 276, 411, 6469, 47, 14020, 13017, 31, 965, 71, 13, 288, 5411, 596, 4385, 63, 3348, 9904, 65, 273, 261, 7229, 13, 296, 12386, 3639, 289, 7734, 596, 4385, 63, 3348, 9904, 65, 273, 333, 18, 1232, 4678, 31, 3639, 1384, 273, 20334, 1989, 18, 17994, 2160, 12, 2211, 18, 1232, 461, 16, 596, 4385, 16, 1384, 16, 6048, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 17994, 2160, 12, 2211, 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, 1071, 918, 1045, 1622, 1864, 12, 7229, 8526, 596, 4385, 13, 288, 3639, 509, 1384, 273, 374, 31, 7734, 1384, 273, 20334, 1989, 18, 17994, 2160, 12, 2211, 18, 529, 16, 596, 4385, 16, 1384, 16, 6048, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 19320, 287, 2160, 12, 2211, 18, 3188, 16, 596, 4385, 16, 1384, 16, 11741, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 19320, 287, 2160, 12, 2211, 18, 18991, 16, 596, 4385, 16, 1384, 16, 10034, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 19320, 287, 2160, 12, 2211, 18, 27547, 16, 596, 4385, 16, 1384, 16, 611, 734, 13017, 1769, 3639, 1384, 273, 20334, 1989, 18, 588, 3708, 19320, 2 ]
plainBytes = new BASE64Decoder().decodeBuffer(plainText);
plainBytes = new BASE64Decoder().decodeBuffer(encrypted); return crypt(plainBytes, Cipher.DECRYPT_MODE);
private final byte[] decryptStringToByteArray(final String plainText) { final byte[] plainBytes; try { plainBytes = new BASE64Decoder().decodeBuffer(plainText); } catch (IOException ex) { throw new RuntimeException(ex.getMessage()); } return crypt(plainBytes, Cipher.DECRYPT_MODE); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c115d7a37cdcba89f06d37acc5a9f346d51786cf/Crypt.java/clean/wicket/src/java/wicket/markup/html/form/Crypt.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 1160, 8526, 8420, 23282, 8826, 12, 6385, 514, 7351, 1528, 13, 565, 288, 3639, 727, 1160, 8526, 7351, 2160, 31, 3639, 775, 3639, 288, 5411, 7351, 2160, 273, 394, 10250, 1105, 7975, 7675, 3922, 1892, 12, 18702, 1769, 327, 13231, 12, 7446, 2160, 16, 12272, 18, 1639, 14306, 67, 7038, 1769, 3639, 289, 3639, 1044, 261, 14106, 431, 13, 540, 288, 5411, 604, 394, 3235, 12, 338, 18, 24906, 10663, 3639, 289, 3639, 327, 13231, 12, 7446, 2160, 16, 12272, 18, 1639, 14306, 67, 7038, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 1160, 8526, 8420, 23282, 8826, 12, 6385, 514, 7351, 1528, 13, 565, 288, 3639, 727, 1160, 8526, 7351, 2160, 31, 3639, 775, 3639, 288, 5411, 7351, 2160, 273, 394, 10250, 1105, 7975, 7675, 3922, 1892, 12, 18702, 1769, 327, 13231, 12, 7446, 2160, 16, 12272, 18, 1639, 14306, 67, 7038, 1769, 3639, 289, 3639, 1044, 261, 14106, 431, 13, 540, 288, 5411, 604, 394, 3235, 12, 338, 18, 24906, 10663, 3639, 289, 3639, 327, 13231, 12, 7446, 2160, 16, 12272, 18, 1639, 14306, 67, 7038, 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 ]
emailPublisherElement = builder.build(new StringReader(xml.toString())).getRootElement();
Element emailPublisherElement = builder.build(new StringReader(xml.toString())).getRootElement();
public void setUp() throws Exception { PropertiesMapper propertiesMapper = new PropertiesMapper(); // create a temp file to test propertiesmapper Properties props = new Properties(); tmpFile = File.createTempFile("cruise", "Test"); props.setProperty("always1", "always1"); FileOutputStream fos = new FileOutputStream(tmpFile); props.store(fos, null); fos.close(); tmpFile.deleteOnExit(); //pass in some xml and create the publisher StringBuffer xml = new StringBuffer(); xml.append("<email defaultsuffix=\"@host.com\">"); xml.append("<always address=\"always1\"/>"); xml.append("<always address=\"always2@host.com\"/>"); xml.append("<always address=\"dropletteruser1\"/>"); xml.append("<failure address=\"failure1\"/>"); xml.append("<failure address=\"failure2@host.com\" reportWhenFixed=\"true\"/>"); xml.append("<success address='success1' />"); xml.append("<success address='success2@host.com' />"); xml.append("<map alias=\"user3\" address=\"user3@host2.com\"/>"); xml.append("</email>"); Element emailPublisherElement = null; SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser"); emailPublisherElement = builder.build(new StringReader(xml.toString())).getRootElement(); PluginXMLHelper xmlHelper = new PluginXMLHelper(new ProjectXMLHelper()); emailPublisher = (MockEmailPublisher) xmlHelper.configure( emailPublisherElement, Class.forName("net.sourceforge.cruisecontrol.publishers.MockEmailPublisher"), false); emailPublisher.add(new DropLetterEmailAddressMapper()); propertiesMapper.setFile(tmpFile.getPath()); emailPublisher.add(propertiesMapper); successLogHelper = createLogHelper(true, true); failureLogHelper = createLogHelper(false, false); fixedLogHelper = createLogHelper(true, false); firstFailureLogHelper = createLogHelper(false, true); }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/c4c9bb3f83019ba6cdff07f309fe569a53c52b99/EmailPublisherTest.java/clean/main/test/net/sourceforge/cruisecontrol/publishers/EmailPublisherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 1216, 1185, 288, 3639, 6183, 4597, 1790, 4597, 273, 394, 6183, 4597, 5621, 3639, 368, 752, 279, 1906, 585, 358, 1842, 1790, 13919, 3639, 6183, 3458, 273, 394, 6183, 5621, 3639, 18504, 273, 1387, 18, 2640, 20181, 2932, 3353, 89, 784, 3113, 315, 4709, 8863, 3639, 3458, 18, 542, 1396, 2932, 17737, 21, 3113, 315, 17737, 21, 8863, 3639, 12942, 17615, 273, 394, 12942, 12, 5645, 812, 1769, 3639, 3458, 18, 2233, 12, 5075, 16, 446, 1769, 3639, 17615, 18, 4412, 5621, 3639, 18504, 18, 3733, 1398, 6767, 5621, 3639, 368, 5466, 316, 2690, 2025, 471, 752, 326, 12855, 3639, 6674, 2025, 273, 394, 6674, 5621, 3639, 2025, 18, 6923, 2932, 32, 3652, 3467, 2609, 5189, 36, 2564, 18, 832, 21121, 1769, 3639, 2025, 18, 6923, 2932, 32, 17737, 1758, 5189, 17737, 21, 2412, 26293, 1769, 3639, 2025, 18, 6923, 2932, 32, 17737, 1758, 5189, 17737, 22, 36, 2564, 18, 832, 2412, 26293, 1769, 3639, 2025, 18, 6923, 2932, 32, 17737, 1758, 5189, 9005, 1469, 387, 1355, 21, 2412, 26293, 1769, 3639, 2025, 18, 6923, 2932, 32, 12251, 1758, 5189, 12251, 21, 2412, 26293, 1769, 3639, 2025, 18, 6923, 2932, 32, 12251, 1758, 5189, 12251, 22, 36, 2564, 18, 832, 2412, 2605, 9434, 7505, 5189, 3767, 2412, 26293, 1769, 3639, 2025, 18, 6923, 2932, 32, 4768, 1758, 2218, 4768, 21, 11, 28505, 1769, 3639, 2025, 18, 6923, 2932, 32, 4768, 1758, 2218, 4768, 22, 36, 2564, 18, 832, 11, 28505, 1769, 3639, 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, 24292, 1435, 1216, 1185, 288, 3639, 6183, 4597, 1790, 4597, 273, 394, 6183, 4597, 5621, 3639, 368, 752, 279, 1906, 585, 358, 1842, 1790, 13919, 3639, 6183, 3458, 273, 394, 6183, 5621, 3639, 18504, 273, 1387, 18, 2640, 20181, 2932, 3353, 89, 784, 3113, 315, 4709, 8863, 3639, 3458, 18, 542, 1396, 2932, 17737, 21, 3113, 315, 17737, 21, 8863, 3639, 12942, 17615, 273, 394, 12942, 12, 5645, 812, 1769, 3639, 3458, 18, 2233, 12, 5075, 16, 446, 1769, 3639, 17615, 18, 4412, 5621, 3639, 18504, 18, 3733, 1398, 6767, 5621, 3639, 368, 5466, 316, 2690, 2025, 471, 752, 326, 12855, 3639, 6674, 2025, 273, 394, 6674, 5621, 3639, 2025, 18, 6923, 2932, 32, 3652, 3467, 2 ]
jj_la1[47] = jj_gen;
jj_la1[48] = jj_gen;
final public void process() throws ParseException { skipTo2(END, PROCESS); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENT: identifier(); break; default: jj_la1[47] = jj_gen; ; } jj_consume_token(EOS); }
4167 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4167/1d549ddd82c87451795d80c424ea594397d7215d/VhdlParserCore.java/clean/src/_generated/net/sourceforge/veditor/parser/VhdlParserCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 1207, 1435, 1216, 10616, 288, 565, 2488, 774, 22, 12, 4415, 16, 20647, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 19768, 30, 1377, 2756, 5621, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 8875, 65, 273, 10684, 67, 4507, 31, 1377, 274, 565, 289, 565, 10684, 67, 21224, 67, 2316, 12, 41, 4618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 1207, 1435, 1216, 10616, 288, 565, 2488, 774, 22, 12, 4415, 16, 20647, 1769, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 19768, 30, 1377, 2756, 5621, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 8875, 65, 273, 10684, 67, 4507, 31, 1377, 274, 565, 289, 565, 10684, 67, 21224, 67, 2316, 12, 41, 4618, 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 ]