Commit ce5e145a authored by Phillip Webb's avatar Phillip Webb

Add Libraries.NONE static final

parent 0b7256e7
......@@ -25,6 +25,15 @@ import java.io.IOException;
*/
public interface Libraries {
/**
* Represents no libraries.
*/
public static Libraries NONE = new Libraries() {
@Override
public void doWithLibraries(LibraryCallback callback) throws IOException {
}
};
/**
* Iterate all relevant libraries.
* @param callback a callback for each relevant library.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment