Solved Override Question

Discussion in 'Plugin Development' started by moe097, Aug 5, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    moe097

    So, in my code I know that the onEnable() method can have the "@Override" Annotation.
    I know it's not a requirement, but is it good practice to add it?
    Thanks!
     
  2. Offline

    Dragonphase

    moe097

    It isn't needed but it is good practice to take advantage of it. If you incorrectly spell the method name when you're trying to override a method, it will let you know.
     
  3. Offline

    Drew1080

  4. Offline

    moe097

Thread Status:
Not open for further replies.

Share This Page