wasDAVClient – Diff between revs 3 and 5

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 3 Rev 5
Line -... Line 1...
-   1 ///////////////////////////////////////////////////////////////////////////
-   2 // Copyright (C) Wizardry and Steamworks 2016 - License: GNU GPLv3 //
-   3 // Please see: http://www.gnu.org/licenses/gpl.html for legal details, //
-   4 // rights of fair usage, the disclaimer and warranty conditions. //
-   5 ///////////////////////////////////////////////////////////////////////////
-   6 // Originally based on: WebDAV .NET client by Sergey Kazantsev
-   7  
1 using System; 8 using System;
2 using System.Collections.Generic; 9 using System.Collections.Generic;
3 using System.IO; 10 using System.IO;
4 using System.Linq; 11 using System.Linq;
5 using System.Net; 12 using System.Net;
6 using System.Xml; 13 using System.Xml;
Line 135... Line 142...
135 break; 142 break;
136 case "checked-in": 143 case "checked-in":
137 case "version-controlled-configuration": 144 case "version-controlled-configuration":
138 reader.Skip(); 145 reader.Skip();
139 break; 146 break;
140 default: -  
141 { -  
142 var a = 0; -  
143 break; -  
144 } -  
145 } 147 }
146 } 148 }
147 else if (reader.NodeType == XmlNodeType.EndElement && reader.LocalName.ToLower() == "response") 149 else if (reader.NodeType == XmlNodeType.EndElement && reader.LocalName.ToLower() == "response")
148 { 150 {
149 // Remove trailing / if the item is not a collection 151 // Remove trailing / if the item is not a collection