diff --git a/build.gradle b/build.gradle index c69042d916..62555dcdee 100644 --- a/build.gradle +++ b/build.gradle @@ -169,3 +169,12 @@ configure(projectsToDeploy.collect {project(it)}) { utils.pomFiller(pom, project.subPomName, project.subPomDesc) } } + +allprojects { + tasks.withType(JavaCompile) { + options.encoding = 'UTF-8' + } + tasks.withType(Javadoc) { + options.encoding = 'UTF-8' + } +} diff --git a/management/src/main/java/org/ehcache/management/providers/ManagementProvider.java b/management/src/main/java/org/ehcache/management/providers/ManagementProvider.java index 51997c676b..fc759fb953 100644 --- a/management/src/main/java/org/ehcache/management/providers/ManagementProvider.java +++ b/management/src/main/java/org/ehcache/management/providers/ManagementProvider.java @@ -83,7 +83,7 @@ public interface ManagementProvider { * @param context the context. * @param statisticNames the statistic names to collect. * @param since The unix time in ms from where to return the statistics for statistics based on samples. - * @return the statistic map, the key being the statistic namesø. + * @return the statistic map, the key being the statistic names. */ Map> collectStatistics(Context context, Collection statisticNames, long since);