Skip to content

Commit

Permalink
[INLONG-9503][Manager] Unified Hashmap Dependency Package (#9504)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuweng11 authored Dec 21, 2023
1 parent fa98c14 commit d79e86a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
import org.apache.inlong.manager.service.ServiceBaseTest;
import org.apache.inlong.manager.service.core.impl.InlongStreamServiceTest;

import com.google.common.collect.Maps;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.HashMap;
import java.util.Map;

/**
Expand All @@ -55,7 +55,7 @@ public Integer saveSource() {
sourceInfo.setSourceName(sourceName);
sourceInfo.setSourceType(SourceType.MYSQL_BINLOG);
sourceInfo.setHostname("127.0.0.1");
Map<String, Object> properties = Maps.newLinkedHashMap();
Map<String, Object> properties = new HashMap<>();
properties.put("append-mode", "true");
sourceInfo.setProperties(properties);
return sourceService.save(sourceInfo, GLOBAL_OPERATOR);
Expand Down

0 comments on commit d79e86a

Please sign in to comment.