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
int count = 0;
		for (int i = 0; i < elements.length; ++i) {
			Widget w = findItem(elements[i]);
			if (w == null && virtualManager != null) {
				int index = virtualManager.find(elements[i]);
				if (index != -1) {
					indices[count++] = index;
				}
			} else if (w instanceof Item) {
				Item item = (Item) w;
				disassociate(item);
				indices[count++] = doIndexOf(item);
			}
		}
		if (count < indices.length) {
			System.arraycopy(indices, 0, indices = new int[count], 0, count);
		}
		if (virtualManager != null) {
			virtualManager.removeIndices(indices);
		}
		doRemove(indices);
		
		
		if (doGetItemCount() == 0) {
			doRemoveAll();
		}
	}
	/**
	 * Removes the given elements from this table viewer. The selection is
	 * updated if required.