viewgit/index.php:465 Only variables should be passed by reference [2048]

viewgit/index.php:466 Non-static method GeSHi::get_language_name_from_extension() should not be called statically [2048]

  1.  
  2. using System;
  3.  
  4. namespace Dizzy
  5. {
  6.  
  7. public class FileDownlad : FileTransfer
  8. {
  9.  
  10. File file;
  11. string downloadFolder;
  12.  
  13. public FileDownlad(File f,
  14. string user,
  15. string password,
  16. string downloadFolder) : base(user, password, f.name)
  17. {
  18. this.file = f;
  19. this.downloadFolder = downloadFolder;
  20. }
  21.  
  22. public override void Start ()
  23. {
  24. this.sftp.Download(this.file, this.downloadFolder);
  25. this.sftp.Disconnect ();
  26. }
  27. }
  28.  
  29. }