4040import io .jenkins .plugins .junit .storage .TestResultImpl ;
4141import java .io .IOException ;
4242import java .util .List ;
43- import javax .servlet .ServletException ;
4443import javax .servlet .http .Cookie ;
4544import javax .servlet .http .HttpServletResponse ;
4645import org .kohsuke .stapler .Ancestor ;
@@ -172,7 +171,7 @@ private TestResultActionIterable createBuildHistory(final Run<?, ?> lastComplete
172171 * @deprecated Replaced by echarts in TODO
173172 */
174173 @ Deprecated
175- public void doTrend (final StaplerRequest req , final StaplerResponse rsp ) throws IOException , ServletException {
174+ public void doTrend (final StaplerRequest req , final StaplerResponse rsp ) throws IOException {
176175 AbstractTestResultAction a = getLastTestResultAction ();
177176 if (a != null ) {
178177 a .doGraph (req , rsp );
@@ -187,7 +186,7 @@ public void doTrend(final StaplerRequest req, final StaplerResponse rsp) throws
187186 * @deprecated Replaced by echarts in TODO
188187 */
189188 @ Deprecated
190- public void doTrendMap (final StaplerRequest req , final StaplerResponse rsp ) throws IOException , ServletException {
189+ public void doTrendMap (final StaplerRequest req , final StaplerResponse rsp ) throws IOException {
191190 AbstractTestResultAction a = getLastTestResultAction ();
192191 if (a != null ) {
193192 a .doGraphMap (req , rsp );
@@ -199,7 +198,7 @@ public void doTrendMap(final StaplerRequest req, final StaplerResponse rsp) thro
199198 /**
200199 * Changes the test result report display mode.
201200 */
202- public void doFlipTrend (final StaplerRequest req , final StaplerResponse rsp ) throws IOException , ServletException {
201+ public void doFlipTrend (final StaplerRequest req , final StaplerResponse rsp ) throws IOException {
203202 boolean failureOnly = false ;
204203
205204 // check the current preference value
0 commit comments