Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spring-configuration-metadata 错误 #11

Open
yl-yue opened this issue Sep 24, 2020 · 0 comments
Open

spring-configuration-metadata 错误 #11

yl-yue opened this issue Sep 24, 2020 · 0 comments

Comments

@yl-yue
Copy link

yl-yue commented Sep 24, 2020

关联问题

spring-projects/sts4#515

问题描述

在1.3.3版本中存在元数据错误,STS编译器上显示错误标识。但在即将发布的1.3.4版本中,作者已将 AuthDefaultSource 枚举类型替换成了 String 类型。

关联代码行:

private Map<AuthDefaultSource, AuthConfig> type = new HashMap<>();

带来了新的疑惑期望解答

采用枚举作为 Map 的 key 不应该是更好的选择么,同时保留了配置限制与提示避免出错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant