kyuubi/externals
Cheng Pan 315adda353
[KYUUBI #6499] Rewrite some utility methods in Java
# 🔍 Description

This PR rewrites some utility methods in Java, specifically,
```
Utils.isWindows
Utils.isMac
Utils.findLocalInetAddress
```

and moves them from `kyuubi-common`'s `Utils` to the `kyuubi-util`'s `JavaUtils`, so that they could be used in other modules that do not depend on `kyuubi-common`.

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

Pass GHA.

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6499 from pan3793/javautils.

Closes #6499

565936def [Cheng Pan] fix
f06a85e9f [Cheng Pan] Move some untiliy methods in Java

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-06-25 09:59:03 +08:00
..
kyuubi-chat-engine [KYUUBI #6376] Improve closeEngine method names and logs due to closeSession 2024-05-11 11:10:56 +08:00
kyuubi-download [RELEASE] Bump 1.10.0-SNAPSHOT 2024-03-13 14:24:49 +08:00
kyuubi-flink-sql-engine [KYUUBI #6458] Remove commons-logging from binary release 2024-06-11 11:32:30 +08:00
kyuubi-hive-sql-engine [KYUUBI #6439] kyuubi-util-scala test jar leaked to compile scope 2024-06-04 11:31:58 +08:00
kyuubi-jdbc-engine [KYUUBI #6439] kyuubi-util-scala test jar leaked to compile scope 2024-06-04 11:31:58 +08:00
kyuubi-spark-sql-engine [KYUUBI #6499] Rewrite some utility methods in Java 2024-06-25 09:59:03 +08:00
kyuubi-trino-engine [KYUUBI #6387] [TRINO] Trino engine improve operation log 2024-05-15 16:38:54 +08:00