1. 01 6月, 2017 1 次提交
  2. 31 5月, 2017 2 次提交
  3. 27 5月, 2017 1 次提交
    • S
      Introduce null-safety of Spring Framework API · 87598f48
      Sebastien Deleuze 提交于
      This commit introduces 2 new @Nullable and @NonNullApi
      annotations that leverage JSR 305 (dormant but available via
      Findbugs jsr305 dependency and already used by libraries
      like OkHttp) meta-annotations to specify explicitly
      null-safety of Spring Framework parameters and return values.
      
      In order to avoid adding too much annotations, the
      default is set at package level with @NonNullApi and
      @Nullable annotations are added when needed at parameter or
      return value level. These annotations are intended to be used
      on Spring Framework itself but also by other Spring projects.
      
      @Nullable annotations have been introduced based on Javadoc
      and search of patterns like "return null;". It is expected that
      nullability of Spring Framework API will be polished with
      complementary commits.
      
      In practice, this will make the whole Spring Framework API
      null-safe for Kotlin projects (when KT-10942 will be fixed)
      since Kotlin will be able to leverage these annotations to
      know if a parameter or a return value is nullable or not. But
      this is also useful for Java developers as well since IntelliJ
      IDEA, for example, also understands these annotations to
      generate warnings when unsafe nullable usages are detected.
      
      Issue: SPR-15540
      87598f48
  4. 29 3月, 2017 1 次提交
  5. 14 2月, 2017 2 次提交
  6. 31 1月, 2017 1 次提交
  7. 25 1月, 2017 2 次提交
  8. 30 12月, 2016 1 次提交
  9. 23 12月, 2016 1 次提交
  10. 19 12月, 2016 1 次提交
  11. 14 12月, 2016 1 次提交
  12. 08 11月, 2016 1 次提交
  13. 21 10月, 2016 1 次提交
  14. 26 9月, 2016 2 次提交
  15. 24 8月, 2016 1 次提交
  16. 12 8月, 2016 2 次提交
  17. 27 7月, 2016 1 次提交
  18. 21 7月, 2016 1 次提交
  19. 08 7月, 2016 1 次提交
  20. 06 7月, 2016 3 次提交
  21. 05 7月, 2016 2 次提交
  22. 26 6月, 2016 1 次提交
  23. 19 4月, 2016 1 次提交
  24. 10 4月, 2016 1 次提交
  25. 25 3月, 2016 1 次提交
  26. 24 3月, 2016 1 次提交
  27. 20 3月, 2016 1 次提交
  28. 19 3月, 2016 1 次提交
  29. 26 2月, 2016 1 次提交
  30. 20 2月, 2016 1 次提交
  31. 19 2月, 2016 1 次提交
  32. 18 2月, 2016 1 次提交