Skip to content

Commit 54c0330

Browse files
author
git
committed
[Terry N.] var dec. out of loop
1 parent 8b883bd commit 54c0330

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/java/com/articulate/sigma/HTMLformatter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,9 @@ public static String showNeighborTerms(KB kb, String nonRelTerm, String relTerm)
464464

465465
String relation, relationName, nonRelation, nonRelationName;
466466
for (int i = 0; i < 30; i++) {
467-
relation = (String) relations.get(i);
467+
relation = relations.get(i);
468468
relationName = DocGen.getInstance(kb.name).showTermName(kb, relation, language);
469-
nonRelation = (String) nonRelations.get(i);
469+
nonRelation = nonRelations.get(i);
470470
nonRelationName = DocGen.getInstance(kb.name).showTermName(kb, nonRelation, language);
471471
if (!relation.isEmpty() || !nonRelation.isEmpty()) {
472472
if (i == 0)

0 commit comments

Comments
 (0)