Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Setting.timeValue() method #20696

Merged
merged 1 commit into from
Sep 30, 2016
Merged

Commits on Sep 30, 2016

  1. Fix Setting.timeValue() methods

    The Setting.timeValue() method uses TimeValue.toString() which can produce fractional time values. These fractional time values cannot be parsed again by the settings framework.
    
    This commit fix a method that still use the .toString() method and replaces it with .getStringRep(). It also changes a second method so that it's not up to the caller to decide which stringify method to call.
    
    closes elastic#20662
    tlrx committed Sep 30, 2016
    Configuration menu
    Copy the full SHA
    b1526f8 View commit details
    Browse the repository at this point in the history