Bug 234228 [JavaDoc] [Viewers] AbstractTableViewer#replace(Object, int) JavaDoc misses description for arguments
- The arguments are not described - The description text is strange: ... Note that this method will create a TableItem for all of the elements provided. => There's only one element passed to this method!
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTableViewer.java
Iterator it = list.iterator();
				Item[] items = doGetItems();
				Object modelElement;
				int count = 0;
				while( it.hasNext() ) {
					modelElement = it.next();
					boolean found = false;
					for (int i = 0; i < items.length && !found; i++) {
						if (equals(modelElement, items[i].getData())) {
							indices[count++] = i;
							found = true;
						}
					}
				}
				if (count < indices.length) {
					System.arraycopy(indices, 0, indices = new int[count], 0, count);
				}
				doSelect(indices);
			}
		}
	}
	/**
	 * Set the selection on a virtual table
	 *
	 * @param list
	 *            The elements to set
	 * @param reveal
	 *            Whether or not reveal the first item.
	 */
	private void virtualSetSelectionToWidget(List list, boolean reveal) {