> > The problem is this line: > > > >> return acceptableName(name) && (parameterNameAware == null || > >> parameterNameAware.acceptableParameterName(name)); > > > > when acceptableName(name) returns false, > > parameterNameAware.acceptableParameterName(name) is not called. > > > > Or do get this wrong? > > It must be called, there is || (OR) so if the left side returns false, > the right must be examined as well. If left returns true, the right > won't be called. > >
There is && and () as well. In my case the results would look like this: false && (false || true) regards, Christoph This Email was scanned by Sophos Anti Virus