2
我正在編寫SVN代碼,此方法已棄用,但我看到api文檔,對我沒有任何推薦,是否有更好的api可供使用?SVNWCUtil.createDefaultAuthenticationManager已棄用
SVNWCUtil.createDefaultAuthenticationManager已被棄用
我正在編寫SVN代碼,此方法已棄用,但我看到api文檔,對我沒有任何推薦,是否有更好的api可供使用?SVNWCUtil.createDefaultAuthenticationManager已棄用
SVNWCUtil.createDefaultAuthenticationManager已被棄用
我有同樣的問題,但我看着該項目的源代碼,我發現,有一個接受密碼作爲char []另一種方法。
然後你可以使用:
authMgr = SVNWCUtil.createDefaultAuthenticationManager(name, password.toCharArray());
也SVNURL.parseURIDecoded被depracated .... –