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 4781968  Fix Gradle --warning-mode all action to work with any Gradle 
release
4781968 is described below

commit 47819684b4147ecb0fc89793f9270740c4bfc1d0
Author: Laszlo Kishalmi <[email protected]>
AuthorDate: Mon Mar 21 12:31:31 2022 -0700

    Fix Gradle --warning-mode all action to work with any Gradle release
---
 .../src/org/netbeans/modules/gradle/output/GradleProcessorFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/output/GradleProcessorFactory.java
 
b/extide/gradle/src/org/netbeans/modules/gradle/output/GradleProcessorFactory.java
index e608a8c..5743362 100644
--- 
a/extide/gradle/src/org/netbeans/modules/gradle/output/GradleProcessorFactory.java
+++ 
b/extide/gradle/src/org/netbeans/modules/gradle/output/GradleProcessorFactory.java
@@ -189,7 +189,7 @@ public class GradleProcessorFactory implements 
OutputProcessorFactory {
 
     static class WarningModeAllProcessor implements OutputProcessor {
 
-        private static Pattern WARNING_MODE_ALL = Pattern.compile("(You can 
use ')(\\-\\-warning\\-mode all)('.+)");
+        private static Pattern WARNING_MODE_ALL = Pattern.compile("(.+ 
')(\\-\\-warning\\-mode all)('.+)");
         final RunConfig cfg;
 
         public WarningModeAllProcessor(RunConfig cfg) {

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