Polish formatting
This commit is contained in:
@@ -77,4 +77,5 @@ public class ValueHint implements Serializable {
|
||||
return "ValueHint{" + "value=" + this.value + ", description='" + this.description
|
||||
+ '\'' + '}';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -62,6 +62,7 @@ public class TestProject {
|
||||
* incremental builds.
|
||||
*/
|
||||
private File sourceFolder;
|
||||
|
||||
private TestCompiler compiler;
|
||||
|
||||
private Set<File> sourceFiles = new LinkedHashSet<File>();
|
||||
@@ -202,4 +203,5 @@ public class TestProject {
|
||||
private static String getContents(File file) throws Exception {
|
||||
return FileCopyUtils.copyToString(new FileReader(file));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -53,4 +53,5 @@ public class BarProperties {
|
||||
public void setCounter(Integer counter) {
|
||||
this.counter = counter;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -53,4 +53,5 @@ public class RenamedBarProperties {
|
||||
public void setCounter(Integer counter) {
|
||||
this.counter = counter;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -57,7 +57,9 @@ public class LombokInnerClassProperties {
|
||||
}
|
||||
|
||||
public enum Fourth {
|
||||
|
||||
YES, NO
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -62,6 +62,7 @@ public class MethodAndClassConfig {
|
||||
public void setFlag(boolean flag) {
|
||||
this.flag = flag;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -51,6 +51,7 @@ public class SimpleMethodConfig {
|
||||
public void setFlag(boolean flag) {
|
||||
this.flag = flag;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -36,4 +36,5 @@ public class BuilderPojo {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -67,6 +67,7 @@ public class GenericConfig<T> {
|
||||
public Map<String, Integer> getStringToInteger() {
|
||||
return this.stringToInteger;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class Bar<U> {
|
||||
@@ -99,6 +100,7 @@ public class GenericConfig<T> {
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -89,12 +89,15 @@ public class InnerClassProperties {
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public enum Fourth {
|
||||
|
||||
YES, NO
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ public class InnerClassRootConfig {
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ public class InvalidDoubleRegistrationProperties {
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -233,6 +233,7 @@ class ProjectLibraries implements Libraries {
|
||||
public String toString() {
|
||||
return getFile().getAbsolutePath();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -99,4 +99,5 @@ public class RunPluginFeatures implements PluginFeatures {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -39,7 +39,6 @@ public final class BuildPropertiesWriter {
|
||||
/**
|
||||
* Creates a new {@code BuildPropertiesWriter} that will write to the given
|
||||
* {@code outputFile}.
|
||||
*
|
||||
* @param outputFile the output file
|
||||
*/
|
||||
public BuildPropertiesWriter(File outputFile) {
|
||||
@@ -168,4 +167,5 @@ public final class BuildPropertiesWriter {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -89,4 +89,5 @@ public abstract class FileUtils {
|
||||
}
|
||||
return hex.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -346,6 +346,7 @@ public class JarWriter {
|
||||
public boolean hasZipHeader() {
|
||||
return Arrays.equals(this.header, ZIP_HEADER);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -386,6 +387,7 @@ public class JarWriter {
|
||||
entry.setCrc(this.crc.getValue());
|
||||
entry.setMethod(ZipEntry.STORED);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,10 +39,13 @@ public abstract class LogbackInitializer {
|
||||
}
|
||||
|
||||
private static class Initializer {
|
||||
|
||||
public void setRootLogLevel() {
|
||||
ILoggerFactory factory = StaticLoggerBinder.getSingleton().getLoggerFactory();
|
||||
Logger logger = factory.getLogger(Logger.ROOT_LOGGER_NAME);
|
||||
((ch.qos.logback.classic.Logger) logger).setLevel(Level.INFO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -315,6 +315,7 @@ public abstract class MainClassFinder {
|
||||
|
||||
/**
|
||||
* Callback interface used to receive class names.
|
||||
*
|
||||
* @param <T> the result type
|
||||
*/
|
||||
public interface ClassNameCallback<T> {
|
||||
|
||||
@@ -59,6 +59,7 @@ public class RepackagerTests {
|
||||
};
|
||||
|
||||
private static final long JAN_1_1980;
|
||||
|
||||
private static final long JAN_1_1985;
|
||||
|
||||
static {
|
||||
|
||||
@@ -631,4 +631,5 @@ public class PropertiesLauncher extends Launcher {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -404,7 +404,9 @@ public class JarFile extends java.util.jar.JarFile {
|
||||
* The type of a {@link JarFile}.
|
||||
*/
|
||||
enum JarFileType {
|
||||
|
||||
DIRECT, NESTED_DIRECTORY, NESTED_JAR
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ import java.util.Set;
|
||||
* @author Juergen Hoeller
|
||||
* @author Rob Harrop
|
||||
* @author Dave Syer
|
||||
*
|
||||
* @see System#getProperty(String)
|
||||
*/
|
||||
public abstract class SystemPropertyUtils {
|
||||
|
||||
@@ -122,6 +122,7 @@ class InternalOutputCapture implements TestRule {
|
||||
this.copy.flush();
|
||||
this.original.flush();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -253,6 +253,7 @@ public class PropertiesLauncherTests {
|
||||
protected Class<?> findClass(String name) throws ClassNotFoundException {
|
||||
return super.findClass(name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -60,4 +60,5 @@ public class WarLauncherTests extends AbstractExecutableArchiveLauncherTests {
|
||||
new URL("jar:" + jarRoot.toURI().toURL() + "!/WEB-INF/classes!/"),
|
||||
new URL("jar:" + jarRoot.toURI().toURL() + "!/WEB-INF/lib/foo.jar!/"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -134,4 +134,5 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo {
|
||||
}
|
||||
return cleaned.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -486,6 +486,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
class LaunchRunner implements Runnable {
|
||||
|
||||
private final String startClassName;
|
||||
|
||||
private final String[] args;
|
||||
|
||||
LaunchRunner(String startClassName, String... args) {
|
||||
|
||||
@@ -382,4 +382,5 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -93,4 +93,5 @@ public class DependencyFilterMojoTests {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@ public final class Verify {
|
||||
public static class ArchiveVerifier {
|
||||
|
||||
private final ZipFile zipFile;
|
||||
|
||||
private final Map<String, ZipEntry> content;
|
||||
|
||||
public ArchiveVerifier(ZipFile zipFile) {
|
||||
@@ -253,6 +254,7 @@ public final class Verify {
|
||||
assertThat(manifest.getMainAttributes().getValue("Not-Used"))
|
||||
.isEqualTo("Foo");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class WarArchiveVerification extends AbstractArchiveVerification {
|
||||
@@ -286,6 +288,7 @@ public final class Verify {
|
||||
assertThat(manifest.getMainAttributes().getValue("Not-Used"))
|
||||
.isEqualTo("Foo");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static class ZipArchiveVerification extends AbstractArchiveVerification {
|
||||
@@ -303,6 +306,7 @@ public final class Verify {
|
||||
assertThat(manifest.getMainAttributes().getValue("Not-Used"))
|
||||
.isEqualTo("Foo");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static class ModuleArchiveVerification extends AbstractArchiveVerification {
|
||||
|
||||
Reference in New Issue
Block a user