Skip to content

Instantly share code, notes, and snippets.

View yidongnan's full-sized avatar
🎯
Focusing

Michael Zhang yidongnan

🎯
Focusing
View GitHub Profile
@yidongnan
yidongnan / eclipse-java-google-style.xml
Created October 26, 2018 03:09
eclipse-java-google-style.xml修改版
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
============================ local modification =================================
1. Use continuation_indentation of 4
2. Use tabulation.size of 4
3. Use continuation_indentation_for_array_initializer of 4
-->
<profiles version="13">
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
2016-08-19 01:51:12.939 INFO [service-a,,,] 16 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@17678b09: startup date [Fri Aug 19 01:51:12 UTC 2016]; root of context hierarchy
2016-08-19 01:51:14.217 INFO [service-a,,,] 16 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2016-08-19 01:51:14.649 INFO [service-a,,,] 16 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [class org.springframework.retry.annotation.RetryConfiguration$$EnhancerBySpringCGLIB$$67c23249] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-08-19 01:51:14.742 INFO [service-a,,,] 16 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfigurati
@yidongnan
yidongnan / intellij-java-google-style.xml
Last active October 26, 2018 03:06
intellij-java-google-style.xml 修改版
<?xml version="1.0" encoding="UTF-8"?>
<!--
============================ local modification =================================
1. Use INDENT_SIZE of 4
2. Use TAB_SIZE of 4
3. Use CONTINUATION_INDENT_SIZE of 4
-->
<code_scheme name="GoogleStyle">
<option name="OTHER_INDENT_OPTIONS">
@yidongnan
yidongnan / TestClassLoader.java
Last active August 29, 2015 14:05
自定义Tomcat的ClassLoader
/**
* User: Michael Chen
* Email: yidongnan@gmail.com
* Date: 2014/8/12
* Time: 16:33
*/
public class TestClassLoader extends org.apache.catalina.loader.WebappClassLoader {
public TestClassLoader(ClassLoader parent) {
this.setParentClassLoader(parent);