Skip to content

Commit

Permalink
Update src/main/java/org/webjars/WebJarVersionLocator.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward authored Jan 28, 2025
1 parent 1f4fafe commit 85baccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/webjars/WebJarVersionLocator.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public String fullPath(final String webJarName, final String filePath) {
*
* <p>The path is built by joining the {@code webJarName}, the known version and the {@code filePath}, if no version (from classpath checking) is known for the WebJar this method returns {@code null}.
*
* <p><b>Note:</b> In cases where the {@code filePath} parameter already starts with the known version of the WebJar, the version will not be added again.
* <p><b>Note:</b> In cases where the {@code filePath} parameter already starts with the known version of the WebJar, the version will not be added again. But it is recommended that you do NOT include a hard-coded version when looking up WebJar file paths.
*
* <pre>{@code
* // returns "bootstrap/3.1.1/js/bootstrap.js"
Expand Down

0 comments on commit 85baccf

Please sign in to comment.