Skip to content

Commit

Permalink
Remove useless code on ExportableConstants (#33586)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Nov 7, 2024
1 parent ce2d1cb commit e0a691f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ private static ReadwriteSplittingRule mockRule() {
}

private static Map<String, Object> createExportedData() {
Map<String, Object> result = new HashMap<>(2, 1F);
result.put(ExportableConstants.EXPORT_DYNAMIC_READWRITE_SPLITTING_RULE, Collections.emptyMap());
Map<String, Object> result = new HashMap<>();
result.put(ExportableConstants.EXPORT_STATIC_READWRITE_SPLITTING_RULE, Collections.emptyMap());
return result;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ public final class ExportableConstants {

public static final String EXPORT_SINGLE_TABLES = "single_tables";

public static final String EXPORT_DYNAMIC_READWRITE_SPLITTING_RULE = "dynamic_readwrite_splitting_rules";

public static final String EXPORT_STATIC_READWRITE_SPLITTING_RULE = "static_readwrite_splitting_rules";
}

0 comments on commit e0a691f

Please sign in to comment.