Changeset 723 for trunk/grails-app
- Timestamp:
- Nov 28, 2010, 12:05:27 PM (14 years ago)
- Location:
- trunk/grails-app/domain
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Asset.groovy
r704 r723 53 53 if(ids instanceof String) { 54 54 if(ids.isInteger()) 55 idList << ids.to Integer()55 idList << ids.toLong() 56 56 } 57 57 else { 58 58 ids.each() { 59 59 if(it.isInteger()) 60 idList << it.to Integer()60 idList << it.toLong() 61 61 } 62 62 } -
trunk/grails-app/domain/Person.groovy
r633 r723 58 58 if(ids instanceof String) { 59 59 if(ids.isInteger()) 60 idList << ids.to Integer()60 idList << ids.toLong() 61 61 } 62 62 else { 63 63 ids.each() { 64 64 if(it.isInteger()) 65 idList << it.to Integer()65 idList << it.toLong() 66 66 } 67 67 } … … 75 75 if(ids instanceof String) { 76 76 if(ids.isInteger()) 77 idList << ids.to Integer()77 idList << ids.toLong() 78 78 } 79 79 else { 80 80 ids.each() { 81 81 if(it.isInteger()) 82 idList << it.to Integer()82 idList << it.toLong() 83 83 } 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.