From c091d4db569b6bb97024446b77b18c8f20497ada Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 28 Aug 2017 13:26:33 +0200 Subject: [PATCH] =?UTF-8?q?DATACMNS-1148=20-=20Return=20primitive=20boolea?= =?UTF-8?q?n=20in=20PartTree.isExistsProjection(=E2=80=A6).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declare primitive return type to avoid nullable return values. --- .../springframework/data/repository/query/parser/PartTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/repository/query/parser/PartTree.java b/src/main/java/org/springframework/data/repository/query/parser/PartTree.java index 281e21423..75109dae1 100644 --- a/src/main/java/org/springframework/data/repository/query/parser/PartTree.java +++ b/src/main/java/org/springframework/data/repository/query/parser/PartTree.java @@ -138,7 +138,7 @@ public class PartTree implements Streamable { * @return * @since 1.13 */ - public Boolean isExistsProjection() { + public boolean isExistsProjection() { return subject.isExistsProjection(); }