Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-28

add-constraint Pattern erronously adds flags to annotation even when none are defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Builtin Plugins
    • None

      It adds @Pattern(message = "must contain only letters and spaces", regexp = "[A-Za-z ]*", flags = "{}") even when I didn't specify any flags and also produces an error in the imports – import javax.validation.constraints.Pattern$Flag;

              kevinpollet Kévin Pollet (Inactive)
              pmuiratbleepbleep Pete Muir (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: