diff --git a/joylive-core/joylive-governance-api/src/main/java/com/jd/live/agent/governance/invoke/OutboundInvocation.java b/joylive-core/joylive-governance-api/src/main/java/com/jd/live/agent/governance/invoke/OutboundInvocation.java index 59085f12..f220b5e7 100644 --- a/joylive-core/joylive-governance-api/src/main/java/com/jd/live/agent/governance/invoke/OutboundInvocation.java +++ b/joylive-core/joylive-governance-api/src/main/java/com/jd/live/agent/governance/invoke/OutboundInvocation.java @@ -196,8 +196,6 @@ public RouteTarget getRouteTarget() { if (null == routeTarget) { if (instances == null) { routeTarget = RouteTarget.forward(new ArrayList<>()); - } else if (instances instanceof ArrayList) { - routeTarget = RouteTarget.forward(instances); } else { // use array list to improve performance. routeTarget = RouteTarget.forward(new ArrayList<>(instances));