Removing redundant code from BinaryCode.java