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

Keith Turner commented on ACCUMULO-1851:
----------------------------------------

Use tableOperations().tableIdMap(), its part of the public API.  
Table.getTableId() is not part of the public API and should not need to support 
mock.

> Tables.getTableId() should not NPE if the instance is a mock
> ------------------------------------------------------------
>
>                 Key: ACCUMULO-1851
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1851
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Chris McCubbin
>            Priority: Minor
>
> The accumulo instance is one of the parameters. I suggest checking to see if 
> it is a mock and just returning the table name in that case (or something 
> equivalent)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to