4 Beiträge • Seite 1 von 1
If that is the case, then why template method i.e. "append()" of Abstract class in Log4J framework was not marked "final" by its designers.
- AppenderSkeleton - Log4J
- rsz_appenderskeleton__apache_log4j_1217_api_.png (78.59 KiB) 1362 mal betrachtet
append() in this case is not the template method, but the doAppend(), which is a concrete method (not abstract). This is ok. Let`s say that the template method is ALWAYS a concrete method. Final would be nice, but is optional.