code: private static String removeLastDot(final String pkgName) {
  		return pkgName.charAt(pkgName.length() - 1) == Characters.DOT ? pkgName.substring(0, pkgName.length() - 1) : pkgName;
  	}
docs: Filters a dot at the end of the passed package name if present.
  
  @param pkgName
  a package name
  @return a filtered package name