JavaxServletContextWrapper.java

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

Mutations

17

1.1
Location : get
Killed by :
replaced return value with null for fr/sii/ogham/spring/util/compat/JavaxServletContextWrapper::get → RUN_ERROR

Active mutators

Tests examined


Report generated by PIT 1.13.1