title: SpringBoot auto trim spaces in the @RequestParam list if there is only 1 parameter is provided
body: <p>I have a REST API which supports filtering by multiple values:</p>
  
  <pre><code>@GetMapping("/employees")
  public ResponseEntity&lt;List&lt;Employee&gt;&gt; getAllEmployees(
              @RequestParam(name = "role", required = false) List&lt;String&gt; roles) {
  
  }
  </code></pre>
  
  <p>Call this API this provided information: /employees?role= ADMIN
  then List roles will have 1 element:</p>
  
  <ul>
  <li>role=ADMIN
  (without the headinng space)</li>
  </ul>
  
  <p>But when I call this API with multiple roles: /employees?role= ADMIN&amp;role=STUDENT
  then roles will have 2 elements:</p>
  
  <ul>
  <li>role= ADMIN (with the heading space)</li>
  <li>role=STUDENT</li>
  </ul>
  
  <p>How can I avoid this auto-trimming spaces here?</p>
  
  <p>Thanks</p>