Skip to content

Commit 6ebd746

Browse files
authored
Remove Unused Prism Code (#66)
* remove unused prism code * Update RecordModel.java
1 parent 6d6807e commit 6ebd746

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

avaje-record-builder-core/src/main/java/io/avaje/recordbuilder/internal/RecordBuilderPrism.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -170,30 +170,6 @@ private Values(Map<String, AnnotationValue> values) {
170170
AnnotationValue getters() {
171171
return values.get("getters");
172172
}
173-
174-
/**
175-
* Return the AnnotationValue corresponding to the enforceNullSafety() member of the annotation,
176-
* or null when the default value is implied.
177-
*/
178-
AnnotationValue enforceNullSafety() {
179-
return values.get("enforceNullSafety");
180-
}
181-
182-
/**
183-
* Return the AnnotationValue corresponding to the nullableAnnotation() member of the
184-
* annotation, or null when the default value is implied.
185-
*/
186-
AnnotationValue nullableAnnotation() {
187-
return values.get("nullableAnnotation");
188-
}
189-
190-
/**
191-
* Return the AnnotationValue corresponding to the builderInterfaces() member of the annotation,
192-
* or null when the default value is implied.
193-
*/
194-
AnnotationValue builderInterfaces() {
195-
return values.get("builderInterfaces");
196-
}
197173
}
198174

199175
private final Map<String, AnnotationValue> defaults = new HashMap<>(10);

avaje-record-builder-core/src/main/java/io/avaje/recordbuilder/internal/RecordModel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ final class RecordModel {
3636
this.components = components;
3737
importTypes.add("io.avaje.recordbuilder.Generated");
3838
importTypes.add("java.util.function.Consumer");
39-
importTypes.add("java.util.function.Consumer");
4039

4140
if (APContext.typeElement(NullablePrism.PRISM_TYPE) != null) {
4241
importTypes.add(NullablePrism.PRISM_TYPE);

0 commit comments

Comments
 (0)