Polishing

This commit is contained in:
Juergen Hoeller
2016-09-13 21:58:41 +02:00
parent c69e6a36f7
commit ce42ed4d44
5 changed files with 14 additions and 16 deletions

View File

@@ -191,7 +191,7 @@ public class DateFormatter implements Formatter<Date> {
if (timeStyle != -1) {
return DateFormat.getTimeInstance(timeStyle, locale);
}
throw new IllegalStateException("Unsupported style pattern '"+ this.stylePattern+ "'");
throw new IllegalStateException("Unsupported style pattern '" + this.stylePattern + "'");
}
return DateFormat.getDateInstance(this.style, locale);