Commit c18ba2d3 authored by Matija Obreza's avatar Matija Obreza
Browse files

Resolve dependencies without @Qualifier

parent 64e5807a
......@@ -55,7 +55,6 @@ public class RequestServiceImpl implements RequestService {
private static final Log LOG = LogFactory.getLog(RequestServiceImpl.class);
@Autowired
@Qualifier("easySMTAConnector")
private EasySMTA pidChecker;
@Autowired
......
package org.genesys2.server.persistence.domain.mock;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.genesys2.server.model.genesys.Method;
......@@ -8,7 +15,6 @@ import org.genesys2.server.persistence.domain.MethodRepository;
import org.genesys2.server.service.impl.DirectMysqlQuery;
import org.genesys2.server.service.impl.FilterHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Sort;
import org.springframework.jdbc.BadSqlGrammarException;
......@@ -20,9 +26,6 @@ import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import java.sql.*;
import java.util.List;
@Repository
//@Qualifier("genesysLowlevelRepositoryMock")
public class GenesysLowlevelRepositoryMock implements GenesysLowlevelRepository {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment