Ref: add new static analyser rule: design.xml/ClassWithOnlyPrivateConstructorsShouldBeFinal
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user