Skip to content

Commit 9eabe00

Browse files
committed
Deprecated Version class.
1 parent 45054fe commit 9eabe00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/io/github/albertus82/util/Version.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@
1818
* Reads the {@value Version#VERSION_FILE_NAME} file from the class path root or
1919
* the {@code META-INF} directory. The values read can be retrieved using
2020
* {@link #getNumber()} and {@link #getDate()}.
21+
*
22+
* @deprecated The presence of a version.properties file in the class path root
23+
* may lead to clashes. It's best that applications manage version
24+
* information themselves.
2125
*/
26+
@Deprecated
2227
public class Version {
2328

2429
private static final Logger log = LoggerFactory.getLogger(Version.class);

0 commit comments

Comments
 (0)