Author: mcombellack
Date: Fri Mar 21 06:33:46 2008
New Revision: 639634
URL: http://svn.apache.org/viewvc?rev=639634&view=rev
Log:
Minor JavaDoc updates and spelling corrections
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.java
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.java
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.java
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/impl/JavaElementImpl.java
Fri Mar 21 06:33:46 2008
@@ -135,7 +135,7 @@
public Annotation[] getAnnotations() {
if (elementType == ElementType.PARAMETER) {
if (anchor instanceof Method) {
- // We only care about the method-level annotaions
+ // We only care about the method-level annotations
return ((Method)anchor).getAnnotations();
}
if (anchor instanceof Constructor) {
@@ -208,14 +208,14 @@
}
/**
- * @return the classifer
+ * @return the classifier
*/
public Class<? extends Annotation> getClassifer() {
return classifer;
}
/**
- * @param classifer the classifer to set
+ * @param classifer the classifier to set
*/
public void setClassifer(Class<? extends Annotation> classifer) {
this.classifer = classifer;
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaClassVisitor.java
Fri Mar 21 06:33:46 2008
@@ -32,7 +32,7 @@
* may, for example, create a Property which is responsible for injecting a
* complex type on a component implementation instance when it is instantiated.
* <p/> Processors will receive callbacks as the implementation class is walked
- * while evalauting an assembly. It is the responsibility of the parser to
+ * while evaluating an assembly. It is the responsibility of the parser to
* determine whether to perform an action during the callback.
*
* @version $Rev$ $Date$
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessor.java
Fri Mar 21 06:33:46 2008
@@ -62,7 +62,7 @@
* Heuristically evaluates an un-annotated Java implementation type to
determine
* services, references, and properties according to the algorithm described in
* the SCA Java Client and Implementation Model Specification <p/> TODO
- * Implement: <p/> When no service inteface is annotated, need to calculate a
+ * Implement: <p/> When no service interface is annotated, need to calculate a
* single service comprising all public methods that are not reference or
* property injection sites. If that service can be exactly mapped to an
* interface implemented by the class then the service interface will be
defined
@@ -84,7 +84,7 @@
if (services.isEmpty()) {
// heuristically determine the service
/**
- * The following is quoted from Java spec 1.2.1.3. Introspecting
services offered by a Java implementation
+ * The following is quoted from Java Specification 1.2.1.3.
Introspecting services offered by a Java implementation
* In the cases described below, the services offered by a Java
implementation class may be determined
* through introspection, eliding the need to specify them using
@Service. The following algorithm is used
* to determine how services are introspected from an
implementation class:
@@ -447,7 +447,7 @@
* Collection; otherwise the basetype is the member type. If
the
* basetype is an interface with an
* @Remotable or
- * @Service annotation then the memberis defined as a reference. Otherwise,
+ * @Service annotation then the member is defined as a reference.
Otherwise,
* it is defined as a property.
* </ol>
* <p>
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/IllegalCallbackReferenceException.java
Fri Mar 21 06:33:46 2008
@@ -23,7 +23,7 @@
import org.apache.tuscany.sca.implementation.java.IntrospectionException;
/**
- * Denotes an illegcal use of [EMAIL PROTECTED]
org.osoa.sca.annotations.Callback} on a reference
+ * Denotes an illegal use of [EMAIL PROTECTED]
org.osoa.sca.annotations.Callback} on a reference
*
* @version $Rev$ $Date$
*/
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JavaIntrospectionHelper.java
Fri Mar 21 06:33:46 2008
@@ -73,7 +73,7 @@
}
/**
- * Recursively evaluates the type hierachy to return all fields that are
+ * Recursively evaluates the type hierarchy to return all fields that are
* public or protected
*/
private static Set<Field> getAllPublicAndProtectedFields(Class clazz,
Set<Field> fields, boolean validating) {
@@ -98,7 +98,7 @@
/**
* Returns a collection of public and protected methods declared by a class
- * or one of its supertypes. Note that overriden methods will not be
+ * or one of its supertypes. Note that overridden methods will not be
* returned in the collection (i.e. only the method override will be). <p/>
* This method can potentially be expensive as reflection information is
not
* cached. It is assumed that this method will be used during a
@@ -131,9 +131,8 @@
List<Method> temp = new ArrayList<Method>();
boolean matched = false;
for (Method method : methods) {
- // only add if not already in the set from a supclass (i.e.
- // the
- // method is not overrided)
+ // only add if not already in the set from a superclass
(i.e.
+ // the method is not overridden)
if (exactMethodMatch(declaredMethod, method)) {
matched = true;
break;
@@ -267,7 +266,7 @@
* Returns the simple name of a class - i.e. the class name devoid of its
* package qualifier
*
- * @param implClass the implmentation class
+ * @param implClass the implementation class
*/
public static String getBaseName(Class<?> implClass) {
return implClass.getSimpleName();
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
Fri Mar 21 06:33:46 2008
@@ -57,7 +57,7 @@
public <T> void visitClass(Class<T> clazz, JavaImplementation type) throws
IntrospectionException {
org.osoa.sca.annotations.Service annotation =
clazz.getAnnotation(org.osoa.sca.annotations.Service.class);
if (annotation == null) {
- // scan intefaces for remotable
+ // scan interfaces for remotable
Set<Class> interfaces = getAllInterfaces(clazz);
for (Class<?> interfaze : interfaces) {
if (interfaze.isAnnotationPresent(Remotable.class) ||
interfaze.isAnnotationPresent(Callback.class)) {
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeuristicPojoProcessorTestCase.java
Fri Mar 21 06:33:46 2008
@@ -38,7 +38,7 @@
import org.osoa.sca.annotations.Remotable;
/**
- * Verfies component type information is properly introspected from an
unadorned
+ * Verifies component type information is properly introspected from an
unadorned
* POJO according to the SCA Java Client and Implementation Model Specification
*
* @version $Rev$ $Date$
@@ -122,7 +122,7 @@
/**
* Verifies collection generic types or array types are introspected as
- * references according to spec rules
+ * references according to specification rules
*/
public void testReferenceCollectionType() throws Exception {
JavaImplementation type =
javaImplementationFactory.createJavaImplementation();
@@ -135,7 +135,7 @@
/**
* Verifies collection generic types or array types are introspected as
- * properties according to spec rules
+ * properties according to specification rules
*/
public void testPropertyCollectionType() throws Exception {
JavaImplementation type =
javaImplementationFactory.createJavaImplementation();
@@ -169,7 +169,7 @@
}
/**
- * Verifies a service inteface is calculated when only props and refs are
+ * Verifies a service interface is calculated when only props and refs are
* given
*/
public void testExcludedPropertyAndReference() throws Exception {
@@ -341,7 +341,7 @@
}
public void setNonGenericCollectionReference(Collection ref) {
- // [rfeng] By the SCA spec, this should be classified as property
+ // [rfeng] By the SCA specification, this should be classified as
property
}
public void setListReference(List<Ref> ref) {
Modified:
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java?rev=639634&r1=639633&r2=639634&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java
(original)
+++
incubator/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/HeutisticExtensibleConstructorTestCase.java
Fri Mar 21 06:33:46 2008
@@ -55,7 +55,7 @@
}
/**
- * Verifies heuristic processing can be called priot to an extension
+ * Verifies heuristic processing can be called prior to an extension
* annotation processors being called.
*/
public void testBarAnnotationProcessedFirst() throws Exception {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]