MCPcopy Create free account
hub / github.com/apache/pig / hasJar

Method hasJar

src/org/apache/pig/impl/PigContext.java:362–369  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

360 }
361
362 public boolean hasJar(String path) {
363 for (URL url : extraJars) {
364 if (extraJarOriginalPaths.get(url).equals(path)) {
365 return true;
366 }
367 }
368 return false;
369 }
370
371 /**
372 * Adds the specified path to the predeployed jars list. These jars will

Callers 2

testRegisterArtifactMethod · 0.80
registerJarMethod · 0.80

Calls 2

getMethod · 0.65
equalsMethod · 0.45

Tested by 1

testRegisterArtifactMethod · 0.64