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 1ed1eaa commit 7cee621Copy full SHA for 7cee621
1 file changed
core/src/main/java/software/amazon/smithy/java/core/Version.java
@@ -26,11 +26,11 @@ public final class Version {
26
27
static String getVersion() {
28
try (InputStream is = Objects.requireNonNull(Version.class.getResourceAsStream(VERSION_RESOURCE_FILE))) {
29
- var properties = new Properties();
30
- properties.load(is);
31
- return properties.get(VERSION_PROPERTY).toString();
+ var properties = new Properties();
+ properties.load(is);
+ return properties.get(VERSION_PROPERTY).toString();
32
} catch (IOException e) {
33
- throw new UncheckedIOException(e);
+ throw new UncheckedIOException(e);
34
}
35
36
0 commit comments