You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/04/17 06:14:42 UTC
[jira] [Commented] (HBASE-16875) Changed try-with-resources in the
docs to recommended way
[ https://issues.apache.org/jira/browse/HBASE-16875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970719#comment-15970719 ]
Hudson commented on HBASE-16875:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #2873 (See [https://builds.apache.org/job/HBase-Trunk_matrix/2873/])
HBASE-16875 Changed try-with-resources in the docs to recommended way (chia7712: rev c8cd921bededa67b2b0de823005830d750534d93)
* (edit) src/main/asciidoc/_chapters/architecture.adoc
* (edit) src/main/asciidoc/_chapters/security.adoc
> Changed try-with-resources in the docs to recommended way
> ---------------------------------------------------------
>
> Key: HBASE-16875
> URL: https://issues.apache.org/jira/browse/HBASE-16875
> Project: HBase
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.0.0
> Reporter: Dima Spivak
> Assignee: Jan Hentschel
> Priority: Trivial
> Labels: beginner
> Fix For: 2.0.0
>
> Attachments: HBASE-16875.master.001.patch, HBASE-16875.master.002.patch, HBASE-16875.master.003.patch, HBASE-16875.master.004.patch
>
>
> In a [number|https://github.com/apache/hbase/blame/bb3d9ccd489fb64e3cb2020583935a393382a678/src/main/asciidoc/_chapters/security.adoc#L205-L206] [of|https://github.com/apache/hbase/blame/bb3d9ccd489fb64e3cb2020583935a393382a678/src/main/asciidoc/_chapters/security.adoc#L1019-L1020] [places|https://github.com/apache/hbase/blame/bb3d9ccd489fb64e3cb2020583935a393382a678/src/main/asciidoc/_chapters/architecture.adoc#L222-L223], we show examples that lend themselves to using Java 7's try-with-resources statement, but we use the statement in a less-than-ideal nested way. Let's change our docs throughout to do it [the recommended way|https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html].
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)