LineageParts: Remove, add, move ...

* Modifiers
* Redundant casts
* Conditions that are always true
* Explicit types

* Unused / Unnecessary
  * code
  * variables
  * initialization values
  * imports
  * parameters
  * boxing

* Make global variables local

Change-Id: Icde9891f318b25c82d100b4c121d93643b2c03ac
68 files changed