Polish
This commit is contained in:
@@ -248,7 +248,7 @@ public class JarWriter {
|
||||
/**
|
||||
* Interface used to write jar entry date.
|
||||
*/
|
||||
private static interface EntryWriter {
|
||||
private interface EntryWriter {
|
||||
|
||||
/**
|
||||
* Write entry data to the specified output stream
|
||||
|
||||
@@ -28,7 +28,7 @@ public interface Libraries {
|
||||
/**
|
||||
* Represents no libraries.
|
||||
*/
|
||||
public static Libraries NONE = new Libraries() {
|
||||
Libraries NONE = new Libraries() {
|
||||
@Override
|
||||
public void doWithLibraries(LibraryCallback callback) throws IOException {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2013 the original author or authors.
|
||||
* Copyright 2012-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -28,7 +28,7 @@ public interface LibraryScope {
|
||||
/**
|
||||
* The library is used at compile time and runtime.
|
||||
*/
|
||||
public static final LibraryScope COMPILE = new LibraryScope() {
|
||||
LibraryScope COMPILE = new LibraryScope() {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -40,7 +40,7 @@ public interface LibraryScope {
|
||||
/**
|
||||
* The library is used at runtime but not needed for compile.
|
||||
*/
|
||||
public static final LibraryScope RUNTIME = new LibraryScope() {
|
||||
LibraryScope RUNTIME = new LibraryScope() {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -52,7 +52,7 @@ public interface LibraryScope {
|
||||
/**
|
||||
* The library is needed for compile but is usually provided when running.
|
||||
*/
|
||||
public static final LibraryScope PROVIDED = new LibraryScope() {
|
||||
LibraryScope PROVIDED = new LibraryScope() {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -64,7 +64,7 @@ public interface LibraryScope {
|
||||
/**
|
||||
* Marker for custom scope when custom configuration is used.
|
||||
*/
|
||||
public static final LibraryScope CUSTOM = new LibraryScope() {
|
||||
LibraryScope CUSTOM = new LibraryScope() {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
@@ -313,7 +313,7 @@ public abstract class MainClassFinder {
|
||||
* Callback interface used to receive class names.
|
||||
* @param <T> the result type
|
||||
*/
|
||||
public static interface ClassNameCallback<T> {
|
||||
public interface ClassNameCallback<T> {
|
||||
|
||||
/**
|
||||
* Handle the specified class name
|
||||
|
||||
Reference in New Issue
Block a user