commit | e80032debebb10c566b251def1ea366701b3ad44 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Fri Sep 22 13:58:30 2006 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Fri Sep 22 13:58:30 2006 +0000 |
tree | 7e8b7564f559737d52d547a8a3e16e8a91574269 | |
parent | a0ef763c765ea0c91d5129d55c5e15c396b4ae66 [diff] |
The brackets and parentheses were reversed in toString(). git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@448937 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/searchpolicy/VersionRange.java b/framework/src/main/java/org/apache/felix/framework/searchpolicy/VersionRange.java index 3747435..86dc689 100644 --- a/framework/src/main/java/org/apache/felix/framework/searchpolicy/VersionRange.java +++ b/framework/src/main/java/org/apache/felix/framework/searchpolicy/VersionRange.java
@@ -104,11 +104,11 @@ if (m_high != null) { StringBuffer sb = new StringBuffer(); - sb.append(m_isLowInclusive ? '(' : '['); + sb.append(m_isLowInclusive ? '[' : '('); sb.append(m_low.toString()); sb.append(','); sb.append(m_high.toString()); - sb.append(m_isHighInclusive ? ')' : ']'); + sb.append(m_isHighInclusive ? ']' : ')'); } else {