Update StormSubmitter.java

fix bugs of checking resource while submit topology