| | |
| | | |
| | | } |
| | | |
| | | public static VerificationResult success(){ |
| | | return buildVerificationResult(true); |
| | | } |
| | | |
| | | public static VerificationResult success(String msg){ |
| | | return buildVerificationResult(true,msg); |
| | | } |
| | | |
| | | |
| | | public static VerificationResult fail(){ |
| | | return buildVerificationResult(false); |
| | | } |
| | | |
| | | public static VerificationResult fail(String msg){ |
| | | return buildVerificationResult(false,msg); |
| | | } |
| | | |
| | | |
| | | public static VerificationResult buildVerificationResult(boolean judgeResult){ |
| | | VerificationResult obj=new VerificationResult(); |
| | | obj.judgeResult =judgeResult; |