Skip to content

Commit

Permalink
Use editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
pdex committed Jun 2, 2017
1 parent 6a9d58c commit 9e085c5
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 8 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
@@ -0,0 +1,19 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_size = 2
indent_style = space
tab_width = 2

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

[*.java]
indent_style = space
2 changes: 1 addition & 1 deletion src/main/java/com/xjeffrose/xrpc/ExceptionLogger.java
Expand Up @@ -23,4 +23,4 @@ public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
log.error("Exception caught: " + ctx + cause.getMessage(), cause);
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/xjeffrose/xrpc/MessageLogger.java
Expand Up @@ -61,4 +61,4 @@ private void logMessageDebug(ChannelHandlerContext ctx, String eventName, Object
// return buf.toString();
// }
// }
}
}
Expand Up @@ -80,4 +80,4 @@ public static X509Certificate generate(String fqdn)

return new X509Certificate(fqdn, key, cert);
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/xjeffrose/xrpc/TLS.java
Expand Up @@ -136,4 +136,4 @@ public ChannelHandler getEncryptionHandler() {

return null;
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/xjeffrose/xrpc/X509Certificate.java
Expand Up @@ -30,4 +30,4 @@ public PrivateKey getKey() {
public X509CertImpl getCert() {
return cert;
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/xjeffrose/xrpc/http/Route.java
Expand Up @@ -73,4 +73,4 @@ public Map<String, String> groups(String path) {
return null;
}
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/xjeffrose/xrpc/http/Router.java
Expand Up @@ -351,4 +351,4 @@ protected void channelIdle(ChannelHandlerContext ctx, IdleStateEvent evt) throws
}


}
}
2 changes: 1 addition & 1 deletion src/test/java/com/xjeffrose/xrpc/http/RouteTest.java
Expand Up @@ -72,4 +72,4 @@ public void testCompile() throws Exception {
public void testBuild() throws Exception {

}
}
}

0 comments on commit 9e085c5

Please sign in to comment.