@@ -0,0 +1,207 @@
+// http://codingbat.com/prob/p183592%0A%0Apublic String front22(String str) %7B%0A  if (str.length() %3C 2) %7B%0A    return str + str + str;%0A  %7D%0A  else %7B%0A    return str.substring(0, 2) + str + str.substring(0, 2);%0A  %7D%0A%7D%0A

Create front22.java