1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-27 02:45:32 +02:00

[187953] empty array should be returned if no persistable children, not null.

This commit is contained in:
David Dykstal 2007-05-24 13:47:21 +00:00
parent be30431339
commit c59ed02f11
3 changed files with 3 additions and 3 deletions

View file

@ -779,7 +779,7 @@ public abstract class AbstractDelegatingConnectorService implements IDelegatingC
{ {
return conServ.getPersistableChildren(); return conServ.getPersistableChildren();
} }
return null; return new IRSEPersistableContainer[0];
} }

View file

@ -160,7 +160,7 @@ public class UserActionContext extends RSEModelObject implements IUserActionCont
* @see org.eclipse.rse.core.model.IRSEPersistableContainer#getPersistableChildren() * @see org.eclipse.rse.core.model.IRSEPersistableContainer#getPersistableChildren()
*/ */
public IRSEPersistableContainer[] getPersistableChildren() { public IRSEPersistableContainer[] getPersistableChildren() {
return null; return new IRSEPersistableContainer[0];
} }
/* (non-Javadoc) /* (non-Javadoc)

View file

@ -219,7 +219,7 @@ public class UserActionModel extends RSEModelObject implements IUserActionModel
* @see org.eclipse.rse.core.model.IRSEPersistableContainer#getPersistableChildren() * @see org.eclipse.rse.core.model.IRSEPersistableContainer#getPersistableChildren()
*/ */
public IRSEPersistableContainer[] getPersistableChildren() { public IRSEPersistableContainer[] getPersistableChildren() {
return null; return new IRSEPersistableContainer[0];
} }
/* (non-Javadoc) /* (non-Javadoc)