HBASE-8326 Addendum simplifies lookup in packagedClasses (Nick)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1468605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2013-04-16 20:55:52 +00:00
parent c2bb416c71
commit 496c9a666b

View File

@ -670,11 +670,9 @@ public class TableMapReduceUtil {
} }
} }
// now look in any jars we've packaged using JarFinder // now look in any jars we've packaged using JarFinder. Returns null when
for (Map.Entry<String, String> e : packagedClasses.entrySet()) { // no jar is found.
if (e.getKey().equals(class_file)) return e.getValue(); return packagedClasses.get(class_file);
}
return null;
} }
/** /**