~sword-devel/jsword/trunk

« back to all changes in this revision

Viewing changes to jsword/java/jsword/org/crosswire/jsword/book/ser/SerBible.java

  • Committer: joe
  • Date: 2002-10-08 21:36:18 UTC
  • Revision ID: svn-v4:a88caf3b-7e0a-0410-8d0d-cecb45342206:trunk:80
big config and comment update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
1
2
package org.crosswire.jsword.book.ser;
2
3
 
3
4
import java.io.BufferedReader;
10
11
import java.io.PrintWriter;
11
12
import java.io.RandomAccessFile;
12
13
import java.net.URL;
13
 
import java.util.Enumeration;
14
14
import java.util.Iterator;
15
15
import java.util.Properties;
16
16
import java.util.SortedMap;
416
416
        try
417
417
        {
418
418
            // For all of the sections
419
 
            for (Enumeration sen = doc.getSectionDatas(); sen.hasMoreElements();)
 
419
            for (Iterator sit = doc.getSectionDatas(); sit.hasNext(); )
420
420
            {
421
 
                SectionData section = (SectionData) sen.nextElement();
 
421
                SectionData section = (SectionData) sit.next();
422
422
 
423
423
                // For all of the Verses in the section
424
 
                for (Enumeration ven = section.getRefDatas(); ven.hasMoreElements();)
 
424
                for (Iterator vit = section.getRefDatas(); vit.hasNext(); )
425
425
                {
426
 
                    RefData vel = (RefData) ven.nextElement();
 
426
                    RefData vel = (RefData) vit.next();
427
427
 
428
428
                    Verse verse = vel.getVerse();
429
429
                    String text = vel.getPlainText();