You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/02/02 08:32:07 UTC
[isis] branch master updated: ISIS-2516: fixing lombok issue
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 7ed1c6f ISIS-2516: fixing lombok issue
7ed1c6f is described below
commit 7ed1c6f11accb070c4d470c745db683d0da5f62a
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Feb 2 09:31:52 2021 +0100
ISIS-2516: fixing lombok issue
---
.../java/org/apache/isis/commons/resource/ResourceCoordinates.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/commons/src/main/java/org/apache/isis/commons/resource/ResourceCoordinates.java b/commons/src/main/java/org/apache/isis/commons/resource/ResourceCoordinates.java
index 91559ad..15c49c4 100644
--- a/commons/src/main/java/org/apache/isis/commons/resource/ResourceCoordinates.java
+++ b/commons/src/main/java/org/apache/isis/commons/resource/ResourceCoordinates.java
@@ -51,8 +51,10 @@ implements Comparable<ResourceCoordinates> {
}
val nameRef = _Refs.stringRef(file.getName());
- val simpleName = nameRef.cutAtLastIndexOfAndDrop(".");
- val fileNameExtension = nameRef.getValue();
+
+ //XXX lombok issue, cannot use val
+ final String simpleName = nameRef.cutAtLastIndexOfAndDrop(".");
+ final String fileNameExtension = nameRef.getValue();
return ResourceCoordinates.builder()
// could semantically mean the mount-point, but we don't have that info in a file instance