[Pixelle-commit] SF.net SVN: pixelle:[181] trunk/pixelle/src/com/mebigfatguy/pixelle/ FrameMgr.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-11-14 16:43:47
|
Revision: 181
http://pixelle.svn.sourceforge.net/pixelle/?rev=181&view=rev
Author: dbrosius
Date: 2008-11-14 16:43:44 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
use isEmpty
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java 2008-11-14 16:42:24 UTC (rev 180)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/FrameMgr.java 2008-11-14 16:43:44 UTC (rev 181)
@@ -57,7 +57,7 @@
*/
public void remove(JFrame frame) {
frames.remove(frame);
- if (frames.size() == 0)
+ if (frames.isEmpty())
System.exit(0);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|