Skip to content

Commit

Permalink
Order StringToDurationConverter (fixes #149)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Nov 27, 2017
1 parent f02af63 commit 5a31577
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package io.micrometer.spring.autoconfigure.export;

import org.springframework.boot.context.properties.ConfigurationPropertiesBinding;
import org.springframework.core.annotation.Order;
import org.springframework.core.convert.converter.Converter;

import java.time.Duration;
Expand All @@ -30,6 +31,7 @@
* @author Andy Wilkinson
*/
@ConfigurationPropertiesBinding
@Order(0)
public class StringToDurationConverter implements Converter<String, Duration> {

@Override
Expand Down

0 comments on commit 5a31577

Please sign in to comment.