commit | f54cd13c0fb14105033e4f0e995e9583d2f5e975 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Mon Jan 22 07:05:23 2007 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Mon Jan 22 07:05:23 2007 +0000 |
tree | 1a5cc1d659f3d92fb4bb8c3aafa834c15ece6dcc | |
parent | ff16368f6d208a9ebae2b64efaeed9ce0e5eafaa [diff] |
Added a static member to hold an infinite version range. git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@498549 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/util/VersionRange.java b/framework/src/main/java/org/apache/felix/framework/util/VersionRange.java index 58829e7..0a0d386 100644 --- a/framework/src/main/java/org/apache/felix/framework/util/VersionRange.java +++ b/framework/src/main/java/org/apache/felix/framework/util/VersionRange.java
@@ -27,6 +27,7 @@ private Version m_high = null; private boolean m_isHighInclusive = false; private String m_toString = null; + public static final VersionRange infiniteRange = new VersionRange(Version.emptyVersion, true, null, true); public VersionRange(Version low, boolean isLowInclusive, Version high, boolean isHighInclusive)