You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2020/09/13 17:41:47 UTC
[netbeans] branch master updated: Added property to allow the user
to specify the max number of objects and details in search:
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 <sc...@gmail.com>
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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists