Skip to content

Commit 89a2f3b

Browse files
committed
fix comments in ClassLoaderWrapper.java
1 parent 7fec211 commit 89a2f3b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main/java/org/apache/ibatis/io/ClassLoaderWrapper.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ClassLoaderWrapper {
3636
}
3737
}
3838

39-
/*
39+
/**
4040
* Get a resource as a URL using the current class path
4141
*
4242
* @param resource - the resource to locate
@@ -46,7 +46,7 @@ public URL getResourceAsURL(String resource) {
4646
return getResourceAsURL(resource, getClassLoaders(null));
4747
}
4848

49-
/*
49+
/**
5050
* Get a resource from the classpath, starting with a specific class loader
5151
*
5252
* @param resource - the resource to find
@@ -57,7 +57,7 @@ public URL getResourceAsURL(String resource, ClassLoader classLoader) {
5757
return getResourceAsURL(resource, getClassLoaders(classLoader));
5858
}
5959

60-
/*
60+
/**
6161
* Get a resource from the classpath
6262
*
6363
* @param resource - the resource to find
@@ -67,7 +67,7 @@ public InputStream getResourceAsStream(String resource) {
6767
return getResourceAsStream(resource, getClassLoaders(null));
6868
}
6969

70-
/*
70+
/**
7171
* Get a resource from the classpath, starting with a specific class loader
7272
*
7373
* @param resource - the resource to find
@@ -78,7 +78,7 @@ public InputStream getResourceAsStream(String resource, ClassLoader classLoader)
7878
return getResourceAsStream(resource, getClassLoaders(classLoader));
7979
}
8080

81-
/*
81+
/**
8282
* Find a class on the classpath (or die trying)
8383
*
8484
* @param name - the class to look for
@@ -89,7 +89,7 @@ public Class<?> classForName(String name) throws ClassNotFoundException {
8989
return classForName(name, getClassLoaders(null));
9090
}
9191

92-
/*
92+
/**
9393
* Find a class on the classpath, starting with a specific classloader (or die trying)
9494
*
9595
* @param name - the class to look for
@@ -101,7 +101,7 @@ public Class<?> classForName(String name, ClassLoader classLoader) throws ClassN
101101
return classForName(name, getClassLoaders(classLoader));
102102
}
103103

104-
/*
104+
/**
105105
* Try to get a resource from a group of classloaders
106106
*
107107
* @param resource - the resource to get
@@ -128,7 +128,7 @@ InputStream getResourceAsStream(String resource, ClassLoader[] classLoader) {
128128
return null;
129129
}
130130

131-
/*
131+
/**
132132
* Get a resource as a URL using the current class path
133133
*
134134
* @param resource - the resource to locate
@@ -167,7 +167,7 @@ URL getResourceAsURL(String resource, ClassLoader[] classLoader) {
167167

168168
}
169169

170-
/*
170+
/**
171171
* Attempt to load a class from a group of classloaders
172172
*
173173
* @param name - the class to load

0 commit comments

Comments
 (0)