mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add Libraries.NONE static final
This commit is contained in:
parent
0b7256e7f9
commit
ce5e145afa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user