Reformat some code
@@ -1485,9 +1485,7 @@ public class BundleWiringImpl implements BundleWiring
try
{
// Get the package of the target class/resource.
- String pkgName = (isClass)
- ? Util.getClassPackage(name)
- : Util.getResourcePackage(name);
+ String pkgName = (isClass) ? Util.getClassPackage(name) : Util.getResourcePackage(name);
boolean accessor = name.startsWith("sun.reflect.Generated") || name.startsWith("jdk.internal.reflect.");
@@ -1513,9 +1511,8 @@ public class BundleWiringImpl implements BundleWiring
{
// Get the appropriate class loader for delegation.
ClassLoader bdcl = getBootDelegationClassLoader();
- result = (isClass)
- ? (Object) bdcl.loadClass(name)
- : (Object) bdcl.getResource(name);
+ result = (isClass) ? (Object) bdcl.loadClass(name) : (Object) bdcl.getResource(name);
+
// If this is a java.* package, then always terminate the
// search; otherwise, continue to look locally if not found.
if (pkgName.startsWith("java.") || (result != null))
