Bug 747700 - we have two classes that parse version strings - combine into one
we have two classes that parse version strings - combine into one
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core Server (Show other bugs)
4.2
Unspecified Unspecified
medium Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-20 15:58 EDT by John Mazzitelli
Modified: 2011-10-20 15:58 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description John Mazzitelli 2011-10-20 15:58:41 EDT
Unsure why we have two that do the same thing.

We should combine them into one (including combining their unit tests).

ComparableVersion (which is in the util module)
OSGiVersion (which is in the domain module)

We need one in the domain because, I think, it is used by GWT clients.
Unsure if we need one on util (most things that have access to util also have access to domain).

This means we could combine into the domain module. Again, make sure all unit tests are copied as well.

Note You need to log in before you can comment on or make changes to this bug.