J
John B. Matthews
Recently, the Java example in the Wikipedia article entitled "Adapter
Pattern" [1] was modified to use the keyword "final" in a way that may
be considered superfluous [2]. The revision also incorrectly used the
for-each loop. The example is reasonable, but it differs considerably
from one recently proposed [3]. I've edited the article, but I'd be
grateful for any review or corrections.
[1]<http://en.wikipedia.org/wiki/Adapter_pattern>
[2]<http://stackoverflow.com/questions/500517>
[3]<http://groups.google.com/group/comp.lang.java.programmer/browse_frm/thread/898c30260012fba3>
Pattern" [1] was modified to use the keyword "final" in a way that may
be considered superfluous [2]. The revision also incorrectly used the
for-each loop. The example is reasonable, but it differs considerably
from one recently proposed [3]. I've edited the article, but I'd be
grateful for any review or corrections.
[1]<http://en.wikipedia.org/wiki/Adapter_pattern>
[2]<http://stackoverflow.com/questions/500517>
[3]<http://groups.google.com/group/comp.lang.java.programmer/browse_frm/thread/898c30260012fba3>