[BUILD-252] Ban incorrect @Inject and guava imports Created: 02/Sep/16  Updated: 15/Mar/21  Resolved: 15/Mar/21

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Mikaël Geljić Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: checkstyle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

Add checkstyle configuration to fail upon these two imports:

  • com.google.gwt.thirdparty.guava—careful, let's make sure we can skip this check by config, in case we have to use those for the client/GWT side.
  • com.google.inject.Inject—replaced by the one under javax.inject; also pay attention to other such imports in same package if they have replacements (Provider is one most likely). There I can't see any reason to use those specific ones.

Generated at Sun Feb 11 23:40:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.