Here is your code after I 'prettify' it with

indent --no-tabs tmp.java


public void
add (int newID, String newDesc, double newCost)
{
catalogItems.trimToSize ();
CatalogItem copy =...