Skip to content

Commit

Permalink
JavaDoc update
Browse files Browse the repository at this point in the history
  • Loading branch information
skuzzle committed Mar 3, 2015
1 parent 047febc commit 3a91a51
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/main/java/de/skuzzle/Version.java
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*
* The MIT License (MIT)
*
*
* Copyright (c) 2015 Simon Taddiken
*
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down Expand Up @@ -41,6 +41,10 @@
* meta data} field for comparison.
*
* <p>
* Instances of this class are fully immutable.
* </p>
*
* <p>
* Note that unless stated otherwise, none of the public methods of this class
* accept <code>null</code> values. Most methods will throw an
* {@link IllegalArgumentException} when encountering a <code>null</code>
Expand Down Expand Up @@ -99,6 +103,11 @@ public int compare(Version o1, Version o2) {
* Comparator for ordering versions with additionally considering the build
* meta data field when comparing versions.
*
* <p>
* Note: this comparator imposes orderings that are inconsistent with
* equals.
* </p>
*
* @since 0.3.0
*/
public static final Comparator<Version> WITH_BUILD_META_DATA_ORDER =
Expand Down

0 comments on commit 3a91a51

Please sign in to comment.