Update Partition.java