Se elimino el sistema de logging de java
Planeo hacerlo nuevamente con una libreria
This commit is contained in:
@@ -36,12 +36,8 @@ import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(SQLiteEfectivoDAO.class.getName());
|
||||
private ConnectionHolder connectionHolder;
|
||||
|
||||
public SQLiteEfectivoDAO() {
|
||||
@@ -79,7 +75,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
|
||||
return efectivoList;
|
||||
@@ -115,7 +110,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
|
||||
return Optional.ofNullable(efectivo);
|
||||
@@ -150,7 +144,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
|
||||
return Optional.ofNullable(efectivo);
|
||||
@@ -174,7 +167,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
return total;
|
||||
}
|
||||
@@ -203,7 +195,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,7 +213,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -246,7 +236,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
ps.executeUpdate();
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,7 +248,6 @@ public class SQLiteEfectivoDAO implements EfectivoDAO {
|
||||
ps.executeUpdate();
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
LOGGER.log(Level.SEVERE, e.toString(), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user