[hibernate-commits] [hibernate/hibernate-ogm] 6a671d: OGM-1157 Check import of `org.hibernate.annotation...

GitHub noreply at github.com
Tue Oct 18 05:20:55 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: 6a671db33aa3ae96d67c77e83d23281c879c9adf
      https://github.com/hibernate/hibernate-ogm/commit/6a671db33aa3ae96d67c77e83d23281c879c9adf
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-10-18 (Tue, 18 Oct 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/loader/impl/OgmLoader.java
    M core/src/main/java/org/hibernate/ogm/model/key/spi/AssociationKey.java
    M core/src/main/java/org/hibernate/ogm/persister/impl/OgmCollectionPersister.java
    M core/src/main/java/org/hibernate/ogm/util/impl/Contracts.java
    M mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/MongoDBDialect.java
    M src/main/build-config/checkstyle.xml

  Log Message:
  -----------
  OGM-1157 Check import of `org.hibernate.annotations.common`

  Some classes are using `org.hibernate.annotations.common.AssrtionFailure` instead of
  `org.hibernate.AssertionFailure`, this causes exception in modular environment.

  This change is more restrictive than needed but it seems we are not using any class
  under `org.hibernate.annotations.common.*`, so I prefer to exclude all those classes instead
  of adding a custom checkstyle that we don't really need.




More information about the hibernate-commits mailing list