src/main/java/de/uapcore/lightpit/modules/ErrorModule.java

changeset 180
009700915269
parent 179
623c340058f3
     1.1 --- a/src/main/java/de/uapcore/lightpit/modules/ErrorModule.java	Tue Jan 05 19:19:31 2021 +0100
     1.2 +++ b/src/main/java/de/uapcore/lightpit/modules/ErrorModule.java	Wed Jan 06 15:39:56 2021 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.6   *
     1.7 - * Copyright 2018 Mike Becker. All rights reserved.
     1.8 + * Copyright 2021 Mike Becker. All rights reserved.
     1.9   *
    1.10   * Redistribution and use in source and binary forms, with or without
    1.11   * modification, are permitted provided that the following conditions are met:
    1.12 @@ -47,11 +47,6 @@
    1.13  
    1.14      public static final String REQ_ATTR_RETURN_LINK = "returnLink";
    1.15  
    1.16 -    @Override
    1.17 -    protected String getResourceBundleName() {
    1.18 -        return "localization.error";
    1.19 -    }
    1.20 -
    1.21      @RequestMapping(requestPath = "generic", method = HttpMethod.GET)
    1.22      public void onError(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
    1.23          Optional.ofNullable(req.getHeader("Referer")).ifPresent(

mercurial