cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8708: gson update and ArrayTyp...
Date Wed, 21 Oct 2015 08:24:56 GMT
Github user DaanHoogland commented on a diff in the pull request:
    --- Diff: core/src/org/apache/cloudstack/agent/transport/ ---
    @@ -0,0 +1,33 @@
    +package org.apache.cloudstack.agent.transport;
    +import java.lang.reflect.Array;
    +public class AnswerArrayTypeAdaptor extends GenericArrayTypeAdaptor<Answer> {
    +    @Override
    +    protected Answer[] newArray(int size) {
    +        Answer[] answers = (Answer[])Array.newInstance(Answer.class, size);
    --- End diff --
    it is the same and the optimizer will treat it the same but this is easier to debug

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message