From: aclement Date: Wed, 4 Jun 2008 21:17:50 +0000 (+0000) Subject: 231396: refactoring AspectJ: PMD reported - no need for ctor X-Git-Tag: V1_6_1rc1~142 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9d503f6e3b8c9b425498a2ab3df1a6545359c616;p=aspectj.git 231396: refactoring AspectJ: PMD reported - no need for ctor --- diff --git a/weaver/src/org/aspectj/weaver/NameMangler.java b/weaver/src/org/aspectj/weaver/NameMangler.java index 510877da8..4f9d336dc 100644 --- a/weaver/src/org/aspectj/weaver/NameMangler.java +++ b/weaver/src/org/aspectj/weaver/NameMangler.java @@ -18,9 +18,7 @@ import java.lang.reflect.Modifier; import org.aspectj.weaver.bcel.LazyClassGen; public class NameMangler { - private NameMangler() { - throw new RuntimeException("static"); - } + public static final char[] AJC_DOLLAR_PREFIX = {'a', 'j', 'c','$'}; public static final char[] CLINIT={'<','c','l','i','n','i','t','>'}; public static final String PREFIX = "ajc$";