Skip to content

Commit

Permalink
eliminate code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jul 8, 2024
1 parent 1a2368b commit cdce55b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.io.IOException;
import java.util.Locale;

import org.apache.sling.api.resource.PersistenceException;
import org.jetbrains.annotations.NotNull;

import io.wcm.handler.media.spi.MediaFormatProvider;
Expand Down Expand Up @@ -71,7 +70,7 @@ public static AemContext newAemContext() {
*/
private static final AemContextCallback SETUP_CALLBACK = new AemContextCallback() {
@Override
public void execute(@NotNull AemContext context) throws PersistenceException, IOException {
public void execute(@NotNull AemContext context) throws IOException {

// context path strategy
MockCAConfig.contextPathStrategyAbsoluteParent(context, ROOT_LEVEL - 1, ROOT_LEVEL);
Expand Down

0 comments on commit cdce55b

Please sign in to comment.