chore: s/overriden/overridden

This commit is contained in:
hugo-syn 2024-05-22 10:24:41 +02:00 committed by Gavin King
parent b30b510381
commit 97e2ca0d3a
3 changed files with 7 additions and 7 deletions

View File

@ -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)

View File

@ -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,

View File

@ -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" );