Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public interface Schema {
*/
Stream<Entry> getAllEntries();

@JsonbTransient
default Map<String, Entry> getEntryMap() {
throw new UnsupportedOperationException("#getEntryMap is not implemented");
}
Expand All @@ -89,6 +90,7 @@ default Schema.Builder toBuilder() {
*
* @return all entries ordered
*/
@JsonbTransient
default List<Entry> getEntriesOrdered() {
return getEntriesOrdered(naturalOrder());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public Stream<Entry> getAllEntries() {
@Override
@JsonbTransient
public List<Entry> getEntriesOrdered() {
throw new UnsupportedOperationException("#getEntriesOrdered()");
return emptyList();
}

@Override
Expand Down Expand Up @@ -250,6 +250,7 @@ public Builder remove(final Entry entry) {
}

@Override
@JsonbTransient
public List<Entry> getEntriesOrdered(final Comparator<Entry> comparator) {
throw new UnsupportedOperationException("#getEntriesOrdered()");
}
Expand Down
Loading