Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiyue1102 committed Dec 18, 2024
1 parent 2838496 commit 4895e94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public Result<ConfigHistoryInfo> getConfigHistoryInfo(@RequestParam("dataId") St
* @param nid history_config_info nid
* @param dataId dataId @since 2.0.3
* @param group groupId @since 2.0.3
* @param tenant tenantId @since 2.0.3
* @param namespaceId namespaceId @since 2.0.3
* @return history config info
* @since 2.0.3 add {@link Secured}, dataId, groupId and tenant for history config permission check.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ public ConfigHistoryInfoDetail getConfigHistoryInfoDetail(String dataId, String
configHistoryInfoDetail.setOriginalExtInfo(StringUtils.EMPTY);
configHistoryInfoDetail.setOriginalContent(StringUtils.EMPTY);
configHistoryInfoDetail.setOriginalMd5(StringUtils.EMPTY);
configHistoryInfoDetail.setOriginalEncryptedDataKey(StringUtils.EMPTY);
}

//update
Expand Down Expand Up @@ -185,6 +186,7 @@ public ConfigHistoryInfoDetail getConfigHistoryInfoDetail(String dataId, String
configHistoryInfoDetail.setUpdatedContent(currentConfigInfo.getContent());
configHistoryInfoDetail.setUpdatedMd5(currentConfigInfo.getMd5());
configHistoryInfoDetail.setUpdatedEncryptedDataKey(currentConfigInfo.getEncryptedDataKey());

}
}

Expand Down

0 comments on commit 4895e94

Please sign in to comment.