Skip to content

Commit

Permalink
Revert interface changes to helpers/Service that we cannot make accor…
Browse files Browse the repository at this point in the history
…ding to revapi.

Also clean up the FulltextIndexBuilder and IndexUpdateSink APIs such that we avoid nulls.
  • Loading branch information
chrisvest committed Aug 9, 2018
1 parent cccf3ea commit d61c3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions community/kernel/src/main/java/org/neo4j/helpers/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public abstract class Service
* Enabling this is useful for debugging why services aren't loaded where you would expect them to.
*/
private static final boolean printServiceLoaderStackTraces =
flag( Service.class, "printServiceLoaderStackTraces", true );
flag( Service.class, "printServiceLoaderStackTraces", false );

private final Set<String> keys;

Expand Down Expand Up @@ -196,7 +196,7 @@ public static <T extends Service> T loadSilently( Class<T> type, String key )
* @return the matching Service implementation
* @throws NoSuchElementException if no service could be loaded with the given key.
*/
public static <T extends Service> T load( Class<T> type, String key ) throws NoSuchElementException
public static <T extends Service> T load( Class<T> type, String key )
{
T service = loadSilently( type, key );
if ( service == null )
Expand Down

0 comments on commit d61c3be

Please sign in to comment.