Ref: add new static analyser rule: design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal

This commit is contained in:
Laurent Clouet
2024-06-06 03:15:23 +02:00
parent 4eff00bb6b
commit b0c4d68e0b
3 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
public class Log {
public final class Log {
private final String LEVEL_DEBUG = "debug";
private final String LEVEL_INFO = "info";
private final String LEVEL_ERROR = "error";

View File

@@ -33,7 +33,7 @@ package com.sheepit.client.hardware.gpu.nvidia;
* <br />
* Most comments are taken from the CUDA reference manual.
*/
public class CUresult {
public final class CUresult {
/**
* The API call returned with no errors. In the case of query calls, this
* can also mean that the operation being queried is complete (see