eclipse / lsp4jakarta

Language Server for Jakarta EE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick fix class DeleteConflictMapKeyQuickFix targets incorrect package name

turkeylurkey opened this issue · comments

The class DeleteConflictMapKeyQuickFix targets the annotations:

public DeleteConflictMapKeyQuickFix() {
    super(false, "jakarta.persistence.annotation.MapKeyClass", "jakarta.persistence.annotation.MapKey");
}

The correct names are "jakarta.persistence.MapKeyClass", "jakarta.persistence.MapKey". See https://jakarta.ee/specifications/persistence/2.2/apidocs/javax/persistence/mapkeyclass

This can make a difference on some platforms where the fully qualified class name is used.