Skip to content

Commit

Permalink
Drops unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed Nov 22, 2016
1 parent 6280feb commit de51e79
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,19 +505,6 @@ private LocalizedMessage buildErrorMessage(Throwable e, Object[] args) {
return new LocalizedMessage(this.getClass(), errorKey, e.getMessage(), args);
}

/**
* Build action message.
*
* @param e the Throwable/Exception
* @param args arguments
* @return action message
*/
private String buildMessage(Throwable e, Object[] args) {
String messageKey = "struts.message.upload.message." + e.getClass().getSimpleName();
LOG.debug("Preparing message for key: [{}]", messageKey);
return LocalizedTextUtil.findText(this.getClass(), messageKey, defaultLocale, e.getMessage(), args);
}

/**
* Internal data structure used to store a reference to information needed
* to later pass post processing data to the <code>FileUploadInterceptor</code>.
Expand Down

0 comments on commit de51e79

Please sign in to comment.