mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Use the correct HTTP status code constant in NotModifiedException
NotModifiedException was using HttpServletResponse.SC_NOT_FOUND instead of SC_NOT_MODIFIED (likely an autocomplete typo). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182976671
This commit is contained in:
parent
97e962ba0a
commit
e6a097a590
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public abstract class HttpException extends RuntimeException {
|
|||
}
|
||||
|
||||
public NotModifiedException(String message) {
|
||||
super(HttpServletResponse.SC_NOT_FOUND, message, null);
|
||||
super(HttpServletResponse.SC_NOT_MODIFIED, message, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue