Here you can find the source of shortenPart(String currentPart)
private static char shortenPart(String currentPart)
//package com.java2s; //License from project: Open Source License public class Main { private static char shortenPart(String currentPart) { return currentPart.charAt(0); }/*from w w w.j a v a 2s. com*/ }