Correct call of dependent methods
This commit is contained in:
		
							parent
							
								
									fad1040f24
								
							
						
					
					
						commit
						5d64775f67
					
				@ -327,7 +327,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable {
 | 
			
		||||
        addTimePageLinkToParam(params, pageLink);
 | 
			
		||||
 | 
			
		||||
        return restTemplate.exchange(
 | 
			
		||||
                baseURL +  urlSecondPart + getUrlParams(pageLink) + getTimeUrlParams(pageLink),
 | 
			
		||||
                baseURL +  urlSecondPart + getTimeUrlParams(pageLink),
 | 
			
		||||
                HttpMethod.GET,
 | 
			
		||||
                HttpEntity.EMPTY,
 | 
			
		||||
                new ParameterizedTypeReference<PageData<AlarmInfo>>() {
 | 
			
		||||
@ -2853,7 +2853,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private String getTimeUrlParams(TimePageLink pageLink) {
 | 
			
		||||
        String urlParams = "";
 | 
			
		||||
        String urlParams = getUrlParams(pageLink);
 | 
			
		||||
        if (pageLink.getStartTime() != null) {
 | 
			
		||||
            urlParams += "&startTime={startTime}";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user