Bug #6866

битовое | между boolean значениями

Added by Alexey Demakov over 1 year ago.

Status:NewStart date:02/14/2016
Priority:NormalDue date:
Assignee:Victor Kuliamin% Done:

0%

Category:-Spent time:-
Target version:-
Detected in build:git Published in build:
Platform:
Code review: src/main/java/mbtest/contracts/Contract.java@b477442d9f5f471470c58ed2e3058829c6a93906:line 357

Description

А нет ли здесь ошибки?

public static boolean assertImplies(boolean antecedent, boolean consequent, String msg)
{
return commonAssert(
!antecedent | consequent
, "Implication failed: " + msg
);
}

Also available in: Atom PDF