chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Ferin <rfe...@us.ibm.com>
Subject Minor Exception Typo in DotCMIS 0.5
Date Wed, 27 Mar 2013 10:45:50 GMT
Hello,

I am not sure of the proper way to report this, but there is a minor cut 
and paste error in data-impl.cs in the DotCMIS source 0.5.

case PropertyType.Integer:
      if (!(value is sbyte || value is byte || value is short || value is 
ushort || value is int || value is uint || value is long))
      {
         throw new ArgumentException("Property '" + Id + "' is an Id 
property!");
       }
    break;

It should have the following line:

 throw new ArgumentException("Property '" + Id + "' is an Integer 
property!");

Thanks,
Robert
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message