• Andy Wilkinson's avatar
    Only consider letters when checking if a name is upper-case · 6ec0b4ca
    Andy Wilkinson authored
    Previously, for a string to be considered upper-case,
    EmbeddedServerPortFileWriter required every character in the
    string to be upper-case. This meant that strings containing numbers were
    considered lower-case even if every letter in the string was upper-case.
    OS X’s case-preserving, case-insensitive file system masked this problem
    as the tests were still able to find the created file, even though the
    case of its name was not as expected.
    
    This commit updates EmbeddedServerPortFileWriter to only require
    characters that are letters (as defined by Character.isLetter()) to be
    upper-case. It also updates the tests to verify that the case of the
    created file’s name is correct in such a way that it will fail, even
    on OS X, when it is not.
    
    Fixes gh-1676
    6ec0b4ca
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...