Skip to content

Commit

Permalink
deegree#1654 - removed annottaions from Config to fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoltz committed Jun 6, 2024
1 parent 0a0dd79 commit e8f8db0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
* @author <a href="mailto:[email protected]">Andreas Schmitz</a>
* @since 3.4
*/
@Named
@RequestScoped
//@Named
//@RequestScoped
public class Config implements Comparable<Config>, Serializable {

private static final long serialVersionUID = -175529275940063759L;
Expand Down Expand Up @@ -216,7 +216,7 @@ public void setSchemaURL(URL schemaURL) {
}

public String getState() {
ResourceState state = getWorkspace().getStates().getState(metadata.getIdentifier());
ResourceState state = getWorkspace().getStates().getState(metadata.getIdentifier());
return state == null ? "Deactivated" : state.toString();
}

Expand Down

0 comments on commit e8f8db0

Please sign in to comment.