Skip to content

Commit 5f621da

Browse files
committed
Standard code formatting
1 parent 6801aa6 commit 5f621da

File tree

8 files changed

+9
-26
lines changed

8 files changed

+9
-26
lines changed

LICENSE.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@
204204
See the License for the specific language governing permissions and
205205
limitations under the License.
206206
207-
208-
209207
APACHE HTTP SERVER SUBCOMPONENTS:
210208
211209
The Apache HTTP Server includes a number of subcomponents with
@@ -253,7 +251,6 @@ For the mod_mime_magic component:
253251
*
254252
*/
255253
256-
257254
For the modules\mappers\mod_imagemap.c component:
258255
259256
"macmartinized" polygon code copyright 1992 by Eric Haines, erich@eye.com
@@ -284,7 +281,6 @@ For the server\util_md5.c component:
284281
*
285282
*/
286283
287-
288284
/* these portions extracted from mpack, John G. Myers - jgm+@cmu.edu */
289285
/* (C) Copyright 1993,1994 by Carnegie Mellon University
290286
* All Rights Reserved.
@@ -457,7 +453,6 @@ For the srclib\apr-util\include\apr_md4.h component:
457453
* documentation and/or software.
458454
*/
459455
460-
461456
For the srclib\apr-util\test\testmd4.c component:
462457
463458
*
@@ -548,6 +543,5 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
548543
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
549544
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
550545
551-
552546
====================================================================
553547
----

compiler/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1920

2021
<parent>
2122
<groupId>net.openhft</groupId>
2223
<artifactId>java-parent-pom</artifactId>
2324
<version>1.1.16</version>
24-
<relativePath />
25+
<relativePath/>
2526
</parent>
2627

2728
<modelVersion>4.0.0</modelVersion>
@@ -115,7 +116,7 @@
115116
<artifactId>maven-bundle-plugin</artifactId>
116117
<extensions>true</extensions>
117118
<configuration>
118-
<instructions>
119+
<instructions>
119120
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
120121
<Bundle-Name>OpenHFT :: ${project.artifactId}</Bundle-Name>
121122
<Bundle-Version>${project.version}</Bundle-Version>

compiler/src/main/java/net/openhft/compiler/CachedCompiler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import java.io.File;
3232
import java.io.IOException;
3333
import java.io.PrintWriter;
34-
import java.util.*;
3534

3635
import static net.openhft.compiler.CompilerUtils.*;
3736

compiler/src/main/java/net/openhft/compiler/CompilerUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import javax.tools.JavaCompiler;
2727
import javax.tools.StandardJavaFileManager;
2828
import javax.tools.ToolProvider;
29-
import java.io.*;
3029
import java.lang.management.ManagementFactory;
3130
import java.lang.reflect.InvocationTargetException;
3231
import java.lang.reflect.Method;
@@ -63,7 +62,7 @@ public enum CompilerUtils {
6362

6463
private static boolean isDebug() {
6564
String inputArguments = ManagementFactory.getRuntimeMXBean().getInputArguments().toString();
66-
return inputArguments.contains("-Xdebug")|| inputArguments.contains("-agentlib:jdwp=");
65+
return inputArguments.contains("-Xdebug") || inputArguments.contains("-agentlib:jdwp=");
6766
}
6867

6968
private static void reset() {

compiler/src/main/java/net/openhft/compiler/JavaSourceFromString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.net.URI;
2525

2626
/* A file object used to represent source coming from a string.
27-
*/
27+
*/
2828
class JavaSourceFromString extends SimpleJavaFileObject {
2929
/**
3030
* The source code of this "file".

compiler/src/main/java/net/openhft/compiler/MyJavaFileManager.java

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,9 @@
2020

2121
import org.jetbrains.annotations.NotNull;
2222

23-
import javax.tools.FileObject;
24-
import javax.tools.JavaFileManager;
25-
import javax.tools.JavaFileObject;
23+
import javax.tools.*;
2624
import javax.tools.JavaFileObject.Kind;
27-
import javax.tools.SimpleJavaFileObject;
28-
import javax.tools.StandardJavaFileManager;
29-
import javax.tools.StandardLocation;
30-
import java.io.ByteArrayInputStream;
31-
import java.io.ByteArrayOutputStream;
32-
import java.io.IOException;
33-
import java.io.InputStream;
34-
import java.io.OutputStream;
25+
import java.io.*;
3526
import java.lang.reflect.InvocationTargetException;
3627
import java.lang.reflect.Method;
3728
import java.net.URI;

compiler/src/test/java/eg/FooBarTee.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import eg.components.Foo;
2222
import eg.components.TeeImpl;
2323

24-
public class FooBarTee{
24+
public class FooBarTee {
2525
public final String name;
2626
public final TeeImpl tee;
2727
public final BarImpl bar;

compiler/src/test/java/net/openhft/compiler/CompilerTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import junit.framework.TestCase;
2424
import org.junit.Test;
2525

26-
import java.io.*;
2726
import java.lang.reflect.Constructor;
2827
import java.lang.reflect.InvocationTargetException;
2928
import java.util.Arrays;

0 commit comments

Comments
 (0)