ObjectReachabilityCheckers: Make walk member final

It is only assigned on initialization.

Change-Id: I36f68b3f511236e66cc7a4f56ba49252b317276a
Signed-off-by: Ivan Frade <ifrade@google.com>
This commit is contained in:
Ivan Frade 2020-04-30 10:21:42 -07:00
parent 5072af6524
commit 70ec9a83b8
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
public class BitmappedObjectReachabilityChecker
implements ObjectReachabilityChecker {
private ObjectWalk walk;
private final ObjectWalk walk;
/**
* New instance of the reachability checker using a existing walk.

View File

@ -23,7 +23,7 @@
* walk.
*/
class PedestrianObjectReachabilityChecker implements ObjectReachabilityChecker {
private ObjectWalk walk;
private final ObjectWalk walk;
/**
* New instance of the reachability checker using a existing walk.