Easy returns
This commit is contained in:
@@ -33,13 +33,7 @@ namespace LitJson
|
||||
|
||||
|
||||
public Type ElementType {
|
||||
get {
|
||||
if (element_type == null)
|
||||
return typeof (JsonData);
|
||||
|
||||
return element_type;
|
||||
}
|
||||
|
||||
get { return element_type ?? typeof (JsonData); }
|
||||
set { element_type = value; }
|
||||
}
|
||||
|
||||
@@ -55,13 +49,7 @@ namespace LitJson
|
||||
|
||||
|
||||
public Type ElementType {
|
||||
get {
|
||||
if (element_type == null)
|
||||
return typeof (JsonData);
|
||||
|
||||
return element_type;
|
||||
}
|
||||
|
||||
get { return element_type ?? typeof (JsonData); }
|
||||
set { element_type = value; }
|
||||
}
|
||||
|
||||
|
||||
@@ -412,10 +412,7 @@ namespace LitJson
|
||||
throw new JsonException (
|
||||
"Input doesn't evaluate to proper JSON text");
|
||||
|
||||
if (parser_return)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return parser_return;
|
||||
}
|
||||
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user