Update CommonFunction.java