LOXI-55: IPAddressWithMask should have a contains that can take any IPAddress

Reviewer: @gregor-bsn @andi-bigswitch
Yeah, we definitely have guava in openflowj-loxi (we use ImmutableList et.al.
all over the place)


On Wed, Jun 25, 2014 at 6:31 PM, Jason Parraga <notifications@github.com>
wrote:

> In
> java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/IPv4AddressWithMask.java:
>
> > @@ -81,4 +81,17 @@ public static IPv4AddressWithMask of(final String string) {
> >          }
> >      }
> >
> > +    @Override
> > +    public boolean contains(IPAddress<?> ip) {
> > +        if (ip == null) {
>
> The reason was because I thought that the Preconditions dependency was
> only available in my workspace and I forgot to remove this one. Now that I
> see this library is available I will fix these files.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/floodlight/loxigen/pull/287/files#r14221998>.
>