Fixed sonar issues across this file
Issue-ID: MUSIC-459
Change-Id: I3249ca2644171bb5c65313b9b4198ddb039a0c61
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
* org.onap.music
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property
* org.onap.music
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property
+ *
+ * Modifications Copyright (C) 2019 IBM.
* ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
private String lockLease;
private boolean isLockHolders=false;
private String lockLease;
private boolean isLockHolders=false;
+ /**
+ * Create a JSONLock Response
+ * Use setters to provide more information as in
+ * JsonLockResponse(ResultType.SUCCESS).setMessage("We did it").setLock(mylockname)
+ * @param status
+ */
+ public JsonResponse(ResultType status) {
+ this.status = status;
+ }
public boolean isLockHolders() {
return isLockHolders;
public boolean isLockHolders() {
return isLockHolders;
- /**
- * Create a JSONLock Response
- * Use setters to provide more information as in
- * JsonLockResponse(ResultType.SUCCESS).setMessage("We did it").setLock(mylockname)
- * @param status
- */
- public JsonResponse(ResultType status) {
- this.status = status;
- }
-