From 0bf9bb14238e0ca29cbebba4bb0f4e8cee386f0f Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Wed, 7 Aug 2019 22:05:18 +0100 Subject: [PATCH] HHH-13549 Fix a couple typos --- .../main/java/org/hibernate/internal/util/StringHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java b/hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java index 592b57ffa6..fba4c68345 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/util/StringHelper.java @@ -56,13 +56,13 @@ public final class StringHelper { return buf.toString(); } - public static String join(String seperator, Iterator objects) { + public static String join(String separator, Iterator objects) { StringBuilder buf = new StringBuilder(); if ( objects.hasNext() ) { buf.append( objects.next() ); } while ( objects.hasNext() ) { - buf.append( seperator ).append( objects.next() ); + buf.append( separator ).append( objects.next() ); } return buf.toString(); } @@ -239,7 +239,7 @@ public final class StringHelper { public static String replaceOnce(String template, String placeholder, String replacement) { if ( template == null ) { - return null; // returnign null! + return null; // returning null! } int loc = template.indexOf( placeholder ); if ( loc < 0 ) {