Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<grpc.version>1.76.0</grpc.version><!-- CURRENT_GRPC_VERSION -->
<protobuf.version>3.25.8</protobuf.version>
<protoc.version>3.25.8</protoc.version>
<protobuf.version>4.33.0</protobuf.version>
<protoc.version>4.33.0</protoc.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
Expand Down Expand Up @@ -77,10 +77,6 @@
<artifactId>grpc-netty-shaded</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/senzing/sdk/grpc/server/SzGrpcServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
import io.grpc.StatusRuntimeException;
import io.grpc.Status;

import com.google.protobuf.GeneratedMessageV3;
import com.google.protobuf.GeneratedMessage;
import com.google.protobuf.Descriptors.Descriptor;
import com.google.protobuf.Descriptors.FieldDescriptor;
import com.linecorp.armeria.server.Server;
Expand Down Expand Up @@ -832,14 +832,14 @@ protected static StatusRuntimeException toStatusRuntimeException(Status stat
* absent. If the field value is absent then <code>null</code>
* is returned, otherwise the field value is returned.
*
* @param message The {@link GeneratedMessageV3} from which the
* @param message The {@link GeneratedMessage} from which the
* value is being extracted.
* @param fieldName The name of the field for which the value
* is being extracted.
* @return The value of the field or <code>null</code> if the value
* has not been explicitly set.
*/
public static String getString(GeneratedMessageV3 message, String fieldName)
public static String getString(GeneratedMessage message, String fieldName)
{
Descriptor descriptor = message.getDescriptorForType();
FieldDescriptor fieldDesc = descriptor.findFieldByName(fieldName);
Expand Down
Loading