Re: Sharing code across packages

2025-03-24 Thread Mark Thomas
On 21/03/2025 14:11, Christopher Schultz wrote: All, I'm looking at adding file-based allow/deny for the RemoteCIDR(Filter| Valve) and I can see that there is a bunch of duplicate code between the two classes. Is there any reason not to re-use methods such as RemoteCIDR(Filter| Valve).fillF

Sharing code across packages

2025-03-21 Thread Christopher Schultz
All, I'm looking at adding file-based allow/deny for the RemoteCIDR(Filter|Valve) and I can see that there is a bunch of duplicate code between the two classes. Is there any reason not to re-use methods such as RemoteCIDR(Filter|Valve).fillFromInput between the two classes? They are in dif