Update Part.java

Removed unwanted variables