Code & Javadoc cleanup

This commit is contained in:
YannickMG authored and Jason Mitchell committed 2022-01-30 17:48:14 -08:00
1 parent 47951372cb
commit ee3d685a14
2 files changed
+22 -26

No files matched your search

@@ -66,7 +66,7 @@ public abstract class GuiRecipeTab extends Widget {
this.selected = false;
if(handler instanceof TemplateRecipeHandler) {
handlerID = (((TemplateRecipeHandler)handler).getOverlayIdentifier());
handlerID = handler.getOverlayIdentifier();
} else {
handlerID = null;
}
@@ -162,7 +162,7 @@ public abstract class GuiRecipeTab extends Widget {
final String handlerID;
if (handler instanceof TemplateRecipeHandler) {
handlerID = ((TemplateRecipeHandler) handler).getOverlayIdentifier();
handlerID = handler.getOverlayIdentifier();
} else {
handlerID = null;
}
@@ -272,9 +272,6 @@ public abstract class GuiRecipeTab extends Widget {
handlerMap.put(handler, info);
NEIClientConfig.logger.info("Loaded " + handler);
}
} catch (IOException e) {
NEIClientConfig.logger.info("Error parsing CSV");
e.printStackTrace();
} catch (Exception e) {
NEIClientConfig.logger.info("Error parsing CSV");
e.printStackTrace();