Reformat code
This commit is contained in:
@@ -83,8 +83,8 @@ class ConnectionInputStream extends FilterInputStream {
|
||||
}
|
||||
|
||||
/**
|
||||
* Read a number of bytes from the stream (checking that the end of the stream
|
||||
* hasn't been reached)
|
||||
* Read a number of bytes from the stream (checking that the end of the stream hasn't
|
||||
* been reached)
|
||||
* @param buffer the destination buffer
|
||||
* @param offset the buffer offset
|
||||
* @param length the length to read
|
||||
|
||||
@@ -33,16 +33,16 @@ public class HttpStatusHandler implements Handler {
|
||||
private final HttpStatus status;
|
||||
|
||||
/**
|
||||
* Create a new {@link HttpStatusHandler} instance that will respond with a HTTP OK 200
|
||||
* status.
|
||||
* Create a new {@link HttpStatusHandler} instance that will respond with a HTTP OK
|
||||
* 200 status.
|
||||
*/
|
||||
public HttpStatusHandler() {
|
||||
this(HttpStatus.OK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new {@link HttpStatusHandler} instance that will respond with the specified
|
||||
* status.
|
||||
* Create a new {@link HttpStatusHandler} instance that will respond with the
|
||||
* specified status.
|
||||
* @param status the status
|
||||
*/
|
||||
public HttpStatusHandler(HttpStatus status) {
|
||||
|
||||
@@ -33,8 +33,8 @@ import java.util.regex.Pattern;
|
||||
class ChangeableUrls implements Iterable<URL> {
|
||||
|
||||
private static final String[] SKIPPED_PROJECTS = { "spring-boot",
|
||||
"spring-boot-devtools", "spring-boot-autoconfigure",
|
||||
"spring-boot-actuator", "spring-boot-starter" };
|
||||
"spring-boot-devtools", "spring-boot-autoconfigure", "spring-boot-actuator",
|
||||
"spring-boot-starter" };
|
||||
|
||||
private static final Pattern STARTER_PATTERN = Pattern
|
||||
.compile("\\/spring-boot-starter-[\\w-]+\\/");
|
||||
|
||||
Reference in New Issue
Block a user