diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java b/hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java index a6370d76aa..40976252bb 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java @@ -132,19 +132,19 @@ public class DialectDelegateWrapper extends Dialect { return wrapped; } - //can't be overriden because of how Dialects get initialized: see constructor of parent + //can't be overridden because of how Dialects get initialized: see constructor of parent @Override protected final void checkVersion() { //intentionally empty: this is used by the super constructor (yuk) } - //can't be overriden because of how Dialects get initialized: see constructor of parent + //can't be overridden because of how Dialects get initialized: see constructor of parent @Override protected final void registerDefaultKeywords() { //intentionally empty: this is used by the super constructor (yuk) } - //can't be overriden because of how Dialects get initialized: see constructor of parent + //can't be overridden because of how Dialects get initialized: see constructor of parent @Override protected final void initDefaultProperties() { //intentionally empty: this is used by the super constructor (yuk) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/reflection/JPAXMLOverriddenAnnotationReaderTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/reflection/JPAXMLOverriddenAnnotationReaderTest.java index e81ddba35e..14efe719ca 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/reflection/JPAXMLOverriddenAnnotationReaderTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/reflection/JPAXMLOverriddenAnnotationReaderTest.java @@ -167,10 +167,10 @@ public class JPAXMLOverriddenAnnotationReaderTest extends BaseUnitTestCase { ); assertNotNull( reader.getAnnotation( Inheritance.class ) ); assertEquals( - "inheritance strategy not overriden", InheritanceType.JOINED, + "inheritance strategy not overridden", InheritanceType.JOINED, reader.getAnnotation( Inheritance.class ).strategy() ); - assertNotNull( "NamedQuery not overriden", reader.getAnnotation( NamedQueries.class ) ); + assertNotNull( "NamedQuery not overridden", reader.getAnnotation( NamedQueries.class ) ); assertEquals( "No deduplication", 3, reader.getAnnotation( NamedQueries.class ).value().length ); assertEquals( "deduplication kept the Java version", 1, @@ -179,7 +179,7 @@ public class JPAXMLOverriddenAnnotationReaderTest extends BaseUnitTestCase { assertEquals( "org.hibernate.timeout", reader.getAnnotation( NamedQueries.class ).value()[1].hints()[0].name() ); - assertNotNull( "NamedNativeQuery not overriden", reader.getAnnotation( NamedNativeQueries.class ) ); + assertNotNull( "NamedNativeQuery not overridden", reader.getAnnotation( NamedNativeQueries.class ) ); assertEquals( "No deduplication", 3, reader.getAnnotation( NamedNativeQueries.class ).value().length ); assertEquals( "deduplication kept the Java version", 1, diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/scanning/PackagedEntityManagerTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/scanning/PackagedEntityManagerTest.java index fca2d3cc31..199dcf5d64 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/scanning/PackagedEntityManagerTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/scanning/PackagedEntityManagerTest.java @@ -157,7 +157,7 @@ public class PackagedEntityManagerTest extends PackagingTestCase { em.persist( as ); em.flush(); assertEquals( 1, IncrementListener.getIncrement(), "Failure in default listeners" ); - assertEquals( 1, OtherIncrementListener.getIncrement(), "Failure in XML overriden listeners" ); + assertEquals( 1, OtherIncrementListener.getIncrement(), "Failure in XML overridden listeners" ); Mouse mouse = new Mouse(); mouse.setName( "mickey" );