Update ItemRecord.java

Made some changes on things that triggered errors on BlueJ.