TODO on outfit controller

This commit is contained in:
Aleksei 2020-02-20 15:59:59 -05:00
parent efb6feb297
commit e061acc8ef

View File

@ -12,7 +12,7 @@ import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Timestamp; import java.sql.Timestamp;
public class OutfitController { public class OutfitController { // TODO: Refactor for closing via FSDB.get(). SQLExceptions should be elevated; thrown in the command for logging.
public static void insert(Outfit outfit) { public static void insert(Outfit outfit) {
if (outfit.created == null) { if (outfit.created == null) {
outfit.created = new Timestamp(System.currentTimeMillis()); outfit.created = new Timestamp(System.currentTimeMillis());