Skip to content

Commit

Permalink
Correct comment for OpenmrsClassloader#loadClass
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored May 12, 2020
1 parent a89743b commit 52598a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/main/java/org/openmrs/util/OpenmrsClassLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public static OpenmrsClassLoader getInstance() {
}

/**
* It loads classes from the web container class loader first (parent class loader) and then
* tries module class loaders.
* It attempts to load classes from the module class loaders first and then
* tries the web container class loader (parent class loader).
*
* @see java.lang.ClassLoader#loadClass(java.lang.String, boolean)
* <strong>Should</strong> load class from cache second time
Expand Down

0 comments on commit 52598a4

Please sign in to comment.