code: public static String createWindowsDesktopUrlLinkContent(final String baseUrl, final String url, final File workingDir,
              final Integer showCommand, final Integer iconIndex, final File iconFile, final Integer hotKey, final Date modified) {
          // CHECKSTYLE:ON
  
          checkNotNull("baseUrl", baseUrl);
          checkNotEmpty("baseUrl", baseUrl);
          checkNotNull("url", url);
          checkNotEmpty("url", url);
  
          final StringBuilder sb = new StringBuilder();
          sb.append("[DEFAULT]\r\n");
          sb.append("BASEURL=" + baseUrl + "\r\n");
          sb.append("\r\n");
          sb.append("[InternetShortcut]\r\n");
          sb.append("URL=" + url + "\r\n");
          if (workingDir != null) {
              sb.append("WorkingDirectory=" + workingDir + "\r\n");
          }
          if (showCommand != null) {
              sb.append("ShowCommand=" + showCommand);
          }
          if ((iconFile != null) && (iconFile.exists())) {
              if (iconIndex == null) {
                  sb.append("IconIndex=0\r\n");
              } else {
                  sb.append("IconIndex=" + iconIndex);
              }
              sb.append("IconFile=" + iconFile + "\r\n");
          }
          sb.append("Modified=" + dateToFileTime(new Date()) + "\r\n");
          if (hotKey != null) {
              sb.append("HotKey=" + hotKey + "\r\n");
          }
          return sb.toString();
      }
docs: CHECKSTYLE:OFF