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:
parent
5072af6524
commit
70ec9a83b8
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue