Was added descriptive headings titles to source code files

This commit is contained in:
viktorbasanets 2018-08-27 17:30:49 +03:00
parent 076bddb32a
commit 09a13ba82d
5 changed files with 56 additions and 1 deletions

View File

@ -1,3 +1,18 @@
/**
* Copyright © 2016-2018 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.controller;
import org.junit.After;
@ -15,6 +30,9 @@ import java.util.Arrays;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import static org.thingsboard.server.dao.model.ModelConstants.NULL_UUID;
/**
* Created by Victor Basanets on 8/27/2017.
*/
public abstract class BaseEntityViewControllerTest extends AbstractControllerTest {
private Tenant savedTenant;

View File

@ -16,6 +16,7 @@
package org.thingsboard.server.controller.nosql;
import org.thingsboard.server.controller.BaseEntityViewControllerTest;
/**
* Created by Victor Basanets on 8/27/2017.
*/

View File

@ -17,6 +17,7 @@ package org.thingsboard.server.controller.sql;
import org.thingsboard.server.controller.BaseEntityViewControllerTest;
import org.thingsboard.server.dao.service.DaoSqlTest;
/**
* Created by Victor Basanets on 8/27/2017.
*/

View File

@ -1,3 +1,18 @@
/**
* Copyright © 2016-2018 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.common.data;
import lombok.EqualsAndHashCode;
@ -8,6 +23,9 @@ import org.thingsboard.server.common.data.id.TenantId;
import java.util.List;
/**
* Created by Victor Basanets on 8/27/2017.
*/
@EqualsAndHashCode(callSuper = true)
public class EntityView extends SearchTextBasedWithAdditionalInfo<EntityViewId>
implements HasName, HasTenantId, HasCustomerId {

View File

@ -1,3 +1,18 @@
/**
* Copyright © 2016-2018 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.common.data.id;
import com.fasterxml.jackson.annotation.JsonCreator;
@ -6,9 +21,11 @@ import org.thingsboard.server.common.data.EntityType;
import java.util.UUID;
/**
* Created by Victor Basanets on 8/27/2017.
*/
public class EntityViewId extends UUIDBased implements EntityId {
private static final long serialVersionUID = 1L;
@JsonCreator