Advertisement
CaptainLepidus

Renaming Error

Nov 26th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.71 KB | None | 0 0
  1. ///Background
  2. /*BlockDestroy is a class in the same package as DataManager. I recently moved it out of an anonymous inner class and into it's own class, and renamed it (using Netbeans's Refactor) from blockDestroy to BlockDestroy. Now, when I compile, a certain line of code is throwing errors. I suspect that something went wrong when renaming the class.*/
  3.  
  4. ///The Code
  5. public List<BlockDestroy> blocksDestroy = new ArrayList<BlockDestroy>();
  6.  
  7. ///And the error message
  8. location: class DataManager
  9. C:\Users\Captain\Downloads\plugin-MystCraft-1.0\src\main\java\me\captainlepidus\plugins\mystcraft\DataManager.java:55: error: cannot find symbol
  10. public List<BlockDestroy> blocksDestroy = new ArrayList<BlockDestroy>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement