Repository navigation
This is the fix for the JIRA issue CLOUDSTACK-8817. - #810
Conversation
… for endpoint and startpoint are now Integer instead of String.
|
Interesting your proposal, but you forgot to change the respective getters and setters method. |
|
cloudstack-pull-rats #580 ABORTED |
|
Sorry for not changing the setter. I'm using eclipse now and I can see that there is a FirewallResponse.java file in both cloud and cloudstack-api. Should I make the changes in both places or only in cloudstack-api like last time? Also I have noticed various callers to setStartPort and getStartPort in the project. Will they need to be changed also, or should I leave everything else as it is? |
|
@ashwinswaroop, no problem. Sure you will have to change every single point that uses those getters and setters, if you want to proceed with that proposal. I just asked about the IDE, because when I saw that you just changed the parameters type, but not the setters and getters, it seemed like someone using VI to edit source files. |
|
cloudstack-pull-analysis #516 ABORTED |
|
Okay that makes sense. I went through the entire project and found only one caller of setStartPort and setEndPort which was from the relevant class(Firewall Response). There were others, but they were referring to a different class. The relevant caller took an argument of the form x.toString previously, but now since I changed the setter definition and the variable types to Integer, I removed the .toString part since it was already an Integer being converted to a String. There was no getter definition at all in FirewallResponse.java. Should I go ahead and commit? Also, in what way should I adjust the comments on my commit like you mentioned? |
|
@rafaelweingartner I committed and pushed the new changes. I also changed the commit comment like you requested. |
|
Now the change seems ok. I would just suggest you to squash the two commits, and fix the commit message (the first line of the comment is used to create a “title” for the commit, when that first line is too big, it breaks the message when it is displayed in the web view). LGTM. |
|
LGTM. |
This is the fix for the JIRA issue CLOUDSTACK-8817.This is my first contribution to Apache CloudStack. The return values for endpoint and startpoint have now been changed to Integer instead of String. Please let me know if this is the only change that is required or if there are additional files which will be impacted by this change which require modification also. * pr/810: CLOUDSTACK-8817: listFirewallRules response JSON startport/endport not an int This is the fix for the JIRA issue CLOUDSTACK-8817. The return values for endpoint and startpoint are now Integer instead of String. Signed-off-by: Wido den Hollander <wido@widodh.nl>
|
Automatically merged?!? |
|
cloudstack-pull-rats #586 ABORTED |
|
@rafaelweingartner Okay so should I still squash the commits or leave it as it is since it says the pull request has been merged and closed? Also I received this message cloudstack-pull-rats #586 ABORTED. Is there anything I need to do? |
|
@ashwinswaroop, |
|
cloudstack-pull-analysis #522 ABORTED |
|
@resmo Do you know the reason for the 2 aborted messages above? Is there anything I should do? |
|
builds were aborted probably because the PR was merged. This PR is properly merged to master with below commits |
…louds' Não interromper sincronização de backups em caso de falha Closes apache#810 See merge request scclouds/scclouds!326
This is my first contribution to Apache CloudStack. The return values for endpoint and startpoint have now been changed to Integer instead of String. Please let me know if this is the only change that is required or if there are additional files which will be impacted by this change which require modification also.