Volumes API#55
Conversation
|
Committed code for Volume Actions as well. |
|
Completed all Block Storage API. |
| @Override | ||
| public Volume createVolume(Volume volume) throws DigitalOceanException, RequestUnsuccessfulException { | ||
| if (null == volume | ||
| || StringUtils.isEmpty(volume.getName()) |
There was a problem hiding this comment.
Please change it to StringUtils.isBlank().
|
I forget to mention. Please apply Google Java Code Formatter, XML link is at contributing section. PS: While applying code formatting in |
|
Hey @jeevatkm , I've refactored the code as you suggested and added integration tests. RE: Google Java Code Formatter, I don't have it set up on my machine, maybe you could just apply it yourself, or as an option you could use this plugin here? https://github.com/revelc/formatter-maven-plugin Thanks for the library. |
|
@strokine Thanks again for PR. I will take care -
|
Adding support for Volumes API.