fluenda / ParCEFone

JAVA Common Event Format log parser
Apache License 2.0
8 stars 7 forks source link

Unnecessary duplicate Pattern compilation when processing headers #8

Closed ottobackwards closed 5 years ago

ottobackwards commented 5 years ago

When processing headers, the same pattern is compiled inline twice to get two matchers. The Pattern can be compiled once, as a single static member.

trixpan commented 5 years ago

done. Will release into maven central later today.