From 5b2e1e3e5b1106c6661cb02c966e67c51f3c90d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E7=AB=A0=E6=B4=AA?= Date: Fri, 28 Aug 2026 19:11:24 +0800 Subject: [PATCH] fix(java): repair broken javadoc @link to disabled getRatings The ratings-disable change (#562) commented out FundamentalContext.getRatings but left StockRatings' class javadoc referencing it via {@link FundamentalContext#getRatings}. javadoc's doclint treats the now-unresolvable reference as an error, breaking the check-java-sdk CI on main. Replace the broken @link with plain text noting the endpoint is temporarily disabled. Verified: mvn javadoc:javadoc now BUILD SUCCESS. --- .../java/com/longbridge/fundamental/StockRatings.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/java/javasrc/src/main/java/com/longbridge/fundamental/StockRatings.java b/java/javasrc/src/main/java/com/longbridge/fundamental/StockRatings.java index dbffa4e42..5bbe15e69 100644 --- a/java/javasrc/src/main/java/com/longbridge/fundamental/StockRatings.java +++ b/java/javasrc/src/main/java/com/longbridge/fundamental/StockRatings.java @@ -1,6 +1,12 @@ package com.longbridge.fundamental; -/** Response for {@link FundamentalContext#getRatings}. */ +/** + * Response for the stock ratings endpoint ({@code getRatings}). + * + *

Note: {@code FundamentalContext.getRatings} is temporarily disabled + * (endpoint not yet open — {@code /v1/quote/ratings}), so this type is not + * currently returned by any method. It is kept for when the endpoint reopens. + */ public class StockRatings { /** Style display name */ public String styleTxtName;