ISIS-1507: makes Control injected service settable from unit tests.

Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/b09f9685
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/b09f9685
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/b09f9685

Branch: refs/heads/master
Commit: b09f9685dae4e44a2055d730e5a5bc676c7b8304
Parents: fd7f105
Author: Dan Haywood <[email protected]>
Authored: Fri Sep 30 15:42:11 2016 +0100
Committer: Dan Haywood <[email protected]>
Committed: Fri Sep 30 15:42:11 2016 +0100

----------------------------------------------------------------------
 .../isis/applib/services/queryresultscache/QueryResultsCache.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/b09f9685/core/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCache.java
----------------------------------------------------------------------
diff --git 
a/core/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCache.java
 
b/core/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCache.java
index 82b45a8..6e39a3e 100644
--- 
a/core/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCache.java
+++ 
b/core/applib/src/main/java/org/apache/isis/applib/services/queryresultscache/QueryResultsCache.java
@@ -274,7 +274,7 @@ public class QueryResultsCache implements 
WithTransactionScope {
 
 
     @Inject
-    Control control;
+    protected Control control;
 
 
 }

Reply via email to