From 562266677e6e3c10733af80fd8c48f53ac798294 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Mon, 29 Jul 2024 16:58:59 +0200 Subject: [PATCH] javadoc Signed-off-by: Fabio Di Fabio --- plugin-api/build.gradle | 2 +- .../hyperledger/besu/plugin/services/rpc/RpcResponse.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/plugin-api/build.gradle b/plugin-api/build.gradle index 756944cab70..5d5459de1ee 100644 --- a/plugin-api/build.gradle +++ b/plugin-api/build.gradle @@ -70,7 +70,7 @@ Calculated : ${currentHash} tasks.register('checkAPIChanges', FileStateChecker) { description = "Checks that the API for the Plugin-API project does not change without deliberate thought" files = sourceSets.main.allJava.files - knownHash = '1qw0rZFxhGiGEqxunsfp00XNIK+jUWUCqlEFSVaUXc8=' + knownHash = 'ycZ8d+jgooJiJDc5mwpNqk0+mx79IG5QO4GVDtgIbeY=' } check.dependsOn('checkAPIChanges') diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/rpc/RpcResponse.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/rpc/RpcResponse.java index 58e1aa3d78f..500ad594102 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/rpc/RpcResponse.java +++ b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/rpc/RpcResponse.java @@ -14,7 +14,13 @@ */ package org.hyperledger.besu.plugin.services.rpc; +/** Represent a Json RPC response */ public interface RpcResponse { + /** + * Get the response type + * + * @return the response type + */ RpcResponseType getType(); }