From b578dc05dfc0b9467ff2d8fcb4d81f86f7b5a302 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 26 Dec 2018 09:16:27 +0100 Subject: [PATCH] Polish --- .../autoconfigure/mustache/MustacheEnvironmentCollector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java index 92c4170d47..07de5c4857 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mustache/MustacheEnvironmentCollector.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,7 +58,7 @@ public class MustacheEnvironmentCollector extends DefaultCollector private class PropertyVariableFetcher implements VariableFetcher { @Override - public Object get(Object ctx, String name) throws Exception { + public Object get(Object ctx, String name) { return MustacheEnvironmentCollector.this.environment.getProperty(name); }