@@ -36,25 +36,16 @@ public class TestableUberspect implements Uberspect, UberspectLoggable {
3636 public void init () throws Exception {
3737 }
3838
39- /**
40- * *******************************************************************
41- */
4239 public void setRuntimeLogger (RuntimeLogger runtimeLogger ) {
4340 introspector = new IntrospectorBase ();
4441 introspectorWithLog = new Introspector (runtimeLogger );
4542 log = runtimeLogger ;
4643 }
4744
48- /**
49- * *******************************************************************
50- */
5145 public Iterator getIterator (Object obj , Info i ) throws Exception {
5246 return getStandardIterator (obj , i );
5347 }
5448
55- /**
56- * *******************************************************************
57- */
5849 public static Iterator getStandardIterator (Object obj , Info i ) {
5950 if (obj .getClass ().isArray ()) {
6051 return new ArrayIterator (obj );
@@ -70,9 +61,6 @@ public static Iterator getStandardIterator(Object obj, Info i) {
7061 throw new VelocityParsingError ("Could not determine type of iterator in " + "#foreach loop " , i );
7162 }
7263
73- /**
74- * *******************************************************************
75- */
7664 public VelMethod getMethod (Object obj , String methodName , Object [] args , Info i ) throws Exception {
7765 if (obj == null ) {
7866 throw new VelocityParsingError ("tried " + getMethodText ("null" , methodName , args ), i );
@@ -84,9 +72,6 @@ public VelMethod getMethod(Object obj, String methodName, Object[] args, Info i)
8472 return new VelMethodImpl (m );
8573 }
8674
87- /**
88- * *******************************************************************
89- */
9075 public static String getMethodText (String className , String methodName , Object [] args ) {
9176 StringBuilder methodSignature = new StringBuilder ();
9277 for (int i = 0 ; args != null && i < args .length ; i ++) {
@@ -96,9 +81,6 @@ public static String getMethodText(String className, String methodName, Object[]
9681 return className + "." + methodName + "(" + methodSignature + ") " ;
9782 }
9883
99- /**
100- * *******************************************************************
101- */
10284 public VelPropertyGet getPropertyGet (Object obj , String identifier , Info i ) throws Exception {
10385 AbstractExecutor executor ;
10486 if (obj == null ) {
@@ -121,16 +103,10 @@ public VelPropertyGet getPropertyGet(Object obj, String identifier, Info i) thro
121103 return new VelGetterImpl (executor );
122104 }
123105
124- /**
125- * *******************************************************************
126- */
127106 private String getPropertyText (String className , String identifier ) {
128107 return className + "." + identifier + " " ;
129108 }
130109
131- /**
132- * *******************************************************************
133- */
134110 public VelPropertySet getPropertySet (Object obj , String identifier , Object arg , Info i ) throws Exception {
135111 Class <?> type = obj .getClass ();
136112 VelMethod vm = null ;
@@ -170,12 +146,7 @@ public VelPropertySet getPropertySet(Object obj, String identifier, Object arg,
170146 }
171147 return (vm != null ) ? new VelSetterImpl (vm ) : null ;
172148 }
173- /***********************************************************************/
174- /* INNER CLASS */
175149
176- /**
177- * *******************************************************************
178- */
179150 public static class VelMethodImpl implements VelMethod {
180151 Method method = null ;
181152
0 commit comments