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 2020/12/17 19:04:10 UTC

[isis] branch master updated: ISIS-2033: refactor concrete class QueryDefault into interface NamedQuery

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 a93669c  ISIS-2033: refactor concrete class QueryDefault<T> into interface NamedQuery<T>
a93669c is described below

commit a93669c64cecd66053a1047607a4d223a87446d0
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Dec 17 20:03:56 2020 +0100

    ISIS-2033: refactor concrete class QueryDefault<T> into interface
    NamedQuery<T>
    
    also refactor instances of query to be immutable; withers to return new
    instances
    
    introduces interface AllInstancesQuery
---
 .../query/{QueryFindAllInstances.java => _AllInstancesQueryDefault.java}  | 0
 .../isis/applib/query/{QueryDefault.java => _NamedQueryDefault.java}      | 0
 ...Start_or_withCount.java => NamedQueryTest_withStart_or_withCount.java} | 0
 3 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/api/applib/src/main/java/org/apache/isis/applib/query/QueryFindAllInstances.java b/api/applib/src/main/java/org/apache/isis/applib/query/_AllInstancesQueryDefault.java
similarity index 100%
rename from api/applib/src/main/java/org/apache/isis/applib/query/QueryFindAllInstances.java
rename to api/applib/src/main/java/org/apache/isis/applib/query/_AllInstancesQueryDefault.java
diff --git a/api/applib/src/main/java/org/apache/isis/applib/query/QueryDefault.java b/api/applib/src/main/java/org/apache/isis/applib/query/_NamedQueryDefault.java
similarity index 100%
rename from api/applib/src/main/java/org/apache/isis/applib/query/QueryDefault.java
rename to api/applib/src/main/java/org/apache/isis/applib/query/_NamedQueryDefault.java
diff --git a/api/applib/src/test/java/org/apache/isis/applib/query/QueryDefaultTest_withStart_or_withCount.java b/api/applib/src/test/java/org/apache/isis/applib/query/NamedQueryTest_withStart_or_withCount.java
similarity index 100%
rename from api/applib/src/test/java/org/apache/isis/applib/query/QueryDefaultTest_withStart_or_withCount.java
rename to api/applib/src/test/java/org/apache/isis/applib/query/NamedQueryTest_withStart_or_withCount.java