Fix JavaDoc formatting inconsistencies in CfBasicHttpClient, CfDnsClient, and ZoneOperations to improve readability and maintain standard alignment.
This commit is contained in:
@@ -142,10 +142,10 @@ abstract class CfBasicHttpClient {
|
||||
/**
|
||||
* Sends a PATCH request with a payload to the given endpoint and maps the response.
|
||||
*
|
||||
* @param endpoint the API endpoint path
|
||||
* @param requestPayload the payload to send
|
||||
* @param responseType the expected response type class
|
||||
* @param <T> the response type extending AbstractResponse
|
||||
* @param endpoint the API endpoint path
|
||||
* @param requestPayload the payload to send
|
||||
* @param responseType the expected response type class
|
||||
* @param <T> the response type extending AbstractResponse
|
||||
* @return the parsed response object
|
||||
* @throws CloudflareApiException if an error occurs during the request
|
||||
*/
|
||||
|
||||
@@ -118,7 +118,7 @@ public class CfDnsClient extends CfBasicHttpClient {
|
||||
*
|
||||
* @param records A list of {@link RecordEntity} objects to be grouped by FQDN.
|
||||
* @return A map where the key is the FQDN (name field) and the value is a list of {@link RecordEntity}
|
||||
* objects that share that FQDN.
|
||||
* objects that share that FQDN.
|
||||
*/
|
||||
public static Map<String, List<RecordEntity>> groupRecordsByFqdn(List<RecordEntity> records) {
|
||||
if (records == null) {
|
||||
|
||||
@@ -28,6 +28,7 @@ public interface ZoneOperations {
|
||||
* @throws CloudflareApiException if the zone cannot be found or accessed
|
||||
*/
|
||||
RecordOperations record(String sld, @Nullable RecordType... types) throws CloudflareApiException;
|
||||
|
||||
/**
|
||||
* Lists all DNS records within the zone, optionally filtered by types.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user