/** * Get the warnings that happened during adding the project to Continuum. * There is an entry with the warning key (so it can be internationalized later) for each warning. * * @return {@link List} < {@link String} > * @deprecated Use {@link #getErrors()} instead */ public List getWarnings() { return getErrors(); }
for ( String error : result.getErrors() )
log.info( result.getErrors().size() + " errors." ); log.info( result.getErrors().size() + " errors during project add: " ); log.info( result.getErrorsAsString() ); return result; log.info( result.getErrors().size() + " errors during project add: " ); log.info( result.getErrorsAsString() ); return result;
/** * Get the warnings that happened during adding the project to Continuum. * There is an entry with the warning key (so it can be internationalized later) for each warning. * * @return {@link List} < {@link String} > * @deprecated Use {@link #getErrors()} instead */ public List<String> getWarnings() { return getErrors(); }
for ( Iterator i = result.getErrors().iterator(); i.hasNext(); )