Fix some compile warnings (#2919)
* Fix some compile warnings * Some classes made final * JPA entities made not serializable Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -16,19 +16,13 @@ import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer;
|
||||
import org.springframework.util.ErrorHandler;
|
||||
|
||||
/**
|
||||
* {@link RabbitListenerContainerFactory} that can be configured through
|
||||
* hawkBit's {@link AmqpProperties}.
|
||||
* {@link RabbitListenerContainerFactory} that can be configured through hawkBit's {@link AmqpProperties}.
|
||||
*/
|
||||
public class ConfigurableRabbitListenerContainerFactory extends SimpleRabbitListenerContainerFactory {
|
||||
public final class ConfigurableRabbitListenerContainerFactory extends SimpleRabbitListenerContainerFactory {
|
||||
|
||||
private final int declarationRetries;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param missingQueuesFatal the missingQueuesFatal to set.
|
||||
* @param declarationRetries The number of retries
|
||||
* @param errorHandler the error handler which should be use
|
||||
* @see SimpleMessageListenerContainer#setMissingQueuesFatal
|
||||
*/
|
||||
public ConfigurableRabbitListenerContainerFactory(
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.util.ObjectUtils;
|
||||
*/
|
||||
@ToString
|
||||
@Slf4j
|
||||
class RequeueExceptionStrategy implements FatalExceptionStrategy {
|
||||
final class RequeueExceptionStrategy implements FatalExceptionStrategy {
|
||||
|
||||
private final List<FatalExceptionStrategy> fatalExceptionStrategies = new ArrayList<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user