Skip to content

Commit

Permalink
UP-3823 - Cleaned up the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timlevett committed Oct 3, 2013
1 parent b5e5c94 commit 7b88946
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ public class JavaManagementServerListener implements ServletContextListener {
/**
* Inits and/or returns already initialized logger. <br>
* You have to use this method in order to use the logger,<br>
* you should not call the private variable directly<br>
* This was done because tomcat can run initialize on listeners in parallel <br>
* and some logging configurations rely on other listeners.
* you should not call the private variable directly.<br>
* This was done because Tomcat may instantiate all listeners before calling contextInitialized on any listener.<br>
* Note that there is no synchronization here on purpose. The object returned by getLog for a logger name is<br>
* idempotent and getLog itself is thread safe. Eventually all <br>
* threads will see an instance level logger variable and calls to getLog will stop.
* @return the log for this class
*/
protected Log getLogger() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ public class UserGroupSkinMappingTransformerConfigurationSource extends SkinMapp
/**
* Inits and/or returns already initialized logger. <br>
* You have to use this method in order to use the logger,<br>
* you should not call the private variable directly<br>
* This was done because tomcat can run initialize on listeners in parallel <br>
* and some logging configurations rely on other listeners.
* you should not call the private variable directly.<br>
* This was done because Tomcat may instantiate all listeners before calling contextInitialized on any listener.<br>
* Note that there is no synchronization here on purpose. The object returned by getLog for a logger name is<br>
* idempotent and getLog itself is thread safe. Eventually all <br>
* threads will see an instance level logger variable and calls to getLog will stop.
* @return the log for this class
*/
protected Logger getLogger() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ public class PortalApplicationContextLocator implements ServletContextListener {
/**
* Inits and/or returns already initialized logger. <br>
* You have to use this method in order to use the logger,<br>
* you should not call the private variable directly<br>
* This was done because tomcat can run initialize on listeners in parallel <br>
* and some logging configurations rely on other listeners.
* you should not call the private variable directly.<br>
* This was done because Tomcat may instantiate all listeners before calling contextInitialized on any listener.<br>
* Note that there is no synchronization here on purpose. The object returned by getLog for a logger name is<br>
* idempotent and getLog itself is thread safe. Eventually all <br>
* threads will see an instance level logger variable and calls to getLog will stop.
* @return the log for this class
*/
protected static Log getLogger() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ public abstract class DoubleCheckedCreator<T> {
/**
* Inits and/or returns already initialized logger. <br>
* You have to use this method in order to use the logger,<br>
* you should not call the private variable directly<br>
* This was done because tomcat can run initialize on listeners in parallel <br>
* and some logging configurations rely on other listeners.
* you should not call the private variable directly.<br>
* This was done because Tomcat may instantiate all listeners before calling contextInitialized on any listener.<br>
* Note that there is no synchronization here on purpose. The object returned by getLog for a logger name is<br>
* idempotent and getLog itself is thread safe. Eventually all <br>
* threads will see an instance level logger variable and calls to getLog will stop.
* @return the log for this class
*/
protected Log getLogger() {
Expand Down

0 comments on commit 7b88946

Please sign in to comment.