From 4b1d754f09c3ed07ceac02f2ca15c5aec1d0a6ea Mon Sep 17 00:00:00 2001 From: kiramt Date: Fri, 4 Nov 2016 13:26:13 +0000 Subject: [PATCH] JAL-2282 Remove Cache dependency from applet --- src/jalview/appletgui/APopupMenu.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/appletgui/APopupMenu.java b/src/jalview/appletgui/APopupMenu.java index 1ff0ac1..45e39cc 100644 --- a/src/jalview/appletgui/APopupMenu.java +++ b/src/jalview/appletgui/APopupMenu.java @@ -24,7 +24,6 @@ import jalview.analysis.AAFrequency; import jalview.analysis.AlignmentAnnotationUtils; import jalview.analysis.AlignmentUtils; import jalview.analysis.Conservation; -import jalview.bin.Cache; import jalview.commands.ChangeCaseCommand; import jalview.commands.EditCommand; import jalview.commands.EditCommand.Action; @@ -320,13 +319,14 @@ public class APopupMenu extends java.awt.PopupMenu implements urlLink = new UrlLink(link); } catch (Exception foo) { - Cache.log.error("Exception for URLLink '" + link + "'", foo); + System.err.println("Exception for URLLink '" + link + "': " + + foo.getMessage()); continue; } if (!urlLink.isValid()) { - Cache.log.error(urlLink.getInvalidMessage()); + System.err.println(urlLink.getInvalidMessage()); continue; } -- 1.7.10.2