File tree Expand file tree Collapse file tree
src/main/java/com/teragrep/nlf_01/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949
5050public final class HashableRFC5424AppName implements RFC5424AppName {
5151
52- private final static int MAX_LENGTH = 48 ;
52+ private static final int MAX_LENGTH = 48 ;
5353 private final String rfc5424AppName ;
5454
5555 public HashableRFC5424AppName (final String rfc5424AppName ) {
@@ -62,8 +62,10 @@ public HashableRFC5424AppName(final String rfc5424AppName) {
6262 * Does not provide a fully safe RFC 5424 appName, so most likely should be wrapped with {@link ValidRFC5424AppName}
6363 *
6464 * @return
65+ * <ul>
6566 * <li>Hashed appName if length is longer than {@link #MAX_LENGTH}</li>
6667 * <li>{@link #rfc5424AppName} if length is shorter than {@link #MAX_LENGTH}</li>
68+ * </ul>
6769 */
6870 @ Override
6971 public String appName () throws PluginException {
You can’t perform that action at this time.
0 commit comments