Permalink
Browse files

made LazyInitializer a @FunctionalIterface to enable java8 sugar. (#652)

  • Loading branch information...
1 parent 4cd5ef9 commit 7084c8805f7f8ea96c8f8248c85963d6097b36aa @yfarjoun yfarjoun committed on GitHub Jun 28, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/htsjdk/samtools/util/Lazy.java
@@ -28,6 +28,7 @@ public synchronized T get() {
}
/** Describes how to build the instance of the lazy object. */
+ @FunctionalInterface
public interface LazyInitializer<T> {
/** Returns the desired object instance. */
T make();

0 comments on commit 7084c88

Please sign in to comment.