Changeset 1160

Show
Ignore:
Timestamp:
17-11-10 16:23:13 (3 years ago)
Author:
robert@…
Message:

Removed printlns that were added for debugging

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy

    r1159 r1160  
    174174         */ 
    175175        def isFilledInTemplate(Template t) { 
    176                 println( "Checking field " + this.name ) 
    177                 println( "Filled in template: " + t) 
    178176                if( t == null )  
    179177                        return false; 
     
    185183                // Find all entities that use this template 
    186184                def entities = entity.findAllByTemplate( t ); 
    187  
    188                 println( "Num entities: " + entities.size() ) 
    189  
    190185                def filledEntities = entities.findAll { entity -> entity.getFieldValue( this.name ) } 
    191186 
    192                 println( "Num filled entities: " + filledEntities.size() ) 
    193                 println( "Values: " + filledEntities*.getFieldValue( this.name ).join( ', ' ) ) 
    194187                return filledEntities.size() > 0; 
    195188        }