diff -r 623c340058f3 -r 009700915269 src/main/java/de/uapcore/lightpit/modules/ErrorModule.java --- a/src/main/java/de/uapcore/lightpit/modules/ErrorModule.java Tue Jan 05 19:19:31 2021 +0100 +++ b/src/main/java/de/uapcore/lightpit/modules/ErrorModule.java Wed Jan 06 15:39:56 2021 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2018 Mike Becker. All rights reserved. + * Copyright 2021 Mike Becker. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -47,11 +47,6 @@ public static final String REQ_ATTR_RETURN_LINK = "returnLink"; - @Override - protected String getResourceBundleName() { - return "localization.error"; - } - @RequestMapping(requestPath = "generic", method = HttpMethod.GET) public void onError(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { Optional.ofNullable(req.getHeader("Referer")).ifPresent(