<p dir="auto">in dubbo-spring-boot-sample-provider 0.1.0<br>
i alter application.properties to application.yml<br>
then i find dubbo.protocol.port: 12345 is not supported ,the port will be 20880</p>
<p dir="auto">spring-boot-version : 1.5.9.RELEASE<br>
dubbo.version : 2.6.0</p>
<p dir="auto">bug 出现场景：<br>
1、使用了@EnableDubbo 注解<br>
2、配置文件使用的是 “.yml” 格式的文件<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28719772/36659592-edbbc7d4-1b0f-11e8-8dbf-d938ed49a840.png"><img src="https://user-images.githubusercontent.com/28719772/36659592-edbbc7d4-1b0f-11e8-8dbf-d938ed49a840.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">bug出现原因：<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28719772/36659746-6ecd6ef4-1b10-11e8-87b5-942cb4ee1af1.png"><img src="https://user-images.githubusercontent.com/28719772/36659746-6ecd6ef4-1b10-11e8-87b5-942cb4ee1af1.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">在yml 文件中，值是有数据类型的区分的，如果直接这样判断，会导致有些值被忽略</p>