Github user shawnfeldman commented on a diff in the pull request:

    https://github.com/apache/incubator-usergrid/pull/140#discussion_r22507649
  
    --- Diff: 
stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/model/Entity.java
 ---
    @@ -118,6 +118,10 @@ public Object get( final Object key ) {
             //All values are strings , so doing the cast here saves doing the 
cast elsewhere
             return getDynamicProperties().get( key );
         }
    +    public String getString( final Object key ) {
    +        //All values are strings , so doing the cast here saves doing the 
cast elsewhere
    +        return String.valueOf(getDynamicProperties().get( key ));
    --- End diff --
    
    you should probably cast to a string or call toString
    also could be shortened to return (String) get( key );


---
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