Skip to content

Commit

Permalink
Client object enabler: remove final modifier for public methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Sangoi committed Mar 22, 2016
1 parent 8279220 commit 1a21e44
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -72,7 +72,7 @@ public synchronized ObjectModel getObjectModel() {
}

@Override
public synchronized final CreateResponse create(ServerIdentity identity, CreateRequest request) {
public synchronized CreateResponse create(ServerIdentity identity, CreateRequest request) {
if (!identity.isSystem()) {
// we can not create new instance on single object
if (objectModel != null && !objectModel.multiple) {
Expand All @@ -95,7 +95,7 @@ protected CreateResponse doCreate(CreateRequest request) {
}

@Override
public synchronized final ReadResponse read(ServerIdentity identity, ReadRequest request) {
public synchronized ReadResponse read(ServerIdentity identity, ReadRequest request) {
LwM2mPath path = request.getPath();

// read is not supported for bootstrap
Expand Down Expand Up @@ -129,7 +129,7 @@ protected ReadResponse doRead(ServerIdentity identity, ReadRequest request) {
}

@Override
public synchronized final WriteResponse write(ServerIdentity identity, WriteRequest request) {
public synchronized WriteResponse write(ServerIdentity identity, WriteRequest request) {
LwM2mPath path = request.getPath();

// write is not supported for bootstrap, use bootstrap write
Expand Down Expand Up @@ -194,7 +194,7 @@ protected WriteResponse doWrite(ServerIdentity identity, WriteRequest request) {
}

@Override
public synchronized final BootstrapWriteResponse write(ServerIdentity identity, BootstrapWriteRequest request) {
public synchronized BootstrapWriteResponse write(ServerIdentity identity, BootstrapWriteRequest request) {

// We should not get a bootstrapWriteRequest from a LWM2M server
if (!identity.isLwm2mBootstrapServer()) {
Expand All @@ -210,7 +210,7 @@ protected BootstrapWriteResponse doWrite(ServerIdentity identity, BootstrapWrite
}

@Override
public synchronized final DeleteResponse delete(ServerIdentity identity, DeleteRequest request) {
public synchronized DeleteResponse delete(ServerIdentity identity, DeleteRequest request) {
if (!identity.isLwm2mBootstrapServer() && !identity.isSystem()) {

// delete the security object is forbidden
Expand Down Expand Up @@ -239,7 +239,7 @@ protected DeleteResponse doDelete(DeleteRequest request) {
}

@Override
public synchronized final ExecuteResponse execute(ServerIdentity identity, ExecuteRequest request) {
public synchronized ExecuteResponse execute(ServerIdentity identity, ExecuteRequest request) {
LwM2mPath path = request.getPath();

// execute is not supported for bootstrap
Expand Down

0 comments on commit 1a21e44

Please sign in to comment.