Skip to content

Commit

Permalink
deegree#1654 - fixed weld warnings by removing annotations and addin…
Browse files Browse the repository at this point in the history
…g default constuctor
  • Loading branch information
lgoltz committed Jun 6, 2024
1 parent 7b15979 commit 0a0dd79
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@

public class FeatureStoreConfig extends Config {

public FeatureStoreConfig() {
this(null, null);
}

public FeatureStoreConfig(ResourceMetadata metadata, ResourceManager resourceManager) {
super(metadata, resourceManager, "/console/datastore/feature/index", true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
*
* @author <a href="mailto:[email protected]">Markus Schneider</a>
*/
@Named
@RequestScoped
// @Named
// @RequestScoped
public class FeatureStoreLoader implements Serializable {

private static final long serialVersionUID = 5091506903775758089L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
*
* @author <a href="mailto:[email protected]">Steffen Thomas</a>
*/
@Named
@RequestScoped
// @Named
// @RequestScoped
public class MetadataImporter implements Serializable {

private static Logger LOG = LoggerFactory.getLogger(MetadataImporter.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@

public class MetadataStoreConfig extends Config {

public MetadataStoreConfig() {
this(null, null);
}

public MetadataStoreConfig(ResourceMetadata<?> state, ResourceManager<?> resourceManager) {
super(state, resourceManager, "/console/datastore/metadata/index", true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
*
* @author <a href="mailto:[email protected]">Markus Schneider</a>
*/
@Named
@RequestScoped
// @Named
// @RequestScoped
public class Connection implements Serializable {

private static final long serialVersionUID = 6495856816506360039L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public class ServiceConfig extends Config {
private static final URL METADATA_EXAMPLE_URL = ServicesBean.class
.getResource("/META-INF/schemas/services/metadata/example.xml");

public ServiceConfig() {
this(null, null);
}

public ServiceConfig(ResourceMetadata<?> metadata, ResourceManager<?> resourceManager) {
super(metadata, resourceManager, "/console/webservices/index", true);
}
Expand Down

0 comments on commit 0a0dd79

Please sign in to comment.