Skip to content

Commit 54b4f88

Browse files
authored
Fix Checkstyle errors in HashableRFC5424AppName (#55)
1 parent 33217f9 commit 54b4f88

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/teragrep/nlf_01/util/HashableRFC5424AppName.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
public 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 {

0 commit comments

Comments
 (0)