[hibernate-commits] [hibernate/hibernate-ogm] 9cb528: OGM-1191 Remove dead code warning in OgmLoader

GitHub noreply at github.com
Tue Jan 3 12:30:11 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: 9cb5282ae50f9a9a2604770f5c479631aead9b14
      https://github.com/hibernate/hibernate-ogm/commit/9cb5282ae50f9a9a2604770f5c479631aead9b14
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/loader/impl/OgmLoader.java

  Log Message:
  -----------
  OGM-1191 Remove dead code warning in OgmLoader

  With the current code the resultSet can never be null, if that happens,
  you have NullPointerException before calling the method.

  I prefer to remove the code for now and eventually put the check back if we
  have a use case where it makes sense.




More information about the hibernate-commits mailing list