Changeset 1272 for trunk/grails-app/domain
- Timestamp:
- Dec 15, 2010, 1:44:27 PM (10 years ago)
- Location:
- trunk/grails-app/domain/dbnp/studycapturing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Template.groovy
r1269 r1272 301 301 // template fields with the same name, in order to have as little comparisons 302 302 // as possible 303 for( def otherField in TemplateField.findAllByName( field .name ) ) {303 for( def otherField in TemplateField.findAllByName( field?.name ) ) { 304 304 if( field.contentEquals( otherField ) ) { 305 305 field = otherField; -
trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy
r1271 r1272 475 475 xmlObject.listItems?.listItem.each { 476 476 def name = "" 477 if( it && it.name )477 if( it != null && it.name ) 478 478 name = it.name.text() 479 479
Note: See TracChangeset
for help on using the changeset viewer.