We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b3372 commit 902905aCopy full SHA for 902905a
spring-boot/src/main/java/org/springframework/boot/SpringBootVersion.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2012-2015 the original author or authors.
+ * Copyright 2012-2017 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ private SpringBootVersion() {
40
* @see Package#getImplementationVersion()
41
*/
42
public static String getVersion() {
43
- Package pkg = SpringApplication.class.getPackage();
+ Package pkg = SpringBootVersion.class.getPackage();
44
return (pkg != null ? pkg.getImplementationVersion() : null);
45
}
46
0 commit comments