1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -160,8 +160,9 @@ protected boolean isFallbackToSystemLocale() {
160
160
/**
161
161
* Set the number of seconds to cache loaded properties files.
162
162
* <ul>
163
- * <li>Default is "-1", indicating to cache forever (just like
164
- * {@code java.util.ResourceBundle}).
163
+ * <li>Default is "-1", indicating to cache forever (matching the default behavior
164
+ * of {@code java.util.ResourceBundle}). Note that this constant follows Spring
165
+ * conventions, not {@link java.util.ResourceBundle.Control#getTimeToLive}.
165
166
* <li>A positive number will cache loaded properties files for the given
166
167
* number of seconds. This is essentially the interval between refresh checks.
167
168
* Note that a refresh attempt will first check the last-modified timestamp
@@ -184,8 +185,9 @@ public void setCacheSeconds(int cacheSeconds) {
184
185
* Set the number of milliseconds to cache loaded properties files.
185
186
* Note that it is common to set seconds instead: {@link #setCacheSeconds}.
186
187
* <ul>
187
- * <li>Default is "-1", indicating to cache forever (just like
188
- * {@code java.util.ResourceBundle}).
188
+ * <li>Default is "-1", indicating to cache forever (matching the default behavior
189
+ * of {@code java.util.ResourceBundle}). Note that this constant follows Spring
190
+ * conventions, not {@link java.util.ResourceBundle.Control#getTimeToLive}.
189
191
* <li>A positive number will cache loaded properties files for the given
190
192
* number of milliseconds. This is essentially the interval between refresh checks.
191
193
* Note that a refresh attempt will first check the last-modified timestamp
0 commit comments