Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/docs/filter_policies/filter_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ documents.

A policy:

* Must have a `name` that uniquely identifies it.
* Must have a list of `identifiers` that are filters for sensitive information.
* Each `identifier` , or filter, can have zero or more [filter strategies](filter-strategies.md). A filter strategy
tells Phileas how to manipulate that type of sensitive information when it is identified.
Expand Down
13 changes: 0 additions & 13 deletions src/main/java/ai/philterd/phileas/policy/Policy.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@

public class Policy {

@SerializedName("name")
@Expose
private String name = "unnamed";

@SerializedName("config")
@Expose
private Config config = new Config();
Expand Down Expand Up @@ -65,7 +61,6 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
return new HashCodeBuilder(17, 37).
append(name).
append(crypto).
append(identifiers).
append(ignored).
Expand All @@ -74,14 +69,6 @@ public int hashCode() {
toHashCode();
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public Identifiers getIdentifiers() {
return identifiers;
}
Expand Down
Loading