You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replacing the ors (||) with ands (&&) will have the behavior described by the method name. Alternatively the version below has the same behavior with one line.
I think the logic in NATTypeDetection.twoOutOfThreeSame is likely backwards. The method name and code logic don't match.
The method's current form, below, has or (
||
) boolean operations meaning if any one pair matches, the method returns true.Replacing the ors (
||
) with ands (&&
) will have the behavior described by the method name. Alternatively the version below has the same behavior with one line.The text was updated successfully, but these errors were encountered: