Skip to content

Commit

Permalink
Removing WriteOnly restriction on serialization for fields annotated …
Browse files Browse the repository at this point in the history
…with ReadOnly (#454)
  • Loading branch information
taswartz authored Feb 20, 2024
1 parent f6973c3 commit a5673b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.bullhorn</groupId>
<artifactId>sdk-rest</artifactId>
<version>2.3.5</version>
<version>2.3.6</version>
<packaging>jar</packaging>

<name>Bullhorn REST SDK</name>
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/com/bullhornsdk/data/util/ReadOnly.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package com.bullhornsdk.data.util;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
@JacksonAnnotationsInside
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
public @interface ReadOnly {
}

0 comments on commit a5673b7

Please sign in to comment.