Skip to content

Commit

Permalink
Address Sonar major issue - "Final Class"
Browse files Browse the repository at this point in the history
- Checks that class which has only private constructors is declared as final.

Resolves: https://jira.duraspace.org/browse/FCREPO-1322
  • Loading branch information
yinlinchen authored and Andrew Woods committed Feb 16, 2015
1 parent 0b3dd39 commit 96993ce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Expand Up @@ -38,7 +38,7 @@
*
* @author Gregory Jansen
*/
public class ServletContainerAuthenticationProvider implements
public final class ServletContainerAuthenticationProvider implements
AuthenticationProvider {

private static ServletContainerAuthenticationProvider _instance = null;
Expand Down
Expand Up @@ -39,7 +39,7 @@
*
* @author awoods
*/
public class RdfSerializationUtils {
public final class RdfSerializationUtils {

private static final Logger LOGGER = getLogger(RdfSerializationUtils.class);

Expand Down
Expand Up @@ -30,7 +30,7 @@
* @author ajs6f
* @since Oct 23, 2013
*/
public class ManagedRdf {
public final class ManagedRdf {

private static final Model model = createDefaultModel();

Expand Down
Expand Up @@ -35,7 +35,7 @@
/**
* @author cabeer
*/
public class CacheEntryFactory {
public final class CacheEntryFactory {
private static GetBinaryStore getBinaryStore = new GetBinaryStore();

/**
Expand Down
Expand Up @@ -21,7 +21,7 @@
* Utilities for gaining access to InfinispanBinaryStore internals
* @author cabeer
*/
public class InfinispanUtils {
public final class InfinispanUtils {

private InfinispanUtils() {
}
Expand Down
Expand Up @@ -25,7 +25,7 @@
* @author cbeer
* @since Mar 22, 2013
*/
public class RegistryService {
public final class RegistryService {

private static final MetricRegistry METRICS = getOrCreate("fcrepo-metrics");

Expand Down

0 comments on commit 96993ce

Please sign in to comment.