Remove punctuation in Exception messages.

Closes #1259.
This commit is contained in:
John Blum
2022-06-08 11:58:32 -07:00
parent 6911bfba98
commit 483b30e8c2
103 changed files with 338 additions and 338 deletions

View File

@@ -187,7 +187,7 @@ class JdbcAggregateTemplateIntegrationTests {
entity.setName(name);
Manual manual = new Manual();
manual.setContent("Accelerates to 99% of light speed. Destroys almost everything. See https://what-if.xkcd.com/1/");
manual.setContent("Accelerates to 99% of light speed; Destroys almost everything. See https://what-if.xkcd.com/1/");
entity.setManual(manual);
return entity;

View File

@@ -36,7 +36,7 @@ import org.springframework.data.relational.core.sql.SqlIdentifier;
public class CascadingDataAccessStrategyUnitTests {
int errorIndex = 1;
String[] errorMessages = { "Sorry I don't support this method. Please try again later", "Still no luck" };
String[] errorMessages = { "Sorry I don't support this method; Please try again later", "Still no luck" };
DataAccessStrategy alwaysFails = mock(DataAccessStrategy.class, i -> {
errorIndex++;

View File

@@ -34,8 +34,8 @@ public interface TestUtils {
*/
public static String createScriptName(Class<?> testClass, String databaseType) {
Assert.notNull(testClass, "Test class must not be null!");
Assert.hasText(databaseType, "Database type must not be null or empty!");
Assert.notNull(testClass, "Test class must not be null");
Assert.hasText(databaseType, "Database type must not be null or empty");
String path = String.format("%s/%s-%s.sql", testClass.getPackage().getName(), testClass.getSimpleName(),
databaseType.toLowerCase());