chore: s/overriden/overridden
This commit is contained in:
parent
b30b510381
commit
97e2ca0d3a
|
@ -132,19 +132,19 @@ public class DialectDelegateWrapper extends Dialect {
|
||||||
return wrapped;
|
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
|
@Override
|
||||||
protected final void checkVersion() {
|
protected final void checkVersion() {
|
||||||
//intentionally empty: this is used by the super constructor (yuk)
|
//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
|
@Override
|
||||||
protected final void registerDefaultKeywords() {
|
protected final void registerDefaultKeywords() {
|
||||||
//intentionally empty: this is used by the super constructor (yuk)
|
//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
|
@Override
|
||||||
protected final void initDefaultProperties() {
|
protected final void initDefaultProperties() {
|
||||||
//intentionally empty: this is used by the super constructor (yuk)
|
//intentionally empty: this is used by the super constructor (yuk)
|
||||||
|
|
|
@ -167,10 +167,10 @@ public class JPAXMLOverriddenAnnotationReaderTest extends BaseUnitTestCase {
|
||||||
);
|
);
|
||||||
assertNotNull( reader.getAnnotation( Inheritance.class ) );
|
assertNotNull( reader.getAnnotation( Inheritance.class ) );
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"inheritance strategy not overriden", InheritanceType.JOINED,
|
"inheritance strategy not overridden", InheritanceType.JOINED,
|
||||||
reader.getAnnotation( Inheritance.class ).strategy()
|
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( "No deduplication", 3, reader.getAnnotation( NamedQueries.class ).value().length );
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"deduplication kept the Java version", 1,
|
"deduplication kept the Java version", 1,
|
||||||
|
@ -179,7 +179,7 @@ public class JPAXMLOverriddenAnnotationReaderTest extends BaseUnitTestCase {
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"org.hibernate.timeout", reader.getAnnotation( NamedQueries.class ).value()[1].hints()[0].name()
|
"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( "No deduplication", 3, reader.getAnnotation( NamedNativeQueries.class ).value().length );
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"deduplication kept the Java version", 1,
|
"deduplication kept the Java version", 1,
|
||||||
|
|
|
@ -157,7 +157,7 @@ public class PackagedEntityManagerTest extends PackagingTestCase {
|
||||||
em.persist( as );
|
em.persist( as );
|
||||||
em.flush();
|
em.flush();
|
||||||
assertEquals( 1, IncrementListener.getIncrement(), "Failure in default listeners" );
|
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 mouse = new Mouse();
|
||||||
mouse.setName( "mickey" );
|
mouse.setName( "mickey" );
|
||||||
|
|
Loading…
Reference in New Issue