kyuubi/docs
Jan Willem 0b4b5cabc4
[KYUUBI #7160] Use single try-with-resources blocks in docs example
Gets rid of the nested try-with-resources blocks. Improves legibility slightly.

### Why are the changes needed?
Make the example code just a bit nicer.

### How was this patch tested?
It still compiles. I created a simple (maven) project using only these two java files.

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #7160 from jagij/patch-1.

Closes #7160

9d9624841 [Jan Willem] single try-with-resources blocks

Authored-by: Jan Willem <jan.willem.ps@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2025-08-04 11:26:20 +08:00
..
_static/css Revert "[KYUUBI #5908] [DOCS] Remove workaround for malformed table" 2023-12-24 01:53:05 +08:00
appendix
client [KYUUBI #7118] docs(client): Add comprehensive docs for Engine Pool feature 2025-07-09 17:34:06 +08:00
configuration [KYUUBI #7141] Support to get spark app url with pattern http://{{SPARK_DRIVER_POD_IP}}:{{SPARK_UI_PORT}} 2025-07-21 10:11:07 +08:00
connector [KYUUBI #6986] [DOC] Fix multiple Pygments lexer name issues 2025-03-17 16:06:08 +08:00
contributing [KYUUBI #6987] [DOC] Fix Unknown target name issues 2025-03-17 16:05:18 +08:00
deployment [KYUUBI #7132] Respect kyuubi.session.engine.startup.waitCompletion for wait engine completion 2025-07-14 01:49:06 +08:00
extensions [KYUUBI #7036] [DOCS] Improve docs for kyuubi-extension-spark-jdbc-dialect 2025-04-23 11:09:29 +08:00
imgs [KYUUBI #5914] Update layer diagram on welcome page 2023-12-25 16:13:48 +08:00
monitor [KYUUBI #7072] Expose metrics of engine startup permit state 2025-05-29 13:27:42 +08:00
overview [KYUUBI #6596] Fix typos in architecture page 2024-08-08 12:12:30 +00:00
quick_start [KYUUBI #7160] Use single try-with-resources blocks in docs example 2025-08-04 11:26:20 +08:00
security [KYUUBI #6924] Upgrade Spark Ranger plugin to 2.6.0 2025-07-02 17:31:21 +08:00
tools [KYUUBI #6969] [DOC] Fix "Title underline too short" issues 2025-03-10 12:10:48 +08:00
conf.py Revert "[KYUUBI #5908] [DOCS] Remove workaround for malformed table" 2023-12-24 01:53:05 +08:00
index.rst [KYUUBI #6970] [DOC] Fix "nonexisting document" issues 2025-03-10 12:11:17 +08:00
make.bat
Makefile
requirements.txt [KYUUBI #6752] [DOC] Bump doc build requirements 2024-10-18 10:39:02 +08:00