~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit/NGit.Transport/URIish.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
659
659
                /// <returns>the URI, including its password field, if any.</returns>
660
660
                public virtual string ToPrivateString()
661
661
                {
662
 
                        return Format(true, false, false);
 
662
                        return Format(true, false);
663
663
                }
664
664
 
665
665
                public override string ToString()
666
666
                {
667
 
                        return Format(false, false, false);
 
667
                        return Format(false, false);
668
668
                }
669
669
 
670
 
                private string Format(bool includePassword, bool escape, bool escapeNonAscii)
 
670
                private string Format(bool includePassword, bool escapeNonAscii)
671
671
                {
672
672
                        StringBuilder r = new StringBuilder();
673
673
                        if (GetScheme() != null)
735
735
                /// <returns>the URI as an ASCII string. Password is not included.</returns>
736
736
                public virtual string ToASCIIString()
737
737
                {
738
 
                        return Format(false, true, true);
 
738
                        return Format(false, true);
739
739
                }
740
740
 
741
741
                /// <returns>
744
744
                /// </returns>
745
745
                public virtual string ToPrivateASCIIString()
746
746
                {
747
 
                        return Format(true, true, true);
 
747
                        return Format(true, true);
748
748
                }
749
749
 
750
750
                /// <summary>Get the "humanish" part of the path.</summary>