Issue 1569: Integration Tests fail in strongbox-web-core due to message mismatch with non english locale
Format object creation according to coding conventions
@@ -371,7 +371,8 @@ public class RepositoryFormTestIT
String message;
try
{
- final String translatedMessage = new PlatformResourceBundleLocator("org.hibernate.validator.ValidationMessages")
+ final String translatedMessage = new PlatformResourceBundleLocator(
+ "org.hibernate.validator.ValidationMessages")
.getResourceBundle(Locale.getDefault())
.getString("javax.validation.constraints.Pattern.message");
message = translatedMessage.replace("\"{regexp}\"", expectedPattern);
