Skip to content

Commit

Permalink
Change scope of class 'MediaProvider' to 'SessionScope'
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Oct 23, 2024
1 parent 4d6138a commit 0c7ae15
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@

package org.kitodo.production.forms.dataeditor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.SessionScoped;
import javax.faces.context.FacesContext;
import javax.faces.event.PhaseId;
import javax.inject.Named;
Expand All @@ -30,9 +31,9 @@
/**
* Application scoped media provider bean.
*/
@ApplicationScoped
@SessionScoped
@Named
public class MediaProvider {
public class MediaProvider implements Serializable {

private static final Logger logger = LogManager.getLogger(MediaProvider.class);

Expand Down

0 comments on commit 0c7ae15

Please sign in to comment.