From db72ff0c2688259aa789c680dfce78c660561820 Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 13 Nov 2023 16:11:29 +0000 Subject: [PATCH] JAL-4090 fix JAL-4236 - just put the name of the class in rather than look it up in a fancy way --- src/jalview/fts/service/uniprot/UniProtFTSRestClient.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 { -- 1.7.10.2