Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid calling
getClass().getSimpleName()
repeatedly
Surprisingly when I tested this locally, the JVM did not optimize it and lost some performance just for this statement. The value of using `getSimpleName()` here is not that great, so I simply hard-coded the value (I thought about making it a constant, but then went for simplicity, since the probability that this class will change and we overlook this renaming and it will actually cause a real problem / confusion is IMHO not that great). Signed-off-by: Peter Gafert <[email protected]>
- Loading branch information