Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2008-04-10 11:58:41 +0000
committerMarkus Schorn2008-04-10 11:58:41 +0000
commit3c104b3f4c70dbd30b6129567fe3e17ade0b0b9c (patch)
tree85b363528fb4ff45e5bb3da47d2531001800fc62 /core/org.eclipse.cdt.ui
parent772a60e5b64e324d8abfb15eaa9cab969f41e77b (diff)
downloadorg.eclipse.cdt-3c104b3f4c70dbd30b6129567fe3e17ade0b0b9c.tar.gz
org.eclipse.cdt-3c104b3f4c70dbd30b6129567fe3e17ade0b0b9c.tar.xz
org.eclipse.cdt-3c104b3f4c70dbd30b6129567fe3e17ade0b0b9c.zip
Fix warnings.
Diffstat (limited to 'core/org.eclipse.cdt.ui')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionProposalComputerDescriptor.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionProposalComputerDescriptor.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionProposalComputerDescriptor.java
index 987e8976c10..024d32a00cc 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionProposalComputerDescriptor.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionProposalComputerDescriptor.java
@@ -127,10 +127,9 @@ final class CompletionProposalComputerDescriptor {
* @param element the configuration element to read
* @param registry the computer registry creating this descriptor
*/
- @SuppressWarnings("null")
CompletionProposalComputerDescriptor(IConfigurationElement element, CompletionProposalComputerRegistry registry, List<CompletionProposalCategory> categories) throws InvalidRegistryObjectException {
- Assert.isLegal(registry != null);
- Assert.isLegal(element != null);
+ Assert.isNotNull(registry);
+ Assert.isNotNull(element);
fRegistry= registry;
fElement= element;

Back to the top