Bug 94853 - AbstractBundleData#findNativePath should return first hit
diff --git a/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/AbstractBundleData.java b/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/AbstractBundleData.java
index 2803ceb..6061a53 100644
--- a/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/AbstractBundleData.java
+++ b/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/AbstractBundleData.java
@@ -580,7 +580,6 @@
 	}
 
 	protected String findNativePath(String libname) {
-		String path = null;
 		if (!libname.startsWith("/")) { //$NON-NLS-1$
 			libname = '/' + libname;
 		}
@@ -590,11 +589,11 @@
 				if (nativepaths[i].endsWith(libname)) {
 					File nativeFile = baseBundleFile.getFile(nativepaths[i]);
 					if (nativeFile != null)
-						path = nativeFile.getAbsolutePath();
+						return nativeFile.getAbsolutePath();
 				}
 			}
 		}
-		return path;
+		return null;
 	}
 
 	/**