tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance EnhanceMessages.java EnhanceStrings.properties EnhanceUtils.java
Date Thu, 10 Feb 2005 16:22:59 GMT
hlship      2005/02/10 08:22:59

  Modified:    framework/src/java/org/apache/tapestry/enhance
                        EnhanceMessages.java EnhanceStrings.properties
                        EnhanceUtils.java
  Log:
  Remove some dead code.
  
  Revision  Changes    Path
  1.11      +0 -4      jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance/EnhanceMessages.java
  
  Index: EnhanceMessages.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance/EnhanceMessages.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- EnhanceMessages.java	7 Feb 2005 19:41:19 -0000	1.10
  +++ EnhanceMessages.java	10 Feb 2005 16:22:58 -0000	1.11
  @@ -52,10 +52,6 @@
                   ClassFabUtils.getJavaClassName(expectedPropertyType) });
       }
   
  -    public static String autoMustBeRequired(String propertyName)
  -    {
  -        return _formatter.format("auto-must-be-required", propertyName);
  -    }
   
       public static String errorAddingProperty(String propertyName, Class componentClass,
               Throwable cause)
  
  
  
  1.10      +0 -1      jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance/EnhanceStrings.properties
  
  Index: EnhanceStrings.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance/EnhanceStrings.properties,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- EnhanceStrings.properties	7 Feb 2005 19:41:19 -0000	1.9
  +++ EnhanceStrings.properties	10 Feb 2005 16:22:58 -0000	1.10
  @@ -15,7 +15,6 @@
   no-impl-for-abstract-method=Method ''{0}'' (declared in class {1}) has no implementation
in class {2} (or enhanced subclass {3}).
   property-type-mismatch=Unable to enhance class {0} because it contains property ''{1}''
of type {2}, not the expected type {3}.
   unable-to-introspect-class=Unable to introspect properties of class {0}: {1}
  -auto-must-be-required=Parameter ''{0}'' must be required or have a default value as it
uses direction ''auto''.
   error-adding-property=Error adding property ''{0}'' to class {1}: {2}
   claimed-property=Property ''{0}'' has already been claimed by a different enhancement worker.
   instantiation-failure=Unable to instantiate instance of class {0}: {1}
  
  
  
  1.10      +0 -11     jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance/EnhanceUtils.java
  
  Index: EnhanceUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/enhance/EnhanceUtils.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- EnhanceUtils.java	7 Feb 2005 19:41:19 -0000	1.9
  +++ EnhanceUtils.java	10 Feb 2005 16:22:58 -0000	1.10
  @@ -82,17 +82,6 @@
           { propertyType }, null), fieldName + " = $1;");
       }
   
  -    public static void createSimpleProperty(EnhancementOperation op, String propertyName,
  -            Class propertyType)
  -    {
  -        String fieldName = "_$" + propertyName;
  -
  -        op.addField(fieldName, propertyType);
  -
  -        createSimpleAccessor(op, fieldName, propertyName, propertyType);
  -        createSimpleMutator(op, fieldName, propertyName, propertyType);
  -    }
  -
       /**
        * Returns the correct class for a property to be enhanced into a class. If a type
name is
        * non-null, then it is converted to a Class. If the class being enhanced defines a
property,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message