Changeset 1111


Ignore:
Timestamp:
Nov 9, 2010, 7:01:56 PM (10 years ago)
Author:
work@…
Message:
  • removing debug lines that template field values are being set...
File:
1 edited

Legend:

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

    r1036 r1111  
    653653                        // got a value?
    654654                        if (value) {
    655                                 println ".setting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") domain field: [" + fieldName + "] ([" + value.toString() + "] of type [" + value.class + "])"
     655                                //log.debug ".setting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") domain field: [" + fieldName + "] ([" + value.toString() + "] of type [" + value.class + "])"
    656656                                this[field.name] = value
    657657                        } else {
    658                                 println ".unsetting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") domain field: [" + fieldName + "]"
     658                                //log.debug ".unsetting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") domain field: [" + fieldName + "]"
    659659
    660660                                // remove value. For numbers, this is done by setting
     
    680680                        // it is unset if it is.
    681681                        if (value || value == 0 || ( field.type == TemplateFieldType.BOOLEAN && value == false)) {
    682                                 println ".setting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") template field: [" + fieldName + "] ([" + value.toString() + "] of type [" + value.class + "])"
     682                                //log.debug ".setting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") template field: [" + fieldName + "] ([" + value.toString() + "] of type [" + value.class + "])"
    683683
    684684                                // set value
    685685                                store[fieldName] = value
    686686                        } else if (store[fieldName]) {
    687                                 println ".unsetting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") template field: [" + fieldName + "]"
     687                                //log.debug ".unsetting [" + ((super) ? super.class : '??') + "] ("+getIdentifier()+") template field: [" + fieldName + "]"
    688688
    689689                                // remove the item from the Map (if present)
Note: See TracChangeset for help on using the changeset viewer.