Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16875

Changed try-with-resources in the docs to recommended way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • documentation
    • Reviewed

    Description

      In a number of places, 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.

      Attachments

        1. HBASE-16875.master.001.patch
          4 kB
          Jan Hentschel
        2. HBASE-16875.master.002.patch
          4 kB
          Jan Hentschel
        3. HBASE-16875.master.003.patch
          4 kB
          Jan Hentschel
        4. HBASE-16875.master.004.patch
          4 kB
          Jan Hentschel

        Issue Links

          Activity

            People

              janh Jan Hentschel
              dimaspivak Dima Spivak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: