Author: ggregory
Date: Mon Jun 13 07:48:53 2016
New Revision: 1748113
URL: http://svn.apache.org/viewvc?rev=1748113&view=rev
Log:
Better lvar name.
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ClassPath.java
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ClassPath.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ClassPath.java?rev=1748113&r1=1748112&r2=1748113&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ClassPath.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ClassPath.java
Mon Jun 13 07:48:53 2016
@@ -69,7 +69,7 @@ public class ClassPath {
*/
public ClassPath(final String class_path) {
this.class_path = class_path;
- List<PathEntry> vec = new ArrayList<>();
+ List<PathEntry> list = new ArrayList<>();
for (StringTokenizer tok = new StringTokenizer(class_path,
File.pathSeparator); tok.hasMoreTokens();) {
String path = tok.nextToken();
if (!path.equals("")) {
@@ -77,9 +77,9 @@ public class ClassPath {
try {
if (file.exists()) {
if (file.isDirectory()) {
- vec.add(new Dir(path));
+ list.add(new Dir(path));
} else {
- vec.add(new Zip(new ZipFile(file)));
+ list.add(new Zip(new ZipFile(file)));
}
}
} catch (IOException e) {
@@ -89,8 +89,8 @@ public class ClassPath {
}
}
}
- paths = new PathEntry[vec.size()];
- vec.toArray(paths);
+ paths = new PathEntry[list.size()];
+ list.toArray(paths);
}
/**