diff options
author | Michael Rennie | 2011-07-07 04:49:14 +0000 |
---|---|---|
committer | Michael Rennie | 2011-07-07 04:49:14 +0000 |
commit | 233d153fa8e4d9e3372107e3af495b26594c99b1 (patch) | |
tree | eb9976cd89c115b35f15f350ce877c72bd3f6c81 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup | |
parent | bbc6a13779b7a6542fa76a1b4d22effb2b017547 (diff) | |
download | eclipse.platform.debug-233d153fa8e4d9e3372107e3af495b26594c99b1.tar.gz eclipse.platform.debug-233d153fa8e4d9e3372107e3af495b26594c99b1.tar.xz eclipse.platform.debug-233d153fa8e4d9e3372107e3af495b26594c99b1.zip |
[nobug] fix Javadoc warnings and add API problem filters for known API usage problems
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup')
4 files changed, 20 insertions, 18 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java index 3075dbd16..9066819ed 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2009 IBM Corporation and others. + * Copyright (c) 2003, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -57,6 +57,9 @@ public class AddSourceContainerDialog extends TitleAreaDialog { /** * Constructor + * @param shell the shell to open this dialog on + * @param viewer the view associated with this dialog + * @param director the backing director */ public AddSourceContainerDialog(Shell shell, SourceContainerViewer viewer, ISourceLookupDirector director) { super(shell); diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/BasicContainerContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/BasicContainerContentProvider.java index b629d96cd..e7fd8079e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/BasicContainerContentProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/BasicContainerContentProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2005 IBM Corporation and others. + * Copyright (c) 2003, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -37,8 +37,8 @@ public class BasicContainerContentProvider implements ITreeContentProvider { public void dispose() { } - /** - * @see ITreeContentProvider#getChildren + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object) */ public Object[] getChildren(Object element) { if (element instanceof IWorkspaceRoot) { @@ -58,31 +58,28 @@ public class BasicContainerContentProvider implements ITreeContentProvider { return new Object[0]; } - /** - * @see ITreeContentProvider#getElements - */ public Object[] getElements(Object element) { return getChildren(element); } - /** - * @see ITreeContentProvider#getParent + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object) */ public Object getParent(Object element) { if (element instanceof IResource) return ((IResource) element).getParent(); return null; } - - /** - * @see ITreeContentProvider#hasChildren + + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object) */ public boolean hasChildren(Object element) { return getChildren(element).length > 0; } - /** - * @see IContentProvider#inputChanged + /* (non-Javadoc) + * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveFilter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveFilter.java index c5d55658c..427221356 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveFilter.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -72,8 +72,9 @@ public class ArchiveFilter extends ViewerFilter { /** * Traverse the given container, adding archives to the given set. * Returns whether any files were added - * - * @param root + * @param container the container to check + * @param set the set to add any found archives to + * @return <code>true</code> if any archives have been added false otherwise */ private boolean traverse(IContainer container, Set set) { boolean added = false; diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveSourceContainerBrowser.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveSourceContainerBrowser.java index 1b6ed903a..4ae4fc2a9 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveSourceContainerBrowser.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveSourceContainerBrowser.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -60,6 +60,7 @@ public class ArchiveSourceContainerBrowser extends AbstractSourceContainerBrowse * given source lookup director. * * @param director source lookup director jars are being added to + * @return the list of any found {@link ArchiveSourceContainer}s */ protected List getSelectedJars(ISourceLookupDirector director) { ISourceContainer[] containers = director.getSourceContainers(); |