* Spring cleaning, round 3029

This commit is contained in:
Adam Frisby
2008-05-08 05:09:35 +00:00
parent 92c03978e1
commit 8a48516bcf
36 changed files with 5 additions and 3489 deletions

View File

@@ -26,6 +26,7 @@
*/
using System;
using System.Net;
using log4net.Config;
using Nini.Config;
using OpenSim.Framework;
@@ -137,7 +138,7 @@ namespace OpenSim
// System.Web.HttpUtility.UrlEncode(msg));
//wc.Dispose();
}
catch (Exception)
catch (WebException)
{
// Ignore
}

View File

@@ -351,7 +351,7 @@ namespace OpenSim
{
// Set BuildVersion String for Show version command
string svnFileName = "../.svn/entries";
string inputLine = null;
string inputLine;
int strcmp;
if (File.Exists(svnFileName))
@@ -375,7 +375,7 @@ namespace OpenSim
EntriesFile.Close();
}
if ((buildVersion != null) && (buildVersion.Length > 0))
if (!string.IsNullOrEmpty(buildVersion))
{
m_log.Info("[STARTUP]: OpenSim version: " + VersionInfo.Version + ", SVN build r" + buildVersion + "\n");
}

View File

@@ -643,7 +643,7 @@ namespace OpenSim
break;
case "version":
if ((buildVersion != null) && (buildVersion.Length > 0))
if (!string.IsNullOrEmpty(buildVersion))
{
m_console.Notice("The build version is: r" + buildVersion);
}