Make fields immutable (final) where possible
This commit is contained in:
@@ -37,7 +37,8 @@ import org.springframework.stereotype.Service;
|
||||
@Service("employeeSearchService")
|
||||
public class EmployeeSearchService {
|
||||
|
||||
private static Log logger = LogFactory.getLog(EmployeeSearchService.class);
|
||||
private static final Log logger = LogFactory.getLog(EmployeeSearchService.class);
|
||||
|
||||
/**
|
||||
* The API <code>getEmployee()</code> looks up the mapped in coming message header's id param
|
||||
* and fills the return object with the appropriate employee details. The return
|
||||
|
||||
@@ -68,7 +68,7 @@ public class RestHttpClientTest {
|
||||
|
||||
private HttpMessageConverterExtractor<EmployeeList> responseExtractor;
|
||||
|
||||
private static Log logger = LogFactory.getLog(RestHttpClientTest.class);
|
||||
private static final Log logger = LogFactory.getLog(RestHttpClientTest.class);
|
||||
|
||||
@Autowired
|
||||
private Jaxb2Marshaller marshaller;
|
||||
|
||||
Reference in New Issue
Block a user