org.jetbrains.annotations.NotNull vs javax.annotations.Nonnull

24 views
Skip to first unread message

Eric Haugh

unread,
May 14, 2013, 7:18:35 PM5/14/13
to robol...@googlegroups.com
I noticed the Robolectric source code is using org.jetbrains.annotations.NotNull. Any reason for using that over the more standard javax.annotations.Nonnull? I'm try to build Robolectric v2 RC2, and it would be easier if I didn't have to account for that dependency.

Note that Intellij now supports various flavors of Nonnull/NotNull (http://blogs.jetbrains.com/idea/2011/03/more-flexible-and-configurable-nullublenotnull-annotations/).

Thanks
Eric

Reply all
Reply to author
Forward
0 new messages