Github user d2r commented on the pull request:

    https://github.com/apache/storm/pull/845#issuecomment-158261254
  
    Utils.java:
    
    ```
    1252     // Normalize state
    1253     public static String[] normalizeVersionInfo(String 
nimbusKeyVersionInfo) {
    1254       String[] normalizeVersionInfo = new String[2];
    1255       int lastIndex = nimbusKeyVersionInfo.lastIndexOf("-");
    1256       normalizeVersionInfo[0] = nimbusKeyVersionInfo.substring(0, 
lastIndex);
    1257       normalizeVersionInfo[1] = 
nimbusKeyVersionInfo.substring(lastIndex + 1);
    1258       return normalizeVersionInfo;
    1259     }
    ```
    
    We should make a class out of BlobVersion, with `name` and `version` as 
members. It's easier to understand than a `String[]` value.



---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to