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/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new d83c8a8  Trivial fix for NPE on some Gradle Action execution
d83c8a8 is described below

commit d83c8a8f47a9abad9a2174a78907e8764d06ba46
Author: Laszlo Kishalmi <laszlo.kisha...@gmail.com>
AuthorDate: Mon Jan 28 08:22:46 2019 -0800

    Trivial fix for NPE on some Gradle Action execution
---
 .../src/org/netbeans/modules/gradle/api/execute/GradleCommandLine.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/execute/GradleCommandLine.java
 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/execute/GradleCommandLine.java
index 6b648ef..574bffe 100644
--- 
a/groovy/gradle/src/org/netbeans/modules/gradle/api/execute/GradleCommandLine.java
+++ 
b/groovy/gradle/src/org/netbeans/modules/gradle/api/execute/GradleCommandLine.java
@@ -96,7 +96,7 @@ public final class GradleCommandLine implements Serializable {
         RECOMPILE_SCRIPTS(UNSUPPORTED, "--recompile-scripts"),
         VERSION(UNSUPPORTED, "--version", "-v");
 
-        private Set<Flag> incompatible;
+        private Set<Flag> incompatible = Collections.emptySet();
         private final Argument.Kind kind;
         private final List<String> flags;
         static {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to