Update GrabDepartmentsImplementation.java

Updated the GrabDepartmentsImplementation.