title: @Value("${model.version:2}") is not taking up the default value = 2
body: <p>I have a spring application in which I have put the code as below and I'm passing mvn parameter to update the value. The problem is every time I pass the value, regardless of the value it takes 0 by default. Can you please help me solve the issue.</p>
  <p>Here is my little code snippet</p>
  <pre><code>@Value(&quot;${model.version:2}&quot;)
  private int model;
  
  public test class(){
      if(model == 2){
          &lt;some logic&gt;
      }
  }
  </code></pre>
  <p>using mvn parameter as <code>-Dmodel.version=2</code></p>