Changeset 1728


Ignore:
Timestamp:
Apr 7, 2011, 4:02:26 PM (9 years ago)
Author:
s.h.sikkema@…
Message:

Changed max parameter from type int to Integer

File:
1 edited

Legend:

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

    r1724 r1728  
    449449         * Returns a list of studies that are writable for the given user
    450450         */
    451         public static giveWritableStudies(SecUser user, int max = null) {
     451        public static giveWritableStudies(SecUser user, Integer max = null) {
    452452                // User that are not logged in, are not allowed to write to a study
    453453                if (user == null)
     
    480480         * Returns a list of studies that are readable by the given user
    481481         */
    482         public static giveReadableStudies(SecUser user, int max = null, int offset = 0) {
     482        public static giveReadableStudies(SecUser user, Integer max = null, int offset = 0) {
    483483                def c = Study.createCriteria()
    484484
Note: See TracChangeset for help on using the changeset viewer.