Skip to content

Commit

Permalink
release off of master (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaszurkan-optimizely authored Nov 15, 2019
1 parent dbca3b7 commit 13c27ff
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Optimizely Java X SDK Changelog

## 3.3.3
November 14th, 2019

### New Features:
- Require EventHandler in BatchEventProcessor builder. ([#333](https://github.com/optimizely/java-sdk/pull/333))
- Defend against invalid BatchEventProcessor configuration overrides. i([#331](https://github.com/optimizely/java-sdk/pull/331))

## 3.3.2
October 23rd, 2019

Expand Down
11 changes: 11 additions & 0 deletions core-api/src/main/java/com/optimizely/ab/Optimizely.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public class Optimizely implements AutoCloseable {
@VisibleForTesting
final DecisionService decisionService;
@VisibleForTesting
@Deprecated
final EventHandler eventHandler;
@VisibleForTesting
final EventProcessor eventProcessor;
Expand Down Expand Up @@ -1032,11 +1033,21 @@ public Builder withErrorHandler(ErrorHandler errorHandler) {
return this;
}

/**
* The withEventHandler has has been moved to the EventProcessor which takes a EventHandler in it's builder
* method.
* {@link com.optimizely.ab.event.BatchEventProcessor.Builder#withEventHandler(com.optimizely.ab.event.EventHandler)} label}
* Please use that builder method instead.
*/
@Deprecated
public Builder withEventHandler(EventHandler eventHandler) {
this.eventHandler = eventHandler;
return this;
}

/**
* You can instantiate a BatchEventProcessor or a ForwardingEventProcessor or supply your own.
*/
public Builder withEventProcessor(EventProcessor eventProcessor) {
this.eventProcessor = eventProcessor;
return this;
Expand Down

0 comments on commit 13c27ff

Please sign in to comment.