mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
= cold cleanup
* using lambda if possible (we are already building in Java8) * using diamond when new generic instance * remove used improt
This commit is contained in:
@@ -30,7 +30,7 @@ public class LogHeaderTest {
|
||||
final LogHeader objectUnderTest = new LogHeader(type);
|
||||
|
||||
// Assert side effects
|
||||
final HashMap<String, String> hashMap = new HashMap<String, String>();
|
||||
final HashMap<String, String> hashMap = new HashMap<>();
|
||||
Assert.assertEquals(hashMap, objectUnderTest.gtidMap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user