diff options
Diffstat (limited to 'infra/translate-api')
3 files changed, 7 insertions, 7 deletions
diff --git a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteContext.java b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteContext.java index 17aea8d8a..c92bffeca 100644 --- a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteContext.java +++ b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteContext.java @@ -24,7 +24,7 @@ import org.opendaylight.yangtools.yang.binding.DataObject; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; /** - * Context providing information about current state of DataTree to writers + * Context providing information about current state of DataTree to writers. */ @Beta public interface WriteContext extends ModificationContext { diff --git a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteFailedException.java b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteFailedException.java index 8f89d3163..875a92d6c 100644 --- a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteFailedException.java +++ b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriteFailedException.java @@ -97,11 +97,11 @@ public class WriteFailedException extends TranslationException { } /** - * Create specific write failed exception + * Create specific write failed exception. */ public static class CreateFailedException extends WriteFailedException { - private final DataObject data; + private final transient DataObject data; public CreateFailedException(@Nonnull final InstanceIdentifier<?> failedId, @Nonnull final DataObject data, @@ -126,12 +126,12 @@ public class WriteFailedException extends TranslationException { } /** - * Update specific write failed exception + * Update specific write failed exception. */ public static class UpdateFailedException extends WriteFailedException { - private final DataObject dataBefore; - private final DataObject dataAfter; + private final transient DataObject dataBefore; + private final transient DataObject dataAfter; public UpdateFailedException(@Nonnull final InstanceIdentifier<?> failedId, @Nonnull final DataObject dataBefore, diff --git a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/registry/WriterRegistry.java b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/registry/WriterRegistry.java index 2467972da..402335115 100644 --- a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/registry/WriterRegistry.java +++ b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/registry/WriterRegistry.java @@ -133,7 +133,7 @@ public interface WriterRegistry { @Beta class BulkUpdateException extends TranslationException { - private final Reverter reverter; + private final transient Reverter reverter; private final Set<InstanceIdentifier<?>> failedIds; /** |