commit | a7b900bd524c333c8ca2825e37fa781ac055ac36 | [log] [tgz] |
---|---|---|
author | Changcheng Xiao <xchangcheng@google.com> | Wed Oct 24 09:24:06 2018 +0200 |
committer | Changcheng Xiao <xchangcheng@google.com> | Wed Oct 24 09:29:29 2018 +0200 |
tree | 0e9b5f5a842b65b7544aff0911c87d7fdc4212d2 | |
parent | 092792edacf9c29732a560a30967b92664cd65f9 [diff] |
Use "Project.NameKey" instead of "NameKey" A nested class can be static imported when the class does not require additional context. Apparently, "NameKey" doesn't meet this requirement because there are several nested classes named like this, e.g. Project.NameKey, AccountGroup.NameKey, Branch.NameKey. Therefore using "NameKey" without its outer class makes the code hard to read. Change-Id: If0c5d08104dab968d8609de0ee853f712cb96a07