This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new f25ec50  Added property to allow the user to specify the max number of 
objects and details in search:
f25ec50 is described below

commit f25ec50a573919b0f311ab0f41f46c42ab0ac953
Author: EnricoScantamburlo <[email protected]>
AuthorDate: Sat May 2 03:16:52 2020 +0200

    Added property to allow the user to specify the max number of objects and 
details in search:
---
 platform/api.search/src/org/netbeans/modules/search/Constants.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform/api.search/src/org/netbeans/modules/search/Constants.java 
b/platform/api.search/src/org/netbeans/modules/search/Constants.java
index d9ac7a6..22f5768 100644
--- a/platform/api.search/src/org/netbeans/modules/search/Constants.java
+++ b/platform/api.search/src/org/netbeans/modules/search/Constants.java
@@ -29,11 +29,11 @@ public final class Constants {
     /**
      * maximum number of found objects
      */
-    public static final int COUNT_LIMIT = 500;
+    public static final int COUNT_LIMIT = 
Integer.getInteger("netbeans.search.count.limit", 500);
     /**
      * maximum total number of detail entries for found objects
      */
-    public static final int DETAILS_COUNT_LIMIT = 5000;
+    public static final int DETAILS_COUNT_LIMIT = 
Integer.getInteger("netbeans.search.details.count.limit", 5000);
 
     public enum Limit {
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to