(Transaction tr)
| 48 | private static void addHelp(TransactionContext tcx, final byte[] key, final long amount){ |
| 49 | tcx.run(new Function<Transaction,Void>() { |
| 50 | public Void apply(Transaction tr){ |
| 51 | ByteBuffer b = ByteBuffer.allocate(8); |
| 52 | b.order(ByteOrder.LITTLE_ENDIAN); |
| 53 | b.putLong(amount); |
| 54 | |
| 55 | tr.mutate(MutationType.ADD, key, b.array()); |
| 56 | |
| 57 | return null; |
| 58 | } |
| 59 | }); |
| 60 | } |
| 61 |
nothing calls this directly
no test coverage detected