@@ -1479,7 +1479,7 @@ public static String redactUri(String path) {
14791479 }
14801480
14811481 /**
1482- * Build an HTML link to the given HTTP URL. If the URL is not a HTTP URL
1482+ * Build an HTML link to the given HTTP URL. If the URL is not an HTTP URL
14831483 * then it is returned as it was received. This has the same effect as
14841484 * invoking <code>linkify(url, true)</code>.
14851485 *
@@ -1493,7 +1493,7 @@ public static String linkify(String url) {
14931493 }
14941494
14951495 /**
1496- * Build an HTML link to the given http URL. If the URL is not a HTTP URL
1496+ * Build an HTML link to the given http URL. If the URL is not an HTTP URL
14971497 * then it is returned as it was received.
14981498 *
14991499 * @param url the HTTP URL
@@ -1631,8 +1631,7 @@ public static String linkifyPattern(String text, Pattern pattern, String url) {
16311631 }
16321632
16331633 /**
1634- * Try to complete the given URL part into full URL with server name, port,
1635- * scheme, ...
1634+ * Try to complete the given URL part into full URL with server name, port, scheme, ...
16361635 * <dl>
16371636 * <dt>for request http://localhost:8080/source/xref/xxx and part
16381637 * /cgi-bin/user=</dt>
@@ -1654,7 +1653,8 @@ public static String completeUrl(String url, HttpServletRequest req) {
16541653 try {
16551654 if (!isHttpUri (url )) {
16561655 if (url .startsWith ("/" )) {
1657- return new URI (req .getScheme (), null , req .getServerName (), req .getServerPort (), url , null , null ).toString ();
1656+ return new URI (req .getScheme (), null , req .getServerName (), req .getServerPort (), url ,
1657+ null , null ).toString ();
16581658 }
16591659 var prepUrl = req .getRequestURL ();
16601660 if (!url .isEmpty ()) {
0 commit comments