Skip to content

Commit

Permalink
Fixed build problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Asmoday committed Nov 16, 2023
1 parent d057a36 commit 8094ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
import java.net.HttpURLConnection;
import java.net.URI;
import java.net.URL;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Properties;
import java.util.*;

import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.apache.hadoop.yarn.server.timeline.webapp;

import static org.apache.hadoop.yarn.webapp.WebServicesTestUtils.assertResponseStatusCode;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.doNothing;
Expand Down Expand Up @@ -1047,7 +1046,7 @@ public void testContextFactory() throws Exception {
Collections.EMPTY_MAP);
Assert.fail("Expected JAXBException");
} catch(Exception e) {
assertThat(e).isExactlyInstanceOf(JAXBException.class);
Assert.assertEquals(JAXBException.class, e.getClass());
}
}

Expand Down

0 comments on commit 8094ea1

Please sign in to comment.