Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2010-02-26 17:58:31 +0000
committerChris Goldthorpe2010-02-26 17:58:31 +0000
commit9c44d0493c15d5ac862ca59f73f443e672113d57 (patch)
treef5d8995e98578a46f963e7803fca781cdd54e635 /org.eclipse.ui.intro
parent040949a8d8e662ac979b50fea1cf2244020781f7 (diff)
downloadeclipse.platform.ua-9c44d0493c15d5ac862ca59f73f443e672113d57.tar.gz
eclipse.platform.ua-9c44d0493c15d5ac862ca59f73f443e672113d57.tar.xz
eclipse.platform.ua-9c44d0493c15d5ac862ca59f73f443e672113d57.zip
Bug 304044 - Compiler warnings in I20100225-1936 in ui.intro
Diffstat (limited to 'org.eclipse.ui.intro')
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroContainer.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroContainer.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroContainer.java
index 787a8081e..f4b8eb10f 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroContainer.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/AbstractIntroContainer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2007 IBM Corporation and others.
+ * Copyright (c) 2004, 2010 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
@@ -205,9 +205,7 @@ public abstract class AbstractIntroContainer extends AbstractBaseIntroElement {
src = new AbstractIntroElement[size];
break;
}
- if (src == null)
- return new Object[0];
-
+
vector.copyInto(src);
return src;

Back to the top