Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/EngineService.java

Issue 29436555: Issue 5231 - Use Java 7 features (Closed)
Patch Set: Created May 11, 2017, 6:30 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/EngineService.java
===================================================================
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/EngineService.java
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/EngineService.java
@@ -28,17 +28,17 @@ import android.util.Log;
public final class EngineService extends Service
{
private static final String TAG = EngineService.class.getSimpleName();
private volatile Engine engine = null;
private volatile boolean isInitialized = false;
private Throwable failureCause = null;
private static final LinkedBlockingQueue<EngineCreatedCallbackWrapper> ON_CREATED_CALLBACKS =
- new LinkedBlockingQueue<EngineCreatedCallbackWrapper>();
+ new LinkedBlockingQueue<>();
@Override
public int onStartCommand(Intent intent, int flags, int startId)
{
return Service.START_STICKY;
}
/**

Powered by Google App Engine
This is Rietveld