1. 22 11月, 2019 1 次提交
  2. 21 11月, 2019 1 次提交
  3. 25 9月, 2019 1 次提交
  4. 20 7月, 2019 1 次提交
  5. 12 6月, 2019 1 次提交
  6. 06 6月, 2019 1 次提交
  7. 14 5月, 2019 1 次提交
  8. 03 4月, 2019 1 次提交
  9. 02 4月, 2019 1 次提交
  10. 23 3月, 2019 1 次提交
  11. 22 3月, 2019 1 次提交
  12. 08 3月, 2019 1 次提交
  13. 07 3月, 2019 1 次提交
  14. 14 9月, 2018 1 次提交
  15. 31 7月, 2018 1 次提交
  16. 28 6月, 2018 4 次提交
  17. 15 11月, 2017 1 次提交
  18. 14 11月, 2017 1 次提交
  19. 18 8月, 2017 1 次提交
  20. 17 8月, 2017 1 次提交
  21. 30 6月, 2017 1 次提交
  22. 07 6月, 2017 1 次提交
    • J
      Consistent use of @Nullable across the codebase (even for internals) · f813712f
      Juergen Hoeller 提交于
      Beyond just formally declaring the current behavior, this revision actually enforces non-null behavior in selected signatures now, not tolerating null values anymore when not explicitly documented. It also changes some utility methods with historic null-in/null-out tolerance towards enforced non-null return values, making them a proper citizen in non-null assignments.
      
      Some issues are left as to-do: in particular a thorough revision of spring-test, and a few tests with unclear failures (ignored as "TODO: NULLABLE") to be sorted out in a follow-up commit.
      
      Issue: SPR-15540
      f813712f
  23. 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
  24. 30 12月, 2016 1 次提交
  25. 19 12月, 2016 1 次提交
  26. 07 7月, 2016 1 次提交
  27. 05 7月, 2016 1 次提交
  28. 06 6月, 2016 1 次提交
  29. 12 11月, 2015 1 次提交
  30. 13 6月, 2015 1 次提交
  31. 20 5月, 2015 1 次提交
    • S
      Customize destruction callback for AutoCloseable beans · 0ed9ca09
      Stephane Nicoll 提交于
      Previously, a Bean implementing `AutoCloseable` (or `Closeable`) was
      always destroyed regardless of its bean definition. In particular, the
      documented way of disabling the destruction callback via an empty String
      did not work.
      
      AutoCloseable beans are now treated pretty much as any other bean: we
      still use the presence of the interface to optimize the check of a
      destroy method and we only auto-discover the method name to invoke if
      the inferred mode is enabled.
      
      Issue: SPR-13022
      0ed9ca09
  32. 08 8月, 2014 1 次提交
  33. 01 5月, 2014 1 次提交
  34. 11 4月, 2014 1 次提交
  35. 13 2月, 2014 1 次提交
  36. 26 11月, 2013 1 次提交
    • P
      Fix remaining compiler warnings · 59002f24
      Phillip Webb 提交于
      Fix remaining Java compiler warnings, mainly around missing
      generics or deprecated code.
      
      Also add the `-Werror` compiler option to ensure that any future
      warnings will fail the build.
      
      Issue: SPR-11064
      59002f24
  37. 14 5月, 2013 1 次提交