Update RandomCreation-portlet/WEB-INF/src/com/asu/poly/teams/randomCreate/RandomCreation.java

Optimized code and removed duplicates