[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Mon May 16 17:43:18 MST 2005
Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book
In directory www.crosswire.org:/tmp/cvs-serv23836/java/jsword/org/crosswire/jsword/book
Modified Files:
DataPolice.java BookList.java Defaults.java BookFilter.java
SentenceUtil.java DefaultBook.java BookMetaData.java
BookType.java BookFilterIterator.java IndexStatus.java
CaseType.java Books.java BookFilters.java Msg.java Book.java
BookException.java BookSet.java BooksListener.java
BooksEvent.java OSISUtil.java BookData.java BookDriver.java
FeatureType.java
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.
Index: BooksListener.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BooksListener.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** BooksListener.java 10 May 2005 02:39:22 -0000 1.6
--- BooksListener.java 17 May 2005 00:43:16 -0000 1.7
***************
*** 27,31 ****
* of Bibles installed on the system.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 27,31 ----
* of Bibles installed on the system.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
***************
*** 36,40 ****
* @param ev A description of the change
*/
! public void bookAdded(BooksEvent ev);
/**
--- 36,40 ----
* @param ev A description of the change
*/
! void bookAdded(BooksEvent ev);
/**
***************
*** 42,45 ****
* @param ev A description of the change
*/
! public void bookRemoved(BooksEvent ev);
}
--- 42,45 ----
* @param ev A description of the change
*/
! void bookRemoved(BooksEvent ev);
}
Index: BookType.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookType.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** BookType.java 10 May 2005 02:39:22 -0000 1.11
--- BookType.java 17 May 2005 00:43:16 -0000 1.12
***************
*** 29,37 ****
* <p>NOTE(joe): consider giving each a number (1,2,4,8) and allowing combinations
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class BookType implements Serializable
{
/**
--- 29,37 ----
* <p>NOTE(joe): consider giving each a number (1,2,4,8) and allowing combinations
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class BookType implements Serializable
{
/**
***************
*** 91,95 ****
* @see java.lang.Object#equals(java.lang.Object)
*/
! public final boolean equals(Object o)
{
return super.equals(o);
--- 91,95 ----
* @see java.lang.Object#equals(java.lang.Object)
*/
! public boolean equals(Object o)
{
return super.equals(o);
***************
*** 100,104 ****
* @see java.lang.Object#hashCode()
*/
! public final int hashCode()
{
return super.hashCode();
--- 100,104 ----
* @see java.lang.Object#hashCode()
*/
! public int hashCode()
{
return super.hashCode();
***************
*** 132,136 ****
DICTIONARY,
COMMENTARY,
! OTHER
};
--- 132,136 ----
DICTIONARY,
COMMENTARY,
! OTHER,
};
Index: IndexStatus.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/IndexStatus.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** IndexStatus.java 10 May 2005 02:39:22 -0000 1.4
--- IndexStatus.java 17 May 2005 00:43:16 -0000 1.5
***************
*** 29,37 ****
* <p>NOTE(joe): consider giving each a number (1,2,4,8) and allowing combinations
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class IndexStatus implements Serializable
{
/**
--- 29,37 ----
* <p>NOTE(joe): consider giving each a number (1,2,4,8) and allowing combinations
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class IndexStatus implements Serializable
{
/**
***************
*** 104,108 ****
* @see java.lang.Object#equals(java.lang.Object)
*/
! public final boolean equals(Object o)
{
return super.equals(o);
--- 104,108 ----
* @see java.lang.Object#equals(java.lang.Object)
*/
! public boolean equals(Object o)
{
return super.equals(o);
***************
*** 113,117 ****
* @see java.lang.Object#hashCode()
*/
! public final int hashCode()
{
return super.hashCode();
--- 113,117 ----
* @see java.lang.Object#hashCode()
*/
! public int hashCode()
{
return super.hashCode();
Index: Defaults.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/Defaults.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** Defaults.java 10 May 2005 02:39:22 -0000 1.31
--- Defaults.java 17 May 2005 00:43:15 -0000 1.32
***************
*** 32,40 ****
* Handles the current default Books.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class Defaults
{
/**
--- 32,40 ----
* Handles the current default Books.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class Defaults
{
/**
Index: Books.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/Books.java,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** Books.java 10 May 2005 02:39:22 -0000 1.44
--- Books.java 17 May 2005 00:43:16 -0000 1.45
***************
*** 41,50 ****
* between the rest of the world and this set of packages.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
* @author DM Smith [dmsmith555 at yahoo dot com]
*/
! public class Books implements BookList
{
/**
--- 41,50 ----
* between the rest of the world and this set of packages.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
* @author DM Smith [dmsmith555 at yahoo dot com]
*/
! public final class Books implements BookList
{
/**
Index: BookDriver.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookDriver.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** BookDriver.java 10 May 2005 02:39:22 -0000 1.17
--- BookDriver.java 17 May 2005 00:43:16 -0000 1.18
***************
*** 25,29 ****
* The BibleDriver class allows creation of new Books.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 25,29 ----
* The BibleDriver class allows creation of new Books.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
***************
*** 38,42 ****
* @return A list of the known Bibles
*/
! public Book[] getBooks();
/**
--- 38,42 ----
* @return A list of the known Bibles
*/
! Book[] getBooks();
/**
***************
*** 45,49 ****
* @return true/false to indicate ability to write data
*/
! public boolean isWritable();
/**
--- 45,49 ----
* @return true/false to indicate ability to write data
*/
! boolean isWritable();
/**
***************
*** 53,57 ****
* @exception BookException If the name is not valid
*/
! public Book create(Book source) throws BookException;
/**
--- 53,57 ----
* @exception BookException If the name is not valid
*/
! Book create(Book source) throws BookException;
/**
***************
*** 60,64 ****
* @return whether the book can be deleted.
*/
! public boolean isDeletable(Book dead);
/**
--- 60,64 ----
* @return whether the book can be deleted.
*/
! boolean isDeletable(Book dead);
/**
***************
*** 68,76 ****
* @throws BookException If the Book can't be deleted.
*/
! public void delete(Book dead) throws BookException;
/**
* A short name for this BookDriver
*/
! public String getDriverName();
}
--- 68,76 ----
* @throws BookException If the Book can't be deleted.
*/
! void delete(Book dead) throws BookException;
/**
* A short name for this BookDriver
*/
! String getDriverName();
}
Index: OSISUtil.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/OSISUtil.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** OSISUtil.java 10 May 2005 02:39:22 -0000 1.16
--- OSISUtil.java 17 May 2005 00:43:16 -0000 1.17
***************
*** 41,49 ****
* Some simple utilities to help working with OSIS classes.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class OSISUtil
{
/**
--- 41,49 ----
* Some simple utilities to help working with OSIS classes.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class OSISUtil
{
/**
Index: BookList.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookList.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** BookList.java 10 May 2005 02:39:22 -0000 1.4
--- BookList.java 17 May 2005 00:43:15 -0000 1.5
***************
*** 30,36 ****
* This interface provides a common method of accessing all of them.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
! * @see gnu.gpl.Licence
* @author Joe Walker [joe at eireneh dot com]
*/
--- 30,36 ----
* This interface provides a common method of accessing all of them.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
! * @see gnu.gpl.License
* @author Joe Walker [joe at eireneh dot com]
*/
***************
*** 40,44 ****
* Get an iterator over all the Books of all types.
*/
! public List getBooks();
/**
--- 40,44 ----
* Get an iterator over all the Books of all types.
*/
! List getBooks();
/**
***************
*** 46,50 ****
* @see BookFilters
*/
! public List getBooks(BookFilter filter);
/**
--- 46,50 ----
* @see BookFilters
*/
! List getBooks(BookFilter filter);
/**
***************
*** 52,56 ****
* @param li The old listener
*/
! public void addBooksListener(BooksListener li);
/**
--- 52,56 ----
* @param li The old listener
*/
! void addBooksListener(BooksListener li);
/**
***************
*** 58,61 ****
* @param li The new listener
*/
! public void removeBooksListener(BooksListener li);
}
--- 58,61 ----
* @param li The new listener
*/
! void removeBooksListener(BooksListener li);
}
Index: Book.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/Book.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Book.java 10 May 2005 02:39:22 -0000 1.25
--- Book.java 17 May 2005 00:43:16 -0000 1.26
***************
*** 32,36 ****
* to parts of itself, and can search for words (returning Keys).
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 32,36 ----
* to parts of itself, and can search for words (returning Keys).
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
***************
*** 42,51 ****
* @return A Version for this Bible
*/
! public BookMetaData getBookMetaData();
/**
* Set the meta-information for this book.
*/
! public void setBookMetaData(BookMetaData bmd);
/**
--- 42,51 ----
* @return A Version for this Bible
*/
! BookMetaData getBookMetaData();
/**
* Set the meta-information for this book.
*/
! void setBookMetaData(BookMetaData bmd);
/**
***************
*** 56,60 ****
* @throws BookException If anything goes wrong with this method
*/
! public BookData getData(Key key) throws BookException;
/**
--- 56,60 ----
* @throws BookException If anything goes wrong with this method
*/
! BookData getData(Key key) throws BookException;
/**
***************
*** 64,68 ****
* @throws BookException If anything goes wrong with this method
*/
! public String getRawData(Key key) throws BookException;
/**
--- 64,68 ----
* @throws BookException If anything goes wrong with this method
*/
! String getRawData(Key key) throws BookException;
/**
***************
*** 73,77 ****
* @throws BookException If anything goes wrong with this method
*/
! public Key find(SearchRequest request) throws BookException;
/**
--- 73,77 ----
* @throws BookException If anything goes wrong with this method
*/
! Key find(SearchRequest request) throws BookException;
/**
***************
*** 82,85 ****
* @throws BookException If anything goes wrong with this method
*/
! public Key find(String request) throws BookException;
}
--- 82,85 ----
* @throws BookException If anything goes wrong with this method
*/
! Key find(String request) throws BookException;
}
Index: BookData.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookData.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** BookData.java 10 May 2005 02:39:22 -0000 1.13
--- BookData.java 17 May 2005 00:43:16 -0000 1.14
***************
*** 33,37 ****
* Basic section of BookData.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 33,37 ----
* Basic section of BookData.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
Index: BookMetaData.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookMetaData.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** BookMetaData.java 10 May 2005 02:39:22 -0000 1.28
--- BookMetaData.java 17 May 2005 00:43:16 -0000 1.29
***************
*** 40,44 ****
* must cope with books that already exist.</p>
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 40,44 ----
* must cope with books that already exist.</p>
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
***************
*** 54,58 ****
* @return The name of this book
*/
! public String getName();
/**
--- 54,58 ----
* @return The name of this book
*/
! String getName();
/**
***************
*** 61,65 ****
* @return The type of book
*/
! public BookType getType();
/**
--- 61,65 ----
* @return The type of book
*/
! BookType getType();
/**
***************
*** 68,72 ****
* you should want to do to a Book should be available in other ways.
*/
! public BookDriver getDriver();
/**
--- 68,72 ----
* you should want to do to a Book should be available in other ways.
*/
! BookDriver getDriver();
/**
***************
*** 74,78 ****
* @return the common name for the language
*/
! public String getLanguage();
/**
--- 74,78 ----
* @return the common name for the language
*/
! String getLanguage();
/**
***************
*** 81,85 ****
* @return The book's initials
*/
! public String getInitials();
/**
--- 81,85 ----
* @return The book's initials
*/
! String getInitials();
/**
***************
*** 89,93 ****
* @return The osis id of this book
*/
! public String getOsisID();
/**
--- 89,93 ----
* @return The osis id of this book
*/
! String getOsisID();
/**
***************
*** 96,100 ****
* @return The full name of this book
*/
! public String getFullName();
/**
--- 96,100 ----
* @return The full name of this book
*/
! String getFullName();
/**
***************
*** 103,107 ****
* @return The driver name
*/
! public String getDriverName();
/**
--- 103,107 ----
* @return The driver name
*/
! String getDriverName();
/**
***************
*** 111,120 ****
* @return true if the orientation for the dominate language is LeftToRight.
*/
! public boolean isLeftToRight();
/**
* Return whether the feature is supported by the book.
*/
! public boolean hasFeature(FeatureType feature);
/**
--- 111,120 ----
* @return true if the orientation for the dominate language is LeftToRight.
*/
! boolean isLeftToRight();
/**
* Return whether the feature is supported by the book.
*/
! boolean hasFeature(FeatureType feature);
/**
***************
*** 123,127 ****
* will fail.
*/
! public Map getProperties();
/**
--- 123,127 ----
* will fail.
*/
! Map getProperties();
/**
***************
*** 129,133 ****
* @see org.crosswire.jsword.book.search.IndexManager
*/
! public IndexStatus getIndexStatus();
/**
--- 129,133 ----
* @see org.crosswire.jsword.book.search.IndexManager
*/
! IndexStatus getIndexStatus();
/**
***************
*** 136,145 ****
* @see org.crosswire.jsword.book.search.IndexManager
*/
! public void setIndexStatus(IndexStatus status);
/**
* Get an OSIS representation of information concerning this Book.
*/
! public Document toOSIS();
/**
--- 136,145 ----
* @see org.crosswire.jsword.book.search.IndexManager
*/
! void setIndexStatus(IndexStatus status);
/**
* Get an OSIS representation of information concerning this Book.
*/
! Document toOSIS();
/**
***************
*** 151,155 ****
* @param li the <code>PropertyChangeListener</code> to be added
*/
! public void addPropertyChangeListener(PropertyChangeListener li);
/**
--- 151,155 ----
* @param li the <code>PropertyChangeListener</code> to be added
*/
! void addPropertyChangeListener(PropertyChangeListener li);
/**
***************
*** 157,195 ****
* @param li the <code>PropertyChangeListener</code> to be removed
*/
! public void removePropertyChangeListener(PropertyChangeListener li);
/**
* The key for the type in the properties map
*/
! public static final String KEY_TYPE = "Key"; //$NON-NLS-1$
/**
* The key for the book in the properties map
*/
! public static final String KEY_BOOK = "Book"; //$NON-NLS-1$
/**
* The key for the driver in the properties map
*/
! public static final String KEY_DRIVER = "Driver"; //$NON-NLS-1$
/**
* The key for the name in the properties map
*/
! public static final String KEY_NAME = "Description"; //$NON-NLS-1$
/**
* The key for the name in the properties map
*/
! public static final String KEY_LANGUAGE = "Language"; //$NON-NLS-1$
/**
* The key for the initials in the properties map
*/
! public static final String KEY_INITIALS = "Initials"; //$NON-NLS-1$
/**
* The key for the indexed status in the properties map
*/
! public static final String KEY_INDEXSTATUS = "IndexStatus"; //$NON-NLS-1$
}
--- 157,195 ----
* @param li the <code>PropertyChangeListener</code> to be removed
*/
! void removePropertyChangeListener(PropertyChangeListener li);
/**
* The key for the type in the properties map
*/
! String KEY_TYPE = "Key"; //$NON-NLS-1$
/**
* The key for the book in the properties map
*/
! String KEY_BOOK = "Book"; //$NON-NLS-1$
/**
* The key for the driver in the properties map
*/
! String KEY_DRIVER = "Driver"; //$NON-NLS-1$
/**
* The key for the name in the properties map
*/
! String KEY_NAME = "Description"; //$NON-NLS-1$
/**
* The key for the name in the properties map
*/
! String KEY_LANGUAGE = "Language"; //$NON-NLS-1$
/**
* The key for the initials in the properties map
*/
! String KEY_INITIALS = "Initials"; //$NON-NLS-1$
/**
* The key for the indexed status in the properties map
*/
! String KEY_INDEXSTATUS = "IndexStatus"; //$NON-NLS-1$
}
Index: BookFilterIterator.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookFilterIterator.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** BookFilterIterator.java 10 May 2005 02:39:22 -0000 1.9
--- BookFilterIterator.java 17 May 2005 00:43:16 -0000 1.10
***************
*** 28,32 ****
* An iterator that filters as it goes.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 28,32 ----
* An iterator that filters as it goes.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
Index: FeatureType.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/FeatureType.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** FeatureType.java 10 May 2005 02:39:22 -0000 1.3
--- FeatureType.java 17 May 2005 00:43:16 -0000 1.4
***************
*** 27,35 ****
* An Enumeration of the possible Features a Book may have.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class FeatureType implements Serializable
{
/**
--- 27,35 ----
* An Enumeration of the possible Features a Book may have.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class FeatureType implements Serializable
{
/**
***************
*** 102,106 ****
* @see java.lang.Object#equals(java.lang.Object)
*/
! public final boolean equals(Object o)
{
return super.equals(o);
--- 102,106 ----
* @see java.lang.Object#equals(java.lang.Object)
*/
! public boolean equals(Object o)
{
return super.equals(o);
***************
*** 111,115 ****
* @see java.lang.Object#hashCode()
*/
! public final int hashCode()
{
return super.hashCode();
--- 111,115 ----
* @see java.lang.Object#hashCode()
*/
! public int hashCode()
{
return super.hashCode();
***************
*** 145,149 ****
HEBREW_PARSE,
DAILY_DEVOTIONS,
! GLOSSARY
};
--- 145,149 ----
HEBREW_PARSE,
DAILY_DEVOTIONS,
! GLOSSARY,
};
Index: BookSet.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookSet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BookSet.java 10 May 2005 02:39:22 -0000 1.3
--- BookSet.java 17 May 2005 00:43:16 -0000 1.4
***************
*** 35,39 ****
* Each set is naturally ordered.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author DM Smith [dmsmith555 at yahoo dot com]
--- 35,39 ----
* Each set is naturally ordered.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author DM Smith [dmsmith555 at yahoo dot com]
Index: BookFilters.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookFilters.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** BookFilters.java 10 May 2005 02:39:22 -0000 1.12
--- BookFilters.java 17 May 2005 00:43:16 -0000 1.13
***************
*** 25,33 ****
* Some common implementations of BookFilter.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class BookFilters
{
/**
--- 25,33 ----
* Some common implementations of BookFilter.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class BookFilters
{
/**
Index: BookFilter.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookFilter.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** BookFilter.java 10 May 2005 02:39:22 -0000 1.6
--- BookFilter.java 17 May 2005 00:43:16 -0000 1.7
***************
*** 25,29 ****
* A method of filtering Books.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 25,29 ----
* A method of filtering Books.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
***************
*** 36,39 ****
* @return boolean true if it passes, false otherwise
*/
! public boolean test(Book book);
}
--- 36,39 ----
* @return boolean true if it passes, false otherwise
*/
! boolean test(Book book);
}
Index: BookException.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BookException.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** BookException.java 10 May 2005 02:39:22 -0000 1.11
--- BookException.java 17 May 2005 00:43:16 -0000 1.12
***************
*** 28,32 ****
* Something went wrong with a Book.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 28,32 ----
* Something went wrong with a Book.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
Index: SentenceUtil.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/SentenceUtil.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SentenceUtil.java 10 May 2005 02:39:22 -0000 1.3
--- SentenceUtil.java 17 May 2005 00:43:16 -0000 1.4
***************
*** 34,42 ****
* outside of these bounds is at your own risk.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class SentenceUtil
{
/**
--- 34,42 ----
* outside of these bounds is at your own risk.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class SentenceUtil
{
/**
***************
*** 186,194 ****
* From a sentence get a list of words (in original order) without
* any punctuation, and all in lower case.
! * @param sentence The string to parse.
* @return The words split up as an array
*/
! public static String[] getWords(String sentence)
{
// First there are some things we regard as word delimitters even if
// they are not near space. Note that "-" should not be in this list
--- 186,195 ----
* From a sentence get a list of words (in original order) without
* any punctuation, and all in lower case.
! * @param aSentence The string to parse.
* @return The words split up as an array
*/
! public static String[] getWords(String aSentence)
{
+ String sentence = aSentence;
// First there are some things we regard as word delimitters even if
// they are not near space. Note that "-" should not be in this list
Index: Msg.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/Msg.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Msg.java 10 May 2005 02:39:22 -0000 1.21
--- Msg.java 17 May 2005 00:43:16 -0000 1.22
***************
*** 27,35 ****
* Compile safe Msg resource settings.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! class Msg extends MsgBase
{
static final Msg BOOK_NOREMOVE = new Msg("Books.BookNoRemove"); //$NON-NLS-1$
--- 27,35 ----
* Compile safe Msg resource settings.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! final class Msg extends MsgBase
{
static final Msg BOOK_NOREMOVE = new Msg("Books.BookNoRemove"); //$NON-NLS-1$
Index: CaseType.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/CaseType.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CaseType.java 10 May 2005 02:39:22 -0000 1.6
--- CaseType.java 17 May 2005 00:43:16 -0000 1.7
***************
*** 27,31 ****
* Types of Sentence Case.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 27,31 ----
* Types of Sentence Case.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
***************
*** 284,288 ****
SENTENCE,
UPPER,
! MIXED
};
}
--- 284,288 ----
SENTENCE,
UPPER,
! MIXED,
};
}
Index: DataPolice.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/DataPolice.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** DataPolice.java 10 May 2005 02:39:22 -0000 1.11
--- DataPolice.java 17 May 2005 00:43:15 -0000 1.12
***************
*** 30,38 ****
* problems fixed, so as a start point we report them through this class.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public class DataPolice
{
/**
--- 30,38 ----
* problems fixed, so as a start point we report them through this class.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
*/
! public final class DataPolice
{
/**
Index: DefaultBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/DefaultBook.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** DefaultBook.java 10 May 2005 02:39:22 -0000 1.4
--- DefaultBook.java 17 May 2005 00:43:16 -0000 1.5
***************
*** 30,34 ****
* Defines a single default book.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 30,34 ----
* Defines a single default book.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
Index: BooksEvent.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/BooksEvent.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** BooksEvent.java 10 May 2005 02:39:22 -0000 1.10
--- BooksEvent.java 17 May 2005 00:43:16 -0000 1.11
***************
*** 28,32 ****
* system.
*
! * @see gnu.gpl.Licence for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
--- 28,32 ----
* system.
*
! * @see gnu.gpl.License for license details.
* The copyright to this program is held by it's authors.
* @author Joe Walker [joe at eireneh dot com]
More information about the jsword-svn
mailing list