Skip to content

Commit b9160ee

Browse files
committed
chore(curation): remove old override classes
1 parent 48fd84b commit b9160ee

File tree

3 files changed

+0
-83
lines changed

3 files changed

+0
-83
lines changed

src/main/java/org/typesense/api/Collection.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ public class Collection {
2121
private Synonyms synonyms;
2222
private Map<String, Synonym> individualSynonyms;
2323

24-
private Overrides overrides;
25-
private Map<String, Override> individualOverrides;
26-
2724
private final String endpoint;
2825

2926
Collection(String name, ApiCall apiCall, Configuration configuration) {
@@ -35,8 +32,6 @@ public class Collection {
3532
this.individualDocuments = new HashMap<>();
3633
this.synonyms = new Synonyms(this.name, this.apiCall);
3734
this.individualSynonyms = new HashMap<>();
38-
this.overrides = new Overrides(this.name, this.apiCall);
39-
this.individualOverrides = new HashMap<>();
4035
}
4136

4237
public CollectionResponse retrieve() throws Exception {
@@ -100,19 +95,4 @@ public Synonym synonyms(String synonymId) {
10095
retVal = this.individualSynonyms.get(synonymId);
10196
return retVal;
10297
}
103-
104-
public Overrides overrides() {
105-
return this.overrides;
106-
}
107-
108-
public Override overrides(String overrideId) {
109-
Override retVal;
110-
111-
if (!this.individualOverrides.containsKey(overrideId)) {
112-
this.individualOverrides.put(overrideId, new Override(this.name, overrideId, this.apiCall));
113-
}
114-
115-
retVal = this.individualOverrides.get(overrideId);
116-
return retVal;
117-
}
11898
}

src/main/java/org/typesense/api/Override.java

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/main/java/org/typesense/api/Overrides.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)