You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/04/14 16:11:31 UTC

[isis] branch master updated: ISIS-2561: remove debug lines

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 58975c4  ISIS-2561: remove debug lines
58975c4 is described below

commit 58975c4387be1c2b191dc7b7efdaa499ab970f56
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Apr 14 18:11:23 2021 +0200

    ISIS-2561: remove debug lines
---
 .../metamodel/methods/OrphanedSupportingMethodValidator.java   | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/methods/OrphanedSupportingMethodValidator.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/methods/OrphanedSupportingMethodValidator.java
index 42cedfd..1c53b56 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/methods/OrphanedSupportingMethodValidator.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/methods/OrphanedSupportingMethodValidator.java
@@ -44,22 +44,12 @@ public class OrphanedSupportingMethodValidator
 extends MetaModelVisitingValidatorAbstract {
     
     @Override
-    public boolean isEnabled() {
-        //return !getConfiguration().getApplib().getAnnotation().getAction().isExplicit();
-        return true; 
-    }
-    
-    @Override
     public void validate(@NonNull ObjectSpecification spec) {
             
         if(!(spec instanceof ObjectSpecificationAbstract)) {
             return; // continue
         }
 
-        if(spec.getCorrespondingClass().getName().equals("org.apache.isis.testdomain.model.bad.InvalidOrphanedActionSupport")) {
-            System.err.println("!!! BINGO");
-        }
-        
         val potentialOrphans = ((ObjectSpecificationAbstract) spec).getPotentialOrphans();
         if(potentialOrphans.isEmpty()) {
             return; // continue