【fix sonar】OnlineInterceptor文件
This commit is contained in:
+2
-2
@@ -114,8 +114,8 @@ public class OnlineInterceptor implements HandlerInterceptor {
|
|||||||
Result<T> result = Result.error("无权限访问(操作)");
|
Result<T> result = Result.error("无权限访问(操作)");
|
||||||
printWriter.print(JSON.toJSON(result));
|
printWriter.print(JSON.toJSON(result));
|
||||||
}
|
}
|
||||||
} catch (IOException iOException) {
|
} catch (IOException e) {
|
||||||
log.error(iOException.getMessage());
|
log.error(e.getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
if (printWriter != null) {
|
if (printWriter != null) {
|
||||||
printWriter.close();
|
printWriter.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user