Small improvements

* removed unused local variable
* made a member `private final`