remove unused warnings.
This commit is contained in:
+5
-7
@@ -18,10 +18,8 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.codehaus.jackson.map.ObjectMapper;
|
||||
import org.mifosplatform.infrastructure.core.serialization.FromJsonHelper;
|
||||
import org.mifosplatform.template.domain.Template;
|
||||
import org.mifosplatform.template.domain.TemplateFunctions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@@ -32,13 +30,13 @@ import com.github.mustachejava.MustacheFactory;
|
||||
@Service
|
||||
public class TemplateMergeService {
|
||||
|
||||
private final FromJsonHelper fromApiJsonHelper;
|
||||
// private final FromJsonHelper fromApiJsonHelper;
|
||||
private Map<String, Object> scopes;
|
||||
|
||||
@Autowired
|
||||
public TemplateMergeService(final FromJsonHelper fromApiJsonHelper) {
|
||||
this.fromApiJsonHelper = fromApiJsonHelper;
|
||||
}
|
||||
// @Autowired
|
||||
// public TemplateMergeService(final FromJsonHelper fromApiJsonHelper) {
|
||||
// this.fromApiJsonHelper = fromApiJsonHelper;
|
||||
// }
|
||||
|
||||
public String compile(final Template template, final Map<String, Object> scopes) throws MalformedURLException, IOException {
|
||||
|
||||
|
||||
+3
-2
@@ -13,7 +13,6 @@ import org.joda.time.LocalDate;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mifosplatform.infrastructure.core.serialization.FromJsonHelper;
|
||||
import org.mifosplatform.organisation.monetary.domain.MonetaryCurrency;
|
||||
import org.mifosplatform.portfolio.loanaccount.LoanScheduleTestDataHelper;
|
||||
import org.mifosplatform.portfolio.loanaccount.MonetaryCurrencyBuilder;
|
||||
@@ -29,7 +28,9 @@ public class TemplateMergeServiceTest {
|
||||
|
||||
@BeforeClass
|
||||
public static void init() {
|
||||
tms = new TemplateMergeService(new FromJsonHelper());
|
||||
tms = new TemplateMergeService(
|
||||
// new FromJsonHelper()
|
||||
);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
|
||||
Reference in New Issue
Block a user