Skip to content

Commit

Permalink
Merge pull request #26121 from marcwrobel/typos-hibernate-orm
Browse files Browse the repository at this point in the history
Fix typos in extensions/hibernate-orm
  • Loading branch information
gsmet authored Jun 14, 2022
2 parents 267bae9 + a4c3bf2 commit e644ded
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class SqlLoadScriptAbsoluteFileSystemPathUnescapedOnWindowsTestCase {
// which is a meta-character and will be stripped by Quarkus when parsing the properties file,
// resulting in the path being interpreted wrongly.
// That's exactly what we want: we want to check that a user forgetting to escape backslashes
// in a Windows path in a properties file will still get an error messsage,
// in a Windows path in a properties file will still get an error message,
// even though it's not that clear.
sqlLoadScriptAbsolutePath = path.toString();
System.out.println("(Unescaped) absolute filesystem path passed to sql-load-script: " + sqlLoadScriptAbsolutePath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ private EntityManagerFactoryBuilder getEntityManagerFactoryBuilderOrNull(String
final boolean matches = persistenceUnitName == null
|| persistenceUnit.getName().equals(persistenceUnitName);
if (!matches) {
log.debugf("Excluding from consideration '%s' due to name mis-match", persistenceUnit.getName());
log.debugf("Excluding from consideration '%s' due to name mismatch", persistenceUnit.getName());
continue;
}

// See if we (Hibernate) are the persistence provider
if (!isProvider(persistenceUnit)) {
log.debug("Excluding from consideration due to provider mis-match");
log.debug("Excluding from consideration due to provider mismatch");
continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* The goal is to run the {@link MetadataImpl#validate()} method
* earlier than when it is normally performed, for two main reasons: further reduce
* the work that is still necessary when performing a runtime boot, and to be
* able to still use reflection as it's neccessary e.g. to validate enum fields.
* able to still use reflection as it's necessary e.g. to validate enum fields.
*
* We also make sure that methods {@link #getSessionFactoryBuilder()} and {@link #buildSessionFactory()}
* are unavailable, as these would normally trigger an additional validation phase:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.hibernate.service.spi.ServiceRegistryImplementor;

/**
* Needs to mimick MutableIdentifierGeneratorFactoryInitiator, but allows us to capture
* Needs to mimic MutableIdentifierGeneratorFactoryInitiator, but allows us to capture
* which Identifier strategies are being used, so that we can keep a reference to the classed
* needed at runtime.
*
Expand Down

0 comments on commit e644ded

Please sign in to comment.