Bug 3963 - Clean up the [Issues] in javadoc (1GF9P7T)
Summary: Clean up the [Issues] in javadoc (1GF9P7T)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:03 EDT by Dani Megert CLA
Modified: 2002-09-05 05:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2001-10-10 23:03:46 EDT
Search for Issues in our plug-ins and clean up.
	This was found for JDT:

org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage
	 * [Issue: It is slightly unfortunate to make appeal to a preference in an API 
	 *  method but not expose that preference as API.
	 * ]
	public void setDefaultClassPath(IClasspathEntry[] entries, boolean appendDefaultJRE) {
	==>   There's a setter but no getter. This is a designed. Remove the Issue comment.

org.eclipse.jdt.ui.JavaUI
	 * [Issue: SelectionDialogs must be parented. shell must not be null.]
	 * @param parent the parent shell of the dialog to be created
	public static SelectionDialog createMainTypeDialog(Shell parent, IRunnableContext cont...
	==>  This is a designed: we want to allow unparented dialogs. Remove the Issue comment.


	 * [Issue: Explain semantics of opening an editor on a class file.]
	 * </p>
	 * <p>
	 * [Issue: Explain under which conditions it returns null, throws JavaModelException,
	 *  or throws JavaModelException.
	 * ]
	 * </p>
	 * @param element the input element; either a compilation unit 
	 *   (<code>ICompilationUnit</code>) or a class file (</code>IClassFile</code>)
	 * @return the editor, or </code>null</code> if wrong element type or opening failed
	 * @exception PartInitException if the editor could not be initialized
	 * @exception JavaModelException if this element does not exist or if an
	 *		exception occurs while accessing its underlying resource
	 */
	public static IEditorPart openInEditor(IJavaElement element) throws JavaModelException, PartInitException {
	==>   Better explanation would be good.

	 * Reveals the source range of the given source reference element in the
	 * given editor. No checking is done if the editor displays a compilation unit or
	 * class file that contains the given source reference.
	 * <p>
	 * [Issue: Explain what is meant by that last sentence.]
	 * </p>
	 * <p>
	 * [Issue: Explain what happens if the source reference is from some other
	 *  compilation unit, editor is not open, etc.]
	 * </p>
	public static void revealInEditor(IEditorPart part, ISourceReference element) {
	==>   Better explanation would be good.

	PackageViewer
		// defensive code. Multithread issue?
		if (item.isDisposed())
	==>   Would write: // guard for thread safety --- or --- remove the ?



NOTES:
Comment 1 Martin Aeschlimann CLA 2001-10-16 11:15:29 EDT
moved to 'active'
Comment 2 Martin Aeschlimann CLA 2001-11-12 12:51:42 EST
issues in NewJavaProjectWizardPage are fixed.
Comment 3 Dirk Baeumer CLA 2002-01-08 05:38:11 EST
Claude, please fix dialog issue and then move PR to Kai
Comment 4 Claude Knaus CLA 2002-01-16 10:42:52 EST
done.
Comment 5 Dani Megert CLA 2002-02-27 10:43:27 EST
Not fixed in I20020226. Leaving as is but moving from critical to normal.
Comment 6 Kai-Uwe Maetzel CLA 2002-09-05 05:01:24 EDT
With the 2.0 Javadoc path.