Skip to content

Commit 17c3129

Browse files
author
dxcity
committed
tagging release 3.269
1 parent 1448107 commit 17c3129

File tree

46 files changed

+56
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+56
-47
lines changed

ReleaseNotes.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
QDS 3.269:
3+
4+
* [QD-1099] Make DXFeedSubscription and DXEndpoint implement AutoCloseable
5+
* [QD-962] Some tests in AuthorizationTest do not check the declared functionality
6+
27
QDS 3.268:
38

49
* [QD-1107] dxlib: Add util methods to find day ranges for certain number of weeks, months or years with proper alignment

auth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
<relativePath>../pom.xml</relativePath>
1919
</parent>
2020
<modelVersion>4.0.0</modelVersion>

dxfeed-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
<relativePath>../pom.xml</relativePath>
1919
</parent>
2020
<modelVersion>4.0.0</modelVersion>

dxfeed-api/src/main/java/com/dxfeed/api/DXEndpoint.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
* their implementation is in "<b>qds.jar</b>". You need to have "<b>qds.jar</b>" in your classpath
208208
* in order to use dxFeed API.
209209
*/
210-
public abstract class DXEndpoint {
210+
public abstract class DXEndpoint implements AutoCloseable {
211211
/**
212212
* Defines property for endpoint name that is used to distinguish multiple endpoints
213213
* in the same JVM in logs and in other diagnostic means.
@@ -688,6 +688,7 @@ public static DXEndpoint create(Role role) {
688688
* The endpoint {@link #getState() state} immediately becomes {@link State#CLOSED CLOSED}.
689689
* All resources associated with this endpoint are released.
690690
*/
691+
@Override
691692
public abstract void close();
692693

693694
/**

dxfeed-api/src/main/java/com/dxfeed/api/DXFeedSubscription.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
*
216216
* @param <E> the type of events.
217217
*/
218-
public class DXFeedSubscription<E> implements Serializable, ObservableSubscription<E> {
218+
public class DXFeedSubscription<E> implements Serializable, ObservableSubscription<E>, AutoCloseable {
219219
private static final long serialVersionUID = 0;
220220

221221
// closed state
@@ -294,6 +294,7 @@ public boolean isClosed() {
294294
* <p> This method ensures that subscription can be safely garbage-collected when all outside references
295295
* to it are lost.
296296
*/
297+
@Override
297298
public synchronized void close() {
298299
if (closed)
299300
return;
@@ -892,7 +893,6 @@ boolean contains(Class<?> eventType) {
892893
}
893894

894895
@Override
895-
@SuppressWarnings("unchecked")
896896
Set<Class<? extends E>> asSet() {
897897
if (set == null)
898898
set = Collections.unmodifiableSet(new IndexedSet<Class<? extends E>, Class<? extends E>>(Arrays.asList(eventTypes)));

dxfeed-bin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
<relativePath>../pom.xml</relativePath>
1919
</parent>
2020
<modelVersion>4.0.0</modelVersion>

dxfeed-codegen-verify/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
</parent>
1919
<modelVersion>4.0.0</modelVersion>
2020

dxfeed-codegen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
<relativePath>../pom.xml</relativePath>
1919
</parent>
2020
<modelVersion>4.0.0</modelVersion>

dxfeed-impl/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
</parent>
1919
<modelVersion>4.0.0</modelVersion>
2020

dxfeed-ipf-filter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<artifactId>QD</artifactId>
1616
<groupId>com.devexperts.qd</groupId>
17-
<version>3.268</version>
17+
<version>3.269</version>
1818
</parent>
1919
<modelVersion>4.0.0</modelVersion>
2020

0 commit comments

Comments
 (0)