diff options
Diffstat (limited to 'cps-service/src/main/java/org')
5 files changed, 12 insertions, 12 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java b/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java index 93ed8b8468..3daf9a0d69 100755 --- a/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java +++ b/cps-service/src/main/java/org/onap/cps/api/impl/CpServiceImpl.java @@ -88,7 +88,7 @@ public class CpServiceImpl implements CpService { } @Override - public void deleteJsonById(int jsonObjectId) { + public void deleteJsonById(final int jsonObjectId) { dataPersistenceService.deleteJsonById(jsonObjectId); } @@ -103,7 +103,7 @@ public class CpServiceImpl implements CpService { } @Override - public String createAnchor(AnchorDetails anchorDetails) { + public String createAnchor(final AnchorDetails anchorDetails) { return fragmentPersistenceService.createAnchor(anchorDetails); } }
\ No newline at end of file diff --git a/cps-service/src/main/java/org/onap/cps/api/impl/Fragment.java b/cps-service/src/main/java/org/onap/cps/api/impl/Fragment.java index 90c92f905e..0f785b718f 100644 --- a/cps-service/src/main/java/org/onap/cps/api/impl/Fragment.java +++ b/cps-service/src/main/java/org/onap/cps/api/impl/Fragment.java @@ -76,7 +76,7 @@ public class Fragment { * @param qnames array of qualified names that points the schema node for this fragment * @param xpath the xpath for this fragment */ - private Fragment(final Fragment parentFragment, final Module module, final QName[] qnames, String xpath) { + private Fragment(final Fragment parentFragment, final Module module, final QName[] qnames, final String xpath) { this.parentFragment = parentFragment; this.module = module; this.qnames = qnames; diff --git a/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java b/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java index 4dd19dd82b..acdada14ae 100644 --- a/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java +++ b/cps-service/src/main/java/org/onap/cps/exceptions/CpsException.java @@ -36,7 +36,7 @@ public class CpsException extends RuntimeException { * * @param cause the cause of the exception */ - public CpsException(Throwable cause) { + public CpsException(final Throwable cause) { super(cause.getMessage(), cause); } @@ -46,7 +46,7 @@ public class CpsException extends RuntimeException { * @param message the error message * @param cause the cause of the exception */ - public CpsException(String message, Throwable cause) { + public CpsException(final String message, final Throwable cause) { super(message, cause); } @@ -56,7 +56,7 @@ public class CpsException extends RuntimeException { * @param message the error message * @param details the error details */ - public CpsException(String message, String details) { + public CpsException(final String message, final String details) { super(message); this.details = details; } diff --git a/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java b/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java index 4613da8f23..e66c3bd3b9 100644 --- a/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java +++ b/cps-service/src/main/java/org/onap/cps/exceptions/CpsNotFoundException.java @@ -32,7 +32,7 @@ public class CpsNotFoundException extends CpsException { * * @param cause the cause of the exception */ - public CpsNotFoundException(Throwable cause) { + public CpsNotFoundException(final Throwable cause) { super(cause.getMessage(), cause); } @@ -42,7 +42,7 @@ public class CpsNotFoundException extends CpsException { * @param message the error message * @param cause the cause of the exception */ - public CpsNotFoundException(String message, Throwable cause) { + public CpsNotFoundException(final String message, final Throwable cause) { super(message, cause); } @@ -52,7 +52,7 @@ public class CpsNotFoundException extends CpsException { * @param message the error message * @param details the error details */ - public CpsNotFoundException(String message, String details) { + public CpsNotFoundException(final String message, final String details) { super(message, details); } } diff --git a/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java b/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java index dba9c165b8..8e049c66e4 100644 --- a/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java +++ b/cps-service/src/main/java/org/onap/cps/exceptions/CpsValidationException.java @@ -29,7 +29,7 @@ public class CpsValidationException extends CpsException { * * @param cause the cause of the exception */ - public CpsValidationException(Throwable cause) { + public CpsValidationException(final Throwable cause) { super(cause.getMessage(), cause); } @@ -39,7 +39,7 @@ public class CpsValidationException extends CpsException { * @param message the error message * @param cause the cause of the exception */ - public CpsValidationException(String message, Throwable cause) { + public CpsValidationException(final String message, final Throwable cause) { super(message, cause); } @@ -49,7 +49,7 @@ public class CpsValidationException extends CpsException { * @param message the error message * @param details the error details */ - public CpsValidationException(String message, String details) { + public CpsValidationException(final String message, final String details) { super(message, details); } } |