git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e8559
)
JAL-3026 comment in main test method in PDbFtsrestClient.java
author
hansonr
<hansonr@Geoff_Surface>
Thu, 5 Jul 2018 09:50:01 +0000
(10:50 +0100)
committer
hansonr
<hansonr@Geoff_Surface>
Thu, 5 Jul 2018 09:50:01 +0000
(10:50 +0100)
src/jalview/fts/service/pdb/PDBFTSRestClient.java
patch
|
blob
|
history
diff --git
a/src/jalview/fts/service/pdb/PDBFTSRestClient.java
b/src/jalview/fts/service/pdb/PDBFTSRestClient.java
index
d8ab7de
..
a5b441f
100644
(file)
--- 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
{