I have an event that when called, it goes through a while loop to check if all the items in an array fit my plugin. If in the while loop, it finds one that makes the plugin moot, it writes false to a boolean variable called at the beginning of the event as: Code: boolean right = new Boolean(true); The thing is, when the event finishes, I don't know if it releases the variable. Does it? How should I call it if it doesn't? Should I release it at the end of my event somehow? I've had experience writing programs before, but not a lot in Java, so I'm not sure how this would work.