From 4f975da3a88b9ed4661519216396ab8eb7872d75 Mon Sep 17 00:00:00 2001 From: Denis Lila Date: Thu, 31 Mar 2011 17:07:10 -0400 Subject: Add citation. --- ChangeLog | 5 +++++ plugin/icedteanp/java/sun/applet/PluginObjectStore.java | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d5d3eed..3a421ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-31 Denis Lila + + * plugin/icedteanp/java/sun/applet/PluginObjectStore.java: + Add citation of Effective Java, 2nd edition. + 2011-03-31 Denis Lila * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.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; -- cgit v1.2.3