Skip to content

Commit

Permalink
Fix code smells; remove unnecessary cleanup config in Concierge.
Browse files Browse the repository at this point in the history
Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
  • Loading branch information
yufei-cai committed Sep 13, 2021
1 parent 4dce661 commit f538564
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 1,197 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public final class HttpStatus {
public static final HttpStatus NETWORK_CONNECT_TIMEOUT = assign(599);

private final int code;
private final transient Category category;
private final Category category;

private HttpStatus(final int code, final Category category) {
this.code = code;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ public abstract class DittoRuntimeException extends RuntimeException
implements Jsonifiable.WithPredicate<JsonObject, JsonField>, DittoHeadersSettable<DittoRuntimeException>,
WithManifest {

private static final long serialVersionUID = -7010323324132561106L;

private final String errorCode;
private final HttpStatus httpStatus;
private final transient HttpStatus httpStatus;
private final String description;
private final URI href;
private final transient DittoHeaders dittoHeaders; // not serializable!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,4 @@ public interface ConciergeConfig extends ServiceSpecificConfig, WithHealthCheckC
*/
ThingsAggregatorConfig getThingsAggregatorConfig();

/**
* Returns the config for persistence cleanup actions.
*
* @return the config.
*/
PersistenceCleanupConfig getPersistenceCleanupConfig();

}

This file was deleted.

This file was deleted.

Loading

0 comments on commit f538564

Please sign in to comment.