aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginObjectStore.java3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d5d3eed..3a421ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-03-31 Denis Lila <[email protected]>
+ * plugin/icedteanp/java/sun/applet/PluginObjectStore.java:
+ Add citation of Effective Java, 2nd edition.
+
+2011-03-31 Denis Lila <[email protected]>
+
* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
(store): Make private and remove fixme to make private.
* plugin/icedteanp/java/sun/applet/PluginObjectStore.java
diff --git a/plugin/icedteanp/java/sun/applet/PluginObjectStore.java b/plugin/icedteanp/java/sun/applet/PluginObjectStore.java
index 07a94e5..b06f7ad 100644
--- a/plugin/icedteanp/java/sun/applet/PluginObjectStore.java
+++ b/plugin/icedteanp/java/sun/applet/PluginObjectStore.java
@@ -40,7 +40,8 @@ package sun.applet;
import java.util.HashMap;
import java.util.Map;
-// Enums are the best way to implement singletons.
+// Enums are the best way to implement singletons:
+// Bloch, Joshua. Effective Java, 2nd Edition. Item 3, Chapter 2. ISBN: 0-321-35668-3.
enum PluginObjectStore {
INSTANCE;