Skip to content

Commit 2603bbe

Browse files
Revert "revert"
This reverts commit a20e817.
1 parent a20e817 commit 2603bbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

elections-ejb/src/main/java/net/lacnic/elections/ejb/commons/impl/MailsSendingEJBBean.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package net.lacnic.elections.ejb.commons.impl;
22

3-
import java.io.IOException;
43
import java.io.StringWriter;
54
import java.sql.SQLException;
65
import java.util.ArrayList;
@@ -244,7 +243,7 @@ private String addVotes(List<Vote> votes) {
244243
* @return returns a string with the template filled.
245244
*
246245
*/
247-
private String processTemplate(String template, Map<String, Object> variables) throws IOException {
246+
private String processTemplate(String template, Map<String, Object> variables) {
248247
VelocityEngine velocityEngine = new VelocityEngine();
249248
velocityEngine.init();
250249
VelocityContext context = new VelocityContext();

0 commit comments

Comments
 (0)