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 2012/01/30 22:14:02 UTC
svn commit: r1238016 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java
Author: hlship
Date: Mon Jan 30 21:14:01 2012
New Revision: 1238016
URL: http://svn.apache.org/viewvc?rev=1238016&view=rev
Log:
Remove unusued parameters to some internal methods
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java?rev=1238016&r1=1238015&r2=1238016&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java Mon Jan 30 21:14:01 2012
@@ -1,4 +1,4 @@
-// Copyright 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
+// Copyright 2007, 2008, 2009, 2010, 2011, 2012 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -491,11 +491,11 @@ public class PropertyConduitSourceImpl i
conduitPropertyName = propertyName;
annotationProvider = adapter;
- implementGetter(activeType, adapter);
- implementSetter(activeType, adapter);
+ implementGetter(adapter);
+ implementSetter(adapter);
}
- private void implementSetter(Type activeType, PropertyAdapter adapter)
+ private void implementSetter(PropertyAdapter adapter)
{
if (adapter.getWriteMethod() != null)
{
@@ -572,7 +572,7 @@ public class PropertyConduitSourceImpl i
});
}
- private void implementGetter(Type activeType, PropertyAdapter adapter)
+ private void implementGetter(PropertyAdapter adapter)
{
if (adapter.getReadMethod() != null)
{
@@ -1487,6 +1487,7 @@ public class PropertyConduitSourceImpl i
/**
* May be invoked from fabricated PropertyConduit instances.
*/
+ @SuppressWarnings("unused")
public static NullPointerException nullTerm(String term, String expression, Object root)
{
String message = String.format("Property '%s' (within property expression '%s', of %s) is null.", term,