From: James Procter Date: Mon, 13 Nov 2023 16:11:29 +0000 (+0000) Subject: JAL-4090 fix JAL-4236 - just put the name of the class in rather than look it up... X-Git-Tag: Release_2_11_4_0~90 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=db72ff0c2688259aa789c680dfce78c660561820;p=jalview.git JAL-4090 fix JAL-4236 - just put the name of the class in rather than look it up in a fancy way --- diff --git a/src/jalview/fts/service/uniprot/UniProtFTSRestClient.java b/src/jalview/fts/service/uniprot/UniProtFTSRestClient.java index df48c0d..980dac6 100644 --- a/src/jalview/fts/service/uniprot/UniProtFTSRestClient.java +++ b/src/jalview/fts/service/uniprot/UniProtFTSRestClient.java @@ -21,7 +21,6 @@ package jalview.fts.service.uniprot; -import java.lang.invoke.MethodHandles; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; @@ -80,7 +79,7 @@ public class UniProtFTSRestClient extends FTSRestClient private static final String USER_AGENT = ChannelProperties .getProperty("app_name", "Jalview") + " " + Cache.getDefault("VERSION", "Unknown") + " " - + MethodHandles.lookup().lookupClass() + " help@jalview.org"; + + UniProtFTSRestClient.class.toString() + " help@jalview.org"; static {