Update DatabaseUtility.java

removed some code that's written twice