You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2021/08/30 09:50:23 UTC

[netbeans] branch master updated: Let the "Use Functional Operation" hint be visible only on current line

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

jtulach 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 fe84284  Let the "Use Functional Operation" hint be visible only on current line
     new 43265e7  Merge pull request #3130 from JaroslavTulach/jtulach/KeepPOFL
fe84284 is described below

commit fe84284b5efcc3f8c565321eb1bcc2b7a8a42f4e
Author: Jaroslav Tulach <ja...@oracle.com>
AuthorDate: Mon Aug 30 11:46:13 2021 +0200

    Let the "Use Functional Operation" hint be visible only on current line
---
 nbbuild/misc/hints-settings.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/nbbuild/misc/hints-settings.xml b/nbbuild/misc/hints-settings.xml
index 1fda1f5..5e28cad 100644
--- a/nbbuild/misc/hints-settings.xml
+++ b/nbbuild/misc/hints-settings.xml
@@ -100,7 +100,10 @@
             <attribute name="enabled" value="true"/>
         </node>
         <node name="org.netbeans.modules.java.hints.bugs.BroadCatchBlock.broadCatch"/>
-        <node name="org.netbeans.modules.java.hints.jdk.mapreduce.ForLoopToFunctionalHint"/>
+        <node name="org.netbeans.modules.java.hints.jdk.mapreduce.ForLoopToFunctionalHint">
+            <attribute name="enabled" value="true"/>
+            <attribute name="hintSeverity" value="HINT"/>
+        </node>
         <node name="org.netbeans.modules.java.hints.ShiftOutOfRange"/>
         <node name="org.netbeans.modules.java.hints.suggestions.Move.moveInitialization"/>
         <node name="org.netbeans.modules.java.hints.AssignResultToVariable"/>

---------------------------------------------------------------------
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