Fixed issue with supporting single augments.
This commit is contained in:
parent
cedc3f5a76
commit
b7c39ab0c7
@ -119,7 +119,7 @@ public class OptionData implements IXmlReader
|
||||
|
||||
public Options getOptions(int id)
|
||||
{
|
||||
if (_options.length > id)
|
||||
if ((id > -1) && (_options.length > id))
|
||||
{
|
||||
return _options[id];
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ public class OptionData implements IXmlReader
|
||||
|
||||
public Options getOptions(int id)
|
||||
{
|
||||
if (_options.length > id)
|
||||
if ((id > -1) && (_options.length > id))
|
||||
{
|
||||
return _options[id];
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ public class OptionData implements IXmlReader
|
||||
|
||||
public Options getOptions(int id)
|
||||
{
|
||||
if (_options.length > id)
|
||||
if ((id > -1) && (_options.length > id))
|
||||
{
|
||||
return _options[id];
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ public class OptionData implements IXmlReader
|
||||
|
||||
public Options getOptions(int id)
|
||||
{
|
||||
if (_options.length > id)
|
||||
if ((id > -1) && (_options.length > id))
|
||||
{
|
||||
return _options[id];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user