Update Config.java

Remove unneeded part of code