You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Natasha Natarajan (Jira)" <ji...@apache.org> on 2020/06/17 14:51:00 UTC
[jira] [Closed] (FINERACT-1027) Failing lint check for rawtypes
[ https://issues.apache.org/jira/browse/FINERACT-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Natasha Natarajan closed FINERACT-1027.
---------------------------------------
Assignee: Natasha Natarajan
Resolution: Won't Do
Closed issue to the fact that it is time consuming. We will need to update several hundred methods to generics.
> Failing lint check for rawtypes
> -------------------------------
>
> Key: FINERACT-1027
> URL: https://issues.apache.org/jira/browse/FINERACT-1027
> Project: Apache Fineract
> Issue Type: Sub-task
> Reporter: Natasha Natarajan
> Assignee: Natasha Natarajan
> Priority: Major
> Fix For: 1.4.0
>
>
> See FINERACT-959 for background and fix this problem:
> /fineract/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/Loan.java:6570: warning: [rawtypes] found raw type: Collection
> private void checkAndFetchLazyCollection(Collection lazyCollection){
> ^
> missing type arguments for generic class Collection<E>
> where E is a type-variable:
> E extends Object declared in interface Collection
> error: warnings found and -Werror specified
> /fineract/fineract-provider/src/main/java/org/apache/fineract/notification/eventandlistener/NotificationEventListener.java:40: warning: [rawtypes] found raw type: SessionAwareMessageListener
> public class NotificationEventListener implements SessionAwareMessageListener {
> ^
> missing type arguments for generic class SessionAwareMessageListener<M>
> where M is a type-variable:
> M extends Message declared in interface SessionAwareMessageListener
> /fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebXmlConfiguration.java:45: warning: [rawtypes] found raw type: ServletRegistrationBean
> public ServletRegistrationBean jersey() {
> ^
> missing type arguments for generic class ServletRegistrationBean<T>
> where T is a type-variable:
> T extends Servlet declared in class ServletRegistrationBean
> /fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebXmlConfiguration.java:62: warning: [rawtypes] found raw type: FilterRegistrationBean
> public FilterRegistrationBean filterRegistrationBean() {
> ^
> missing type arguments for generic class FilterRegistrationBean<T>
> where T is a type-variable:
> T extends Filter declared in class FilterRegistrationBean
> /fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebTwoFactorXmlConfiguration.java:31: warning: [rawtypes] found raw type: FilterRegistrationBean
> public FilterRegistrationBean twoFactorFilterBean(TwoFactorAuthenticationFilter filter) {
> ^
> missing type arguments for generic class FilterRegistrationBean<T>
> where T is a type-variable:
> T extends Filter declared in class FilterRegistrationBean
> /fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebXmlOauthConfiguration.java:39: warning: [rawtypes] found raw type: ServletRegistrationBean
> public ServletRegistrationBean jersey() {
> ^
> missing type arguments for generic class ServletRegistrationBean<T>
> where T is a type-variable:
> T extends Servlet declared in class ServletRegistrationBean
> /fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebXmlOauthConfiguration.java:56: warning: [rawtypes] found raw type: ServletRegistrationBean
> public ServletRegistrationBean dispatcherRegistration(DispatcherServlet dispatcherServlet) {
> ^
> missing type arguments for generic class ServletRegistrationBean<T>
> where T is a type-variable:
> T extends Servlet declared in class ServletRegistrationBean
--
This message was sent by Atlassian Jira
(v8.3.4#803005)