JS1217: Static methods cannot be final

A method has both static and final modifiers. This is not allowed since static methods are already final. Static methods are associated with the class itself, and therefore cannot be overridden.

To correct this error

  • Remove either the static or final modifier from the method declaration.

See Also

Concepts

Troubleshooting Your Scripts

JScript Modifiers

Other Resources

JScript Reference