mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
cosmetics
This commit is contained in:
@@ -134,7 +134,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((value == null) || (value != null && value == string.Empty))
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
m_creatorData = string.Empty;
|
||||
return;
|
||||
|
||||
@@ -358,7 +358,7 @@ namespace OSHttpServer.Parser
|
||||
{
|
||||
if (ch == '\r' || ch == '\n')
|
||||
{
|
||||
if (m_curHeaderName == string.Empty)
|
||||
if (m_curHeaderName.Length == 0)
|
||||
throw new BadRequestException("Missing header on line " + currentLine);
|
||||
|
||||
if (currentPos - startPos > 8190)
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((value == null) || (value != null && value == string.Empty))
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
_creatorData = string.Empty;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user