Skip to content

spring-configuration-metadata 错误 #11

@yl-yue

Description

@yl-yue

关联问题

spring-projects/spring-tools#515

问题描述

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

关联代码行:

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

带来了新的疑惑期望解答

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions