Repository: logging-log4j2
Updated Branches:
  refs/heads/master 0c0e52ebd -> 431df2913


Add @since 2.1 to relevant methods.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/58535835
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/58535835
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/58535835

Branch: refs/heads/master
Commit: 5853583500a82be06fdb11c252d51a8eff1c3b3b
Parents: 0c0e52e
Author: Matt Sicker <[email protected]>
Authored: Mon Sep 29 17:04:58 2014 -0500
Committer: Matt Sicker <[email protected]>
Committed: Mon Sep 29 17:04:58 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/logging/log4j/util/LoaderUtil.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/58535835/log4j-api/src/main/java/org/apache/logging/log4j/util/LoaderUtil.java
----------------------------------------------------------------------
diff --git 
a/log4j-api/src/main/java/org/apache/logging/log4j/util/LoaderUtil.java 
b/log4j-api/src/main/java/org/apache/logging/log4j/util/LoaderUtil.java
index 9ff24d4..7c3c7e7 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/util/LoaderUtil.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/LoaderUtil.java
@@ -95,6 +95,7 @@ public final class LoaderUtil {
      * @param className The class name.
      * @return the Class for the given name.
      * @throws ClassNotFoundException if the specified class name could not be 
found
+     * @since 2.1
      */
     public static Class<?> loadClass(final String className) throws 
ClassNotFoundException {
         if (isIgnoreTccl()) {
@@ -117,6 +118,7 @@ public final class LoaderUtil {
      * @throws InstantiationException    if there was an exception whilst 
instantiating the class
      * @throws NoSuchMethodException     if there isn't a no-args constructor 
on the class
      * @throws InvocationTargetException if there was an exception whilst 
constructing the class
+     * @since 2.1
      */
     public static Object newInstanceOf(final String className)
         throws ClassNotFoundException, IllegalAccessException, 
InstantiationException, NoSuchMethodException,
@@ -143,6 +145,7 @@ public final class LoaderUtil {
      * @throws NoSuchMethodException if there isn't a no-args constructor on 
the class
      * @throws InvocationTargetException if there was an exception whilst 
constructing the class
      * @throws ClassCastException if the constructed object isn't type 
compatible with {@code T}
+     * @since 2.1
      */
     public static <T> T newCheckedInstanceOf(final String className, final 
Class<T> clazz)
         throws ClassNotFoundException, NoSuchMethodException, 
InvocationTargetException, InstantiationException,

Reply via email to