You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/05/27 14:16:19 UTC
[jackrabbit-filevault] branch master updated: trivial: add missing notnull annotation
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git
The following commit(s) were added to refs/heads/master by this push:
new baa6820e trivial: add missing notnull annotation
baa6820e is described below
commit baa6820ec702ccf04d1025d4283715d88ad3d0d9
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri May 27 16:16:14 2022 +0200
trivial: add missing notnull annotation
---
.../jackrabbit/vault/packaging/impl/DefaultPackageProperties.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/DefaultPackageProperties.java b/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/DefaultPackageProperties.java
index 7803b589..b5f2028d 100644
--- a/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/DefaultPackageProperties.java
+++ b/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/DefaultPackageProperties.java
@@ -40,7 +40,7 @@ public class DefaultPackageProperties extends PackagePropertiesImpl {
* @return the package properties deserialized from the given file
* @throws IOException in case deserializing from the file failed
*/
- public static DefaultPackageProperties fromFile(Path path) throws IOException {
+ public static @NotNull DefaultPackageProperties fromFile(Path path) throws IOException {
return new DefaultPackageProperties(path);
}