Skip to content

Commit 7259109

Browse files
committed
cosmetic: cleanup code warnings
1 parent 8398635 commit 7259109

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

conga-aem-plugin/src/test/java/io/wcm/devops/conga/plugins/aem/postprocessor/ContentPackagePropertiesPostProcessorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void testContentPackage() {
6666

6767
@SuppressWarnings("unchecked")
6868
@Test
69-
void testContentPackageOverridePackageType() throws Exception {
69+
void testContentPackageOverridePackageType() {
7070

7171
FileContext fileContext = new FileContext()
7272
.file(new File("src/test/resources/package/example.zip"));

conga-aem-plugin/src/test/java/io/wcm/devops/conga/plugins/aem/postprocessor/ContentPackageTestUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static void assertXpathEvaluatesTo(String expected, String xpath, Node no
6767
assertEquals(expected, XPATH_ENGINE.evaluate(xpath, node));
6868
}
6969

70-
public static void assertXpathEvaluatesTo(String expected, String xpath, Document doc) throws Exception {
70+
public static void assertXpathEvaluatesTo(String expected, String xpath, Document doc) {
7171
assertXpathEvaluatesTo(expected, xpath, doc.getDocumentElement());
7272
}
7373

tooling/conga-aem-maven-plugin/src/test/java/io/wcm/devops/conga/plugins/aem/maven/allpackage/ContentPackageTestUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static void assertXpathEvaluatesTo(String expected, String xpath, Node no
6767
assertEquals(expected, XPATH_ENGINE.evaluate(xpath, node), message);
6868
}
6969

70-
public static void assertXpathEvaluatesTo(String expected, String xpath, Document doc, String message) throws Exception {
70+
public static void assertXpathEvaluatesTo(String expected, String xpath, Document doc, String message) {
7171
assertXpathEvaluatesTo(expected, xpath, doc.getDocumentElement(), message);
7272
}
7373

0 commit comments

Comments
 (0)