Off-by-one error

Change-Id: I2abd81782baf421ff4e70b158709dbe6da5e14e3
This commit is contained in:
Stephan Bergmann
2013-04-02 17:47:54 +02:00
parent 1416669670
commit fee628c874

View File

@@ -591,7 +591,7 @@ rtl::Reference< Entity > readEntity(
if ((mode & RT_PARAM_REST) != 0 if ((mode & RT_PARAM_REST) != 0
&& !(m == 1 && !(m == 1
&& ((reader.getMethodParameterTypeName( && ((reader.getMethodParameterTypeName(
j, 1)) j, 0))
== "any"))) == "any")))
{ {
throw FileFormatException( throw FileFormatException(