Change return type to void in Common.java