Changeset 1160


Ignore:
Timestamp:
Nov 17, 2010, 4:23:13 PM (6 years ago)
Author:
robert@…
Message:

Removed printlns that were added for debugging

File:
1 edited

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        }
Note: See TracChangeset for help on using the changeset viewer.