You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/23 12:34:27 UTC

[commons-net] 03/06: Use diamond notation

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git

commit eebb82e9261e258e1fd632ffbc7218b305c84d52
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 23 08:25:06 2023 -0400

    Use diamond notation
---
 src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java b/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java
index 2927eccb..86f7273a 100644
--- a/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java
+++ b/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java
@@ -84,7 +84,7 @@ public class TestTimeInfo {
         other.addComment("another comment");
         // Assert.assertFalse(info.equals(other)); // comments not used for equality
 
-        final TimeInfo another = new TimeInfo(packet, returnTime, new ArrayList<String>());
+        final TimeInfo another = new TimeInfo(packet, returnTime, new ArrayList<>());
         Assert.assertEquals(info, another);
     }