Skip to content

Commit 03cf020

Browse files
committed
feat: Making final field final
1 parent c952589 commit 03cf020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/tooling/leyden/commands/logparser/LogParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* This class is capable of parsing (certain) Java logs.
1212
*/
1313
public abstract class LogParser extends Parser {
14-
Pattern linePattern = Pattern
14+
final Pattern linePattern = Pattern
1515
.compile("(?<timestamp>\\[(?:\\d|,)+s\\])?\\[(?<level>\\w+)\\s*\\]\\[(?<tags>[^,\\]\\s]+(,[^,\\]\\s]+)*)\\s*\\](?<message>.*)");
1616

1717
public LogParser(LoadFileCommand loadFile) {

0 commit comments

Comments
 (0)