You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/03/03 22:42:57 UTC
svn commit: r1076814 - in
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5:
services/ClassTransformation.java test/TapestryTestCase.java
Author: hlship
Date: Thu Mar 3 21:42:56 2011
New Revision: 1076814
URL: http://svn.apache.org/viewvc?rev=1076814&view=rev
Log:
TAP5-1467: Remove deprecated methods from ClassTransformation
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/TapestryTestCase.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java?rev=1076814&r1=1076813&r2=1076814&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/ClassTransformation.java Thu Mar 3 21:42:56 2011
@@ -287,19 +287,6 @@ public interface ClassTransformation ext
int getFieldModifiers(String fieldName);
/**
- * Converts a signature to a string used to identify the method; this consists of the
- * {@link TransformMethodSignature#getMediumDescription()} appended with source file information
- * and line number
- * information (when available).
- *
- * @param signature
- * @return a string that identifies the class, method name, types of parameters, source file and
- * source line number
- * @deprecated Use {@link TransformMethod#getMethodIdentifier()} instead
- */
- String getMethodIdentifier(TransformMethodSignature signature);
-
- /**
* Returns true if this transformation represents a root class (one that extends directly from
* Object), or false if this transformation is an sub-class of another transformed class.
*
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/TapestryTestCase.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/TapestryTestCase.java?rev=1076814&r1=1076813&r2=1076814&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/TapestryTestCase.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/test/TapestryTestCase.java Thu Mar 3 21:42:56 2011
@@ -566,12 +566,6 @@ public abstract class TapestryTestCase e
expect(model.getMeta(key)).andReturn(value).atLeastOnce();
}
- protected final void train_getMethodIdentifier(ClassTransformation transformation,
- TransformMethodSignature signature, String id)
- {
- expect(transformation.getMethodIdentifier(signature)).andReturn(id);
- }
-
protected final void train_getOutputStream(HttpServletResponse response, ServletOutputStream stream)
{
try