com.atlassian.confluence.upgrade
Class BuildNumComparator

java.lang.Object
  extended by com.atlassian.confluence.upgrade.BuildNumComparator
All Implemented Interfaces:
Comparator<String>

Deprecated. since 4.2

public class BuildNumComparator
extends Object
implements Comparator<String>

This class doesn't actually compare build numbers, it compares version numbers. If you're comparing build numbers, use the BuildNumberComparator. If you're comparing version numbers, use the VersionNumberComparator.

The class is being kept because it may be used by plugins to implement version checks.


Constructor Summary
BuildNumComparator()
          Deprecated.  
 
Method Summary
 int compare(String o1, String o2)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

BuildNumComparator

public BuildNumComparator()
Deprecated. 
Method Detail

compare

public int compare(String o1,
                   String o2)
Deprecated. 
Specified by:
compare in interface Comparator<String>
See Also:
Comparator


Copyright © 2003–2015 Atlassian. All rights reserved.