Fix deprecations from SF
* Remove `whitelist` words * Resolve Sonar smells * Add `await()` for FTP file removal test: looks like this operation may fail under the stress build
This commit is contained in:
@@ -172,18 +172,6 @@ public class MongoDbMessageStore extends AbstractMessageGroupStore
|
||||
this.applicationContext = applicationContext;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add patterns for packages/classes that are allowed to be deserialized. A class can
|
||||
* be fully qualified or a wildcard '*' is allowed at the beginning or end of the
|
||||
* class name. Examples: {@code com.foo.*}, {@code *.MyClass}.
|
||||
* @param patterns the patterns.
|
||||
* @deprecated since 5.4 in favor of {@link #addAllowedPatterns(String...)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void addWhiteListPatterns(String... patterns) {
|
||||
addAllowedPatterns(patterns);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add patterns for packages/classes that are allowed to be deserialized. A class can
|
||||
* be fully qualified or a wildcard '*' is allowed at the beginning or end of the
|
||||
|
||||
@@ -38,18 +38,6 @@ public class BinaryToMessageConverter implements Converter<Binary, Message<?>> {
|
||||
return (Message<?>) this.deserializingConverter.convert(source.getData());
|
||||
}
|
||||
|
||||
/**
|
||||
* Add patterns for packages/classes that are allowed to be deserialized. A class can
|
||||
* be fully qualified or a wildcard '*' is allowed at the beginning or end of the
|
||||
* class name. Examples: {@code com.foo.*}, {@code *.MyClass}.
|
||||
* @param patterns the patterns.
|
||||
* @deprecated since 5.4 in favor of {@link #addAllowedPatterns(String...)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void addWhiteListPatterns(String... patterns) {
|
||||
this.deserializingConverter.addAllowedPatterns(patterns);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add patterns for packages/classes that are allowed to be deserialized. A class can
|
||||
* be fully qualified or a wildcard '*' is allowed at the beginning or end of the
|
||||
|
||||
Reference in New Issue
Block a user