title: javax validation size trim whitespace
body: <p>I need to validate a field in POJO, it must be min length = 2, ignoring leading and trailing whitespaces</p>
  
  <pre><code>class User {
      @NotBlank
      @Size(min = 2)
      private String name;
  }
  </code></pre>
  
  <p>it not works for " A"</p>
  
  <p>How it should be?</p>