|
18 | 18 | */
|
19 | 19 |
|
20 | 20 | /*
|
21 |
| - * Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved. |
| 21 | + * Copyright (c) 2005, 2025, Oracle and/or its affiliates. All rights reserved. |
22 | 22 | * Portions Copyright (c) 2011, Jens Elkner.
|
23 | 23 | * Portions Copyright (c) 2017, 2020, Chris Fraire <[email protected]>.
|
24 | 24 | * Portions Copyright (c) 2019, Krystof Tulinger <[email protected]>.
|
@@ -401,17 +401,17 @@ public static String breadcrumbPath(String urlPrefix, String path,
|
401 | 401 | /**
|
402 | 402 | * Create a breadcrumb path to allow navigation to each element of a path.
|
403 | 403 | * Consecutive separators (<var>sep</var>) in the given <var>path</var> are
|
404 |
| - * always collapsed into a single separator automatically. If |
405 |
| - * <var>compact</var> is {@code true} path gets translated into a canonical |
| 404 | + * always collapsed into a single separator automatically. |
| 405 | + * If <var>compact</var> is {@code true} path gets translated into a canonical |
406 | 406 | * path similar to {@link File#getCanonicalPath()}, however the current
|
407 | 407 | * working directory is assumed to be "/" and no checks are done (e.g.
|
408 | 408 | * neither whether the path [component] exists nor which type it is).
|
409 | 409 | *
|
410 |
| - * @param urlPrefix what should be prepend to the constructed URL |
| 410 | + * @param urlPrefix what should be prepended to the constructed URL |
411 | 411 | * @param path the full path from which the breadcrumb path is built.
|
412 | 412 | * @param sep the character that separates the path components in
|
413 | 413 | * <var>path</var>
|
414 |
| - * @param urlPostfix what should be append to the constructed URL |
| 414 | + * @param urlPostfix what should be appended to the constructed URL |
415 | 415 | * @param compact if {@code true}, a canonical path gets constructed before
|
416 | 416 | * processing.
|
417 | 417 | * @param isDir if {@code true} a "/" gets append to the last path
|
|
0 commit comments