| 1 | package Zeze.Util; |
| 2 | |
| 3 | public class ReplayAttackMax extends FastLock implements ReplayAttack { |
| 4 | private long max; |
| 5 | |
| 6 | @Override |
| 7 | public boolean replay(long serialId) { |
| 8 | if (serialId > max) { |
| 9 | max = serialId; |
| 10 | return false; |
| 11 | } |
| 12 | return true; |
| 13 | } |
| 14 | } |
nothing calls this directly
no outgoing calls
no test coverage detected