From: Jim Procter Date: Thu, 4 Aug 2016 19:53:40 +0000 (+0100) Subject: JAL-2046 stack trace for implementation warning X-Git-Tag: Release_2_10_0~47^2~4^2~43^2~62 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=134291d04042b3d7252598a9f73753f40da08a18;p=jalview.git JAL-2046 stack trace for implementation warning --- diff --git a/src/jalview/datamodel/Sequence.java b/src/jalview/datamodel/Sequence.java index a857712..88f4308 100755 --- a/src/jalview/datamodel/Sequence.java +++ b/src/jalview/datamodel/Sequence.java @@ -307,8 +307,9 @@ public class Sequence extends ASequence implements SequenceI && datasetSequence.getSequenceFeatures() != null && datasetSequence.getSequenceFeatures().length > 0) { - System.err - .println("Warning: JAL-2046 side effect ? Possible implementation error: overwriting dataset sequence features by setting sequence features on alignment"); + new Exception( + "Warning: JAL-2046 side effect ? Possible implementation error: overwriting dataset sequence features by setting sequence features on alignment") + .printStackTrace(); } datasetSequence.setSequenceFeatures(features); }