Skip to content

Commit

Permalink
Renaming and added missing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill380 committed Jul 19, 2016
1 parent bec6e8e commit 6597463
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.kaaproject.kaa.server.sync.platform.AvroEncDec;

@KaaPlatformProtocol
public class AvroEncDecUseRawChema extends AvroEncDec {
public class RawConfigurationSchemaAvroEncDec extends AvroEncDec {

@Override
public int getId() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.kaaproject.kaa.server.sync.ClientSync;

@KaaPlatformProtocol
public class BinaryEncDecUseRawSchema extends BinaryEncDec{
public class RawConfigurationSchemaBinaryEncDec extends BinaryEncDec {

@Override
public int getId() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected void onEntityRetrieved() {
if (create) {
ConverterType converterType;

if(place.getSchemaType() == SchemaType.CONFIGURATION) {
if (place.getSchemaType() == SchemaType.CONFIGURATION) {
converterType = ConverterType.CONFIGURATION_FORM_AVRO_CONVERTER;
} else {
converterType = ConverterType.FORM_AVRO_CONVERTER;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,19 +179,19 @@ public String getName() {
@Override
public TreePlace createDefaultPreviousPlace() {
if (Utils.isNotBlank(applicationId)) {
if (schemaType != null) {
if (schemaType != null) {
if (schemaType == SchemaType.ENDPOINT_PROFILE) {
return new ProfileSchemasPlace(applicationId);
} else if(schemaType == SchemaType.CONFIGURATION) {
} else if (schemaType == SchemaType.CONFIGURATION) {
return new ConfigurationSchemasPlace(applicationId);
} else if (schemaType == SchemaType.SERVER_PROFILE){
return new ServerProfileSchemasPlace(applicationId);
} else {
return new NotificationSchemasPlace(applicationId);
}
} else {
} else {
return new ApplicationCtlSchemasPlace(applicationId);
}
}
} else {
if (KaaAdmin.getAuthInfo().getAuthority() == KaaAuthorityDto.KAA_ADMIN) {
return new SystemCtlSchemasPlace();
Expand Down

0 comments on commit 6597463

Please sign in to comment.