code bug: NPOI 2.0.6 NPOI/SS/Usermodel/Sheet.cs

Mar 12, 2014 at 6:48 PM
I was going through some of the NPOI 2.0.6 code, and spotted the if statement below with a SemiColon (;) at the end of line... this looks like an error, please confirm:

/SS/Usermodel/Sheet.cs
/**
    * Checks wheter specific LatentStyleID is a latentStyle
*/
public bool IsLatentStyle(String latentStyleID)
{
    foreach (CT_LsdException lsd in latentStyles.lsdException )
    {
        if (lsd.name.Equals(latentStyleID)) ;
        return true;
    }
    return false;
}
Coordinator
Mar 13, 2014 at 7:49 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.