accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1851) Tables.getTableId() should not NPE if the instance is a mock
Date Mon, 04 Nov 2013 21:40:19 GMT

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

Mime
View raw message