[Japi-cvs] SF.net SVN: japi:[1345] libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/ Document.jav
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-06-14 09:28:06
|
Revision: 1345
http://japi.svn.sourceforge.net/japi/?rev=1345&view=rev
Author: christianhujer
Date: 2009-06-14 09:28:05 +0000 (Sun, 14 Jun 2009)
Log Message:
-----------
getTitle() must be synchronized.
Modified Paths:
--------------
libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java
Modified: libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java
===================================================================
--- libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java 2009-06-14 09:27:41 UTC (rev 1344)
+++ libs/swing-app/trunk/src/prj/net/sf/japi/swing/app/Document.java 2009-06-14 09:28:05 UTC (rev 1345)
@@ -240,7 +240,7 @@
/** Returns the title of this document.
* @return The title of this document.
*/
- @Nullable public final String getTitle() {
+ @Nullable public final synchronized String getTitle() {
return title;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|