public void removeSymbol(String symbol) { Stock stock = Stock.find("bySymbol", symbol).one(); if (stock != null) { stock.delete(); } }