Polish contribution feb46fd3f7
* Update year in license header * Use "this" keyword where appropriate
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2019 the original author or authors.
|
||||
* Copyright 2019-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2019 the original author or authors.
|
||||
* Copyright 2019-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -111,9 +111,9 @@ public class KafkaItemWriterTests {
|
||||
this.kafkaTemplate.sendDefault(key, value);
|
||||
}
|
||||
};
|
||||
kafkaItemWriter.setKafkaTemplate(kafkaTemplate);
|
||||
kafkaItemWriter.setKafkaTemplate(this.kafkaTemplate);
|
||||
kafkaItemWriter.writeKeyValue("k", "v");
|
||||
verify(kafkaTemplate).sendDefault("k", "v");
|
||||
verify(this.kafkaTemplate).sendDefault("k", "v");
|
||||
}
|
||||
|
||||
static class KafkaItemKeyMapper implements Converter<String, String> {
|
||||
|
||||
Reference in New Issue
Block a user