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 4f039d5  [NETBEANS-3462] Fixed compiler warnings concerning rawtypes 
SimpleFuture
4f039d5 is described below

commit 4f039d554d9ec50b4f83436fe5ef6a141f114571
Author: Martin Klähn <mkla...@apache.org>
AuthorDate: Tue Nov 26 22:44:03 2019 +0100

    [NETBEANS-3462] Fixed compiler warnings concerning rawtypes SimpleFuture
---
 .../modules/maven/j2ee/ear/model/ApplicationMetadataModelImpl.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/enterprise/maven.j2ee/src/org/netbeans/modules/maven/j2ee/ear/model/ApplicationMetadataModelImpl.java
 
b/enterprise/maven.j2ee/src/org/netbeans/modules/maven/j2ee/ear/model/ApplicationMetadataModelImpl.java
index 88c4693..2cec351 100644
--- 
a/enterprise/maven.j2ee/src/org/netbeans/modules/maven/j2ee/ear/model/ApplicationMetadataModelImpl.java
+++ 
b/enterprise/maven.j2ee/src/org/netbeans/modules/maven/j2ee/ear/model/ApplicationMetadataModelImpl.java
@@ -107,7 +107,7 @@ public class ApplicationMetadataModelImpl implements 
MetadataModelImplementation
     
     @Override
     public <R> Future<R> runReadActionWhenReady(final 
MetadataModelAction<ApplicationMetadata, R> action) throws IOException {
-        return new SimpleFuture(runReadAction(action));
+        return new SimpleFuture<>(runReadAction(action));
     }
     
     private FileObject getDeploymentDescriptor(final Project earProject) {


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