From: hansonr Date: Thu, 5 Jul 2018 09:50:01 +0000 (+0100) Subject: JAL-3026 comment in main test method in PDbFtsrestClient.java X-Git-Tag: Release_2_11_4_0~45^2~18^2~574^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0ddbb5cb5c0ae3e53d344c624c717d5ca3085d5f;p=jalview.git JAL-3026 comment in main test method in PDbFtsrestClient.java --- diff --git a/src/jalview/fts/service/pdb/PDBFTSRestClient.java b/src/jalview/fts/service/pdb/PDBFTSRestClient.java index d8ab7de..a5b441f 100644 --- a/src/jalview/fts/service/pdb/PDBFTSRestClient.java +++ b/src/jalview/fts/service/pdb/PDBFTSRestClient.java @@ -480,16 +480,19 @@ public class PDBFTSRestClient extends FTSRestClient public static void main(String[] args) { + + // check for transpiler fix associated with JSONParser yylex.java use of charAt() + // instead of codePointAt() String s = "e"; - - char c = 'c'; char f = 'f'; s += c | f; int x = c&f; int y = 2 & c; int z = c ^ 5; + String result = s +x + y + z; + assert (result == "e103982102"); JSONParser jsonParser = new JSONParser(); try {