CodeSOD: Accessed Nulls
The Daily WTF
MAY 12, 2024
"The attached class connects to an Access database," writes Nicolai. That's always a good start for a WTF. Let's take a look. public class ResultLoader { private static Logger sysLog = Logger.getLogger(ResultLoader.class); private static String url = "somePath" ; /** * get the ResultTable from the Access database * * @param tableName * @return */ private static Table getResultTable (String tableName) { try { // create a new file with the path to the table File db = new Fi
Let's personalize your content