修改严重问题

This commit is contained in:
zhoudaxia 2016-09-01 22:12:06 +08:00
parent cf4255bf7f
commit 18653a1fe4
2 changed files with 1 additions and 4 deletions

View File

@ -58,9 +58,7 @@ public abstract class _RobotBase implements IBasicRobot, Runnable {
* Called by the system to 'clean up' after your robot.
* You may not override this method.
*/
@Override
protected final void finalize() throws Throwable { // This method must be final so it cannot be overridden!
super.finalize();
}
/**

View File

@ -115,7 +115,6 @@ public class RobocodeEngine implements IRobocodeEngine {
/**
* {@inheritDoc}
*/
@Override
protected void finalize() throws Throwable {
try {
// Make sure close() is called to prevent memory leaks