Generalize Feature Layer sample missing some code?

Discussion created by bgfield on Jan 15, 2013
I was looking at the Generalize sample and it looks like it's missing some code.  It mentions using setMaxAllowableOffset to generalize features; however, the code itself doesn't actually use setMaxAllowableOffset anywhere!  It has a couple of code snippets in the description, and from those I think I can figure out how it works, but it would be a lot more helpful to see it in the actual code to be sure I'm doing it right.