Skip to content

Commit

Permalink
Import optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
icreated committed May 25, 2021
1 parent 7f15f73 commit 7d19116
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion src/co/icreated/portal/api/JacksonConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;

import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;

Expand Down
2 changes: 0 additions & 2 deletions src/co/icreated/portal/api/MvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

import com.fasterxml.jackson.databind.ObjectMapper;

@Configuration
@EnableWebMvc
public class MvcConfig extends WebMvcConfigurerAdapter {
Expand Down
2 changes: 1 addition & 1 deletion src/co/icreated/portal/api/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.security.Key;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
Expand All @@ -13,7 +14,6 @@
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.config.http.SessionCreationPolicy;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.CorsConfigurationSource;
import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
Expand Down
2 changes: 0 additions & 2 deletions src/co/icreated/portal/bean/VOpenItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


public class VOpenItem {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.logging.Level;

Expand Down
2 changes: 0 additions & 2 deletions src/co/icreated/portal/service/CommonService.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@

import org.compiere.model.MRefList;
import org.compiere.util.CLogger;
import org.compiere.util.Env;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

import co.icreated.portal.bean.VOpenItem;
import co.icreated.portal.bean.ValueLabelBean;

@Service
Expand Down
2 changes: 0 additions & 2 deletions src/co/icreated/portal/service/InvoiceService.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.util.stream.Collectors;

import org.compiere.model.MInvoiceTax;
import org.compiere.model.MRefList;
import org.compiere.model.MTax;
import org.compiere.model.Query;
import org.compiere.util.CLogger;
Expand All @@ -18,7 +17,6 @@
import co.icreated.portal.bean.Document;
import co.icreated.portal.bean.DocumentLine;
import co.icreated.portal.bean.Invoice;
import co.icreated.portal.bean.Payment;
import co.icreated.portal.bean.Tax;
import co.icreated.portal.bean.VOpenItem;

Expand Down
3 changes: 0 additions & 3 deletions src/co/icreated/portal/service/PaymentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import java.util.logging.Level;
import java.util.stream.Stream;

import org.compiere.model.MBPBankAccount;
Expand All @@ -18,10 +17,8 @@
import org.compiere.process.DocAction;
import org.compiere.util.CLogger;
import org.compiere.util.Env;
import org.compiere.util.Trx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.stereotype.Service;

import co.icreated.portal.bean.CreditCard;
Expand Down

0 comments on commit 7d19116

Please sign in to comment.