Wouldn't hurt to add endWorkspace(). At this Infocenter URL:
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/topic/com.ibm.wp.zos.doc_v615/wcm/wcm_dev_api_using.html
It says:
You must call endWorkspace() when finished with the workspace item.
webContentService.getRepository().endWorkspace();
Note: You don't need to call endWorkspace() when using a JSP component as rendering and session management is handled by Web Content Management.
http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/topic/com.ibm.wp.zos.doc_v615/wcm/wcm_dev_api_using.html
It says:
You must call endWorkspace() when finished with the workspace item.
webContentService.getRepository().endWorkspace();
Note: You don't need to call endWorkspace() when using a JSP component as rendering and session management is handled by Web Content Management.