From 143d504bd8ced1fe4405707bc476dff41b634c99 Mon Sep 17 00:00:00 2001 From: Joe George Date: Mon, 9 Oct 2023 11:54:12 -0400 Subject: [PATCH] Update cpp/src/slice2java/GenCompat.cpp Co-authored-by: Austin Henriksen --- cpp/src/slice2java/GenCompat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/slice2java/GenCompat.cpp b/cpp/src/slice2java/GenCompat.cpp index 4064c090967..888f62cf7a9 100644 --- a/cpp/src/slice2java/GenCompat.cpp +++ b/cpp/src/slice2java/GenCompat.cpp @@ -211,7 +211,7 @@ writeParamList(Output& out, vector params, bool end = true, bool newLine } // Returns the "length" of the constructor parameter list from the given data member list. -// All types are counted as 1, except for long and double which are counted as 2. +// All types are counted as 1 unit, except for long and double which are counted as 2 units. // See https://docs.oracle.com/javase/specs/jvms/se20/html/jvms-4.html#jvms-4.3.3 int constructorParameterLength(const DataMemberList& members)