mirror of https://github.com/grpc/grpc-java.git
Mark Status*Exception.getStatus() final
This further limits our API.
This commit is contained in:
parent
4572b197e0
commit
4cc103ac6a
|
|
@ -47,7 +47,7 @@ public class StatusException extends Exception {
|
|||
this.status = status;
|
||||
}
|
||||
|
||||
public Status getStatus() {
|
||||
public final Status getStatus() {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class StatusRuntimeException extends RuntimeException {
|
|||
this.status = status;
|
||||
}
|
||||
|
||||
public Status getStatus() {
|
||||
public final Status getStatus() {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue