Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations.
This commit is contained in:
@ -21,9 +21,7 @@ import org.apache.isis.applib.annotation.HomePage;
|
||||
import org.apache.isis.applib.annotation.NatureOfService;
|
||||
import org.apache.isis.applib.annotation.SemanticsOf;
|
||||
|
||||
@DomainService(nature = NatureOfService.VIEW_CONTRIBUTIONS_ONLY // trick to suppress the actions
|
||||
// from the top-level menu
|
||||
)
|
||||
@DomainService(nature = NatureOfService.VIEW_CONTRIBUTIONS_ONLY)
|
||||
public class HomePageService {
|
||||
|
||||
// region > homePage (action)
|
||||
|
@ -69,9 +69,12 @@ public class SimpleObjects {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create simple object
|
||||
*/
|
||||
@Action(domainEvent = CreateDomainEvent.class)
|
||||
@MemberOrder(sequence = "3")
|
||||
public SimpleObject create(final @ParameterLayout(named = "Name") String name) {
|
||||
public SimpleObject create(@ParameterLayout(named = "Name") final String name) {
|
||||
final SimpleObject obj = container.newTransientInstance(SimpleObject.class);
|
||||
obj.setName(name);
|
||||
container.persistIfNotAlready(obj);
|
||||
|
Reference in New Issue
Block a user