Author: bbrossaud Date: 2010-07-28 11:27:34 +0200 (Wed, 28 Jul 2010) New Revision: 206 Url: http://nuiton.org/repositories/revision/wikitty/206 Log: changed cast method comments in PagedResult Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/PagedResult.java Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/PagedResult.java =================================================================== --- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/PagedResult.java 2010-07-28 09:12:57 UTC (rev 205) +++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/PagedResult.java 2010-07-28 09:27:34 UTC (rev 206) @@ -91,19 +91,11 @@ } /** - * Convert all result to the wanted type and return new PagedResult with - * this new result list. If some result don't have the right extension (clazz) - * this extension is automatically added if autoconvert is true. Else - * an exception is thrown when result without extension is found. + * Convert all result to the wikitty type and return new PagedResult with + * this new result list. * - * When you used autoconvert = false, you have a potentially problem when - * you have modified a BusinessEntity to have new extension and all your - * wikitty object are not uptodate in database. - * - * @param <E> class to cast into - * @param proxy used to retrieve securityToken and WikittyService - * @param autoconvert if autoconvert is false and object don't all needed - * extension, object is not put in the result + * @param securityToken security token + * @param ws wikitty service * @return new PagedResult, this result can have less elements that original * for some reason (security, ...) */ @@ -130,7 +122,7 @@ } /** - * Convert all result to the wanted type and return new PagedResult with + * Convert all result to the wikitty type and return new PagedResult with * this new result list. * * @param securityToken security token