@@ -96,7 +96,8 @@ public Map<String, VersionStrategy> getStrategyMap() {
9696 * default strategy to use except when it cannot be, for example when using
9797 * JavaScript module loaders, use {@link #addFixedVersionStrategy} instead
9898 * for serving JavaScript files.
99- * @param pathPatterns one or more resource URL path patterns
99+ * @param pathPatterns one or more resource URL path patterns,
100+ * relative to the pattern configured with the resource handler
100101 * @return the current instance for chained method invocation
101102 * @see ContentVersionStrategy
102103 */
@@ -118,7 +119,8 @@ public VersionResourceResolver addContentVersionStrategy(String... pathPatterns)
118119 * will also cofigure automatically a {@code "/v1.0.0/js/**"} with {@code "v1.0.0"} the
119120 * {@code version} String given as an argument.
120121 * @param version a version string
121- * @param pathPatterns one or more resource URL path patterns
122+ * @param pathPatterns one or more resource URL path patterns,
123+ * relative to the pattern configured with the resource handler
122124 * @return the current instance for chained method invocation
123125 * @see FixedVersionStrategy
124126 */
@@ -139,7 +141,8 @@ public VersionResourceResolver addFixedVersionStrategy(String version, String...
139141 * Register a custom VersionStrategy to apply to resource URLs that match the
140142 * given path patterns.
141143 * @param strategy the custom strategy
142- * @param pathPatterns one or more resource URL path patterns
144+ * @param pathPatterns one or more resource URL path patterns,
145+ * relative to the pattern configured with the resource handler
143146 * @return the current instance for chained method invocation
144147 * @see VersionStrategy
145148 */
0 commit comments