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

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

    XMLWordPrintable

Details

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

    Description

      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;

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: