Noch eine Typo gefunden und korrigiert

git-svn-id: https://svn.libreccm.org/ccm/trunk@712 8810af33-2d31-482b-a856-94f89814c4df
master
quasi 2011-01-25 08:43:51 +00:00
parent ce727c4078
commit efb5ac868a
3 changed files with 5 additions and 5 deletions

View File

@ -779,7 +779,7 @@ public class ContentSection extends Application {
return types;
}
public ContentTypeCollection getDecendantsOfContentType(ContentType ct) {
public ContentTypeCollection getDescendantsOfContentType(ContentType ct) {
ContentTypeCollection ctc = getContentTypes();
// The Filter Factory
@ -791,7 +791,7 @@ public class ContentSection extends Application {
// The content type must be either of the requested type
or.addFilter(ff.equals(ContentType.ID, ct.ID));
// Or must be a decendant of the requested type
// Or must be a descendant of the requested type
try {
StringTokenizer strTok = new StringTokenizer(ct.getDescendants(), "/");
while (strTok.hasMoreElements()) {

View File

@ -112,7 +112,7 @@ public abstract class NewItemForm extends Form {
if (parentType == null) {
typesCollection = section.getCreatableContentTypes();
} else {
typesCollection = section.getDecendantsOfContentType(parentType);
typesCollection = section.getDescendantsOfContentType(parentType);
}
typesCollection.addOrder(ContentType.LABEL);

View File

@ -56,7 +56,7 @@ public class ContentTypeFilterWidget extends FilterWidget {
}
public ContentTypeFilterWidget(ContentSection section, ContentType parentType) {
this(section.getDecendantsOfContentType(parentType));
this(section.getDescendantsOfContentType(parentType));
m_section = section;
m_parentType = parentType;
}
@ -108,7 +108,7 @@ public class ContentTypeFilterWidget extends FilterWidget {
if (parentType == null) {
typesCollection = section.getContentTypes();
} else {
typesCollection = section.getDecendantsOfContentType(parentType);
typesCollection = section.getDescendantsOfContentType(parentType);
}
} else {