class JsonPath {

    public static List<String> getSplitPath(String objectNameForHistory) {
        if (Strings.isNullOrEmpty(objectNameForHistory)) {
            return null;
        }

        List<String> splitPathList = new ArrayList<>();

        String splitPath[] = objectNameForHistory.split(REG_EXP_SEPARATOR);

        for (int index = 0; index < splitPath.length - 1; ++index) {
            splitPathList.add(splitPath[index]);
        }

        return splitPathList;
    }

}