From 4a7cd4fd7b792ba9b247cb5b26819b343d182dec Mon Sep 17 00:00:00 2001 From: jlusdy Date: Mon, 4 Mar 2013 14:49:50 +0800 Subject: [PATCH] fix function naming and spelling error. update 'maven-compiler-plugin' version. Fixed #12 --- dist/tprofiler.jar | Bin 88751 -> 90069 bytes pom.xml | 3 ++- .../com/taobao/profile/config/ProfFilter.java | 6 +++--- .../profile/instrument/ProfTransformer.java | 6 +++--- .../profile/thread/TimeControlThread.java | 14 +++++++------- 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/dist/tprofiler.jar b/dist/tprofiler.jar index 4a819ea764a13100f48d2fcb352082b0af101e8f..c4a96786ca3b2f4bfbfdfc33f652c521ed85d558 100644 GIT binary patch delta 9529 zcma)h1z1#F7w(*)ySt2+%cA3Hf&gh9}{QV}R!h!rPp_e>Tu+A|{!!fbQTtAH&OL%WBD&%t#8Itk%k_MH+Sh`9)21u~z23zca~-Se z{R>M!?z#!YXEh3~LFETnA?eiO{FREW$_DPb2$J$43O@fAGZbfiL<|=*W1^fzd@SZc z3ylmV5AUF*mMLk#9gpyINT{Kte_+N$-4Ub!=ZPQ%@Sg~7fcS|p4{#tqssgx(F#z{e zBYGlGLM2ZGJ*e1e6FVX*1m~|Oho*l96+yQ*9zfqgPmpi0ex0Z`uuD!o{oPcYK%5i+!i>pzITvw90UO2-u_l5#$=5FGVJQ491So%H^

@I>nld5sIYB- zy~T~BY*MGL-6@iwo{!eF-}V$=Gsg+ia1Dmzz9VH8I;d8;yPE1f;|mS3%C32;bsfhxoVHyosxC?jSydi=>^|wDUr^jmBO1d zZC1jJUf%w5lI5>uOvXinvuT!$YbqOT;kSqKtbDT`bye6nyb3UpOCjdU$hSx_%I%6H z-_gHbA2qjMF1$-qtBKsZ=B_Tr)~0vM8c&mm%S0tzuf{D&Ttk2tNrA!s*u{ZYEV7gD zZQQV6x?~4oKT_0hAhFM`>SrfaQ^nwyod}VSeP(ZVj6UD?i6CUyQA^`we~0&e|2w=N zkM+6K6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442daf0 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.0 1.6 1.6 @@ -26,7 +27,7 @@ maven-assembly-plugin - 2.2-beta-5 + 2.2.2 jar-with-dependencies diff --git a/src/main/java/com/taobao/profile/config/ProfFilter.java b/src/main/java/com/taobao/profile/config/ProfFilter.java index 6aa6930..3470cf4 100644 --- a/src/main/java/com/taobao/profile/config/ProfFilter.java +++ b/src/main/java/com/taobao/profile/config/ProfFilter.java @@ -75,7 +75,7 @@ public static void addExcludeClassLoader(String classLoader) { * @param className * @return */ - public static boolean IsNeedInject(String className) { + public static boolean isNeedInject(String className) { String icaseName = className.toLowerCase().replace('.', '/'); for (String v : includePackage) { if (icaseName.startsWith(v)) { @@ -91,7 +91,7 @@ public static boolean IsNeedInject(String className) { * @param className * @return */ - public static boolean IsNotNeedInject(String className) { + public static boolean isNotNeedInject(String className) { String icaseName = className.toLowerCase().replace('.', '/'); for (String v : excludePackage) { if (icaseName.startsWith(v)) { @@ -107,7 +107,7 @@ public static boolean IsNotNeedInject(String className) { * @param classLoader * @return */ - public static boolean IsNotNeedInjectClassLoader(String classLoader) { + public static boolean isNotNeedInjectClassLoader(String classLoader) { for (String v : excludeClassLoader) { if (classLoader.equals(v)) { return true; diff --git a/src/main/java/com/taobao/profile/instrument/ProfTransformer.java b/src/main/java/com/taobao/profile/instrument/ProfTransformer.java index 0f7b3d0..c575ea3 100644 --- a/src/main/java/com/taobao/profile/instrument/ProfTransformer.java +++ b/src/main/java/com/taobao/profile/instrument/ProfTransformer.java @@ -33,13 +33,13 @@ public class ProfTransformer implements ClassFileTransformer { */ public byte[] transform(ClassLoader loader, String className, Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException { - if (ProfFilter.IsNotNeedInjectClassLoader(loader.getClass().getName())) { + if (ProfFilter.isNotNeedInjectClassLoader(loader.getClass().getName())) { return classfileBuffer; } - if (!ProfFilter.IsNeedInject(className)) { + if (!ProfFilter.isNeedInject(className)) { return classfileBuffer; } - if (ProfFilter.IsNotNeedInject(className)) { + if (ProfFilter.isNotNeedInject(className)) { return classfileBuffer; } if (Manager.instance().isDebugMode()) { diff --git a/src/main/java/com/taobao/profile/thread/TimeControlThread.java b/src/main/java/com/taobao/profile/thread/TimeControlThread.java index 874d336..3840b47 100644 --- a/src/main/java/com/taobao/profile/thread/TimeControlThread.java +++ b/src/main/java/com/taobao/profile/thread/TimeControlThread.java @@ -31,11 +31,11 @@ public class TimeControlThread extends Thread { /** * */ - private InnerControTime startTime; + private InnerControlTime startTime; /** * */ - private InnerControTime endTime; + private InnerControlTime endTime; /** * @param start @@ -50,7 +50,7 @@ public TimeControlThread(ProfConfig config) { * @param time * @return */ - public long waitTime(InnerControTime time) { + public long waitTime(InnerControlTime time) { Calendar cal = Calendar.getInstance(); cal.set(Calendar.HOUR_OF_DAY, time.getHour()); cal.set(Calendar.MINUTE, time.getMinute()); @@ -64,7 +64,7 @@ public long waitTime(InnerControTime time) { * @param time * @return */ - public long nextStartTime(InnerControTime time) { + public long nextStartTime(InnerControlTime time) { Calendar cal = Calendar.getInstance(); cal.add(Calendar.DAY_OF_MONTH, 1); cal.set(Calendar.HOUR_OF_DAY, time.getHour()); @@ -128,7 +128,7 @@ public void run() { * @param time * @return */ - public InnerControTime parse(String time) { + public InnerControlTime parse(String time) { if (time == null) { return null; } else { @@ -139,7 +139,7 @@ public InnerControTime parse(String time) { int hour = Integer.valueOf(_time[0]); int minute = Integer.valueOf(_time[1]); int second = Integer.valueOf(_time[2]); - InnerControTime inner = new InnerControTime(); + InnerControlTime inner = new InnerControlTime(); inner.setHour(hour); inner.setMinute(minute); inner.setSecond(second); @@ -158,7 +158,7 @@ public InnerControTime parse(String time) { * @author shutong.dy * @since 2012-1-12 */ - private class InnerControTime { + private class InnerControlTime { private int hour; private int minute; private int second;