You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jm...@apache.org on 2018/02/27 06:53:56 UTC

[incubator-plc4x] 02/03: use diamond operator

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

jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git

commit d6c75e0e28cad1a3c4323a6a000371246456cb55
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Tue Feb 27 17:31:57 2018 +1100

    use diamond operator
---
 .../src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java b/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java
index 3908099..9a6d1c3 100644
--- a/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java
+++ b/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java
@@ -109,7 +109,7 @@ public class PlcConnectionAdapter implements AutoCloseable {
     <T> Supplier<T> newSupplier(Class<T> datatype, String addressStr) {
         PlcConnectionAdapter.checkDatatype(datatype);
         // satisfy sonar's "Reduce number of anonymous class lines" code smell
-        return new MySupplier<T>(datatype, addressStr);
+        return new MySupplier<>(datatype, addressStr);
     }
     
     private class MySupplier<T> implements Supplier<T> {

-- 
To stop receiving notification emails like this one, please contact
jmclean@apache.org.