| 1 | package fr.sii.ogham.spring.v3.util.compat; | |
| 2 | ||
| 3 | import fr.sii.ogham.spring.util.compat.ServletContextWrapper; | |
| 4 | import jakarta.servlet.ServletContext; | |
| 5 | ||
| 6 | public class JakartaServletContextWrapper implements ServletContextWrapper { | |
| 7 | private final ServletContext context; | |
| 8 | | |
| 9 | public JakartaServletContextWrapper(ServletContext context) { | |
| 10 | super(); | |
| 11 | this.context = context; | |
| 12 | } | |
| 13 | ||
| 14 | ||
| 15 | @Override | |
| 16 | @SuppressWarnings("unchecked") | |
| 17 | public <T> T get() { | |
| 18 |
1
1. get : replaced return value with null for fr/sii/ogham/spring/v3/util/compat/JakartaServletContextWrapper::get → KILLED |
return (T) context; |
| 19 | } | |
| 20 | ||
| 21 | } | |
Mutations | ||
| 18 |
1.1 |