MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / diffString

Method diffString

java/com/jcraft/jsch/Util.java:471–485  ·  view source on GitHub ↗
(String str, String[] not_available)

Source from the content-addressed store, hash-verified

469 }
470
471 static String diffString(String str, String[] not_available){
472 String[] stra=Util.split(str, ",");
473 String result=null;
474 loop:
475 for(int i=0; i<stra.length; i++){
476 for(int j=0; j<not_available.length; j++){
477 if(stra[i].equals(not_available[j])){
478 continue loop;
479 }
480 }
481 if(result==null){ result=stra[i]; }
482 else{ result=result+","+stra[i]; }
483 }
484 return result;
485 }
486
487 static String checkTilde(String str){
488 try{

Callers 1

send_kexinitMethod · 0.95

Calls 2

splitMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected