commit | afeab28e204fb43da9d98fe0e7991aee1a8f48b4 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Tue Sep 19 16:17:59 2006 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Tue Sep 19 16:17:59 2006 +0000 |
tree | fa22193ffa121ff845257c8b152d8f143f6d2303 | |
parent | 641ddbc60f95c9e0c7ff2ef61861cd96bcb10e78 [diff] |
Fixed a minor bug found by Olivier Gruber. git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@447896 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/FindEntriesEnumeration.java b/framework/src/main/java/org/apache/felix/framework/FindEntriesEnumeration.java index 61c125a..9f374ee 100644 --- a/framework/src/main/java/org/apache/felix/framework/FindEntriesEnumeration.java +++ b/framework/src/main/java/org/apache/felix/framework/FindEntriesEnumeration.java
@@ -49,7 +49,7 @@ m_path = m_path.substring(1); } // Add a '/' to the end if not present. - if ((m_path.length() > 0) && (m_path.charAt(path.length() - 1) != '/')) + if ((m_path.length() > 0) && (m_path.charAt(m_path.length() - 1) != '/')) { m_path = m_path + "/"; }