Skip to content

Commit

Permalink
remove deprecated domain service nature
Browse files Browse the repository at this point in the history
  • Loading branch information
andi-huber committed Mar 14, 2024
1 parent bfaa2e8 commit 81ad041
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
import dita.globodiet.manager.FontawesomeConstants;

@Named(DitaModuleGdManager.NAMESPACE + ".VersionsMenu")
@DomainService(
nature = org.apache.causeway.applib.annotation.NatureOfService.VIEW
)
@DomainService
public class VersionsMenu {

@Inject FactoryService factoryService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
Expand All @@ -19,6 +19,14 @@
// Auto-generated by DitA-Tooling
package dita.globodiet.dom.params;

import jakarta.inject.Inject;
import jakarta.inject.Named;

import org.apache.causeway.applib.annotation.Action;
import org.apache.causeway.applib.annotation.ActionLayout;
import org.apache.causeway.applib.annotation.DomainService;
import org.apache.causeway.applib.services.factory.FactoryService;

import dita.commons.services.search.SearchService;
import dita.globodiet.dom.params.food_coefficient.DensityFactorForFoodOrRecipe;
import dita.globodiet.dom.params.food_coefficient.EdiblePartCoefficientForFood;
Expand Down Expand Up @@ -91,17 +99,9 @@
import dita.globodiet.dom.params.supplement.DietarySupplementClassification;
import dita.globodiet.dom.params.supplement.DietarySupplementDescriptor;
import dita.globodiet.dom.params.supplement.DietarySupplementFacet;
import jakarta.inject.Inject;
import jakarta.inject.Named;
import org.apache.causeway.applib.annotation.Action;
import org.apache.causeway.applib.annotation.ActionLayout;
import org.apache.causeway.applib.annotation.DomainService;
import org.apache.causeway.applib.services.factory.FactoryService;

@Named("dita.globodiet.params.EntitiesMenu")
@DomainService(
nature = org.apache.causeway.applib.annotation.NatureOfService.VIEW
)
@DomainService
public class EntitiesMenu {
@Inject
private FactoryService factoryService;
Expand Down

0 comments on commit 81ad041

Please sign in to comment.