Changeset 35807


Ignore:
Timestamp:
2021-12-14T10:13:26+13:00 (2 years ago)
Author:
cstephen
Message:

Upgrade log4j from 2.12.1 -> 2.15.0. Resolves RCE vunerability and requires Java 8.

Location:
gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy
Files:
7 added
6 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/src/main/java/org/atea/nlptools/koreromaoriproxy/TestServlet.java

    r35387 r35807  
    2929public class TestServlet extends HttpServlet
    3030{
    31     private static final long serialVersionUID = 1L;
    32 
    3331    private static final Logger logger = LogManager.getLogger(TranscriptionServlet.class);
    3432    private static final Type transcriptionListType = new TypeToken<List<TranscriptionResult>>(){}.getType();
     
    3937    {
    4038        jsonSerialiser = new GsonBuilder().setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES).create();
    41     }
    42 
    43     @Override
    44     public void init()
    45     {
    46         logger.info("TestServlet Initialised!");
    4739    }
    4840
  • gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/src/main/java/org/atea/nlptools/koreromaoriproxy/TranscriptionServlet.java

    r35763 r35807  
    3232public class TranscriptionServlet extends HttpServlet
    3333{
    34     private static final long serialVersionUID = 1L;
    35 
    3634    private static final Logger logger = LogManager.getLogger(TranscriptionServlet.class);
    3735    private static final Type transcriptionListType = new TypeToken<List<TranscriptionResult>>(){}.getType();
     
    5755            fis.close();
    5856        }
    59         catch (IOException e)
     57        catch (IOException ioex)
    6058        {
    61             e.printStackTrace();
     59            logger.error("Failed to read properties file", ioex);
    6260        }
    6361
Note: See TracChangeset for help on using the changeset viewer.