Skip to content

Commit

Permalink
doc: fix javadoc in TypeFactory.java (#2688)
Browse files Browse the repository at this point in the history
  • Loading branch information
zielint0 authored and pvojtechovsky committed Oct 20, 2018
1 parent fe6e6e9 commit 4f70ab1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/spoon/reflect/factory/TypeFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public <T> CtArrayTypeReference<T[]> createArrayReference(CtTypeReference<T> ref
}

/**
* Creates a reference to an n-dimension array of given type.
* Creates a reference to a n-dimension array of given type.
*/
public CtArrayTypeReference<?> createArrayReference(CtTypeReference<?> reference, int n) {
CtTypeReference<?> componentType;
Expand Down Expand Up @@ -540,7 +540,7 @@ private void addNestedType(List<CtType<?>> list, CtType<?> t) {

/**
* Gets a type from its runtime Java class. If the class isn't in the spoon path,
* the class will be build from the Java reflection and will be marked as
* the class will be built from the Java reflection and will be marked as
* shadow (see {@link spoon.reflect.declaration.CtShadowable}).
*
* @param <T>
Expand Down Expand Up @@ -715,5 +715,4 @@ public CtImport createImport(CtReference reference) {
CtImport ctImport = factory.Core().createImport();
return ctImport.setReference(reference.clone());
}

}

0 comments on commit 4f70ab1

Please sign in to comment.