Changeset 723 for trunk/grails-app/domain/Person.groovy
- Timestamp:
- Nov 28, 2010, 12:05:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.