[ 
https://issues.apache.org/jira/browse/RYA-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705894#comment-15705894
 ] 

ASF GitHub Bot commented on RYA-119:
------------------------------------

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

    https://github.com/apache/incubator-rya/pull/124#discussion_r90057717
  
    --- Diff: 
dao/mongodb.rya/src/main/java/org/apache/rya/mongodb/dao/SimpleMongoDBStorageStrategy.java
 ---
    @@ -96,12 +103,19 @@ public DBObject getQuery(final RyaStatement stmt) {
     
         @Override
         public RyaStatement deserializeDBObject(final DBObject queryResult) {
    -        final Map result = queryResult.toMap();
    +        final Map<?, ?> result = queryResult.toMap();
    --- End diff --
    
    A Map<String, Object> is returned here but I would need to add 
@SuppressWarnings("unchecked") here which I'd prefer not to do.  Leaving it as 
just Map generates a raw type warning.  Map<?, ?> gets rid of the warning and 
is safe.


> Add visibility support to MongoDB
> ---------------------------------
>
>                 Key: RYA-119
>                 URL: https://issues.apache.org/jira/browse/RYA-119
>             Project: Rya
>          Issue Type: Improvement
>          Components: dao
>    Affects Versions: 3.2.10
>            Reporter: Andrew Smith
>            Assignee: Eric White
>
> Currently, when querying mongo, visibility is ignored.  Need to add support 
> for visibility when querying mongo.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to