Bug 71546 CVS decoration not updated for jars after a commit
When committing a jar that is in the classpath, the CVS decoration is not updated in the package view. The decoration is first updated when closing the package view an opening it again.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ResourceToItemsMapper.java
private Stack fReuseLists;
	
	private IContentViewerAccessor fContentViewerAccess;
	public ResourceToItemsMapper(IContentViewerAccessor viewer) {
		fResourceToItem= new HashMap();
		fReuseLists= new Stack();
		
		fContentViewerAccess= viewer;
	}
	/**
	 * Must be called from the UI thread.
	 * @param changedResource Changed resource
	 */
	public void resourceChanged(IResource changedResource) {
		Object obj= fResourceToItem.get(changedResource);
		if (obj == null) {
			
		} else if (obj instanceof Item) {
			updateItem((Item) obj);
		} else { 
			List list= (List) obj;
			for (int k= 0; k < list.size(); k++) {
				updateItem((Item) list.get(k));
			}
		}
	}
		
	private void updateItem(Item item) {
		fContentViewerAccess.doUpdateItem(item);
	}