Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2011-01-07 19:41:21 -0500
committerslewis2011-01-07 19:41:21 -0500
commitbb7a1bb588bfbec096d701bd593346afc59c9017 (patch)
tree7e53c0292a7b6d513535f2e3534357c70a47f782
parent0da0d2c4fa0e76ca5493d3cd44a838641c62eab8 (diff)
downloadorg.eclipse.ecf-bb7a1bb588bfbec096d701bd593346afc59c9017.tar.gz
org.eclipse.ecf-bb7a1bb588bfbec096d701bd593346afc59c9017.tar.xz
org.eclipse.ecf-bb7a1bb588bfbec096d701bd593346afc59c9017.zip
rsa fix for possible bug
-rw-r--r--incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionAdvertiser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionAdvertiser.java b/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionAdvertiser.java
index fd771442b..5e5dedd7a 100644
--- a/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionAdvertiser.java
+++ b/incubation/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionAdvertiser.java
@@ -134,7 +134,7 @@ public class EndpointDescriptionAdvertiser implements
errorStatuses.add(status);
if (errorStatuses.size() > 0)
return new MultiStatus(Activator.PLUGIN_ID, IStatus.ERROR,
- (IStatus[]) statuses.toArray(), errorMessage, null);
+ (IStatus[]) statuses.toArray(new IStatus[statuses.size()]), errorMessage, null);
else
return Status.OK_STATUS;
}

Back to the top