Skip to content

Commit ff24470

Browse files
committed
Revert unnecessary change
1 parent 1933b2a commit ff24470

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,10 @@ public void close() throws IOException {
297297
* @param cmdType type of the request
298298
*/
299299
private OMRequest.Builder createOMRequest(Type cmdType) {
300-
OMRequest.Builder builder = OMRequest.newBuilder()
300+
return OMRequest.newBuilder()
301301
.setCmdType(cmdType)
302302
.setVersion(ClientVersion.CURRENT_VERSION)
303303
.setClientId(clientID);
304-
return builder;
305304
}
306305

307306
/**

0 commit comments

Comments
 (0)