Skip to content

Commit

Permalink
Removing abstract classes from handling in PolymorphicReflectionCodec
Browse files Browse the repository at this point in the history
  • Loading branch information
webermich committed Nov 22, 2017
1 parent ecb45c9 commit 482afc3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Release notes are available [release_notes.md](release_notes.md).
<dependency>
<groupId>de.bild.backend</groupId>
<artifactId>polymorphia</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.bild.backend</groupId>
<artifactId>polymorphia</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>

<name>${project.groupId}:${project.artifactId}</name>

Expand Down
8 changes: 8 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Release Notes
=======

##1.5.0
Abstract classes have been removed from indexing within PolymorphicReflectionCodec

##1.4.0
Improved handling for "legacy" entities that have no discriminator while encoding

## 1.3.0

## 1.2.0
- bug fix for polymorphic type detection

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void reorderingDocumentTest() {
Assert.assertNotNull(documentContainer);
Assert.assertEquals(documentContainer.documents.size(), 2);
for (AbstractDocumentResult document : documentContainer.documents) {
MatcherAssert.assertThat(document, IsInstanceOf.instanceOf(AbstractDocumentResult.class));
MatcherAssert.assertThat(document, IsInstanceOf.instanceOf(DocumentResult.class));
}
for (UrlResult url : documentContainer.urls) {
MatcherAssert.assertThat(url, IsInstanceOf.instanceOf(UrlResult.class));
Expand Down

0 comments on commit 482afc3

Please sign in to comment.