apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.17k forks source link

[Feature][linkis-entrance] change the java.util.Map[String, Any] to java.util.Map[String, AnyRef] #4074

Closed jackxu2011 closed 1 year ago

jackxu2011 commented 1 year ago

Search before asking

Problem Description

the java.util.Map/HashMap only support Object as the root, and AnyRef is the alias of Object. there are many cast between java.util.Map[String, Any] to java.util.Map[String, AnyRef]. Infact in java there is only java.util.Map[String, AnyRef] is worked in memory. so change the define of java.util.Map/HashMap[String, Any] to java.util.Map/HashMap[String, AnyRef] to reduce the unnessary cast.

Description

no

Use case

no

Solutions

no

Anything else

no

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

:blush: Welcome to the Apache Linkis (incubating) community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

name description Subscribe Unsubscribe archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive